/* A Locksmith Pacific Beach — site styles
   Mobile-first. Breakpoints: 640px (tablet), 900px (desktop). */

/* ---------- Self-hosted font (Outfit, variable, latin) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-deep: #081C33;
  --ocean: #1B6CA8;
  --sky: #7FC8E8;
  --sky-soft: #E6F3FA;
  --sunset: #F26B1D;
  --sunset-2: #FFB169;
  --sunset-soft: #FDEBDD;
  --sunset-text: #B44306;
  --cta: #C94A0B;
  --cta-hover: #A63C06;
  --sand: #F6F1E8;
  --sand-2: #ECE5D6;
  --white: #FFFFFF;
  --ink: #16202E;
  --muted: #55637A;
  --line: #E3DDD1;
  --success: #1F7A4D;
  --success-soft: #E8F5EE;
  --danger: #B3261E;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(11, 37, 69, 0.12);
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-cta: 0 8px 22px rgba(201, 74, 11, 0.32);
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1140px;
  --gutter: 16px;
  --header-h: 68px;
  --mobile-bar-h: 62px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ocean); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
::selection { background: var(--sunset-soft); color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; box-shadow: 0 10px 26px rgba(201, 74, 11, 0.4); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.btn-sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--sunset-text); text-decoration: none; }
.text-link .icon { transition: transform 0.15s var(--ease); }
.text-link:hover { text-decoration: underline; color: var(--cta-hover); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--navy); margin-right: auto; border-radius: var(--radius-sm); }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sunset-text); }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--sky); }
.header-phone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sunset-soft); color: var(--cta); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }
.nav-toggle-close { display: none; }
.is-open .nav-toggle-open { display: none; }
.is-open .nav-toggle-close { display: block; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem var(--gutter) 1rem; }
.is-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.site-nav li a { display: block; padding: 0.8rem 0.25rem; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav li a[aria-current="page"] { color: var(--sunset-text); }
.header-call { width: 100%; }

@media (min-width: 900px) {
  .header-inner { gap: 1rem; }
  .header-phone, .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; background: none; border: 0; box-shadow: none; padding: 0; align-items: center; gap: 1.25rem; }
  .site-nav ul { display: flex; gap: 0.25rem; margin: 0; }
  .site-nav li a { padding: 0.5rem 0.75rem; min-height: 0; border: 0; border-radius: var(--radius-sm); position: relative; }
  .site-nav li a:hover { background: var(--sand); }
  .site-nav li a[aria-current="page"]::after { content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.2rem; height: 2px; border-radius: 2px; background: var(--sunset); }
  .header-call { width: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--navy);
  background-image:
    radial-gradient(70% 90% at 100% 0%, rgba(27, 108, 168, 0.6), transparent 60%),
    radial-gradient(55% 60% at 0% 100%, rgba(242, 107, 29, 0.38), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.hero-art { position: absolute; right: -6%; bottom: 26px; width: min(120%, 900px); height: auto; opacity: 0.13; pointer-events: none; z-index: 0; }
.hero-inner { display: grid; gap: 2rem; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 0.55em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18); }
.hero h1 .accent { color: var(--sunset-2); }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 48px; z-index: 1; }
.hero-wave path { fill: #fff; }
.hero-home .hero-wave path { fill: var(--sand); }
.eyebrow { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sunset-text); margin: 0 0 0.75rem; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--sunset); flex: none; }
.eyebrow-light { color: var(--sky); }
.is-center .eyebrow { justify-content: center; }

.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.4); }
.hero-card-status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 0.3rem 0.75rem; border-radius: 999px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.5); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(31, 122, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0); }
}
.hero-card-label { margin: 1rem 0 0.25rem; color: var(--muted); font-weight: 600; }
.hero-card-phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 9vw, 2.4rem); color: var(--navy); text-decoration: none; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.1; }
.hero-card-phone:hover { color: var(--cta); }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.hero-card-list li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.3rem 0; }
.hero-card-list .icon { color: var(--success); margin-top: 0.2em; }
.hero-card-note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); }
.hero-card-note .icon { color: var(--cta); margin-top: 0.15em; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.25fr 0.9fr; align-items: center; gap: 3rem; }
  .hero-wave { height: 80px; }
  .hero-art { right: 0; bottom: 40px; width: min(70%, 900px); opacity: 0.17; }
}
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .btn, .card, .area-card, .text-link .icon, .card-link .icon, .gallery-grid .photo img { transition: none !important; }
  .btn:hover, .card:hover, .area-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Trust bar ---------- */
