/* ==========================================================================
   Personal Pet Assistant — in-home visits.
   Self-contained: no external fonts, no CDN, no @import. System fonts only.
   ========================================================================== */
:root {
  --ink:          #0e1b2e;
  --ink-soft:     #3d5570;
  --ink-faint:    #6c7f96;
  --paper:        #e6edf7;
  --paper-2:      #d6e2f1;
  --card:         #ffffff;
  --navy:        #1b3a6b;
  --navy-deep:   #0d2444;
  --navy-tint:   #e7eef8;
  --accent:        #2f5f9e;
  --accent-tint:   #eaf1fa;
  --line:         #c5d3e6;
  --line-soft:    #d0dcec;
  --on-navy:      #c9d6e8;
  --on-navy-soft: #9fb4d2;
  --shadow-sm:    0 1px 2px rgba(13, 36, 68, .06), 0 2px 8px rgba(13, 36, 68, .04);
  --shadow-md:    0 2px 4px rgba(13, 36, 68, .05), 0 12px 28px rgba(13, 36, 68, .07);
  --radius:       16px;
  --radius-sm:    10px;
  --wrap:         1120px;
  --serif:        "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:         system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { max-width: 68ch; }

a { color: var(--navy-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .9);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(13, 36, 68, .05); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; }
.brand-sub { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .94rem; text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--navy-deep); text-decoration: underline; }
.nav .btn--primary, .nav .btn--primary:hover { color: #fff; text-decoration: none; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: .97rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy-deep); border-color: var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- sections ---------------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--navy-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }
.lede { font-size: 1.09rem; color: var(--ink-soft); }

/* --- hero -------------------------------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 520px;
  background: radial-gradient(closest-side, rgba(47, 95, 158, .10), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.13rem; max-width: 56ch; }
.hero-note {
  margin-top: 26px; padding: 16px 18px; border-left: 3px solid var(--accent);
  background: var(--accent-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem; color: #1f3457; max-width: 60ch;
}
.hero-note strong { color: #24395c; }
.hero-art {
  background: linear-gradient(160deg, #fff, var(--navy-tint));
  border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-md);
}
.hero-art img { width: 100%; }

/* --- facts strip ------------------------------------------------------- */
.facts { border-block: 1px solid var(--line-soft); background: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 34px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.facts img { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.facts strong { display: block; color: var(--ink); font-size: 1rem; }

/* --- do / don't -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.panel--do { background: var(--navy-tint); border-color: #d3deee; }
.panel--dont { background: #f4f7fb; }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.25rem; }
.panel h3 img { width: 26px; height: 26px; }
.panel ul { display: grid; gap: 13px; }
.panel li { position: relative; padding-left: 30px; font-size: .98rem; color: var(--ink-soft); }
.panel li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px;
  border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.panel--dont li::before {
  background: #93a3b8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.panel li strong { color: var(--ink); }

/* --- services ---------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.card--flagship { grid-column: 1 / -1; background: linear-gradient(135deg, #fff 40%, var(--navy-tint)); border-color: #d3deee; }
.card--flagship .card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.card-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-tint); padding: 9px; }
.card--flagship .card-ico { width: 52px; height: 52px; padding: 11px; background: #fff; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.tag {
  align-self: flex-start; display: inline-flex; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-deep); background: var(--navy-tint);
  padding: 5px 11px; border-radius: 999px;
}
.tag--accent { color: #2b5590; background: var(--accent-tint); }
.panel--do .tag { background: #fff; }

/* --- service area ------------------------------------------------------ */
.zone-h { margin-top: 16px; }
.zone-note { margin-top: 10px; color: var(--ink-soft); font-size: .97rem; }
.zip-list { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line-soft); }
.zip-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px;
  padding: 9px 2px; border-bottom: 1px solid var(--line-soft);
  font-size: .92rem; color: var(--ink-soft);
}
.zip-list li::before { display: none; }
.zip-name { color: var(--ink); }
.zip-codes { font-size: .86rem; color: var(--ink-faint); }
.zip-codes b {
  font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-deep);
  border-radius: 6px; padding: 1px 5px;
  transition: background-color .2s ease, color .2s ease;
}
.zip-codes b.is-match { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.zip-check {
  margin: -16px 0 28px; padding: 20px 22px; max-width: 640px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.zip-check label { display: block; font-weight: 600; margin-bottom: 10px; }
.zip-check-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.zip-check input {
  font: inherit; font-size: 1.05rem; letter-spacing: .08em; width: 9ch; padding: 10px 14px;
  border: 1px solid #b9c7da; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink);
}
.zip-check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.zip-result { flex: 1 1 260px; font-size: .95rem; color: var(--ink-soft); }
.zip-result strong { color: var(--navy-deep); }

/* --- quote band -------------------------------------------------------- */
.quote-band { background: var(--navy-deep); color: #d3deee; padding-block: clamp(44px, 6vw, 68px); }
.quote-band-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.quote-band h2 { color: #fff; }
.quote-band p { margin-top: 12px; max-width: 64ch; }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .12); }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--navy-tint); color: var(--navy-deep); transform: translateY(-1px); }
.card--flagship h3 { margin-top: 14px; }
.card--flagship .card-body > div > p { margin-top: 12px; }
.order-line {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: .87rem; font-style: italic; color: var(--navy-deep);
  display: flex; gap: 9px; align-items: flex-start;
}
.order-line img { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* --- steps ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; box-shadow: var(--shadow-sm); }
.step-num {
  font-family: var(--serif); font-size: .95rem; font-weight: 700; color: #fff; background: var(--navy);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .96rem; color: var(--ink-soft); }
.steps-note { margin-top: 26px; font-size: .95rem; color: var(--ink-soft); max-width: 70ch; }

/* --- home visit -------------------------------------------------------- */
.home-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.reasons { display: grid; gap: 18px; margin-top: 26px; }
.reasons li { display: flex; gap: 14px; }
.reasons img { width: 24px; height: 24px; flex: none; margin-top: 3px; }
.reasons strong { display: block; }
.reasons span { font-size: .96rem; color: var(--ink-soft); }
.home-art { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }


/* --- faq --------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 82ch; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #d3deee; }
.faq summary {
  cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 1.02rem;
  display: flex; gap: 14px; align-items: flex-start; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--navy); transition: transform .2s ease; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 22px 22px; color: var(--ink-soft); font-size: .97rem; }
.faq .answer p + p { margin-top: 12px; }

/* --- contact ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.contact-grid > *, .split > *, .cards > *, .steps > * { min-width: 0; }
.contact-card {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: #eaf0f8; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 42px); box-shadow: var(--shadow-md);
}
.contact-card h2 { color: #fff; }
.contact-card p { color: #d3deee; margin-top: 14px; }
.contact-card .btn--primary { background: #fff; color: var(--navy-deep); margin-top: 26px; }
.contact-card .btn--primary:hover { background: var(--navy-tint); color: var(--navy-deep); }
.contact-card .addr { display: block; margin-top: 16px; font-size: .9rem; color: #c2d0e6; overflow-wrap: anywhere; }
.nocall {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .92rem; color: #d3deee;
}
.email-help { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.email-help h3 { margin-bottom: 14px; }
.email-help ol { counter-reset: e; display: grid; gap: 12px; margin-top: 6px; }
.email-help li { counter-increment: e; display: flex; gap: 12px; font-size: .96rem; color: var(--ink-soft); }
.email-help li::before {
  content: counter(e); flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-tint); color: var(--navy-deep); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center; font-family: var(--sans);
}
.email-help .fineprint { margin-top: 22px; font-size: .86rem; color: var(--ink-faint); }
.area-note { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); }

/* --- footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #b3c0d4; padding-block: clamp(44px, 6vw, 68px); }
.site-footer a { color: #e2eaf5; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand span { font-family: var(--serif); font-size: 1.05rem; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: .92rem; }
.disclaimer { margin-top: 28px; display: grid; gap: 12px; max-width: 88ch; font-size: .9rem; line-height: 1.6; }
.disclaimer strong { color: #fff; }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: #8a9cb4; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* --- navy theme ("navy blue scrubs") -------------------------------------
   Dark navy carries the header, hero, facts strip and one full section; the
   light sections sit on a blue-tinted page instead of plain white. */
.eyebrow { color: #fff; background: var(--navy); }

.site-header { background: rgba(13, 36, 68, .96); }
.site-header.is-stuck { border-bottom-color: rgba(255, 255, 255, .12); box-shadow: 0 2px 16px rgba(5, 16, 32, .35); }
.brand, .brand-name { color: #fff; }
.brand-sub { color: var(--on-navy-soft); }
.nav a { color: var(--on-navy); }
.nav a:hover { color: #fff; }
.nav .btn--primary, .nav .btn--primary:hover { background: #fff; color: var(--navy-deep); }

.hero { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%); color: var(--on-navy); }
.hero::before { background: radial-gradient(closest-side, rgba(127, 163, 214, .22), transparent 70%); }
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-navy); }
.hero .eyebrow { background: rgba(255, 255, 255, .12); }
.hero .btn--primary { background: #fff; color: var(--navy-deep); }
.hero .btn--primary:hover { background: var(--navy-tint); color: var(--navy-deep); }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.hero-note { background: rgba(255, 255, 255, .08); border-left-color: #7fa3d6; color: var(--on-navy); }
.hero-note strong { color: #fff; }
.hero-art { border-color: rgba(255, 255, 255, .2); box-shadow: 0 20px 50px rgba(5, 16, 32, .35); }

.facts { background: #142f58; border-color: rgba(255, 255, 255, .08); }
.facts li { color: var(--on-navy-soft); }
.facts strong { color: #fff; }
.facts img { filter: brightness(0) invert(1); }

.section--navy { background: var(--navy-deep); color: var(--on-navy); }
.section--navy h2 { color: #fff; }
.section--navy .section-head p, .section--navy .steps-note { color: var(--on-navy); }
.section--navy .eyebrow { background: rgba(255, 255, 255, .12); }
.section--navy .step { border-color: transparent; color: var(--ink); }

.site-footer { background: #081a33; }

/* --- reveal (progressive enhancement; content is visible without JS) ---- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn, .site-header { transition: none; }
}

/* --- responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid, .home-grid, .contact-grid { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .card--flagship .card-body { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 0; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 18px; font-size: .9rem; }
  .split { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .facts ul { grid-template-columns: 1fr; gap: 20px; }
  .section { padding-block: 52px; }
}
@media (max-width: 380px) {
  .btn:not(.nav-cta) { width: 100%; padding-inline: 18px; }
  .facts img { width: 20px; height: 20px; }
  .card, .panel, .step, .contact-card, .email-help { padding: 20px; }
  .wrap { padding-inline: 16px; }
}
@media print {
  .site-header, .hero-art, .home-art, .btn-row, .zip-check, .quote-band .btn { display: none; }
  body { background: #fff; }
}
