
:root {
  --bg-primary:    #0A0A0A;
  --bg-surface:    #141414;
  --bg-elevated:   #1E1E1E;
  --accent:        #4E9B5F;
  --accent-hover:  #5EB271;
  --accent-glow:   rgba(78, 155, 95, 0.15);
  --accent-border: rgba(78, 155, 95, 0.35);
  /* Darker greens for solid fills that carry white/light text on top (e.g. .btn-primary) —
     --accent itself is tuned for visibility against dark backgrounds (icons, links, borders)
     and only reaches 3.4:1 with white text, below the 4.5:1 minimum for non-bold text. */
  --accent-btn:       #3F7D4E;
  --accent-btn-hover: #2E5E3A;
  --text-primary:  #FFFFFF;
  --text-secondary:#8E8E93;
  --text-muted:    #7C7C7F; /* ~4.7:1 on #0A0A0A — original #48484A was ~2.2:1 */
  --text-link:     #6FBE81;
  --border-soft:   rgba(255,255,255,0.06);
  --border-row:    rgba(255,255,255,0.09);
  --border-card:   rgba(255,255,255,0.07);
  --green:  #34C759;
  --red:    #FF3B30;
  --yellow: #FFD60A;
  --nav-height:  68px;
  --max-w:       1140px;
  --radius-card: 18px;
  --radius-btn:  100px;
  --radius-pill: 100px;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Light theme ─────────────────────────────────────────── */
[data-theme="light"] {
  --bg-primary:    #FAF6EE;
  --bg-surface:    #FFFFFF;
  --bg-elevated:   #F3EEE1;
  --accent:        #3F7D4E;
  --accent-hover:  #2E5E3A;
  --accent-glow:   rgba(63, 125, 78, 0.10);
  --accent-border: rgba(63, 125, 78, 0.25);
  --text-primary:  #1F2318;
  --text-secondary:#4A5142;
  --text-muted:    #75705F; /* ~4.6:1 on #FAF6EE — original #A6A090 was ~2.4:1 */
  --text-link:     #2E5E3A;
  --border-soft:   rgba(31,35,24,0.07);
  --border-row:    rgba(31,35,24,0.08);
  --border-card:   rgba(31,35,24,0.08);
  --green:  #1A9E3F;
  --red:    #D93025;
  --yellow: #A07000;
}

[data-theme="light"] .card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(250,246,238,0.92);
}

[data-theme="light"] #nav-mobile-menu {
  background: rgba(250,246,238,0.98);
}

[data-theme="light"] .vax-item {
  background: #F0EEE9;
}

[data-theme="light"] .btn-ghost {
  background: #ECEAE5;
  color: var(--text-primary);
}
[data-theme="light"] .btn-ghost:hover { background: #E0DDD7; }

[data-theme="light"] select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5142' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-theme="light"] .phone-frame { border-color: rgba(0,0,0,0.15); }

/* ─── Lang option buttons (in settings dropdown) ─────────────── */
.lang-opt-btn {
  padding: 7px 4px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition);
}
.lang-opt-btn:hover { background: var(--bg-surface); color: var(--text-primary); }
.lang-opt-btn.active {
  background: var(--accent-glow);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ─── Focus visibility ────────────────────────────────────── */
/* :focus-visible only shows the ring for keyboard/assistive-tech navigation,
   not mouse clicks — an on-brand ring instead of relying on each browser's
   unstyled default outline. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; transition: var(--transition);
  border: none; cursor: pointer; font-family: var(--font-body);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent-btn); color: #fff; }
.btn-primary:hover { background: var(--accent-btn-hover); transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent-border); }
.btn-outline:hover { background: var(--accent-glow); text-decoration: none; }
.btn-ghost { background: var(--bg-elevated); color: var(--text-primary); }
.btn-ghost:hover { background: #2a2a2a; text-decoration: none; }
.btn-danger { background: rgba(255,59,48,0.12); color: var(--red); border: 1px solid rgba(255,59,48,0.25); }
.btn-danger:hover { background: rgba(255,59,48,0.2); text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(255,255,255,0.12); }

/* ─── Form inputs ─────────────────────────────────────────── */
.input {
  width: 100%; padding: 12px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border-card);
  border-radius: 11px; color: var(--text-primary);
  font-family: var(--font-body); font-size: 15px; transition: var(--transition);
}
.input:focus { outline: none; border-color: var(--accent-border); box-shadow: 0 0 0 3px var(--accent-glow); }
.input::placeholder { color: var(--text-muted); }
select.input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E8E93' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea.input { resize: vertical; min-height: 80px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Detail rows ─────────────────────────────────────────── */
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-row); }
.detail-row:last-child { border-bottom: none; }
/* Reset native <button> chrome for interactive rows/badges (e.g. the tap-to-show-barcode
   chip) — using a real <button> instead of a span/div with onclick gives keyboard focus
   and Enter/Space activation for free. Higher specificity than the plain .detail-row/.badge
   rules above so these always win regardless of source order. */