.trust { background: var(--sand); padding: 1.5rem 0; }
.trust-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.trust-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.trust-item .icon { width: 1.75rem; height: 1.75rem; color: var(--cta); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.trust-item span { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-lead { font-size: 1.1rem; color: var(--muted); }
.section-foot { margin-top: 1.5rem; }
.section-foot.is-center { text-align: center; }
.center-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--sunset), var(--sunset-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sunset-soft); color: var(--cta); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; transition: background 0.2s, color 0.2s; }
.card-icon .icon { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--cta); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--sunset-text); font-weight: 700; margin-top: 0.5rem; }
.card-link .icon { transition: transform 0.15s var(--ease); }
.card:hover .card-link .icon { transform: translateX(3px); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.step { background: #fff; border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--line); position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--sky-soft); }
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .step:not(:last-child)::after { content: ''; position: absolute; top: 2.9rem; right: -2rem; width: 2rem; border-top: 2px dashed var(--sand-2); }
}

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 1.5rem 2rem; }
.feature .icon { width: 2rem; height: 2rem; color: var(--cta); margin-bottom: 0.75rem; }
.feature h3 { margin-bottom: 0.3rem; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Chips ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.45rem 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: border-color 0.15s, background 0.15s, transform 0.15s var(--ease); }
.chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.chip .icon { width: 1em; height: 1em; color: var(--cta); }
.section:not(.section-sand) .chip, .side-card .chip { background: var(--sand); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: 1.25rem; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); position: relative; }
.review::before { content: '“'; position: absolute; top: 0.4rem; right: 1.2rem; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--sunset-soft); }
.stars { display: inline-flex; gap: 2px; color: #F5A623; margin-bottom: 0.75rem; }
.stars .icon { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.review footer { color: var(--muted); font-size: 0.9rem; }
.review-source { opacity: 0.8; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow 0.2s, border-color 0.2s; }
.faq-item:hover { border-color: #D2C9B6; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: #D2C9B6; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; min-height: 48px; font-family: var(--font-head); font-weight: 700; color: var(--navy); border-radius: var(--radius-sm); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--sand); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-chevron { transition: transform 0.2s var(--ease); color: var(--cta); }
.faq-item[open] .faq-chevron { transform: rotate(90deg); }
.faq-body { padding: 1rem 1.25rem 1.25rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; background-image: radial-gradient(55% 120% at 100% 50%, rgba(242, 107, 29, 0.32), transparent 70%), linear-gradient(180deg, var(--navy), var(--navy-2)); }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta-note { flex-basis: 100%; display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); margin-top: 0.25rem; }
.cta-note .icon { color: var(--sunset-2); margin-top: 0.15em; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr auto; gap: 3rem; } .cta-actions { max-width: 24rem; } }

/* ---------- Guides & long-form articles ---------- */
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin: 0.75rem 0 0; }
.hero .guide-meta { color: rgba(255, 255, 255, 0.8); }
.prose ul, .prose ol { margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.callout { background: var(--sky-soft); border-left: 4px solid var(--ocean); padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { background: var(--sunset-soft); border-left-color: var(--cta); }
.guide-card .guide-card-meta { color: var(--muted); font-size: 0.85rem; margin-top: auto; }
.article-layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } .article-side { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; } }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.related-list a { display: block; padding: 0.75rem 1rem; background: var(--sand); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; text-decoration: none; }
.related-list a:hover { background: var(--sand-2); }

/* ---------- FAQ jump links ---------- */
.faq-jump { margin-bottom: 2rem; }

