/* =========================================================================
   AQUACRAFT PLUMBING INC. — site styles
   Plain CSS, no build step. Mobile-first, responsive down to 375px.
   Brand palette:
     Navy   #1B2A4A  primary — headings, body text, primary buttons
     Red    #E0322A  accent only — button hover/active, small highlights
     Blue   #3B8FD4  secondary accents
     Off-wht#F7F9FC  backgrounds
   ========================================================================= */

:root {
  --navy: #1B2A4A;
  --navy-700: #16223c;
  --navy-900: #0f1830;
  --red: #E0322A;
  --red-600: #c72820;
  --blue: #3B8FD4;
  --blue-light: #6FB2E2;
  --off-white: #F7F9FC;
  --white: #ffffff;
  --ink: #1B2A4A;
  --ink-soft: #46536e;          /* softened navy for body copy */
  --line: #e4e9f1;              /* hairline borders */
  --gold: #F4B400;              /* star-rating glyphs only (review convention) */

  --maxw: 1140px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 22px 50px rgba(27, 42, 74, 0.14);
  --ease: cubic-bezier(.2, .7, .3, 1);

  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tint { background: var(--off-white); }

.section-head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 52px); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-head.left h2::after { margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.section-head p { font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* Primary = navy default, RED on hover/active (per brand) */
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red); color: #fff; }
.btn-primary:active { background: var(--red-600); }

/* Secondary (light surfaces) = navy outline, fills navy on hover */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--navy); color: #fff; }
.btn-ghost:active { background: var(--red); border-color: var(--red); }

.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 3px solid var(--red);      /* brand red accent bar */
  background: var(--white);              /* white so the logo sits seamlessly */
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a:not(.btn) {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:not(.btn):hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--navy); }
.header-call { padding: 12px 20px; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(59, 143, 212, 0.16), transparent 60%),
    radial-gradient(900px 480px at -5% 110%, rgba(27, 42, 74, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: clamp(54px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); max-width: 820px; }
.hero h1 { color: var(--navy); margin-bottom: .35em; }
.hero h1 .accent { color: var(--red); }
.hero .lead { max-width: 600px; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.trust-strip li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--navy);
  font-size: .96rem;
}
.trust-strip ul { display: contents; margin: 0; padding: 0; }
.trust-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4ddec; }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(59, 143, 212, 0.12);
  color: var(--blue);
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .98rem; }

