:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --panel: #ffffff;
  --panel-strong: #eef4f8;
  --ink: #06111f;
  --text: #172334;
  --muted: #5c6b7c;
  --soft: #334256;
  --line: rgba(6, 17, 31, 0.13);
  --line-strong: rgba(0, 132, 185, 0.28);
  --accent-blue: #087db0;
  --accent-green: #58bd16;
  --accent-mint: #0b9f78;
  --accent-purple: #6756d8;
  --danger: #ff6b86;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(24, 38, 57, 0.12);
  --font-main: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050608;
  --surface: #0a0c10;
  --surface-raised: #10141a;
  --panel: #11161d;
  --panel-strong: #171d25;
  --ink: #f7f9fc;
  --text: #e7edf5;
  --muted: #9aa7b6;
  --soft: #c8d3df;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(96, 216, 255, 0.38);
  --accent-blue: #60d8ff;
  --accent-green: #8cff4a;
  --accent-mint: #21d6a3;
  --accent-purple: #8d72ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--accent-green);
  color: #06111f;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-large {
  padding: 112px 0 88px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.hero-narrow h1,
.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--ink);
}

.section-heading h2 {
  font-size: 3rem;
}

.hero-narrow {
  max-width: 900px;
}

.hero-narrow h1,
.hero-copy h1 {
  font-size: 4.2rem;
}

.lead {
  margin: 24px 0 0;
  max-width: 700px;
  color: var(--soft);
  font-size: 1.14rem;
  line-height: 1.72;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: 78px;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) auto minmax(190px, 0.8fr);
  align-items: center;
  gap: 24px;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(5, 6, 8, 0.94);
}

.brand {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #ffffff;
  border-color: rgba(6, 17, 31, 0.1);
  box-shadow: 0 10px 26px rgba(24, 38, 57, 0.09);
}

:root[data-theme="dark"] .brand {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.brand img,
.footer-brand {
  width: 152px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.mobile-menu a {
  position: relative;
  padding: 11px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.mobile-menu a:hover {
  color: var(--ink);
  background: rgba(6, 17, 31, 0.06);
}

:root[data-theme="dark"] .main-nav a:hover,
:root[data-theme="dark"] .main-nav a.is-active,
:root[data-theme="dark"] .mobile-menu a:hover {
  background: rgba(96, 216, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.button,
.icon-button,
.menu-button,
.close-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--ink);
  transition: border 180ms ease, background 180ms ease, transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  font-weight: 800;
}

.button:hover,
.icon-button:hover,
.menu-button:hover,
.close-button:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.button-primary {
  color: #06111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  box-shadow: 0 16px 36px rgba(33, 214, 163, 0.18);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
}

.button-ghost {
  background: transparent;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.icon-button {
  width: 58px;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
}

.icon-button span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transform: translateX(24px);
  background: var(--accent-green);
  box-shadow: inset 0 0 0 6px #ffffff;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

:root[data-theme="dark"] .icon-button span {
  transform: translateX(0);
  background: var(--accent-blue);
  box-shadow: inset 0 0 0 6px #06111f;
}

.menu-button {
  display: none;
  width: 44px;
  height: 42px;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu {
  display: none;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.pill-list,
.chip-grid,
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.chip-grid span,
.category-row span,
.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--soft);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 38px;
  align-items: start;
}

.footer-logo-plate {
  width: fit-content;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.footer-grid p {
  max-width: 380px;
}

.footer-grid nav,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-grid a {
  color: var(--muted);
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--accent-blue);
}

.panel-form,
.admin-panel,
.empty-state,
.booking-drawer,
.assistant-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: var(--surface);
  padding: 12px 14px;
  transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(96, 216, 255, 0.12);
}

select option {
  background: var(--surface);
  color: var(--ink);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger);
}

.recommender {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 30px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.recommender h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.08;
}

.goal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.goal-form label {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface);
}

.goal-form input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent-green);
}

.goal-form .button {
  grid-column: 1 / -1;
}

.recommendation-result {
  grid-column: 1 / -1;
  color: var(--accent-blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-cursor {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.drawer-backdrop.is-open {
  display: block;
}

.booking-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
  width: min(520px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 24px;
  transform: translateX(calc(100% + 40px));
  transition: transform 260ms ease;
}

.booking-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.drawer-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.7rem;
}

.drawer-head p {
  margin: 0;
}

.close-button {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(18, 140, 78, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #1fbd5a;
  box-shadow: 0 22px 52px rgba(18, 140, 78, 0.4);
}

.whatsapp-float svg,
.whatsapp-float img {
  width: 29px;
  height: 29px;
  display: block;
  fill: currentColor;
}

.whatsapp-float svg path {
  fill: currentColor;
}

body.drawer-open .whatsapp-float {
  opacity: 0.28;
  pointer-events: none;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.assistant {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.assistant.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.assistant-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--accent-green);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.assistant-panel {
  position: absolute;
  left: 0;
  bottom: 66px;
  width: min(360px, calc(100vw - 40px));
  padding: 18px;
  display: none;
}

.assistant-panel.is-open {
  display: block;
}

.assistant-panel h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.2rem;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  max-height: 240px;
  overflow: auto;
  margin: 14px 0;
}

.assistant-message {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--soft);
  background: var(--surface);
  font-size: 0.92rem;
}

.assistant-message.user {
  border-color: rgba(140, 255, 74, 0.3);
  color: var(--ink);
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.assistant-form input {
  min-height: 42px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
}

.not-found h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.05;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 24px;
  }

  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 88px 12px auto;
    z-index: 36;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .recommender {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .hero-narrow h1,
  .hero-copy h1 {
    font-size: 3rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    height: 68px;
    padding: 0 14px;
  }

  .brand {
    min-height: 42px;
    padding: 6px 8px;
  }

  .brand img {
    width: 116px;
  }

  .header-actions .button-small {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-large {
    padding: 86px 0 68px;
  }

  .section-heading h2,
  .hero-narrow h1,
  .hero-copy h1,
  .not-found h1 {
    font-size: 2.32rem;
  }

  .lead {
    font-size: 1.02rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .goal-form {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float {
    left: calc(100vw - 68px);
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 80;
    width: 54px;
    height: 54px;
  }

  .floating-cta .button {
    min-height: 44px;
    padding: 0 14px;
  }

  .assistant {
    left: 14px;
    bottom: 14px;
  }

  .booking-drawer {
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }
}

@media (max-device-width: 700px) {
  .whatsapp-float {
    left: calc(100dvw - 68px);
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 80;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
