/* Page-specific chrome for the free-first-visit landing (A). Design tokens,
   the widget and its states live in booking-widget.css, shared with B. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:16px}
/* Keeps a focused field from landing behind the fixed cookie banner (WCAG 2.4.11). */
html.consent-open{scroll-padding-bottom:150px}
body{margin:0;color:var(--ink);background:#fff;font-family:var(--font-ui);font-size:var(--fs-body);line-height:var(--lh-body)}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
button,input,select{font:inherit;color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset)}
.wrap{width:min(1180px,calc(100% - 2 * var(--page-margin)));margin-inline:auto}

.header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding-block:var(--space-4)}
.logo{width:128px}
.small-link{font:800 var(--fs-small)/1 var(--font-ui);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}

h1,h2,h3{font-family:var(--font-display);font-weight:var(--fw-display);letter-spacing:var(--ls-display);margin:0}
h1{font-size:var(--fs-display);line-height:var(--lh-display);text-wrap:balance}
h1 em{font-style:normal;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:5px;text-underline-offset:6px}
.eyebrow{font:800 13px/1.2 var(--font-ui);letter-spacing:var(--ls-caps);text-transform:uppercase;margin:0 0 var(--space-3);color:var(--ink-strong)}
.lead{font-size:var(--fs-lead);line-height:1.5;margin:var(--space-3) 0 0;max-width:32em}

.hero{padding-block:var(--space-4) 0}
.hero-copy{margin-bottom:var(--space-6)}
.hero-facts{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-5) 0 0;padding:0;list-style:none}
.hero-facts li{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--color-border-subtle);border-radius:var(--radius-pill);padding:6px 14px;font:600 var(--fs-small)/1.2 var(--font-ui);color:var(--ink)}

.mascot-band{padding-block:var(--space-8);text-align:center}
.mascots{display:flex;align-items:flex-end;justify-content:center;gap:-24px;height:180px}
.mascots .dog{height:150px;width:auto}
.mascots .cat{height:120px;width:auto;margin-left:-24px}
.mascot-band-text{font:600 var(--fs-heading)/1.2 var(--font-display);color:var(--ink-strong);margin:var(--space-4) 0 var(--space-4)}
/* Success replaces the widget content with its own CTA and its own urgency
   line: the page-level mascot band (a second teal button + duplicate
   mascots) and the widget's top urgency line would then be redundant. */
body.is-booked .mascot-band,body.is-booked .ribbon{display:none}
body.is-booked .cita-inner>.urgency-line{display:none}

.includes{padding-block:var(--space-8)}
.includes-list{list-style:none;margin:var(--space-4) 0 0;padding:0;display:grid;gap:var(--space-3)}
.includes-list li{display:flex;align-items:flex-start;gap:10px;font-size:var(--fs-small);line-height:1.4}
.includes-list li .icon{flex:none;margin-top:2px}

.visit{padding-block:var(--space-8);display:grid;gap:var(--space-5)}
.visit-card{background:var(--surface);border-radius:var(--radius-card);padding:var(--space-6) var(--space-5)}
.hours{margin:0 0 var(--space-5)}
.hours div{display:flex;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border-subtle)}
.hours dt{font-weight:800}
.hours dd{margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.hours dd span{white-space:nowrap}
@media (max-width:399px){
  .hours div{flex-direction:column;align-items:flex-start;gap:4px}
  .hours dd{align-items:flex-start}
}
.visit-links{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.visit-links a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:800;font-size:var(--fs-small);text-underline-offset:3px}
.urgency-note{font-size:var(--fs-small);line-height:1.5;border:1px dashed var(--gray-400);border-radius:var(--radius-card);padding:var(--space-5);margin:0;color:var(--ink)}
.urgency-note strong{display:block;font:600 17px/1.3 var(--font-display);color:var(--ink-strong);margin-bottom:var(--space-2)}
.urgency-note a{color:var(--ink-strong);text-decoration:underline;text-underline-offset:3px;font-weight:800}

.footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-5);border-top:1px solid var(--color-border-subtle);padding-block:var(--space-6);font-size:13px}
.footer .logo{width:120px}
.footer p{max-width:640px;flex-basis:100%;order:2}
.footer a{white-space:nowrap}

.consent{position:fixed;z-index:60;left:12px;right:12px;bottom:12px;max-width:920px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;background:#fff;border:1px solid #d6d8da;border-radius:18px;box-shadow:var(--shadow-overlay);font-size:14px;line-height:1.35}
.consent[hidden]{display:none}
.consent strong{font:600 15px/1 var(--font-display)}
.consent p{font-size:13px;line-height:1.5;margin:2px 0 0;max-width:610px}
.consent-actions{display:flex;gap:8px;flex-shrink:0}
.consent button{border:1px solid var(--gray-400);border-radius:999px;background:#fff;padding:8px 16px;min-height:38px;cursor:pointer;font-size:14px;font-weight:800}

@media (min-width:768px){
  .header{padding-block:var(--space-6)}
  .logo{width:160px}
  .hero{
    display:grid;grid-template-columns:1fr 420px;gap:var(--space-8);align-items:start;padding-block:var(--space-8);
    grid-template-areas:"copy widget" "mascot mascot";
  }
  .hero-copy{grid-area:copy;margin-bottom:0}
  .cita{grid-area:widget}
  .mascot-band{grid-area:mascot;padding-block:0}
  .mascots{height:230px}
  .mascots .dog{height:170px}
  .mascots .cat{height:150px}
  .includes-list{grid-template-columns:1fr 1fr}
  .visit{grid-template-columns:1fr 1fr}
}
@media (min-width:1100px){
  /* The left column grows a short facts list plus the mascot arch under the
     lead; the widget card spans both rows on the right so the layout has no
     empty space below the lead while the card is tall. */
  .hero{grid-template-columns:1fr 592px;grid-template-areas:"copy widget" "mascot widget"}
  .cita{grid-row:1 / 3}
  .hero-facts{display:grid;gap:var(--space-2);margin:var(--space-5) 0 0;padding:0;list-style:none}
  .hero-facts li{display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:0;padding:0;font:600 var(--fs-small)/1.3 var(--font-ui);color:var(--ink)}
  .mascots .dog{height:220px}
  .mascots .cat{height:190px}
  /* The widget is already visible beside the mascot band at this width: its
     own "Reservar cita" step is a click away, so this button would be a
     second teal CTA on screen. Keep the mascots and the line of copy. */
  .mascot-band .button{display:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
