:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --gold: #b89047;
  --gold-dark: #8c6a30;
  --gold-soft: #f8f1e6;
  --green: #059669;
  --green-soft: #ecfdf5;
  --shadow: 0 24px 70px rgba(15, 23, 42, .1);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-width: max-content;
}
.brand > span, .footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.brand span span, .footer span { color: var(--gold); }
.brand .brand-by,
.footer .brand-by {
  display: block;
  margin-top: .1rem;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.footer .brand-by {
  color: #cbd5e1;
}
.brand small {
  border-left: 1px solid var(--line);
  padding-left: .85rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.5vw, 1.3rem);
  font-size: .86rem;
  font-weight: 750;
  color: var(--muted);
}
.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus { color: var(--gold-dark); }
.site-nav select {
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: white;
  color: var(--ink);
  font-weight: 800;
  padding: .45rem .5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
  place-items: center;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
}
.section.white {
  max-width: none;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.section.white > * {
  max-width: 1200px;
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 76px 0 auto;
  height: 65vh;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 20%, rgba(184, 144, 71, .16), transparent 34%),
    radial-gradient(circle at 15% 25%, rgba(5, 150, 105, .08), transparent 28%);
}

.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(5, 150, 105, .12);
}
.eyebrow.gold { color: var(--gold-dark); }
.eyebrow.green { color: var(--green); }

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}
h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); }
h1 strong, .about h2 strong {
  display: block;
  color: var(--gold-dark);
  font-weight: 800;
}
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.15rem; }
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
}

.actions, .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: .8rem;
  padding: .85rem 1.2rem;
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 16px 34px rgba(184, 144, 71, .22);
}
.button:hover { transform: translateY(-1px); }
.button.ghost {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.small {
  min-height: 40px;
  padding: .6rem 1rem;
  font-size: .75rem;
  border-radius: 999px;
}
.button.wide { width: 100%; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 540px;
  padding-top: 2rem;
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--line);
}
.metrics div { min-width: 0; }
.metrics dt {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
}
.metrics dd {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard, .calculator-card, .result-card, .quiz-card, .case-card, .profile-card, .contact-form, .cards article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.dashboard {
  padding: clamp(1.2rem, 3vw, 2rem);
}
.panel-head, .big-number, .contact-form .privacy, .chat-window header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.panel-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}
.panel-head strong {
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: .2rem .55rem;
}
.panel-label {
  margin: 1.5rem 0 .35rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}
