/* Appliance Repair Abilene — design system
   Style: Trust & Authority. Navy + copper CTA, Lexend headings, Source Sans 3 body. */

:root {
  --navy-950: #0a1826;
  --navy-900: #0f2537;
  --navy-800: #123047;
  --navy-700: #1d4560;
  --blue-600: #0369a1;
  --blue-50: #eef6fb;
  --cta: #c2410c;
  --cta-hover: #9a3412;
  --cta-soft: #fff4ec;
  --ink: #16232e;
  --muted: #4f606c;
  --line: #dde5ea;
  --bg: #f6f9fb;
  --card: #fff;
  --success: #15803d;
  --success-soft: #e8f5ed;

  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 55, .06), 0 2px 8px rgba(15, 37, 55, .05);
  --shadow-md: 0 8px 24px rgba(15, 37, 55, .09);
  --shadow-lg: 0 20px 48px rgba(15, 37, 55, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); font-weight: 600; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .7rem 1rem; z-index: 9999; border-radius: 8px; box-shadow: var(--shadow-md); }

/* Icons */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Top bar */
.topbar { background: var(--navy-950); color: #d6e2ea; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.topbar .live { display: inline-flex; align-items: center; gap: .5rem; }
.topbar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.2; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; color: #fff; font-size: 0; flex: none; box-shadow: var(--shadow-sm); }
.brand-mark .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.brand small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { font-size: .97rem; font-weight: 600; color: #2d4150; padding: .55rem .75rem; border-radius: 8px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--blue-50); color: var(--navy-900); text-decoration: none; }
.nav-links a.active { color: var(--navy-900); position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--cta); border-radius: 2px; }
.nav-links a.nav-cta { margin-left: .6rem; padding: .7rem 1.1rem; background: var(--cta); color: #fff; box-shadow: 0 4px 12px rgba(194, 65, 12, .25); }
.nav-links a.nav-cta:hover { background: var(--cta-hover); color: #fff; }
.nav-links a.nav-cta::after { display: none; }
.has-dropdown { position: relative; display: flex; align-items: center; }
.dd-toggle { display: grid; place-items: center; width: 28px; height: 36px; margin-left: -.35rem; padding: 0; background: none; border: 0; color: #2d4150; cursor: pointer; border-radius: 8px; }
.dd-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dd-toggle[aria-expanded="true"] .icon, .has-dropdown:hover .dd-toggle .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -.5rem; z-index: 60; min-width: 250px; padding: .5rem; margin-top: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.dropdown-2 { grid-template-columns: 1fr 1fr; min-width: 480px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links .dropdown a { padding: .6rem .8rem; border-radius: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-links .dropdown a:first-child { color: var(--blue-600); }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; place-items: center; color: var(--navy-900); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.nav.open .menu-btn .icon-open { display: none; }
.nav.open .menu-btn .icon-close { display: block; }

.brand-logo { height: 56px; width: auto; max-width: none; }
.footer .brand-footer { display: inline-flex; width: fit-content; background: #fff; padding: .6rem .9rem; margin: 0 0 .6rem; border-radius: 12px; }
.brand-footer .brand-logo { height: 52px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 12px; border: 1px solid transparent; font-family: var(--font-head); font-weight: 500; font-size: 1rem; cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s; touch-action: manipulation; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(194, 65, 12, .28); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-secondary { background: #fff; border-color: #c5d3db; color: var(--navy-900); }
.btn-secondary:hover { border-color: var(--navy-800); background: var(--blue-50); color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }

/* Eyebrow / tags */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue-600); font-family: var(--font-head); font-weight: 500; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cta); border-radius: 2px; }
.tag { display: inline-block; padding: .2rem .6rem; background: var(--blue-50); border-radius: 999px; color: var(--navy-800); font-family: var(--font-head); font-size: .75rem; font-weight: 500; }

/* Hero (home) */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 500px at 85% -10%, rgba(3, 105, 161, .45), transparent 60%), linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%); padding: 84px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero .eyebrow { color: #7dd3fc; }
.hero .eyebrow::before { background: #fb923c; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; margin: 1rem 0 1.1rem; }
.hero h1 em { font-style: normal; color: #fdba74; }
.hero p { font-size: 1.15rem; color: #cfdde7; max-width: 620px; margin: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 0; padding: 0; list-style: none; color: #e5eef4; font-size: .98rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges .icon { color: #86efac; }
.hero .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hero-card { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; padding: .9rem; box-shadow: var(--shadow-lg); }
.hero-photo { border-radius: 18px; overflow: hidden; background: #dbe9ef; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-float { position: absolute; left: -1.4rem; bottom: 2rem; background: #fff; color: var(--ink); border-radius: 14px; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow-lg); }
.hero-float .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--cta-soft); color: var(--cta); display: grid; place-items: center; }
.hero-float strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--navy-900); line-height: 1.2; }
.hero-float span { font-size: .85rem; color: var(--muted); }

/* Stat strip */
.stats { position: relative; margin-top: 64px; background: #fff; border-radius: 20px 20px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.7rem 1.4rem; display: flex; gap: .95rem; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.stat .ico .icon { width: 24px; height: 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-900); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .92rem; line-height: 1.35; display: block; margin-top: 2px; }

/* Sections */
.section { padding: 84px 0; }
.section.soft { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.18; margin: .5rem 0 .8rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.card h3 { margin: .3rem 0 .55rem; font-size: 1.15rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--blue-600); }
.card-link::after { content: "→"; transition: transform .2s var(--ease); }
.card-link:hover { text-decoration: none; }
.card-link:hover::after { transform: translateX(4px); }
a.card, .card.linked { display: block; color: inherit; }
.card.linked { position: relative; }
.card.linked:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #b9cdd9; text-decoration: none; }
.card.linked .card-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 1rem; transition: background .2s, color .2s; }
.card .ico .icon { width: 26px; height: 26px; }
.card.linked:hover .ico { background: var(--navy-800); color: #fff; }

/* Split / checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.checklist { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.check { display: flex; gap: .9rem; align-items: flex-start; }
.check-mark { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; font-size: 0; margin-top: 2px; }
.check-mark .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.check strong { font-family: var(--font-head); font-weight: 500; color: var(--navy-900); }
.check p { margin: .1rem 0 0; }

.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding: .9rem 1rem .9rem 3rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.check-list li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Feature panel (home) */
.panel { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow-lg); }
.panel h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .5rem; }
.panel p { color: #cfdde7; margin: 0 0 1.3rem; }
.panel-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .8rem; }
.panel-list li { display: flex; gap: .7rem; align-items: center; color: #e8f0f5; }
.panel-list .icon { color: #fdba74; }
.panel .btn { width: 100%; }
.panel .btn + .btn { margin-top: .7rem; }

.service-layout .cards.cards-compact { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards-compact .card { padding: 1.1rem; }
.cards-compact .card h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.cards-compact .card p { font-size: .95rem; }
.cards-compact .card-link { margin-top: .8rem; font-size: .9rem; }

/* Photo card (image with overlaid panel) */
.photo-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 720px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-900); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 38, 0) 25%, rgba(10, 24, 38, .55) 100%); }
.photo-card .panel { position: relative; z-index: 1; margin: 1.2rem; box-shadow: none; background: rgba(10, 24, 38, .9); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); }
.photo-card .panel > p:first-of-type { margin-bottom: 1rem; }

/* Wide photo band */
.photo-band { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 1.6rem; aspect-ratio: 21 / 8; box-shadow: var(--shadow-md); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 55%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 38, 0) 40%, rgba(10, 24, 38, .82) 100%); }
.photo-band-cap { position: absolute; z-index: 1; right: 2.2rem; top: 50%; transform: translateY(-50%); max-width: 340px; color: #fff; }
.photo-band-cap strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin-bottom: .5rem; }
.photo-band-cap span { color: #d6e2ea; }

.cards.cards-4 { grid-template-columns: repeat(4, 1fr); }

/* Brand names */
.brand-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.brand-list li { padding: .75rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--navy-900); }
.brand-list .brand-more { background: var(--blue-50); color: var(--muted); font-weight: 500; box-shadow: none; }

