/* Emerald Equine Vets — editorial luxury */
:root {
  --grn: #084635;
  --grn-mid: #1a5c42;
  --grn-light: #eef5f1;
  --gold: #B8873E;
  --ink: #0e1c15;
  --grey: #5a6e62;
  --line: #dde8e2;
  --cream: #faf8f4;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--grn); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── TYPE ── */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 5vw + 1rem, 5.5rem); }
h2 { font-size: clamp(2rem, 3vw + 0.5rem, 3.5rem); }
h3 { font-size: clamp(1.4rem, 1.5vw + 0.5rem, 2rem); }
.label { display: block; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.intro { font-size: clamp(1.05rem, 1vw + 0.5rem, 1.2rem); font-weight: 300; color: var(--grey); line-height: 1.8; }

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

/* ── EMERGENCY ── */
.emergency { background: var(--grn); color: rgba(255,255,255,.9); text-align: center; padding: 0.6rem 1rem; font-size: 0.8rem; letter-spacing: 0.06em; }
.emergency a { color: var(--gold); font-weight: 700; }

/* ── NAV ── */
.nav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-family: var(--serif); font-size: 1.4rem; color: var(--grn); line-height: 1; }
.nav-logo small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; font-weight: 600; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink); font-weight: 400; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--grn); font-weight: 600; }
.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: #25D366; color: white; padding: 0.6rem 1.2rem; font-size: 0.82rem; font-weight: 600; border-radius: 2px; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; color: white; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ── HERO ── */
.hero { position: relative; height: 92vh; min-height: 580px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(8,70,53,.72) 40%, rgba(8,70,53,.25) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content .wrap { width: 100%; }
.hero-text { max-width: 640px; color: white; }
.hero-text h1 { color: white; margin-bottom: 1.25rem; }
.hero-text h1 em { font-style: italic; color: var(--gold); }
.hero-text p { font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 520px; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; border-radius: 2px; transition: opacity .2s, transform .15s; cursor: pointer; border: none; text-decoration: none; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-white { background: white; color: var(--grn); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { border-color: white; color: white; }
.btn-green { background: var(--grn); color: white; }
.btn-gold { background: var(--gold); color: white; }
.btn-wa { background: #25D366; color: white; }
.btn-outline { background: transparent; color: var(--grn); border: 1.5px solid var(--grn); }

/* ── TRUST STRIP ── */
.trust { background: var(--gold); padding: 0.9rem 0; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 3rem; list-style: none; }
.trust li { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: white; }

/* ── SPLIT SECTIONS ── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-photo { overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text { display: flex; align-items: center; padding: 5rem 5rem; background: var(--white); }
.split-text.cream { background: var(--cream); }
.split-text.dark { background: var(--grn); }
.split-text.dark h2, .split-text.dark p { color: white; }
.split-text.dark .label { color: var(--gold); }
.split-text.dark .intro { color: rgba(255,255,255,.75); }
.split-inner { max-width: 460px; }
.split-inner h2 { margin-bottom: 1.25rem; }
.split-inner h2 em { font-style: italic; color: var(--gold); }
.split-inner p { margin-bottom: 1rem; }
.split-inner .btn { margin-top: 1.5rem; }

/* ── FULL-BLEED PHOTO SECTION ── */
.photo-full { position: relative; height: 65vh; min-height: 420px; overflow: hidden; }
.photo-full img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.photo-full-overlay { position: absolute; inset: 0; background: rgba(8,70,53,.55); display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 2rem; }
.photo-full-overlay h2 { color: white; font-size: clamp(2.5rem, 4vw + 1rem, 5rem); margin-bottom: 1rem; }
.photo-full-overlay h2 em { color: var(--gold); font-style: italic; }
.photo-full-overlay p { font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 1.75rem; }

/* ── TEAM GRID ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; }
.team-member { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.team-member img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.team-member:hover img { transform: scale(1.04); }
.team-member-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(8,70,53,.92) 60%, transparent); color: white; padding: 2rem 1.5rem 1.5rem; }
.team-member-info h3 { color: white; font-size: 1.5rem; margin-bottom: 0.2rem; }
.team-member-info .creds { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; display: block; }
.team-member-info p { font-size: 0.85rem; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ── SERVICES ── */
.services-intro { padding: 6rem 0 3rem; text-align: center; background: var(--cream); }
.services-intro h2 em { color: var(--gold); font-style: italic; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.service-row:nth-child(even) .service-photo { order: 2; }
.service-photo { overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-text { display: flex; align-items: center; padding: 4rem; background: var(--white); }
.service-row:nth-child(even) .service-text { background: var(--cream); }
.service-inner h3 { font-size: clamp(1.6rem,2vw+.5rem,2.4rem); margin-bottom: 1rem; }
.service-inner h3 em { color: var(--gold); font-style: italic; }
.service-inner p { color: var(--grey); margin-bottom: 0.75rem; font-size: 0.95rem; }
.service-inner ul { list-style: none; margin: 1rem 0 1.5rem; }
.service-inner li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.9rem; color: var(--grey); border-bottom: 1px solid var(--line); }
.service-inner li::before { content: '—'; color: var(--gold); flex-shrink: 0; font-weight: 700; margin-top: 1px; }

/* ── PRICING TABLE ── */
.price-section { padding: 6rem 0; background: var(--white); }
.price-section h2 em { color: var(--gold); font-style: italic; }
table.fees { width: 100%; border-collapse: collapse; margin-top: 2rem; }
table.fees thead th { background: var(--grn); color: white; padding: 1rem 1.25rem; text-align: left; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
table.fees td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.fees tr:nth-child(even) td { background: var(--cream); }
table.fees tr:last-child td { border-bottom: none; }
.fee-name { font-weight: 600; color: var(--grn); }
.fee-note { font-size: 0.82rem; color: var(--grey); }

/* ── FORMS PAGE ── */
.forms-intro { padding: 6rem 0 3rem; background: var(--cream); text-align: center; }
.forms-grid { padding: 4rem 0; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: 2.5rem; margin-bottom: 2rem; }
.form-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-card h3 em { color: var(--gold); font-style: italic; }
.form-card .intro { margin-bottom: 2rem; font-size: 0.95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.field-row.one { grid-template-columns: 1fr; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: var(--white);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--grn); }
.field textarea { min-height: 100px; resize: vertical; }
.field-note { font-size: 0.78rem; color: var(--grey); margin-top: 0.2rem; }
.form-success { display: none; background: var(--grn-light); border: 1px solid var(--grn); padding: 1.25rem; color: var(--grn); font-weight: 600; border-radius: 2px; margin-top: 1rem; }
.form-divider { border: none; border-top: 2px solid var(--gold); margin: 3rem 0; opacity: .25; }

/* ── FAQ ── */
.faq-section { padding: 6rem 0; }
.faq-group { margin-bottom: 3rem; }
.faq-group-title { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); gap: 1rem; }
.faq-q:hover { color: var(--grn); }
.faq-icon { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; transition: transform .3s; line-height: 1; }
.faq-a { display: none; padding: 0 0 1.25rem; color: var(--grey); line-height: 1.8; font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── CONTACT ── */
.contact-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; padding: 6rem 0; align-items: start; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.3rem; font-weight: 600; }
.contact-detail a { font-size: 1.05rem; font-weight: 600; color: var(--grn); }
.emergency-box { background: var(--grn); color: white; padding: 1.5rem 2rem; border-radius: 2px; margin-top: 1rem; }
.emergency-box p { color: rgba(255,255,255,.75); font-size: 0.9rem; margin-top: 0.25rem; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: white; margin-bottom: 1rem; }
.footer-brand small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.footer-col h4 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: white; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,.55); font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.78rem; }
.footer-bottom a { color: rgba(255,255,255,.4); }

/* ── VETTING / STRUCTURED FORMS ── */
.vf-block { border: 1px solid var(--line); margin-bottom: 2.5rem; }
.vf-head { background: var(--grn); padding: .65rem 1.25rem; }
.vf-head span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.vf-row { display: grid; grid-template-columns: 165px 1fr; border-bottom: 1px solid var(--line); }
.vf-row:last-child { border-bottom: none; }
.vf-row.two { grid-template-columns: 165px 1fr 165px 1fr; }
.vf-lbl { background: var(--cream); padding: .6rem 1rem; font-size: .78rem; font-weight: 600; color: var(--grey); border-right: 1px solid var(--line); display: flex; align-items: center; line-height: 1.3; }
.vf-fld { padding: .25rem .5rem; display: flex; align-items: center; min-height: 44px; }
.vf-fld input, .vf-fld select, .vf-fld textarea { width: 100%; border: none; background: transparent; font-size: .9rem; color: var(--ink); font-family: var(--sans); padding: .3rem .4rem; }
.vf-fld input:focus, .vf-fld select:focus, .vf-fld textarea:focus { outline: none; background: rgba(8,70,53,.04); }
.vf-fld textarea { resize: vertical; min-height: 72px; align-self: stretch; padding-top: .5rem; }
.yn-opts { display: flex; gap: 2rem; padding: .35rem .5rem; align-items: center; min-height: 44px; }
.yn-opt { display: flex; align-items: center; gap: .4rem; cursor: pointer; font-size: .9rem; color: var(--ink); }
.yn-opt input { accent-color: var(--grn); width: 16px; height: 16px; }
.vf-checks { padding: .5rem .75rem .6rem 1rem; }
.vf-ch { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .35rem; font-size: .85rem; cursor: pointer; color: var(--ink); }
.vf-ch input { accent-color: var(--grn); width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.vf-sub-head { background: rgba(8,70,53,.06); padding: .4rem 1rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grn); font-weight: 700; border-bottom: 1px solid var(--line); }
.vf-xray { display: none; }
.vf-xray.active { display: block; }
.vf-expand { display: none; }
.vf-expand.active { display: table-row; }
.vf-foot-note { padding: .5rem 1.25rem; font-size: .8rem; color: var(--grey); background: var(--grn-light); border-top: 1px solid var(--line); }

/* ── PRICING NOTICE ── */
.price-notice { background: rgba(184,135,62,.12); border: 1.5px solid var(--gold); border-radius: 2px; padding: 1rem 1.5rem; margin-bottom: 2.5rem; display: flex; gap: .85rem; align-items: flex-start; }
.price-notice svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.price-notice p { font-size: .88rem; line-height: 1.65; color: var(--grey); margin: 0; }
.price-notice strong { color: var(--grn); }

/* ── PRIVACY PAGE ── */
.privacy-content { padding: 5rem 0; }
.privacy-content h2 { font-size: clamp(1.25rem,1.5vw+.4rem,1.8rem); margin: 2.5rem 0 .75rem; color: var(--grn); }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li { font-size: .95rem; color: var(--grey); line-height: 1.85; margin-bottom: .75rem; }
.privacy-content ul, .privacy-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
.privacy-content th { background: var(--grn); color: white; padding: .75rem 1rem; text-align: left; font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.privacy-content td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--grey); vertical-align: top; }
.privacy-content tr:nth-child(even) td { background: var(--cream); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .split, .service-row { grid-template-columns: 1fr; }
  .split.flip { direction: ltr; }
  .split-photo, .service-photo { min-height: 340px; }
  .service-row:nth-child(even) .service-photo { order: 0; }
  .split-text { padding: 3.5rem 2rem; }
  .service-text { padding: 3rem 2rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 80vw; max-width: 320px; background: var(--grn); padding: 4rem 2rem 2rem; gap: 0; z-index: 300; box-shadow: -4px 0 40px rgba(0,0,0,.3); }
  .nav-links.open a { color: rgba(255,255,255,.8); padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .hero { height: 80vh; }
  .team-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust li { font-size: 0.65rem; }
  .photo-full { height: 50vh; }
  .vf-row, .vf-row.two { grid-template-columns: 1fr; }
  .vf-lbl { border-right: none; border-bottom: 1px solid var(--line); min-height: unset; }
}
