:root {
  --forest: #17231a;
  --forest-2: #223426;
  --olive: #5f6f3b;
  --moss: #e9ecdc;
  --paper: #f6f6ee;
  --gold: #c8a14a;
  --gold-soft: #e3c97f;
  --ink: #1b241c;
  --muted: #5b655a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .6em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Botones */
.btn { font: 500 1rem var(--sans); display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(227, 201, 127, .6); color: var(--gold-soft); }
.btn-ghost:hover { background: rgba(227, 201, 127, .12); }
.btn-outline { border-color: var(--olive); color: var(--olive); width: 100%; }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn-block { width: 100%; margin-top: 1rem; }
.link { background: none; border: 0; color: var(--olive); text-decoration: underline; cursor: pointer; font: inherit; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: .7rem clamp(1rem, 4vw, 3rem); background: rgba(23, 35, 26, .94); backdrop-filter: blur(8px); color: var(--paper); border-bottom: 1px solid rgba(200, 161, 74, .25); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 1.6rem var(--serif); color: var(--gold-soft); }
.brand-mark { width: 48px; height: 48px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .98rem; opacity: .9; }
.nav a:hover { color: var(--gold-soft); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: var(--gold-soft); font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--forest-2), var(--forest) 60%); color: var(--paper); padding: clamp(4rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem); }
.hero-wheel { position: absolute; right: -12%; top: 50%; width: min(78vw, 720px); aspect-ratio: 1; margin-top: calc(min(78vw, 720px) / -2); color: var(--gold); opacity: .22; animation: spin 140s linear infinite; }
.hero-inner { position: relative; width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); max-width: 17ch; font-weight: 600; letter-spacing: -.01em; }
.hero p { max-width: 46ch; font-size: 1.2rem; color: #d9dfcc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Secciones */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-dark { background: var(--forest); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--gold-soft); }
.section-soft { background: var(--moss); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin-bottom: 2.5rem; }
.status { grid-column: 1 / -1; color: var(--muted); }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #d9dcc6; border-top: 4px solid var(--gold); border-radius: 4px 4px 28px 4px; padding: 1.6rem 1.5rem 1.5rem; }
.card-mark { width: 38px; height: 38px; color: var(--olive); margin-bottom: .8rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; font-size: .95rem; }
.card li { padding: .25rem 0 .25rem 1.3rem; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: .85em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Pasos */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.steps li { counter-increment: paso; border-top: 1px solid rgba(200, 161, 74, .5); padding-top: 1.2rem; }
.steps li::before { content: counter(paso); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); color: var(--forest); font: 700 1.3rem var(--serif); margin-bottom: 1rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: #cfd6c0; font-size: 1rem; }

/* Cobertura */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.chips li { padding: .45rem 1rem; border: 1px solid var(--olive); border-radius: 999px; color: var(--olive); font-weight: 500; }
.note { background: var(--forest); color: var(--paper); padding: 1.8rem; border-radius: 4px 28px 4px 4px; }
.note h3 { color: var(--gold-soft); }
.note p { margin: 0; color: #d3dac6; }

/* FAQ */
.faq details { background: #fff; border: 1px solid #d3d8bd; border-radius: 4px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font: 600 1.3rem var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest); color: #cfd6c0; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--gold-soft); font-size: 1.3rem; }
.site-footer p { margin-bottom: .4rem; }
.site-footer a:hover { color: var(--gold-soft); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.06); }

/* Modal */
.modal { width: min(520px, 100% - 1.5rem); max-height: 92vh; border: 0; border-radius: 6px 6px 30px 6px; padding: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.modal::backdrop { background: rgba(10, 18, 12, .72); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal form { padding: 1.6rem; display: grid; gap: 1rem; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { font-size: 2rem; margin: 0; }
.modal-close { background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--muted); }
.modal label { display: grid; gap: .3rem; font-weight: 500; font-size: .95rem; }
.modal input[type=text], .modal input[type=date], .modal input[type=time], .modal select { font: inherit; padding: .7rem .8rem; border: 1px solid #b9bfa3; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.modal fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.modal legend { font-weight: 500; font-size: .95rem; margin-bottom: .4rem; padding: 0; float: left; width: 100%; }
.pill { display: block !important; position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: block; padding: .5rem 1.1rem; border: 1px solid var(--olive); border-radius: 999px; color: var(--olive); cursor: pointer; }
.pill input:checked + span { background: var(--olive); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.preview-label { margin: .4rem 0 0; font-size: .9rem; color: var(--muted); }
.preview { margin: 0; padding: .9rem 1rem; background: var(--moss); border-left: 4px solid var(--gold); border-radius: 2px; font-size: .95rem; }
.form-error { margin: 0; color: #9b2c1f; font-weight: 500; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; background: var(--forest); border-bottom: 1px solid rgba(200, 161, 74, .25); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; }
  .nav .btn { margin-top: .6rem; }
  .two-col, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-wheel { right: -35%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wheel, .modal[open] { animation: none; }
}