/* Area chips */
.area-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.area-list a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .18s, background .18s, transform .18s var(--ease); }
.area-list a .icon { color: var(--cta); width: 1.1em; height: 1.1em; }
.area-list a:hover { border-color: var(--navy-800); background: var(--blue-50); text-decoration: none; transform: translateY(-1px); }
.area-list + .actions { margin-top: 1.6rem; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .9rem; border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.step b { display: block; font-family: var(--font-head); font-weight: 500; color: var(--navy-900); margin-bottom: .3rem; font-size: 1.05rem; }
.step span { display: block; }
.service-layout .process { grid-template-columns: repeat(2, 1fr); }

/* Notice */
.notice { padding: 1.1rem 1.3rem; border-left: 4px solid var(--cta); background: var(--cta-soft); border-radius: 0 12px 12px 0; color: #5f3a1f; }
.notice p { margin: .3rem 0 0; }
.notice.info { border-left-color: var(--blue-600); background: var(--blue-50); color: var(--navy-800); }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 860px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0; transition: border-color .2s, box-shadow .2s; }
details[open] { border-color: #b9cdd9; box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 500; color: var(--navy-900); min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 22px; height: 22px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(180deg); }
details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: radial-gradient(600px 300px at 100% 0, rgba(3, 105, 161, .5), transparent 65%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: 26px; padding: 2.8rem; display: flex; justify-content: space-between; gap: 2rem; align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cta p { margin: 0; color: #cfdde7; max-width: 560px; }
.cta .actions { margin: 0; flex: none; }

/* Footer */
.footer { background: var(--navy-950); color: #fff; padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand { color: #fff; }
.footer .brand small { color: #9db3c2; }
.footer .brand-mark { background: linear-gradient(145deg, #1f4f6f, var(--navy-800)); }
.footer h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; font-weight: 500; }
.footer p { color: #b7c8d4; font-size: .98rem; margin: .6rem 0; }
.footer a { display: block; color: #b7c8d4; font-size: .98rem; margin: .5rem 0; padding: 2px 0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer p strong { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.3rem; color: #93a9b8; font-size: .9rem; }
.footer-bottom a { display: inline; color: #b7c8d4; }

/* Breadcrumb + inner-page hero */
.breadcrumb { padding: 1rem 0; color: var(--muted); font-size: .92rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }
.page-hero { padding: 48px 0 44px; background: linear-gradient(180deg, var(--bg), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; margin: .7rem 0; }
.page-hero p { max-width: 780px; color: var(--muted); margin: 0; font-size: 1.12rem; }

/* Service layout */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.service-layout article h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.6rem 0 .9rem; padding-top: .4rem; }
.service-layout article > .section-head h2 { margin-top: 0; }
.service-layout article > h2:first-child { margin-top: 0; }
.service-layout .cards { grid-template-columns: repeat(2, 1fr); }
.service-layout .card h3 { margin-top: 0; }
.sidebar { position: sticky; top: 104px; display: grid; gap: 1.1rem; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; box-shadow: var(--shadow-md); }
.side-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.side-card p { margin: 0 0 1rem; color: var(--muted); font-size: .98rem; }
.side-card .btn { width: 100%; margin-top: .5rem; }
.side-nav a { display: block; padding: .65rem .8rem; border-radius: 8px; font-weight: 600; color: #2d4150; transition: background .15s, padding .15s; }
.side-nav a:hover { background: var(--blue-50); color: var(--navy-900); text-decoration: none; padding-left: 1rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .95rem; border: 1px solid #bccbd4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8fa6b4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(3, 105, 161, .16); }
.field input:user-invalid, .field select:user-invalid { border-color: #b91c1c; }
.field textarea { min-height: 150px; resize: vertical; }
form .btn-primary { margin-top: 1.3rem; }

/* Related links */
.related-links { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: .8rem; min-height: 52px; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--navy-900); transition: border-color .18s, background .18s, transform .18s var(--ease); }
.related-links a::after { content: "→"; color: var(--blue-600); flex: none; transition: transform .18s var(--ease); }
.related-links a:hover { text-decoration: none; border-color: var(--navy-800); background: var(--blue-50); }
.related-links a:hover::after { transform: translateX(3px); }

/* Blog */
.byline { color: var(--muted); font-size: .95rem; margin: 0 0 1.6rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.card .byline { border: 0; padding: 0; margin: .7rem 0 0; font-size: .85rem; }
.article > p, .article li { font-size: 1.08rem; }
.article ol { padding-left: 1.4rem; }

/* Reviews / misc */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; box-shadow: var(--shadow-sm); }
.stars { letter-spacing: .1em; color: #d97706; }
.article { max-width: 820px; }
.article h2 { margin-top: 2.4rem; font-size: 1.7rem; }
.article h3 { margin-top: 1.5rem; }
.article ul { padding-left: 1.3rem; }
.article li { margin: .35rem 0; }
.table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; font-size: .98rem; }
.table th, .table td { border: 1px solid var(--line); padding: .8rem 1rem; text-align: left; }
.table th { background: var(--bg); font-family: var(--font-head); font-weight: 500; color: var(--navy-900); }
.map-embed { display: grid; gap: 1rem; }
.map-embed iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--bg); }

/* Mobile sticky call bar */
.mobile-cta { display: none; }
.mobile-cta .btn { min-height: 50px; padding: .6rem .5rem; white-space: nowrap; font-size: .95rem; gap: .4rem; }

/* Scroll reveal (enabled by JS only) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 560px; }
  .hero-float { left: 1rem; }
  .split, .service-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .cards.cards-4, .service-layout .cards.cards-compact { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .photo-card { min-height: 640px; }

  .menu-btn { display: grid; }
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: .8rem 20px 1.2rem; flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-links a { padding: .85rem .8rem; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--blue-50); }
  .nav-links a.nav-cta { margin: .6rem 0 0; text-align: center; }
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > a { flex: 1; }
  .dd-toggle { width: 48px; height: 48px; margin: 0; }
  .dropdown, .dropdown-2 { position: static; flex-basis: 100%; min-width: 0; display: none; grid-template-columns: 1fr; margin: 0 0 .4rem; padding: .2rem 0 .4rem .8rem; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: grid; }
  .nav-links .dropdown a { white-space: normal; font-size: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; padding-bottom: 74px; }
  .topbar .live { display: none; }
  .topbar .container { justify-content: center; }
  .hero { padding-top: 48px; }
  .stats { margin-top: 44px; }
  .section { padding: 60px 0; }
  .cards, .cards.cards-4, .related-links, .process, .form-grid, .service-layout .cards, .service-layout .cards.cards-compact, .service-layout .process { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
  .stat:last-child { border-bottom: 0; }
  .hero-float { display: none; }
  .photo-band { aspect-ratio: 4 / 5; }
  .photo-band::after { background: linear-gradient(180deg, rgba(10, 24, 38, 0) 35%, rgba(10, 24, 38, .88) 100%); }
  .photo-band-cap { right: 1.3rem; left: 1.3rem; top: auto; bottom: 1.3rem; transform: none; max-width: none; }
  .photo-band img { object-position: 22% 50%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 2rem 1.5rem; }
  .cta .actions, .actions { flex-direction: column; align-items: stretch; }
  .brand small { display: none; }
  .brand-logo { height: 46px; }
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); z-index: 100; gap: .6rem; box-shadow: 0 -6px 20px rgba(15, 37, 55, .08); }
  .mobile-cta a { flex: 1; }
}

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

@media print {
  .topbar, .nav, .mobile-cta, .cta, .sidebar { display: none; }
}