.big-number {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.big-number span {
  color: var(--green);
  font-family: Inter, system-ui, sans-serif;
  font-size: .9rem;
}
.bar-chart {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: .55rem;
  margin: 2rem 0;
}
.bar-chart i {
  display: block;
  border-radius: .45rem .45rem .15rem .15rem;
  background: #e2e8f0;
}
.bar-chart .gold { background: rgba(184, 144, 71, .72); }
.bar-chart .green { background: rgba(5, 150, 105, .82); }
.activity {
  display: grid;
  gap: .7rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .85rem;
  color: var(--muted);
  font-size: .86rem;
}
.activity p { margin: 0; }
.activity strong { color: var(--ink); }

.section-title {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.section-title p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 1.5rem;
}
.calculator-card, .result-card { padding: clamp(1.1rem, 3vw, 2rem); }
.calculator-card {
  display: grid;
  gap: 1.7rem;
  background: var(--bg);
  box-shadow: none;
}
.hotel-type-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.hotel-type-picker legend {
  grid-column: 1 / -1;
  margin-bottom: .15rem;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 850;
}
.hotel-type-picker label {
  position: relative;
  display: grid;
  place-items: center;
  gap: .35rem;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.hotel-type-picker input {
  position: absolute;
  opacity: 0;
}
.hotel-type-picker span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: 950;
}
.hotel-type-picker strong {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hotel-type-picker label:hover,
.hotel-type-picker label:has(input:focus-visible) {
  transform: translateY(-1px);
  border-color: rgba(184, 144, 71, .5);
}
.hotel-type-picker label:has(input:checked) {
  border-color: rgba(184, 144, 71, .65);
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.hotel-type-picker label:has(input:checked) span {
  color: white;
  background: var(--gold-dark);
}
.calculator-card label, .contact-form label {
  display: grid;
  gap: .65rem;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
}
.calculator-card output {
  justify-self: end;
  margin-top: -2rem;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid rgba(184, 144, 71, .25);
  border-radius: .55rem;
  padding: .2rem .55rem;
}
input[type="range"] { width: 100%; accent-color: var(--gold); }
.notice {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}
.result-card {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  background: linear-gradient(180deg, #fff, var(--gold-soft));
  border-color: rgba(184, 144, 71, .35);
}
.result-card dl {
  display: grid;
  gap: .9rem;
  margin: 0;
}
.result-card dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.result-card dd {
  margin: .2rem 0 0;
  font-size: 1.35rem;
  font-weight: 850;
}
.gain {
  display: grid;
  gap: .35rem;
  text-align: center;
  padding: 1.2rem;
  border-radius: .9rem;
  border: 1px solid rgba(184, 144, 71, .25);
  background: rgba(184, 144, 71, .1);
}
.gain span {
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}
.gain strong {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}
.gain small { color: var(--muted); }
.strategy-note {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.quiz-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 2.2rem);
}
.progress {
  height: .45rem;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--gold);
  transition: width .25s ease;
}
.quiz-options {
  display: grid;
  gap: .75rem;
  margin-top: 1.2rem;
}
.quiz-options button, .tabs button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: .8rem;
  padding: 1rem;
  text-align: left;
  font-weight: 800;
}
.quiz-options button:hover, .quiz-options button:focus, .tabs button.active {
  border-color: rgba(184, 144, 71, .55);
  background: white;
  color: var(--gold-dark);
}
.risk-badge {
  display: grid;
  gap: .4rem;
  max-width: 520px;
  margin: 1.4rem auto;
  padding: 1.4rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .9rem;
}
.risk-badge strong {
  color: var(--gold-dark);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.ai-output {
  white-space: pre-wrap;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
}
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards article {
  padding: 1.35rem;
  box-shadow: none;
  background: var(--bg);
}
.cards p { color: var(--muted); font-size: .92rem; }
.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: .8rem;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 900;
}
.tech article { background: white; }

.tabs {
  justify-content: center;
  margin-bottom: 1rem;
}
.tabs button {
  text-align: center;
  padding: .8rem 1rem;
}
.tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.case-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
}
.case-card p { color: var(--muted); }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.case-metrics strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}
.case-visual {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding: 1rem;
  background: var(--bg);
  border-radius: .9rem;
}
.meter {
  height: 1rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.about, .contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about p, .contact p { color: var(--muted); }
.profile-card {
  padding: 2rem;
  text-align: center;
}
.profile-card .byline {
  display: block;
  margin-top: .2rem;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.avatar {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid rgba(184, 144, 71, .35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
}
.certs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}
.certs span {
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .45rem .6rem;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 850;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
  font-style: normal;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  border: 1px solid rgba(184, 144, 71, .28);
  border-radius: 999px;
  padding: .48rem .78rem .48rem .52rem;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: .88rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.contact-chip:hover,
.contact-chip:focus {
  transform: translateY(-1px);
  border-color: rgba(184, 144, 71, .55);
  background: white;
}
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: white;
  background: var(--gold-dark);
  font-size: .95rem;
  font-weight: 950;
}
.whatsapp-chip {
  color: #047857;
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, .25);
}
.whatsapp-chip .contact-icon { background: #059669; }
.instagram-chip {
  color: #9f1239;
  background: #fff1f2;
  border-color: rgba(225, 29, 72, .2);
}
.instagram-chip .contact-icon { background: #be123c; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--bg);
  box-shadow: none;
}
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .chat-window input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: white;
  color: var(--ink);
  padding: .85rem 1rem;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .chat-window input:focus {
  outline: 3px solid rgba(184, 144, 71, .18);
  border-color: var(--gold);
}
.privacy {
  grid-column: 1 / -1;
  justify-content: start;
  color: var(--muted);
  font-size: .82rem;
}
.privacy input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-status {
  grid-column: 1 / -1;
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.form-status.ok { color: var(--green); }
.form-status.error { color: #b91c1c; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: #cbd5e1;
  background: var(--ink);
}
.footer p { margin: 0; font-size: .85rem; }

.chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
}
.chat-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: var(--shadow);
  font-weight: 950;
}
.chat-window {
  width: min(380px, calc(100vw - 2rem));
  margin-bottom: .8rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.chat-window header {
  padding: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.chat-window header button {
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.5rem;
}
.chat-messages {
  height: 260px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: 1rem;
  background: var(--bg);
}
.chat-messages p {
  max-width: 85%;
  margin: 0;
  border-radius: .9rem;
  padding: .75rem .85rem;
  font-size: .88rem;
}
.chat-messages .bot {
  background: white;
  border: 1px solid var(--line);
}
.chat-messages .user {
  justify-self: end;
  color: white;
  background: var(--gold-dark);
}
.whatsapp {
  display: block;
  margin: .8rem;
  padding: .75rem;
  border-radius: .75rem;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 850;
  text-align: center;
}
.chat-window form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: .5rem;
  padding: .8rem;
  border-top: 1px solid var(--line);
}
.chat-window form button {
  border: 0;
  border-radius: .75rem;
  color: white;
  background: var(--gold-dark);
  font-size: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header { align-items: center; }
  .brand > small:not(.brand-by) { display: none; }
  .brand .brand-by { display: block; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .hero, .calculator-grid, .case-card, .about, .contact {
    grid-template-columns: 1fr;
  }
  .cards.four, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section { padding-block: 4rem; }
  .hero { min-height: auto; }
  .actions .button { width: 100%; }
  .metrics, .case-metrics, .contact-form, .cards.four, .cards.three {
    grid-template-columns: 1fr;
  }
  .hotel-type-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form label, .contact-form .wide { grid-column: 1; }
  .footer {
    flex-direction: column;
    text-align: center;
  }
  .chat {
    right: .8rem;
    bottom: .8rem;
  }
}