button.detail-row {
  /* .detail-row only declares border-bottom, so the browser's default button
     border on the other 3 sides (and its default background) needs an explicit
     reset here — unlike .badge below, nothing else in the stylesheet does it. */
  appearance: none; -webkit-appearance: none;
  background: none; border: none; border-bottom: 1px solid var(--border-row);
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
button.detail-row:last-child { border-bottom: none; }
button.detail-row::-moz-focus-inner { border: 0; padding: 0; }

button.badge {
  /* .badge/.badge-grey/etc. already supply background, border, padding, and
     radius — author styles always beat the browser's default button chrome
     regardless of specificity, so only non-visual button defaults need resetting. */
  appearance: none; -webkit-appearance: none;
  font: inherit; color: inherit; cursor: pointer;
}
button.badge::-moz-focus-inner { border: 0; padding: 0; }
.detail-label { font-size: 14px; color: var(--text-secondary); }
.detail-value { font-size: 14px; font-weight: 500; color: var(--text-primary); text-align: right; }
.detail-value.mono { font-family: var(--font-mono); font-size: 13px; }

/* ─── Badges ──────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.badge-blue   { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-green  { background: rgba(52,199,89,0.12); color: var(--green); border: 1px solid rgba(52,199,89,0.25); }
.badge-red    { background: rgba(255,59,48,0.12); color: var(--red); border: 1px solid rgba(255,59,48,0.25); }
.badge-yellow { background: rgba(255,214,10,0.12); color: var(--yellow); border: 1px solid rgba(255,214,10,0.25); }
.badge-grey   { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-card); }

/* ─── Nav ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 100;
  display: flex; align-items: center;
  transition: var(--transition); border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(10,10,10,0.88); backdrop-filter: blur(20px); border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text-primary); text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link.active { color: var(--text-primary); }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: var(--transition); text-decoration: none; }
.nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); text-decoration: none; }

/* ─── Flash messages ──────────────────────────────────────── */
.flash { padding: 14px 18px; border-radius: 11px; font-size: 14px; margin-bottom: 20px; }
.flash-success { background: rgba(52,199,89,0.12); color: var(--green); border: 1px solid rgba(52,199,89,0.25); }
.flash-error   { background: rgba(255,59,48,0.12); color: var(--red); border: 1px solid rgba(255,59,48,0.25); }
.flash-info    { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--accent-border); }

/* ─── Layout helpers ──────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.page-wrap { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 80px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── Typography ──────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.mono { font-family: var(--font-mono); }

/* ─── Grid ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ─── Hero phone mockup ───────────────────────────────────── */
.phones-wrap { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
.phone-frame {
  position: absolute; width: 220px; height: 440px;
  border-radius: 36px; border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden; background: var(--bg-surface);
}
.phone-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%); }
.phone-center { z-index: 3; box-shadow: 0 40px 80px rgba(63,125,78,0.3); animation: float 3s ease-in-out infinite; }
.phone-left  { z-index: 2; transform: rotate(-12deg) translate(-160px, 20px); opacity: 0.6; }
.phone-right { z-index: 2; transform: rotate(12deg) translate(160px, 20px); opacity: 0.6; }
.phone-screen { position: absolute; inset: 10px; border-radius: 28px; background: linear-gradient(160deg, #1a1a2e 0%, #141420 100%); display: flex; flex-direction: column; gap: 12px; padding: 20px 14px; overflow: hidden; }
.phone-bar { height: 8px; border-radius: 4px; background: var(--bg-elevated); }
.phone-bar.accent { background: var(--accent); width: 60%; }
.phone-bar.short { width: 40%; }
.phone-pill { height: 32px; border-radius: 10px; background: var(--bg-elevated); }
.phone-notch { width: 60px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.05); margin: 0 auto 8px; }
.accent-glow-bg { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--accent-glow); filter: blur(80px); z-index: 0; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── Stats strip ─────────────────────────────────────────── */
.stat-card { text-align: center; padding: 32px 24px; }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--text-primary); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-secondary); }