/* ---------- Feature list (why choose) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 30px;
}
.feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.feature .tick {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}
.feature .tick svg { width: 16px; height: 16px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.feature p { margin: 0; font-size: .97rem; }

/* ---------- Service area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.area-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  box-shadow: var(--shadow-sm);
}
.area-card .pin {
  width: 46px; height: 46px; margin: 0 auto 12px;
  color: var(--red);
}
.area-card h3 { margin-bottom: .15rem; }
.area-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.rating-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 14px;
}
.rating-banner .score { font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.rating-banner .stars { font-size: 1.1rem; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote { border-left: 4px solid var(--red); }
.quote .stars { font-size: 1rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); }
.quote .by { margin-top: auto; font-weight: 700; color: var(--navy); }
.quote .src { font-weight: 500; color: var(--ink-soft); font-size: .9rem; }


/* ---------- CTA band (navy / dark accent) ---------- */
.cta-band {
  background:
    radial-gradient(800px 360px at 85% -40%, rgba(59, 143, 212, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6d3e8; max-width: 560px; margin: 0 auto 1.7rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* buttons inside the dark band/callout invert for contrast (still red on hover) */
.cta-band .btn-primary, .callout .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover, .cta-band .btn-primary:focus-visible,
.callout .btn-primary:hover, .callout .btn-primary:focus-visible { background: var(--red); color: #fff; }
.cta-band .btn-ghost, .callout .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover, .cta-band .btn-ghost:focus-visible,
.callout .btn-ghost:hover, .callout .btn-ghost:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Emergency callout ---------- */
.callout {
  background:
    radial-gradient(700px 320px at 90% 120%, rgba(224, 50, 42, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.callout h2 { color: #fff; margin-bottom: 0; }
.callout p { color: #c6d3e8; margin: 0; max-width: 640px; }
.callout .callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge-24 {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: rgba(255,255,255,.12);
  color: #fff; font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}

/* ---------- Detailed service rows (services.html) ---------- */
.svc-list { display: grid; gap: 18px; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.svc-row .card-icon { margin-bottom: 0; }
.svc-row h3 { margin-bottom: .3rem; }
.svc-row p { margin: 0; }
.svc-img-ph {
  min-height: 220px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--off-white), #e8eef6);
  border: 2px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
}
.svc-img-ph svg { width: 56px; height: 56px; color: var(--red); opacity: .7; }
.area-cities { font-size: .85rem !important; color: var(--ink-soft); margin-top: 4px !important; }

/* ---------- Contact blocks ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 14px;
}
.contact-card {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 46px) 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-card .ci {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  margin-bottom: 6px;
}
.contact-card.call { background: linear-gradient(160deg,#fff, #f1f6fc); border: 1px solid var(--line); }
.contact-card.text { background: linear-gradient(160deg,#fff, #eef6ff); border: 1px solid var(--line); }
.contact-card.email { background: linear-gradient(160deg,#fff, #f5f5f5); border: 1px solid var(--line); }
.contact-card .ci.call-i { background: rgba(224,50,42,.12); color: var(--red); }
.contact-card .ci.text-i { background: rgba(59,143,212,.14); color: var(--blue); }
.contact-card .ci.email-i { background: rgba(27,42,74,.1); color: var(--navy); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: .1rem; }
.contact-card .num { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.contact-card .email-addr { font-size: clamp(.85rem, 2.5vw, 1rem); font-weight: 700; color: var(--navy); word-break: break-all; }
.contact-card p { margin: 0; }
.contact-card .btn { margin-top: auto; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.info-card p { margin: 0; }
.info-card a { font-weight: 600; }

/* ---------- Page intro / hero-lite for inner pages ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(59,143,212,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(46px, 7vw, 84px) 0 clamp(34px, 5vw, 56px);
}
.page-hero .breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: .02em; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { max-width: 640px; font-size: 1.12rem; margin: 0; }

/* ---------- About story ---------- */
.prose { max-width: 740px; }
.prose p { font-size: 1.06rem; margin-bottom: 1.15rem; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 4px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .n { font-size: 1.5rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat .l { font-size: .82rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; }

.cred-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cred {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.cred .tick {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(59,143,212,.12); color: var(--blue);
  display: grid; place-items: center;
}
.cred h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.cred p { margin: 0; font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--off-white);          /* light so the logo sits seamlessly */
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: clamp(44px, 6vw, 64px) 0 36px;
}
.footer-logo { height: 96px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; max-width: 320px; margin: 0 0 6px; }
.footer-license { font-size: .82rem !important; color: var(--ink-soft) !important; }
.footer-address { font-style: normal; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; margin: 4px 0 8px !important; }
.footer-col h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 14px; }
.footer-col p { margin: 0 0 10px; font-size: .96rem; }
.footer-col a { color: var(--navy); font-weight: 600; }
.footer-col a:hover { color: var(--red); }
.footer-phone { font-size: 1.25rem; font-weight: 800; color: var(--navy) !important; }
.footer-social { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.social-link {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: color .18s;
}
.social-link:hover { color: var(--red); }
.social-icon { width: 22px; height: 22px; flex-shrink: 0; border-radius: 4px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Sticky mobile Call/Text bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;                          /* shown on mobile via media query */
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(27,42,74,.10);
}
.mobile-bar .btn { flex: 1 1 0; padding: 15px 8px; font-size: 1.04rem; }
.mobile-bar .btn-text { background: var(--blue); color: #fff; border-color: var(--blue); }
.mobile-bar .btn-text:hover, .mobile-bar .btn-text:active { background: var(--red); border-color: var(--red); }

/* ===========================================================
   Responsive — tablet / desktop
   =========================================================== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 20px 20px;
    transform-origin: top;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--line); }
  .primary-nav a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.05rem; }
  .primary-nav a:not(.btn)::after { display: none; }
  .header-call { margin-top: 16px; width: 100%; }
}

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 1fr; }
  .callout { flex-direction: row; align-items: center; justify-content: space-between; }
  .callout .callout-body { max-width: 60%; }
}

@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
}

@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { min-width: 190px; }
}

/* show sticky bar only on small screens */
@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 84px; }          /* room so content clears the bar */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ===========================================================
   Photo sections (graceful: show a branded gradient if the
   image file isn't present yet — never a broken-image icon)
   =========================================================== */

/* Dark image band with heavy brand overlay */
.photo-band {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(135deg, rgba(15,24,48,.88) 0%, rgba(20,34,60,.74) 100%),
    url("images/work.jpg");
  background-size: cover;
  background-position: center;
  color: #eaf1fb;
  text-align: center;
}
.photo-band h2 { color: #fff; }
.photo-band p  { color: #c6d3e8; }
.photo-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.photo-band .btn-primary { background: #fff; color: var(--navy); }
.photo-band .btn-primary:hover, .photo-band .btn-primary:focus-visible { background: var(--red); color: #fff; }
.photo-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.photo-band .btn-ghost:hover, .photo-band .btn-ghost:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }

/* About story: text + image, two columns on desktop */
.story-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 820px) {
  .story-grid { grid-template-columns: 1.05fr .95fr; gap: 46px; }
}
.story-img {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  background-color: var(--navy);
  background-image:
    linear-gradient(150deg, rgba(27,42,74,.22), rgba(59,143,212,.24)),
    url("images/about.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.story-img .badge {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-weight: 700; color: var(--navy); font-size: .92rem;
}
.story-img .badge .stars { color: var(--gold); letter-spacing: 1px; }

/* Clickable rating pill + "leave a review" CTA in the testimonials head */
a.rating-banner {
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease);
}
a.rating-banner:hover, a.rating-banner:focus-visible {
  color: var(--ink-soft);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.review-cta { margin-top: 18px; margin-bottom: 0; }

/* ---------- Service rows with images (services.html) ---------- */
.svc-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: var(--off-white);
}
/* Full, uncropped photo (e.g. portrait shots) — same box size as other rows, but the photo
   shrinks to fit inside without cropping instead of filling/cropping the box. */
.svc-img--full {
  object-fit: contain;
}
.svc-body .card-icon { margin-bottom: 12px; }
@media (min-width: 800px) {
  .svc-row { grid-template-columns: 360px 1fr; gap: 32px; align-items: center; }
  .svc-row:nth-child(even) { grid-template-columns: 1fr 360px; }
  .svc-row:nth-child(even) .svc-img { order: 2; }
  .svc-row:nth-child(even) .svc-body { order: 1; }
}

/* About panel showing the logo on a light background (logo never on dark) */
.story-logo {
  background: linear-gradient(160deg, #ffffff 0%, var(--off-white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.story-logo-img { width: 300px; max-width: 76%; height: auto; }
.story-logo .badge { border: 1px solid var(--line); }

/* ===========================================================
   MODERN UPGRADE LAYER
   =========================================================== */

/* Header: subtle shadow once scrolled */
.site-header { transition: box-shadow .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 24, 48, .10); }

/* ---------- Dark, full-bleed image hero ---------- */
.hero--media {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--navy-900);
  border-bottom: 0;
}
.hero--media::before {            /* photo layer */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("images/fixture.jpg") center 35% / cover no-repeat;
  transform: scale(1.04);
}
.hero--media::after {             /* gradient overlay for legibility */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(10,16,33,.95) 0%, rgba(13,20,40,.84) 44%, rgba(13,20,40,.42) 100%),
    linear-gradient(0deg, rgba(10,16,33,.75) 0%, rgba(10,16,33,0) 42%);
}
.hero--media .hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  padding: clamp(78px, 12vw, 160px) 0 clamp(56px, 8vw, 108px);
}
.hero--media h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: .45em;
}
.hero--media h1 .accent { color: #ff6a5d; }
.hero--media .lead { color: #d6e1f2; max-width: 600px; font-size: clamp(1.06rem, 2.1vw, 1.3rem); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: #a8c6e8; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--red); display: inline-block; }

/* hero buttons on dark */
.hero--media .btn-primary { background: #fff; color: var(--navy); }
.hero--media .btn-primary:hover, .hero--media .btn-primary:focus-visible { background: var(--red); color: #fff; }
.hero--media .btn-ghost {
  background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.40);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero--media .btn-ghost:hover, .hero--media .btn-ghost:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }

/* hero trust items become glass chips */
.hero--media .trust-strip { border-top: 0; padding-top: 0; margin-top: 2.3rem; gap: 10px; }
.hero--media .trust-strip li {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 15px; border-radius: 999px;
  color: #e9f0fb; font-size: .88rem; font-weight: 600;
}
.hero--media .trust-strip .dot { display: none; }
.hero--media .trust-strip .stars { color: var(--gold); }

/* ---------- Inner page heros go dark to match ---------- */
.page-hero {
  background:
    radial-gradient(900px 440px at 88% -25%, rgba(59,143,212,.22), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #cfdcef;
  border-bottom: 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c6d3e8; }
.page-hero .breadcrumb { color: #95b1d4; }
.page-hero .breadcrumb a { color: #d2e2f4; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Scroll reveal (progressive: only when JS enables it) ---------- */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Service/feature card icon: gradient chip ---------- */
.card-icon {
  background: linear-gradient(150deg, rgba(59,143,212,.16), rgba(27,42,74,.10));
  color: var(--blue);
}
.card { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: #d4ddec; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600; color: var(--navy); font-size: 1.06rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); flex: none;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary { color: var(--red); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }
.faq-a a { font-weight: 600; }

/* ---------- Reviews: Google header + card mark ---------- */
.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gmark { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.quote { position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .gmark-corner { position: absolute; top: 22px; right: 22px; width: 26px; height: 26px; opacity: .9; }
.quote blockquote { font-size: 1.05rem; line-height: 1.6; }
.reviews-more { text-align: center; margin-top: 8px; }