/* ---------- Open/closed status (set by main.js from data-hours) ---------- */
.hero-card-status.is-closed { color: var(--muted); background: var(--sand); }
.hero-card-status.is-closed .dot { background: #B9A77F; animation: none; box-shadow: none; }
.hours-note { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }

/* ---------- Inline CTA (mid-content) ---------- */
.inline-cta { display: grid; gap: 1rem; background: var(--sand); border: 1px solid var(--line); border-left: 5px solid var(--cta); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.inline-cta-copy strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin-bottom: 0.15rem; }
.inline-cta-copy span { color: var(--muted); }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (min-width: 640px) { .inline-cta { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0.65rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.25rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; padding: 0.2rem 0; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs .icon { width: 1em; height: 1em; opacity: 0.6; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Service page ---------- */
.service-layout { display: grid; gap: 2.5rem; }
.service-main h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.service-main h2:first-child { margin-top: 0; }
.service-main h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.check-list li { position: relative; padding-left: 1.85rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--sunset-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C94A0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/60% no-repeat;
}
@media (min-width: 640px) { .check-list.two-col { grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; } }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.side-card h3 { margin-bottom: 0.75rem; }
.side-card-cta { background: var(--navy); color: #fff; background-image: radial-gradient(70% 70% at 100% 0%, rgba(242, 107, 29, 0.35), transparent 70%); box-shadow: var(--shadow); }
.side-card-cta p { color: rgba(255, 255, 255, 0.85); }
.side-card-label { font-weight: 700; margin-bottom: 0.25rem; }
.side-card-phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: #fff; text-decoration: none; margin-bottom: 0.25rem; letter-spacing: -0.02em; }
.side-card-phone:hover { color: var(--sunset-2); }
.side-card-cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); margin-top: 0.5rem; }
.side-card-cta .btn-outline:hover { background: #fff; color: var(--navy); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li a { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; min-height: 44px; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.side-links li:last-child a { border-bottom: 0; }
.side-links .icon { color: var(--cta); }
.side-links li a:hover { color: var(--cta); }
@media (min-width: 900px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; }
  .service-side { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
}

/* ---------- Prose & two-column ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.two-col-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .two-col-layout { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.stat-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; background-image: radial-gradient(60% 60% at 100% 100%, rgba(242, 107, 29, 0.35), transparent 70%); box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; color: var(--sunset-2); margin-bottom: 0.35rem; }
.stat span { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

/* ---------- Owner ---------- */
.owner { display: grid; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.owner img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--sunset-soft); }
@media (min-width: 640px) { .owner { grid-template-columns: auto 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2.5rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--sand); border-radius: var(--radius); padding: 1.25rem; }
.contact-card .icon { width: 1.6rem; height: 1.6rem; color: var(--cta); margin-top: 0.1rem; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--navy); }
.contact-card a { font-weight: 600; overflow-wrap: anywhere; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

/* ---------- Form ---------- */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid #C9C2B4; border-radius: var(--radius-sm); background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3B2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242, 107, 29, 0.35); outline-offset: 0; border-color: var(--cta); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Map ---------- */
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--sand-2); }

/* ---------- Area cards ---------- */
.area-grid { display: grid; gap: 1rem; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; text-decoration: none; color: var(--ink); display: block; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.area-card h3 { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.15rem; }
.area-card h3 .icon { color: var(--cta); }
.area-card .zip { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; }
.area-card p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Photos & placeholders ---------- */
.photo { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: var(--ratio, 4 / 3); background: var(--sand-2); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 0.9rem 0.6rem; font-size: 0.85rem; color: #fff; background: linear-gradient(transparent, rgba(11, 37, 69, 0.8)); }
.photo-placeholder {
  border: 2px dashed #C9B99A;
  background: linear-gradient(135deg, #F8F3EA 0%, #EFE7D6 100%);
  display: grid; place-items: center; text-align: center; color: var(--muted);
}
.photo-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(11, 37, 69, 0.03) 14px 28px); pointer-events: none; }
.photo-ph-inner { position: relative; padding: 1rem; display: grid; gap: 0.3rem; justify-items: center; max-width: 92%; }
.photo-ph-inner .icon { width: 2.25rem; height: 2.25rem; color: #B9A77F; margin-bottom: 0.25rem; }
.photo-ph-inner strong { color: var(--navy); font-family: var(--font-head); }
.photo-ph-file { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 0.75rem; background: #fff; padding: 0.15rem 0.5rem; border-radius: 4px; word-break: break-all; color: var(--sunset-text); }
.photo-ph-hint { font-size: 0.85rem; line-height: 1.4; }
.photo-square .photo-ph-inner .icon { width: 1.75rem; height: 1.75rem; }
.photo-square .photo-ph-hint { display: none; }
@media (min-width: 640px) { .photo-square .photo-ph-hint { display: block; font-size: 0.8rem; } }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery-grid .photo { margin: 0; }
.gallery-grid .photo img { transition: transform 0.5s var(--ease); }
.gallery-grid .photo:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.service-main .photo { margin: 0 0 2rem; }
.intro-layout .photo { margin: 0; box-shadow: var(--shadow); }
@media (min-width: 900px) { .intro-layout { grid-template-columns: 0.95fr 1.05fr; align-items: center; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: linear-gradient(180deg, #0A2140 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, 0.8); padding: 4rem 0 2.5rem; }
/* Wave along the top edge, overlapping the bottom of whatever section comes before it. */
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 36px; pointer-events: none; z-index: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22c240 24 480 24 720 0s480-24 720 0v18H0z' fill='%230A2140'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h2, .footer-heading { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn-primary { color: #fff; }
.footer-brand p { margin: 1rem 0; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-areas { columns: 2; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--sky); margin-top: 0.2em; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }

/* ---------- Mobile call bar ---------- */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(11, 37, 69, 0.12); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: var(--mobile-bar-h); padding: 0.75rem; font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.mobile-cta-call { background: var(--cta); color: #fff; }
.mobile-cta-call:hover { background: var(--cta-hover); color: #fff; }
.mobile-cta-text { background: #fff; color: var(--navy); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .section-lead { margin-inline: auto; max-width: 36rem; }
.notfound .card-grid { text-align: left; margin-top: 1rem; }