/* ─── Features grid ───────────────────────────────────────── */
.feature-card { display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-glow); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 16px; margin: 0; }
.feature-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ─── Steps ───────────────────────────────────────────────── */
.steps { display: flex; gap: 0; align-items: flex-start; }
.step { flex: 1; text-align: center; padding: 0 20px; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 20px; right: -1px; width: 50%; height: 1px; background: var(--border-card); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ─── Waitlist strip ──────────────────────────────────────── */
.waitlist-strip { background: var(--bg-surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 64px 0; text-align: center; }
.waitlist-form { display: flex; gap: 12px; max-width: 560px; margin: 24px auto 0; flex-wrap: wrap; justify-content: center; }
.waitlist-form .input { flex: 1; min-width: 200px; }

/* ─── Vaccination table ───────────────────────────────────── */
.vax-item { padding: 16px; border-radius: 12px; background: var(--bg-elevated); margin-bottom: 10px; }
.vax-item-header { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.vax-item-header h4 { flex: 1; font-size: 15px; margin: 0; }
.vax-item-body { display: none; padding-top: 16px; border-top: 1px solid var(--border-row); margin-top: 12px; }
.vax-item-body.open { display: block; }
.vax-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ─── Pet hero ────────────────────────────────────────────── */
.pet-hero { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 40px; flex-wrap: wrap; }
.pet-hero-photo { width: 160px; height: 160px; border-radius: 20px; object-fit: cover; background: var(--bg-elevated); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pet-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.pet-hero-info { flex: 1; min-width: 240px; }
.pet-hero-name { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.pet-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.qr-wrap img { border-radius: 12px; background: var(--bg-elevated); padding: 12px; }

/* ─── Auth pages ──────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card.wide { max-width: 420px; }
@media (min-width: 820px) {
  .auth-card.wide { max-width: 640px; }
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .lead { font-size: 14px; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-footer { text-align: center; font-size: 14px; color: var(--text-secondary); margin-top: 20px; }

/* ─── Dashboard ───────────────────────────────────────────── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 1.6rem; font-weight: 700; }

.empty-state { text-align: center; padding: 80px 24px; }
.empty-state svg { margin-bottom: 20px; opacity: 0.25; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }

/* ─── Admin ───────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-mini { text-align: center; }
.stat-mini .num { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-mini .lbl { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-soft); margin-bottom: 24px; }
.tab-btn { padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); font-family: var(--font-body); }
.tab-btn.active { color: var(--text-primary); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 16px; color: var(--text-secondary); font-weight: 500; border-bottom: 1px solid var(--border-row); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border-row); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── Dividers & utils ────────────────────────────────────── */
.divider { height: 1px; background: var(--border-soft); margin: 32px 0; }
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.hidden { display: none !important; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border-soft); padding: 32px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-logo { font-weight: 700; font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-legal { font-size: 12px; color: var(--text-muted); max-width: 420px; line-height: 1.6; margin-top: 8px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); }
.footer-copy { font-size: 12px; color: var(--text-muted); margin-top: 32px; text-align: center; }

.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.footer-tagline { font-size: 12.5px; color: var(--text-secondary); max-width: 260px; line-height: 1.5; }
.footer-links-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.footer-links-col a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color var(--transition); }
.footer-links-col a:hover { color: var(--text-primary); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom .footer-legal { margin: 0; }
.footer-bottom .footer-copy { margin: 0; }

/* ─── B2B teaser ──────────────────────────────────────────── */
.vet-card { background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%); border: 1px solid var(--border-card); border-radius: var(--radius-card); padding: 48px; display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vet-card h2 { margin-bottom: 12px; }
.vet-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vet-card ul li { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.vet-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ─── Trust row ───────────────────────────────────────────── */
.trust-row { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; margin-top: 20px; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row span::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  /* On mobile: hide entire nav-links strip (hamburger + mobile menu handles everything) */
  .nav-links { display: none; }
  .phones-wrap { height: 300px; }
  .phone-frame { width: 150px; height: 300px; }
  .phone-left { transform: rotate(-12deg) translate(-110px, 20px); }
  .phone-right { transform: rotate(12deg) translate(110px, 20px); }
  .vet-card { padding: 28px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pet-hero { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .pet-hero-photo { width: 100px; height: 100px; }
  .pet-hero-name { font-size: 1.5rem; }
  .pet-hero-actions { flex-wrap: wrap; gap: 8px; }
  .pet-hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 100px; }
  /* Overflow ⋯ button: don't stretch */
  .pet-hero-actions > div { flex: 0 0 auto; }
  /* Tabs: scroll horizontally, no overflow */
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 1px; flex-shrink: 0; }
  .tab-btn { padding: 10px 13px; font-size: 13px; white-space: nowrap; }
  .qr-wrap { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
