/* Stellaris Keystone Services - site styles
   Warm, professional, readable. Navy + amber from the logo palette. */

:root {
  --brand-900: #16304a;
  --brand-800: #1b3d5f;
  --brand-700: #1f4e79;
  --brand-600: #2a6399;
  --brand-100: #dce8f3;
  --brand-50:  #eef4fa;
  --accent-600: #c8892a;
  --accent-500: #e0a33c;
  --accent-100: #faeed7;
  --ink: #26323d;
  --ink-soft: #4c5a66;
  --paper: #fdfbf7;
  --card: #ffffff;
  --line: #e3ded4;
  --ok: #2e7d4f;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(22, 48, 74, 0.08);
  --shadow-lg: 0 10px 30px rgba(22, 48, 74, 0.14);
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-head: "Merriweather", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
[hidden] { display: none !important; }
html.big-text { font-size: 120%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

/* High contrast mode */
html.high-contrast body { background: #ffffff; color: #111; }
html.high-contrast .site-header,
html.high-contrast .topbar { border-bottom: 2px solid #111; }
html.high-contrast a { text-decoration: underline; }
html.high-contrast .btn { border: 2px solid #111; }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brand-800); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-600); }
a:hover { color: var(--brand-800); }
ul { padding-left: 1.3em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 8px; top: -48px; background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; z-index: 300; transition: top 0.15s; }
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 2px; }

/* Buttons: solid, slightly rounded. Not pills. */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); color: #fff; }
.btn-accent { background: var(--accent-500); color: #2d2310; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--brand-700); }
.btn-outline:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-100); }
.btn-lg { font-size: 1.15rem; padding: 15px 32px; }

/* Topbar */
.topbar { background: var(--brand-900); color: #d9e4ee; font-size: 0.92rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.topbar-note { margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.topbar-link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.a11y-btn[aria-pressed="true"] { background: var(--accent-500); color: #2d2310; }
.a11y-plus { font-size: 1.1em; font-weight: 700; margin-left: 1px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 900; color: var(--brand-800); font-size: 1.15rem; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.99rem; background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.nav-link:hover { background: var(--brand-50); color: var(--brand-800); }
.nav-link.active, .has-dropdown.active > .nav-link { color: var(--brand-700); box-shadow: inset 0 -3px 0 var(--accent-500); border-radius: 8px 8px 0 0; }

.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); list-style: none; margin: 6px 0 0; padding: 8px; display: none; z-index: 210; }
.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.dropdown a:hover { background: var(--brand-50); color: var(--brand-800); }
.chev { transition: transform 0.15s; font-size: 0.72em; }
.has-dropdown.open .chev { transform: rotate(180deg); }

.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--brand-800); cursor: pointer; padding: 8px; border-radius: 8px; }

