@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f1e8;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --text: #102a33;
  --muted: #61727a;
  --line: rgba(16, 42, 51, 0.12);
  --primary: #6fcf4b;
  --primary-dark: #318f37;
  --secondary: #25b8c7;
  --accent: #ff9f43;
  --deep: #102a33;
  --shadow: 0 24px 60px rgba(16, 42, 51, 0.12);
}

body.theme-brand {
  --bg: #f5efe2;
  --surface: #ffffff;
  --surface-soft: #fbf6ec;
  --text: #123b4a;
  --muted: #67767a;
  --line: rgba(18, 59, 74, 0.14);
  --primary: #5f9e43;
  --primary-dark: #3f7a2d;
  --secondary: #2f8d8c;
  --accent: #f49a3e;
  --deep: #123b4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-family: Outfit, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.brand strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 16px;
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.basket-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(16, 42, 51, 0.06);
}

.basket-btn {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.basket-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 42, 51, 0.86), rgba(16, 42, 51, 0.35) 48%, rgba(16, 42, 51, 0.08));
}

body.theme-brand .hero::after {
  background: linear-gradient(90deg, rgba(18, 59, 74, 0.84), rgba(18, 59, 74, 0.28) 52%, rgba(18, 59, 74, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 92px 0 72px;
  color: #fff;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.94;
  max-width: 760px;
}

.hero p {
  margin: 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.btn-primary {
  background: var(--primary);
  color: #08230d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step,
.feature,
.product-card,
.checkout-card,
.modal-card,
.drawer {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(16, 42, 51, 0.06);
}

.step {
  border-radius: 8px;
  padding: 22px;
}

.step b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #04272b;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature svg {
  color: var(--primary-dark);
  flex: 0 0 auto;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-bottom: 20px;
}

.search {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip {
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.chip.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media {
  aspect-ratio: 1 / 0.78;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 18%, white);
  color: var(--deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.product-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-weight: 900;
  color: var(--text);
}

.mini-btn {
  border: 0;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

.checkout-card {
  border-radius: 8px;
  padding: 22px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 22, 0.46);
  z-index: 80;
  display: none;
  padding: 18px;
}

.drawer-backdrop.open,
.modal-backdrop.open {
  display: grid;
}

.drawer-backdrop {
  justify-content: end;
}

.drawer {
  width: min(460px, 100%);
  min-height: 100%;
  border-radius: 8px 0 0 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.drawer-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.drawer-items {
  overflow: auto;
  padding: 12px 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-item img {
  width: 76px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cart-total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cart-total div {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  margin-bottom: 12px;
}

.modal-backdrop {
  place-items: center;
}

.modal-card {
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  padding: 20px;
}

.modal-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding-top: 18px;
}

.modal-content img {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.addon-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 13px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
}

.qty-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 14px;
}

.footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.76);
  padding: 34px 0;
}

.footer strong {
  color: #fff;
}

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.compare-bar a {
  color: var(--text);
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.compare-bar a.active {
  color: #fff;
  background: var(--deep);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .steps,
  .features,
  .grid,
  .checkout-layout,
  .modal-content {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(16, 42, 51, 0.78), rgba(16, 42, 51, 0.56));
  }

  .hero-content {
    padding: 74px 0 92px;
  }

  .brand span {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .basket-btn span:not(.basket-count) {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .hero h1 {
    font-size: 46px;
  }

  .addon-list {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 62px 1fr;
  }

  .cart-item button {
    grid-column: 2;
    width: fit-content;
  }

  .compare-bar {
    width: calc(100% - 20px);
    justify-content: center;
  }
}

/* Option 2: modern booking platform direction */
body.option-platform {
  background:
    linear-gradient(180deg, #eefbf7 0, rgba(246, 241, 232, 0) 420px),
    var(--bg);
}

body.option-platform .site-header {
  background: rgba(246, 251, 248, 0.9);
}

body.option-platform .hero {
  min-height: auto;
  background: transparent;
  overflow: visible;
}

body.option-platform .hero::after,
body.option-platform .hero > img {
  display: none;
}

.platform-hero {
  padding: 62px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 32px;
  align-items: center;
}

.platform-copy {
  padding: 34px 0;
}

.platform-copy .eyebrow {
  background: rgba(37, 184, 199, 0.12);
  border-color: rgba(37, 184, 199, 0.22);
  color: var(--deep);
}

.platform-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.92;
  max-width: 760px;
}

.platform-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.quick-builder {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  box-shadow: var(--shadow);
}

.quick-builder label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

.quick-builder input,
.quick-builder select {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 0 11px;
  background: #fff;
  color: var(--text);
}

.platform-showcase {
  position: relative;
  min-height: 500px;
}

.showcase-panel {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--deep);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfffd;
}

.metric strong {
  display: block;
  font-size: 18px;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.platform-info-section {
  padding: 0 0 46px;
}

.platform-info-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
}

.info-main,
.info-tile {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(16, 42, 51, 0.07);
}

.info-main {
  padding: 26px;
}

.info-main h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.info-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-tile {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
}

.info-tile strong {
  font-family: Outfit, sans-serif;
  font-size: 44px;
  line-height: 1;
  color: var(--deep);
}

.info-tile span {
  margin-top: 8px;
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.info-tile p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.platform-steps {
  grid-template-columns: repeat(4, 1fr);
}

body.option-platform .step {
  box-shadow: none;
  background: transparent;
  border-top: 2px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 22px 0 0;
}

body.option-platform .step b {
  background: var(--deep);
  color: #fff;
}

.platform-feature-band {
  background: var(--deep);
  color: #fff;
}

.platform-feature-band .section-head p,
.platform-feature-band .feature p {
  color: rgba(255, 255, 255, 0.72);
}

.platform-feature-band .feature {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.platform-feature-band .feature svg {
  color: var(--primary);
}

.catalog-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 98px;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(16, 42, 51, 0.07);
}

.catalog-sidebar h3 {
  margin: 0 0 12px;
}

body.option-platform .catalog-tools {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

body.option-platform .chips {
  display: grid;
  min-width: 0;
  overflow: visible;
}

body.option-platform .chip {
  justify-content: flex-start;
  border-radius: 8px;
  width: 100%;
  min-width: 0;
}

body.option-platform .grid {
  grid-template-columns: 1fr;
}

body.option-platform .product-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-radius: 8px;
  box-shadow: none;
}

body.option-platform .product-media {
  aspect-ratio: auto;
  min-height: 190px;
}

body.option-platform .product-body {
  padding: 20px;
}

body.option-platform .product-body h3 {
  font-size: 24px;
}

body.option-platform .price-row {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.checkout-console {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.console-summary {
  background: var(--deep);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  min-height: 100%;
}

.console-summary h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.console-summary p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.console-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.console-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

body.option-platform .checkout-card {
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .platform-hero,
  .platform-info-grid,
  .catalog-shell,
  .checkout-console {
    grid-template-columns: 1fr;
  }

  .quick-builder {
    grid-template-columns: 1fr 1fr;
  }

  .quick-builder .btn {
    grid-column: 1 / -1;
  }

  .catalog-sidebar {
    position: static;
  }

  body.option-platform .chips {
    display: flex;
    overflow-x: auto;
  }

  body.option-platform .chip {
    width: auto;
  }
}

@media (max-width: 680px) {
  .platform-showcase {
    min-height: 360px;
  }

  .showcase-panel {
    inset: 0;
  }

  .quick-builder,
  .metric-row,
  body.option-platform .product-card {
    grid-template-columns: 1fr;
  }

  body.option-platform .product-media {
    min-height: 220px;
  }
}
