/* Layout mirrors eaglecabinetry.pro (Divi). Type: Montserrat (bold headlines, nav) + Open Sans (body),
   Montserrat headings, Open Sans body, white / near-black alternating bands. */
:root {
  --ink: #0b2148;
  --text: #555;
  --muted: #8a8a8a;
  --bg: #fff;
  --bg-soft: #fafafa;
  --bg-dark: #05377a;      /* Supremacy navy */
  --bg-dark-2: #042a5e;
  --line: #e6e6e6;
  --accent: #f87413;      /* Supremacy orange */
  --accent-dark: #c95a06;
  --header-bg: rgba(167, 167, 167, 0.2);
  --max: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.75 "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: Montserrat, Helvetica, Arial, sans-serif; color: var(--ink); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(28px, 3.4vw, 37px); }
h3 { font-size: 20px; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: #cfcfcf; }
.section.dark-2 { background: var(--bg-dark-2); color: #cfcfcf; }
.section.dark h2, .section.dark h3, .section.dark-2 h2, .section.dark-2 h3 { color: #fff; }
.center { text-align: center; }
.lead { max-width: 760px; margin: 0 auto 50px; }
.eyebrow { font: 600 12px/1 Montserrat, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; display: block; }

/* Buttons — outlined like Divi defaults */
.btn {
  display: inline-block; padding: 12px 28px; border: 2px solid currentColor; border-radius: var(--radius);
  font: 500 15px/1.4 "Open Sans", sans-serif; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn-light { color: #fff; border-color: rgba(255,255,255,.85); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-dark { color: var(--ink); border-color: rgba(0,0,0,.48); }
.btn-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid { background: #e2650c; border-color: #e2650c; color: #fff; }
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* Header */
/* White header: thin orange accent line, full-colour logo, navy nav with orange underline. Shrinks on scroll. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 4px solid var(--accent); box-shadow: 0 1px 0 rgba(11,33,72,.06); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(11,33,72,.10); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; transition: min-height .3s; }
.site-header.scrolled .wrap { min-height: 76px; }
.logo-img img { height: 80px; width: auto; transition: height .3s; }
.site-header.scrolled .logo-img img { height: 58px; }
.site-footer .logo-img img { height: 96px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bg-dark); }
.logo svg { width: 36px; height: 42px; flex: none; }
.logo b { font: 700 23px/1 Montserrat, sans-serif; letter-spacing: .03em; display: block; }
.logo small { font: 500 11px/1 Montserrat, sans-serif; letter-spacing: .5em; text-transform: uppercase; display: block; margin-top: 5px; padding-left: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; text-decoration: none; font: 500 13px/1 Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bg-dark); padding: 8px 0; }
.nav > a::before, .nav .dd > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > a:hover::before, .nav > a.active::before, .nav .dd:hover > a::before, .nav .dd > a.active::before { transform: scaleX(1); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { font-weight: 600; }
.nav .dd { position: relative; }
.nav .dd > a::after { content: "▾"; font-size: 10px; margin-left: 4px; }
.nav .dd-menu { position: absolute; top: 100%; left: -16px; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgba(11,33,72,.12); padding: 10px 0; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav .dd-menu a { display: block; padding: 9px 20px; text-transform: none; letter-spacing: 0; font: 400 14px/1.3 "Open Sans", sans-serif; }
.nav .dd-menu a:hover { background: #f4f6fa; color: var(--accent-dark); }
.phone-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: var(--bg-dark); border-color: var(--bg-dark); padding: 11px 20px; font-weight: 600; font-size: 14px; white-space: nowrap; border-radius: 40px; }
.phone-btn svg { width: 16px; height: 16px; }
.phone-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--bg-dark); padding: 8px 12px; min-width: 48px; min-height: 48px; }

/* Hero */
.hero { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; color: #fff; background: center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero .wrap { position: relative; max-width: 820px; }
.hero h1 { font: 700 clamp(32px, 4.4vw, 50px)/1.15 Montserrat, sans-serif; letter-spacing: -.01em; color: #fff; margin-bottom: 18px; }
.hero p { font: 500 14px/1.7 Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 28px; text-wrap: balance; }
.hero.short { min-height: 420px; }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; }
.card a.more { font-weight: 600; font-size: 14px; color: var(--accent-dark); text-decoration: none; }

/* Why band */
.why { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.why h2 { margin: 0; }
.why ul { list-style: none; display: flex; gap: 28px; padding: 0; margin: 14px 0 0; flex-wrap: wrap; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.why li::before { content: "✓ "; color: var(--accent); }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .loc { min-width: 0; } .loc-body { padding: 14px 10px 18px; } .loc h3 { font-size: 16px; overflow-wrap: anywhere; } }
.loc { display: block; background: #fff; border: 1px solid var(--line); text-align: center; text-decoration: none; transition: .2s; overflow: hidden; border-radius: 6px; }
.loc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.loc:hover img { transform: scale(1.05); }
.loc-body { padding: 18px 16px 22px; }
.loc .pin { margin-top: -34px; width: 34px; height: 34px; padding: 7px; background: #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(11,33,72,.15); position: relative; }
.loc:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.loc h3 { margin: 8px 0 4px; font-size: 18px; }
.loc span { font-size: 13px; color: var(--muted); }
.pin { width: 22px; height: 22px; color: var(--accent); margin: 0 auto; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.step .num { font: 800 44px/1 Montserrat, sans-serif; letter-spacing: -.02em; color: var(--accent); display: block; margin-bottom: 16px; }
.step h3 { font-size: 18px; }

/* Feature split */
.split img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.quote { padding: 30px; border: 1px solid var(--line); }
.stars { color: #e0a526; letter-spacing: 3px; margin-bottom: 12px; }
.quote p { font-style: italic; color: #444; }
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); }

/* CTA band */
.cta { position: relative; color: #fff; text-align: center; background: center/cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(4,42,94,.84); }
.cta .wrap { position: relative; max-width: 760px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); }

/* Form */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; text-align: left; }
.quote-form label { font-size: 13px; font-weight: 600; color: var(--ink); display: grid; gap: 6px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; padding: 12px 14px; border: 1px solid #d5d5d5; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.quote-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { display: none; padding: 18px; background: #fff4ec; border-left: 3px solid var(--accent); color: var(--ink); }

/* Prose pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 500 17px/1.4 Montserrat, sans-serif; color: var(--ink); }
.faq details p { margin: 12px 0 0; }

/* Footer */
.site-footer { background: #eef1f6; padding: 50px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-footer h4 { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { text-decoration: none; color: #555; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: var(--ink); }
.copy { border-top: 1px solid #d8d8d8; padding-top: 20px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copy a { display: inline; }

/* Home hero: copy on navy + the featured job photo (portrait) shown whole on the right */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 640px; background: var(--bg-dark); color: #dfe6f2; }
.hero-copy { display: flex; align-items: center; padding: 70px max(16px, calc((100vw - var(--max)) / 2)) 70px; padding-right: 56px; }
.hero-copy > div { max-width: 560px; }
.hero-copy .eyebrow { color: var(--accent); }
.hero-copy h1 { font: 700 clamp(34px, 4.4vw, 54px)/1.1 Montserrat, sans-serif; color: #fff; margin-bottom: 20px; }
.hero-copy p { font-size: 17px; line-height: 1.7; color: #c9d4e6; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: 13px; color: #aebbd2; }
.hero-trust b { display: block; font: 800 24px/1.1 Montserrat, sans-serif; color: #fff; }
.hero-photo { margin: 0; position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 60px 0 60px -40px rgba(5,55,122,.55); pointer-events: none; }

/* Two stacked photos inside a split section */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.photo-pair img:last-child { margin-top: 40px; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.chip { font: 500 13px/1 Montserrat, sans-serif; letter-spacing: .04em; padding: 11px 18px; border-radius: 40px; border: 1px solid #d6dbe5; background: #fff; color: var(--bg-dark); cursor: pointer; transition: .2s; }
.chip span { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 20px; background: #eef1f6; font-size: 11px; color: #5a6a86; }
.chip:hover { border-color: var(--bg-dark); }
.chip.is-on { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.chip.is-on span { background: var(--accent); color: #fff; }

/* Masonry: CSS columns keep each photo's natural (portrait) proportions */
.masonry { column-count: 3; column-gap: 16px; }
.tile { position: relative; display: block; margin: 0 0 16px; break-inside: avoid; border-radius: 6px; overflow: hidden; background: #e9edf3; cursor: zoom-in; }
.masonry.on-dark .tile { background: #1c3c6b; }
.tile img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 16px 14px; background: linear-gradient(transparent, rgba(4,26,60,.82)); color: #fff; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: .3s; }
.tile-cap b { display: block; font: 600 10px/1.2 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile.is-hidden { display: none; }
@media (hover: none) { .tile-cap { display: none; } } /* touch: captions live in the lightbox */

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6,14,30,.94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: rgba(6,14,30,.94); }
.lightbox figure { margin: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0 20px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 16px; font-size: 14px; color: #c9d4e6; text-align: center; }
.lightbox figcaption small { display: block; margin-top: 4px; color: #7f8da6; font-size: 12px; letter-spacing: .06em; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 46px; line-height: 1; opacity: .75; height: 100%; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; color: var(--accent); }
.lb-close { position: absolute; top: 14px; right: 18px; height: auto !important; font-size: 40px !important; z-index: 2; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { order: -1; height: 62vh; min-height: 380px; }
  .hero-photo::after { box-shadow: inset 0 -80px 60px -40px rgba(5,55,122,.7); }
  .hero-copy { padding: 44px 16px 56px; }
  .masonry { column-count: 2; column-gap: 12px; }
  .tile { margin-bottom: 12px; }
}
@media (max-width: 620px) {
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
  .lightbox button { font-size: 34px; }
  .photo-pair img:last-child { margin-top: 24px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 22px; padding: 2px 16px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* Featured project: navy copy panel + the portrait photo shown nearly whole (two-story bay is the point) */
.photo-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-dark); }
.photo-band .wrap { width: auto; margin: 0; display: flex; align-items: center; padding: 80px 64px 80px max(16px, calc((100vw - var(--max)) / 2)); }
.band-card { max-width: 480px; color: #c9d4e6; }
.band-card .eyebrow { color: var(--accent); }
.band-card { max-width: 520px; }
.band-card h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.2; text-wrap: initial; }
.band-card h2 .ln { display: block; white-space: nowrap; }
.band-card h2 .accent { color: var(--accent); }
@media (max-width: 420px) { .band-card h2 .ln { white-space: normal; } }
.band-card p { margin-bottom: 26px; text-wrap: pretty; }
.band-img { order: 2; width: 100%; height: 100%; min-height: 760px; max-height: 900px; object-fit: cover; object-position: center 30%; }
@media (max-width: 980px) {
  .photo-band { grid-template-columns: 1fr; }
  .band-img { order: -1; min-height: 0; height: auto; max-height: none; aspect-ratio: 3/4; }
  .photo-band .wrap { padding: 40px 16px 54px; }
}

/* Mobile: sticky call / estimate bar (the header phone button is hidden on small screens) */
.mobile-cta { display: none; }
@media (max-width: 980px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -6px 20px rgba(11,33,72,.12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; font: 600 15px/1 "Open Sans", sans-serif; text-decoration: none; }
  .mobile-cta .mc-call { background: var(--bg-dark); color: #fff; }
  .mobile-cta .mc-quote { background: #e2650c; color: #fff; }
  .mobile-cta svg { width: 16px; height: 16px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Home hero: real <img> (LCP, alt text) under a lighter gradient; balanced headline, solid primary CTA + call */
.hero-home { overflow: hidden; min-height: min(620px, calc(100svh - 108px)); padding: 56px 0 44px; }
.hero-home::before { z-index: 1; background: linear-gradient(180deg, rgba(4,20,48,.35) 0%, rgba(4,20,48,.55) 55%, rgba(4,20,48,.72) 100%); }
.hero-home .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-home .wrap { z-index: 2; max-width: 900px; }
.hero-home h1 { text-wrap: balance; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.1; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-home .hero-sub { font: 400 18px/1.65 "Open Sans", sans-serif; letter-spacing: 0; text-transform: none; color: #e8edf5; max-width: 600px; margin: 0 auto 30px; text-wrap: balance; }
.hero-home .hero-actions { justify-content: center; }
.hero-home .hero-trust { justify-content: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); color: #e8edf5; font-size: 14px; }
.hero-home .hero-trust li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
h1, h2 { text-wrap: balance; }
@media (max-width: 620px) {
  .hero-home { min-height: 0; padding: 56px 0 48px; }
  .hero-home h1 { font-size: 31px; }
  .hero-home .hero-sub { font-size: 16px; }
  .hero-home .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .hero-home .hero-trust { gap: 10px 18px; font-size: 13px; }
}

/* Where We Serve hero: animated Alabama map (draw-on outline, routes from HQ, pins with pulse, slow 3D float) */
.hero-map { position: relative; overflow: hidden; color: #c9d4e6; background: radial-gradient(120% 90% at 75% 40%, #0b4a9c 0%, #05377a 45%, #031f47 100%); }
.hero-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(248,116,19,.10) 50%, transparent 60%); background-size: 250% 100%; animation: sweep 7s ease-in-out infinite; pointer-events: none; }
.hm-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 560px; padding: 50px 0 60px; }
.hm-copy .eyebrow { color: var(--accent); }
.hm-copy h1 { font: 700 clamp(36px, 4.4vw, 56px)/1.08 Montserrat, sans-serif; color: #fff; margin-bottom: 18px; }
.hm-copy p { font-size: 17px; max-width: 480px; margin-bottom: 28px; }
.hm-cities { display: flex; flex-wrap: wrap; gap: 8px; max-width: 500px; }
.hm-cities a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 40px; color: #fff; text-decoration: none; font-size: 13px; transition: .2s; }
.hm-cities a:hover { background: var(--accent); border-color: var(--accent); }
.hm-visual { perspective: 1200px; display: flex; justify-content: center; }
.al-map { height: min(520px, calc(100svh - 200px)); min-height: 380px; width: auto; max-width: 100%; overflow: visible; transform: rotateX(16deg) rotateZ(-3deg); transform-style: preserve-3d; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0,0,0,.35)); }
.al-fill { fill: rgba(255,255,255,.05); opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.al-dots { opacity: 0; animation: fadeIn 1.5s ease 1.4s forwards; }
.al-line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.6,.1,.3,1) .2s forwards; }
.route { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; animation: draw 1.1s ease-out forwards; }
.pin-g { opacity: 0; animation: pinIn .6s cubic-bezier(.3,1.6,.5,1) forwards; text-decoration: none; }
.pin-g .dot { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.pin-g.hq .dot { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.pin-g .pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pin-g text { fill: #fff; font: 600 11px Montserrat, sans-serif; letter-spacing: .02em; paint-order: stroke; stroke: rgba(3,31,71,.85); stroke-width: 3px; }
.pin-g:hover .dot { fill: #fff; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pinIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes float { 0%, 100% { transform: rotateX(16deg) rotateZ(-3deg) translateY(0); } 50% { transform: rotateX(10deg) rotateZ(-1deg) translateY(-10px); } }
@keyframes sweep { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-map::before, .al-map, .pin-g .pulse { animation: none; }
  .al-fill, .al-dots, .pin-g { animation: none; opacity: 1; }
  .al-line, .route { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 980px) {
  .hm-grid { grid-template-columns: 1fr; min-height: 0; padding: 44px 0 30px; gap: 10px; }
  .al-map { height: 420px; min-height: 0; }
}

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: .25s; }
.post-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,33,72,.10); border-color: transparent; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pc-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.pc-body p { font-size: 14px; flex: 1; }
.pc-body .more { font-weight: 600; font-size: 14px; color: var(--accent-dark); }
.post-head { background: var(--bg-soft); padding: 46px 0 34px; border-bottom: 1px solid var(--line); }
.post-head .wrap { max-width: 860px; }
.post-head h1 { font: 700 clamp(30px, 4vw, 46px)/1.15 Montserrat, sans-serif; margin: 10px 0 12px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--accent-dark); text-decoration: none; }
.post-meta { font-size: 14px; color: var(--muted); margin: 0; }
.post-img { width: 100%; max-width: 1080px; aspect-ratio: 16/8; object-fit: cover; border-radius: 8px; margin: 34px auto 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; max-width: 1080px; padding: 40px 0 80px; align-items: start; }
.post-body { max-width: none; margin: 0; font-size: 16.5px; line-height: 1.8; }
.post-body h2 { font-size: 28px; font-weight: 600; margin-top: 1.6em; }
.post-body h3 { font-size: 20px; margin-top: 1.4em; }
.post-body a { color: var(--accent-dark); font-weight: 600; }
.post-body li { margin-bottom: 6px; }
.post-aside { position: sticky; top: 110px; }
.aside-card { background: var(--bg-dark); color: #c9d4e6; padding: 28px 24px; border-radius: 8px; }
.aside-card h3 { color: #fff; font-size: 20px; }
.aside-card .eyebrow { color: var(--accent); }
.aside-card .btn { display: block; text-align: center; margin-top: 8px; }
.aside-call { display: block; text-align: center; margin-top: 12px; color: #fff; font-size: 14px; }
@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 20px; padding-bottom: 50px; }
  .post-aside { position: static; }
}
@media (max-width: 620px) { .post-grid, .post-grid.two { grid-template-columns: 1fr; } .post-img { border-radius: 0; } }

/* Google-review style testimonials */
.g-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto 26px; padding: 18px 22px; border: 1px solid #e3e6ea; border-radius: 10px; background: #fff; }
.gs-left { display: flex; align-items: center; gap: 14px; }
.gs-left .g-logo { width: 34px; height: 34px; }
.gs-left b { display: block; font: 600 17px/1.2 "Open Sans", Arial, sans-serif; color: #202124; margin-bottom: 2px; }
.gs-btn { padding: 10px 20px; font-size: 14px; border-radius: 40px; }
.g-review { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 20px 22px 22px; font-family: Roboto, "Open Sans", Arial, sans-serif; box-shadow: 0 1px 2px rgba(60,64,67,.08); }
.g-review header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.g-avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 500 18px/1 Roboto, Arial, sans-serif; flex: none; }
.g-who { flex: 1; min-width: 0; }
.g-who b { display: block; font-weight: 600; font-size: 15px; color: #202124; }
.g-who small { font-size: 13px; color: #70757a; }
.g-review .g-logo { width: 22px; height: 22px; flex: none; }
.g-stars { color: #fbbc04; font-size: 18px; letter-spacing: 1px; }
.g-stars .off { color: #dadce0; }
.g-review p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #3c4043; font-style: normal; }

/* Reveal animation (Divi-style fade up). Only hides content once JS is running. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #eef0f4; }
  .nav > a::before, .nav .dd > a::before { display: none; }
  .site-header .wrap { min-height: 80px; }
  .logo-img img { height: 60px; }
  .site-header.scrolled .logo-img img { height: 50px; }
  .site-header.scrolled .wrap { min-height: 66px; }
  .nav .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .dd > a::after { content: ""; }
  .phone-btn { display: none; }
  .grid-3, .quotes, .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { min-height: 520px; }
  .grid-3, .quotes, .gallery, .steps, .quote-form, .foot-grid { grid-template-columns: 1fr; }
}