/* Hero */
.hero { position: relative; background: linear-gradient(170deg, var(--brand-900) 0%, var(--brand-700) 78%); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(22, 48, 74, 0.68); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.1; background-image: radial-gradient(#fff 1.1px, transparent 1.1px); background-size: 26px 26px; }
.hero-inner { position: relative; padding: clamp(56px, 9vw, 110px) 0; max-width: 780px; }
.hero .badge-row { margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #e4ecf4; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.video-pause { position: absolute; right: 18px; bottom: 16px; z-index: 5; display: none; align-items: center; gap: 6px; background: rgba(255,255,255,0.92); color: var(--brand-900); border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.hero.has-video .video-pause { display: inline-flex; }

.badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; padding: 6px 13px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; }
.badge-solid { background: var(--accent-100); border: 1px solid var(--accent-500); color: #6b4e15; }

/* Page banner (inner pages) */
.page-banner { background: linear-gradient(170deg, var(--brand-900), var(--brand-700)); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.page-banner h1 { color: #fff; margin-bottom: 0.25em; }
.page-banner p { color: #dfe8f1; font-size: 1.15rem; max-width: 62ch; margin: 0; }
.page-banner .hero-actions { margin-top: 22px; }
.page-banner .badge-row { margin-bottom: 14px; }

/* Sections */
.section { padding: clamp(44px, 7vw, 80px) 0; }
.section-tint { background: var(--brand-50); }
.section-soft { background: #f6f1e7; }
.section-dark { background: var(--brand-900); color: #e8eef5; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; font-size: 0.85rem; color: var(--accent-600); margin-bottom: 8px; }

/* Serve strip */
.serve-strip { background: var(--brand-800); color: #fff; }
.serve-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 0; }
.serve-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; padding: 6px; text-align: center; }
.serve-item i { color: var(--accent-500); flex: none; font-size: 1.2rem; }

/* Cards */
.card-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--ink-soft); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px; }
.card-accent .card-icon { background: var(--accent-100); color: var(--accent-600); }
.card-mini { padding: 20px; }
.card-mini h3 { font-size: 1.08rem; }
.card-mini p { margin: 0; font-size: 0.98rem; }

/* Alternating feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-body h3 { font-size: 1.45rem; }
.tag-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.tag-list li { display: flex; gap: 10px; align-items: flex-start; }
.tag-list i { color: var(--ok); flex: none; margin-top: 6px; font-size: 0.95em; }

/* Photo placeholder blocks: replace with stock photos when ready */
.photo-slot { aspect-ratio: 4 / 3; background: linear-gradient(145deg, var(--brand-100), var(--brand-50)); display: grid; place-items: center; color: var(--brand-600); padding: 18px; text-align: center; }
.photo-slot.wide { aspect-ratio: 16 / 7; }
.photo-slot .ps-inner { display: grid; justify-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.photo-slot.amber { background: linear-gradient(145deg, var(--accent-100), #fdf6e7); color: var(--accent-600); }

/* Video embeds */
.video-block { max-width: 860px; margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--brand-900); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #cfdceb; text-align: center; padding: 20px; }
.video-placeholder i { display: block; margin-bottom: 12px; color: var(--accent-500); font-size: 3.2rem; }
.video-caption { text-align: center; font-weight: 700; color: var(--brand-800); margin-top: 14px; }
.video-note { text-align: center; color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-500); color: #2d2310; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; font-family: var(--font-head); }
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Info table / at-a-glance */
.glance { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.glance th, .glance td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance tr:last-child th, .glance tr:last-child td { border-bottom: 0; }
.glance th { width: 220px; background: var(--brand-50); color: var(--brand-800); font-family: var(--font-body); }

/* Price cards */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.price-amount { font-family: var(--font-head); font-weight: 900; color: var(--brand-700); font-size: 1.6rem; display: block; margin-bottom: 6px; }
.price-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.package-box { background: var(--accent-100); border: 1px solid var(--accent-500); border-radius: var(--radius); padding: 26px; margin-top: 26px; }
.package-box ul { margin: 10px 0 0; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left; background: none; border: 0; padding: 18px 20px; font: 700 1.05rem var(--font-body); color: var(--brand-800); cursor: pointer; }
.faq-q:hover { background: var(--brand-50); }
.faq-q i { flex: none; transition: transform 0.18s; color: var(--accent-600); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* Quiz */
.quiz { max-width: 680px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); }
.quiz-progress { height: 10px; background: var(--brand-100); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress-fill { height: 100%; width: 0; background: var(--accent-500); transition: width 0.25s; }
.quiz-step-label { font-weight: 700; color: var(--accent-600); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.quiz h3 { font-size: 1.35rem; }
.quiz-options { display: grid; gap: 12px; margin-top: 18px; }
.quiz-option { display: block; width: 100%; text-align: left; background: var(--brand-50); border: 2px solid transparent; border-radius: 10px; padding: 16px 18px; font: 600 1.05rem var(--font-body); color: var(--ink); cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.quiz-option:hover { border-color: var(--brand-600); background: #fff; }
.quiz-result h3 { color: var(--brand-700); }
.quiz-note { font-size: 0.95rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.quiz-restart { background: none; border: 0; color: var(--brand-600); font: 600 1rem var(--font-body); cursor: pointer; text-decoration: underline; padding: 8px 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--brand-800); }
.form-field .hint { font-size: 0.88rem; color: var(--ink-soft); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font: 1.02rem var(--font-body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #c9c2b4; border-radius: 8px; background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand-600); outline: 2px solid var(--brand-100); }
.check-group { display: grid; gap: 8px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.check-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-700); }
fieldset.form-field { border: 0; padding: 0; margin: 0; }
fieldset.form-field legend { font-weight: 700; color: var(--brand-800); padding: 0; margin-bottom: 8px; }
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 10px; }
.honey { position: absolute; left: -9999px; }

/* Contact layout */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(26px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list i { color: var(--accent-600); flex: none; margin-top: 5px; font-size: 1.15rem; width: 24px; text-align: center; }
.contact-list a { font-weight: 700; }

/* Callouts */
.callout { border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.callout-soft { background: var(--accent-100); border: 1px solid var(--accent-500); }
.callout-blue { background: var(--brand-50); border: 1px solid var(--brand-100); }
.callout-crisis { background: #fdf0ee; border: 1px solid #e5b4ac; }
.callout p:last-child { margin-bottom: 0; }

/* Veterans banner */
.vet-banner { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); border-radius: var(--radius); color: #fff; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.vet-banner h2 { color: #fff; margin-bottom: 0.3em; }
.vet-banner p { color: #e2ebf3; margin: 0; max-width: 70ch; }
.vet-star { color: var(--accent-500); font-size: 2.8rem; }

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.area-chips li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; font-weight: 600; color: var(--brand-800); }

/* Coming soon cards */
.coming-card { position: relative; }
.coming-tag { position: absolute; top: 16px; right: 16px; background: var(--accent-500); color: #2d2310; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; }

/* Jobs */
.job-card { border-left: 6px solid var(--accent-500); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-800), var(--brand-700)); color: #fff; text-align: center; padding: clamp(46px, 7vw, 80px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe8f1; max-width: 62ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Hidden stories section: remove `hidden` + .is-hidden when real stories (with permission) exist. */
.is-hidden { display: none !important; }

/* Footer */
.site-footer { background: var(--brand-900); color: #c3d2e0; margin-bottom: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: clamp(40px, 6vw, 64px) 0 26px; }
.footer-heading { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 14px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #9db8d2; }
.footer-col p { color: #b4c5d6; font-size: 0.97rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links { grid-template-columns: 1fr 1fr; }
.footer-links a, .footer-contact a { color: #d6e1ec; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-500); text-decoration: underline; }
.footer-small { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 20px 0 28px; font-size: 0.85rem; color: #8ba3b9; }
.footer-small p { margin: 0 0 6px; }

/* Mobile call/refer bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 250; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(22, 48, 74, 0.12); }
.mobile-bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-weight: 800; text-decoration: none; color: var(--brand-800); font-size: 1.05rem; }
.mobile-bar-refer { background: var(--brand-700); color: #fff; }

/* Chat widget */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 260; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launcher { display: inline-flex; align-items: center; gap: 9px; background: var(--accent-500); color: #2d2310; font: 800 1.02rem var(--font-body); border: 0; border-radius: 10px; padding: 13px 18px; cursor: pointer; box-shadow: var(--shadow-lg); }
.chat-launcher:hover { background: var(--accent-600); color: #fff; }
.chat-panel { width: min(370px, calc(100vw - 32px)); height: min(540px, 76vh); background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(22, 48, 74, 0.3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-head { background: var(--brand-800); color: #fff; padding: 14px 18px; position: relative; }
.chat-title { margin: 0; font-weight: 800; font-size: 1.1rem; }
.chat-sub { margin: 0; font-size: 0.82rem; color: #b9cada; }
.chat-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 6px; }
.chat-close:hover { background: rgba(255, 255, 255, 0.15); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 0.97rem; line-height: 1.5; }
.chat-msg.bot { background: var(--brand-50); border: 1px solid var(--brand-100); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--brand-700); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg a { font-weight: 700; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; background: var(--paper); }
.chat-quick button { background: #fff; border: 1.5px solid var(--brand-600); color: var(--brand-700); border-radius: 8px; padding: 7px 12px; font: 600 0.88rem var(--font-body); cursor: pointer; }
.chat-quick button:hover { background: var(--brand-50); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; font: 1rem var(--font-body); padding: 11px 13px; border: 1.5px solid #c9c2b4; border-radius: 8px; }
.chat-form .btn { padding: 10px 16px; }

/* Responsive */
@media (max-width: 1280px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 8px; font-size: 0.95rem; }
}
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .site-nav { position: fixed; inset: 0; top: 0; background: #fff; margin: 0; padding: 86px 24px 24px; transform: translateX(100%); transition: transform 0.2s; overflow-y: auto; z-index: 190; }
  .site-nav.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 14px 12px; white-space: normal; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--accent-500); border-radius: 0; margin: 0 0 6px 10px; }
}
@media (max-width: 920px) {
  .cols-3, .cols-4, .values-grid, .price-grid, .steps, .steps.cols-3 { grid-template-columns: 1fr 1fr; }
  .feature-row, .split { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .serve-strip-inner { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .serve-item { justify-content: flex-start; }
  .vet-banner { grid-template-columns: 1fr; text-align: left; }
  .map-wrap iframe { height: 300px; }
  .glance { display: block; overflow-x: auto; }
}
@media (max-width: 640px) {
  .cols-3, .cols-4, .values-grid, .price-grid, .steps, .steps.cols-3, .form-grid { grid-template-columns: 1fr; }
  .topbar-note { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 58px; }
  .chat-widget { bottom: 70px; }
  .glance th { width: 40%; }
  .hero-actions .btn { width: 100%; }
}

/* Font Awesome icon sizing */
.card-icon i { font-size: 1.4rem; }
.photo-slot .ps-inner i { font-size: 2.3rem; }
.topbar-link i { font-size: 0.85rem; }
.nav-toggle i { font-size: 1.5rem; }
.chat-launcher i { font-size: 1.2rem; }
.chat-close i { font-size: 1rem; }
.mobile-bar-btn i { font-size: 1.1rem; }

/* Content photos */
.photo-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.feature-media .photo-img { border-radius: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
