/* ============================================================
   SeekAVet v2 — Trust & Authority design system
   Palette: deep cyan (trust) + emergency red (reserved for
   call-to-ER actions only) + health green (conversion CTAs)
   Fonts: Lexend (headings) / Source Sans 3 (body)
   Animations: transform/opacity only, 150-300ms micro,
   respectful of prefers-reduced-motion.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --cyan-900: #164e63;
  --cyan-800: #155e75;
  --cyan-700: #0e7490;
  --cyan-600: #0891b2;
  --cyan-400: #22d3ee;
  --cyan-50: #ecfeff;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --green: #059669;
  --green-dark: #047857;
  --amber: #b45309;
  --gold: #f59e0b;
  --bg: #f7fdfe;
  --card: #ffffff;
  --ink: #0f2b36;
  --muted: #46626e;
  --line: #d9eef2;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(22, 78, 99, 0.08);
  --shadow-md: 0 6px 24px rgba(22, 78, 99, 0.12);
  --shadow-lg: 0 16px 48px rgba(22, 78, 99, 0.18);
  --z-nav: 50; --z-sticky: 40; --z-fab: 45;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, .logo { font-family: "Lexend", -apple-system, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--cyan-700); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -3px; }
.icon-lg { width: 26px; height: 26px; }

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

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1100px; margin: 0 auto; }
.logo { font-size: 1.45rem; font-weight: 800; color: var(--cyan-900); text-decoration: none; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo .logo-mark { width: 34px; height: 34px; }
.logo em { font-style: normal; color: var(--cyan-600); }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.96rem; transition: color 0.2s; }
.main-nav a:hover { color: var(--cyan-600); }
.nav-cta { background: var(--green); color: #fff !important; padding: 10px 18px; border-radius: 10px; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
@media (max-width: 760px) { .main-nav a:not(.nav-cta) { display: none; } }

/* ---------- Emergency strip ---------- */
.emergency-strip { background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; font-size: 0.93rem; }
.emergency-strip a { color: #fff; }

/* ---------- Hero: animated gradient + floating paws ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0b3a4d, #155e75, #0e7490, #0b4d5e);
  background-size: 300% 300%;
  animation: heroShift 14s ease infinite;
  padding: 72px 0 84px;
}
.hero.hero-sub { padding: 46px 0 54px; }
@keyframes heroShift { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
.hero::after { /* soft glow orb */
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%);
  animation: orbFloat 9s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes orbFloat { from { transform: translateY(0) scale(1); } to { transform: translateY(40px) scale(1.15); } }
.paw { position: absolute; opacity: 0.1; color: #fff; pointer-events: none; animation: pawDrift 12s ease-in-out infinite alternate; }
.paw svg { width: 100%; height: 100%; }
@keyframes pawDrift { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(-26px) rotate(10deg); } }
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 6px 16px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: dotPulse 1.6s ease infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 50% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.12; letter-spacing: -1px; max-width: 760px; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, #22d3ee, #a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { margin-top: 18px; font-size: 1.15rem; color: #c8e8f2; max-width: 640px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 1.04rem;
  text-decoration: none; border: none; cursor: pointer; min-height: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: "Lexend", sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(220,38,38,0.35); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 10px 28px rgba(220,38,38,0.45); }
