/* =========================================================
   Gaia Veterinary Clinic — Public site
   Palette matches the clinic's own mark (see GOAT's theme.css):
   warm gold, warm charcoal ink, soft cream ground. Manrope (explicit
   request, 2026-09-04, replacing the earlier Fraunces/Inter pairing)
   carries both headlines and body copy — a single clean geometric
   sans throughout rather than a serif/sans pairing.
   ========================================================= */

:root {
  --gold:        #C98A3F;
  --gold-deep:   #A86B2C;
  --gold-tint:   #F2DDBB;
  --sage:        #6B7A63;   /* one supporting hue — trust/care accent, used sparingly */
  --sage-tint:   #E4E9DF;
  --ink:         #2B241D;
  --ink-soft:    #5B5249;
  --cream:       #FBF6EE;
  --cream-deep:  #F3EBDC;
  --white:       #FFFFFF;
  --line:        rgba(43, 36, 29, 0.14);

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow: 0 12px 32px rgba(43, 36, 29, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.brand-name span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.site-nav a:hover { color: var(--gold-deep); }
.header-phone { font-weight: 600; color: var(--ink); font-size: 14.5px; white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

@media (max-width: 780px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: 14.5px; color: var(--gold-deep); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: 52px; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero p.lead { font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--line);
}
.hero-art-card img { border-radius: var(--radius-md); }
.hero-art-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--sage);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-art { order: -1; max-width: 380px; margin: 0 auto; }
}

/* ---------------- Trust strip ---------------- */
.trust-strip { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip .container { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico { font-size: 26px; line-height: 1; }
.trust-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.trust-item p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 780px) { .trust-strip .container { grid-template-columns: 1fr; } }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-art {
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.about-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.about-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.about-points li { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 300px; margin: 0 auto; }
}

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-card .stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; font-style: italic; }
.testimonial-author { font-weight: 600; font-size: 13.5px; }
.testimonial-author span { font-weight: 400; color: var(--ink-soft); font-style: italic; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--gold-deep); flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 14px 0 0; font-size: 14.5px; }

/* ---------------- Section heading ---------------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------------- Services grid ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card .ico { font-size: 30px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 17px; margin-bottom: 4px; }
.service-card .duration { font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.services-empty, .services-loading { color: var(--ink-soft); font-size: 14.5px; }

/* ---------------- Booking widget ---------------- */
.booking-section { background: var(--cream-deep); }
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
}
@media (max-width: 640px) { .booking-card { padding: 26px 20px; } }

.booking-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.booking-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--cream-deep); color: var(--ink-soft);
  border: 1.5px solid var(--line);
  flex-shrink: 0;
}
.booking-step-dot.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.booking-step-dot.done { background: var(--sage); border-color: var(--sage); color: var(--white); }
.booking-step-line { flex: 1; height: 1.5px; background: var(--line); }
.booking-step-line.done { background: var(--sage); }

.booking-panel { display: none; }
.booking-panel.active { display: block; }
.booking-panel h3 { font-size: 22px; margin-bottom: 6px; }
.booking-panel .sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 24px; }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 8px; }
.type-option {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  background: var(--cream);
  transition: border-color .15s ease, background .15s ease;
  text-align: left;
}
.type-option:hover { border-color: var(--gold); }
.type-option.selected { border-color: var(--gold); background: var(--gold-tint); }
.type-option .ico { font-size: 24px; }
.type-option .name { display: block; font-weight: 600; margin: 8px 0 2px; }
.type-option .duration { font-size: 12.5px; color: var(--ink-soft); }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* Honeypot — hidden from real visitors, left reachable in the DOM
   so a bot that blindly fills every input trips it. See
   PublicBookingController::store()'s docblock (GOAT backend) for the
   server-side half of this check. */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 8px; }
.slot-btn {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 8px;
  background: var(--cream);
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.slot-btn:hover { border-color: var(--gold); }
.slot-btn.selected { border-color: var(--gold); background: var(--gold-tint); }

.booking-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.booking-note { font-size: 13px; color: var(--ink-soft); }
.booking-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; }
.booking-status.error { background: #FBEAEA; color: #9B3B3B; border: 1px solid #E7B8B8; }
.booking-status.info { background: var(--sage-tint); color: var(--sage); border: 1px solid #C7D3C1; }

.confirmation { text-align: center; padding: 12px 0; }
.confirmation .big-ico { font-size: 52px; margin-bottom: 16px; }
.confirmation .ref { display: inline-block; margin-top: 12px; padding: 8px 18px; background: var(--gold-tint); border-radius: 999px; font-weight: 700; letter-spacing: 0.03em; color: var(--gold-deep); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ico { font-size: 20px; flex-shrink: 0; }
.contact-list strong { display: block; font-size: 14px; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; min-height: 280px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--cream-deep); padding: 44px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer .brand-name, .site-footer .brand-name span { color: var(--cream-deep); }
.site-footer .footer-links { display: flex; gap: 20px; font-size: 13.5px; }
.site-footer .footer-links a { text-decoration: none; color: var(--cream-deep); opacity: 0.8; }
.site-footer .footer-links a:hover { opacity: 1; }
.footer-fine { font-size: 12.5px; opacity: 0.6; margin-top: 6px; }