.btn-red.pulse { animation: ctaPulse 2.2s ease infinite; }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 6px 20px rgba(220,38,38,0.35), 0 0 0 0 rgba(220,38,38,0.5); } 50% { box-shadow: 0 6px 20px rgba(220,38,38,0.35), 0 0 0 14px rgba(220,38,38,0); } }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(5,150,105,0.3); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.18); }
.btn-navy { background: var(--cyan-800); color: #fff; }
.btn-navy:hover { background: var(--cyan-900); }
.btn-soft { background: #e5f7fa; color: var(--cyan-800); }
.btn-soft:hover { background: #d2f0f6; }
.btn-block { width: 100%; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--card); border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 1100px; margin: 0 auto; padding: 26px 20px; }
.stat { text-align: center; }
.stat b { font-family: "Lexend", sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--cyan-700); display: block; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-eyebrow { color: var(--cyan-600); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; font-size: 0.8rem; margin-bottom: 8px; font-family: "Lexend", sans-serif; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--cyan-900); letter-spacing: -0.5px; margin-bottom: 10px; font-weight: 800; }
.section-sub { color: var(--muted); margin-bottom: 30px; max-width: 660px; font-size: 1.05rem; }

/* ---------- Clinic cards ---------- */
.clinic-list { display: grid; gap: 20px; }
.clinic-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: grid; gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.clinic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan-400); }
.clinic-card.featured { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf5, #fff); }
.badge-featured { position: absolute; top: -13px; left: 20px; background: linear-gradient(90deg, var(--gold), #fbbf24); color: #451a03; font-size: 0.74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.6px; font-family: "Lexend", sans-serif; }
.clinic-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.clinic-name { font-size: 1.28rem; font-weight: 700; color: var(--cyan-900); font-family: "Lexend", sans-serif; }
.open-badge { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.84rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; font-family: "Lexend", sans-serif; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.open { background: #e7f8ef; color: var(--green); }
.open-badge.open::before { animation: dotPulse 1.6s ease infinite; }
.open-badge.closed { background: #feecec; color: var(--red-dark); }
.open-badge.unknown { background: #fdf3e0; color: var(--amber); }
.clinic-meta { color: var(--muted); font-size: 0.98rem; display: grid; gap: 6px; }
.clinic-meta > span { display: flex; gap: 10px; align-items: flex-start; }
.clinic-meta .icon { color: var(--cyan-600); margin-top: 2px; }
.clinic-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.clinic-actions .btn { flex: 1 1 160px; font-size: 1rem; padding: 13px 18px; }
.type-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--amber); font-family: "Lexend", sans-serif; margin-bottom: 6px; }
.type-tag.er { color: var(--red); }
.region-label { display: flex; align-items: center; gap: 10px; margin: 34px 0 16px; color: var(--cyan-800); font-family: "Lexend", sans-serif; font-weight: 700; font-size: 1.05rem; }
.region-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.region-label:first-of-type { margin-top: 0; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-card h3 { color: var(--cyan-900); margin-bottom: 12px; font-size: 1.18rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon-lg { color: var(--cyan-600); }
.info-card ul { padding-left: 20px; color: var(--muted); }
.info-card li { margin-bottom: 7px; }
.edge-red { border-top: 4px solid var(--red); }
.edge-amber { border-top: 4px solid var(--gold); }
.edge-green { border-top: 4px solid var(--green); }

/* ---------- Tele / insurance blocks ---------- */
.tele-block {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-800), var(--cyan-900)); color: #fff;
  border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; box-shadow: var(--shadow-md);
}
.tele-block::after { content: ""; position: absolute; left: -60px; bottom: -80px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(34,211,238,0.3), transparent 65%); }
.tele-block h3 { font-size: 1.4rem; letter-spacing: -0.3px; }
.tele-block p { color: #c8e8f2; }
.tele-block .btn { justify-self: start; position: relative; z-index: 1; }
.affiliate-note { font-size: 0.78rem; color: #9dc4d1; }
.insurance-block { background: linear-gradient(180deg, #fffcf3, #fff8e6); border: 1px solid #f3e3b3; border-radius: var(--radius); padding: 30px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.insurance-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insurance-block h3 { color: #92610a; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.insurance-block .affiliate-note { color: #a08850; }

/* ---------- Ad slots ---------- */
.ad-slot { min-height: 90px; background: #f2f9fb; border: 1px dashed var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #9db8c2; font-size: 0.78rem; letter-spacing: 1.2px; text-transform: uppercase; font-family: "Lexend", sans-serif; }

/* ---------- Pricing ---------- */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--green); position: relative; }
.badge-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 0.74rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; letter-spacing: 0.6px; font-family: "Lexend", sans-serif; white-space: nowrap; }
.price-tier { font-weight: 700; color: var(--cyan-700); text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.82rem; font-family: "Lexend", sans-serif; }
.price-amount { font-family: "Lexend", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; display: flex; gap: 9px; align-items: flex-start; }
.price-card li .icon { color: var(--green); width: 17px; height: 17px; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.lead-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); display: grid; gap: 16px; max-width: 580px; }
.lead-form label { font-weight: 700; font-size: 0.9rem; color: var(--cyan-900); font-family: "Lexend", sans-serif; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(8,145,178,0.15); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--cyan-400); }
.faq-item summary { padding: 18px 22px; font-weight: 700; cursor: pointer; color: var(--cyan-900); font-family: "Lexend", sans-serif; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--cyan-600); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Cost table ---------- */
.cost-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.cost-table th { background: var(--cyan-800); color: #fff; text-align: left; padding: 14px 18px; font-size: 0.88rem; font-family: "Lexend", sans-serif; }
.cost-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.cost-table tbody tr { transition: background 0.15s; }
.cost-table tbody tr:hover { background: var(--cyan-50); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table td:last-child { font-weight: 700; color: var(--red-dark); white-space: nowrap; }

/* ---------- Metro cards ---------- */
.metro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.metro-link { position: relative; overflow: hidden; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; font-weight: 700; color: var(--cyan-900); box-shadow: var(--shadow-sm); display: block; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; font-family: "Lexend", sans-serif; }
.metro-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan-600); }
.metro-link .metro-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--cyan-50); color: var(--cyan-700); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: transform 0.25s ease; }
.metro-link:hover .metro-icon { transform: scale(1.1) rotate(-4deg); }
.metro-link small { display: block; color: var(--muted); font-weight: 500; margin-top: 5px; font-family: "Source Sans 3", sans-serif; }
.metro-link .arrow { position: absolute; right: 20px; bottom: 22px; color: var(--cyan-600); transition: transform 0.25s ease; }
.metro-link:hover .arrow { transform: translateX(5px); }
.metro-link.soon { opacity: 0.55; pointer-events: none; }

/* ---------- Sticky call bar ---------- */
.sticky-call { position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky); display: none; background: linear-gradient(90deg, var(--red-dark), var(--red)); padding: 10px 14px; box-shadow: 0 -4px 16px rgba(0,0,0,0.25); }
.sticky-call a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.02rem; text-decoration: none; min-height: 46px; font-family: "Lexend", sans-serif; }
@media (max-width: 760px) { .sticky-call { display: block; } body.has-sticky { padding-bottom: 70px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--cyan-900); color: #9dc4d1; padding: 48px 0 32px; margin-top: 40px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer a { color: #c8e8f2; text-decoration: none; display: block; margin-bottom: 7px; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 30px; padding-top: 20px; font-size: 0.8rem; }
.disclaimer { font-size: 0.82rem; color: var(--muted); margin-top: 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
