/* ==========================================================================
   brand.css - section-specific styling, components, motifs, animations
   ========================================================================== */

/* ---------- Section bg utilities ---------- */
.bg-white { background: var(--white); }
.bg-offwhite { background: var(--offwhite); }
.bg-tint { background: var(--teal-tint); }
.bg-grad { background: var(--grad-brand); color: var(--white); }
.bg-deep { background: var(--teal-deep); color: var(--white); }
.bg-grad h2, .bg-grad h3, .bg-deep h2, .bg-deep h3 { color: var(--white); }

/* ---------- Sparkle motif ---------- */
.sparkle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 1em; height: 1em; color: var(--c-green); vertical-align: middle; }
.sparkle svg { width: 100%; height: 100%; display: block; }

/* ---------- G-watermark ---------- */
.g-watermark {
  position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask-image: url(../assets/logos/BLUE_ICON.png);
  mask-image: url(../assets/logos/BLUE_ICON.png);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  background: rgba(255, 255, 255, 0.07);
  width: 480px; height: 480px;
}
.g-watermark.tinted { background: var(--grad-brand); opacity: 0.06; }
.g-watermark.right { inset-inline-end: -120px; inset-block-start: -80px; }
.g-watermark.left { inset-inline-start: -140px; inset-block-end: -120px; }

/* ---------- Image placeholders ---------- */
.img-slot {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--teal-tint); box-shadow: var(--shadow-md);
}
.img-slot img, .img-slot svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.img-slot[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.img-slot[data-ratio="1x1"] { aspect-ratio: 1 / 1; }

/* =========================================================
   SECTION 1 - HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 5rem) var(--space-xl);
  color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media svg { width: 100%; height: 100%; object-fit: cover; }
/* Lighter, brighter scrim: keeps a darker wash on the left (behind the text) for
   AA contrast, opens up to the bright photo on the right. Much less blue. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(18,42,52,0.66) 0%, rgba(18,42,52,0.40) 38%, rgba(18,42,52,0.12) 66%, rgba(18,42,52,0.02) 100%),
    linear-gradient(180deg, transparent 55%, rgba(18,42,52,0.30) 100%),
    linear-gradient(150deg, rgba(33,106,116,0.18) 0%, rgba(59,159,172,0.06) 50%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  padding: 0.45rem 1rem; border-radius: var(--radius-pill); margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
/* Hero headline is fully white (no teal gradient on "Trusted"); "Trusted" stays a touch bolder */
.hero h1 .text-grad {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #fff; color: #fff;
  font-weight: 600;
}
.hero-sub { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: #fff; max-width: 560px; margin-bottom: 2rem; text-shadow: 0 1px 12px rgba(10,28,34,0.55); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: stretch;
  max-width: 100%;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.26);
  color: #fff; padding: 0.38rem 0.62rem; border-radius: var(--radius-pill);
}
.chip svg { width: 13px; height: 13px; color: #fff; flex: 0 0 auto; }

/* =========================================================
   SECTION 2 - TRUST BAND
   ========================================================= */
.trust-band { position: relative; background: var(--grad-brand); color: var(--white); overflow: hidden; padding-block: var(--space-lg); }
.trust-band::before, .trust-band::after {
  content: ""; position: absolute; inset-inline: 0; height: 38px; background: var(--white); z-index: 1;
}
.trust-band::before { top: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%); }
.trust-band::after { bottom: 0; clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%); }
.trust-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.trust-stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.trust-icon {
  width: 58px; height: 58px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16); border: 2px solid rgba(255,255,255,0.45);
  margin-bottom: 0.35rem; position: relative;
}
.trust-icon svg { width: 26px; height: 26px; color: #fff; }
.trust-num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.trust-label { font-size: 0.92rem; color: rgba(255,255,255,0.92); max-width: 150px; }

/* =========================================================
   SECTION 3/4 - SERVICE CARDS
   ========================================================= */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white); border: 1px solid var(--c-gray); border-radius: var(--radius-lg);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
@media (hover: none) { .service-card:hover { transform: none; box-shadow: var(--shadow-sm); } }
.service-card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
/* Photo background behind service cards: visible up top, fades to near-white behind the text. */
.service-card .card-media {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
}
.service-card .card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.86) 52%, rgba(255,255,255,0.94) 100%);
  transition: background var(--dur) var(--ease);
}
.service-card:hover .card-media::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.78) 52%, rgba(255,255,255,0.90) 100%);
}
.service-card > *:not(.card-media) { position: relative; z-index: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; box-shadow: var(--shadow-sm);
}
.card-icon svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 { margin-bottom: 0.55rem; }
.service-card p { font-size: 0.98rem; color: #3a5560; }
.service-card p strong { color: var(--ink); }

/* Commercial split layout */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split.reverse > :first-child { order: 0; }
@media (min-width: 1024px) { .split.reverse .split-media { order: 2; } }
.commercial-cards { display: grid; gap: 1.25rem; }
.commercial-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--c-gray); border-radius: var(--radius-md);
  padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.commercial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (hover: none) { .commercial-card:hover { transform: none; } }
.commercial-card .card-icon { flex: 0 0 auto; width: 48px; height: 48px; margin: 0; }
.commercial-card .card-icon svg { width: 24px; height: 24px; }
.commercial-card h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.commercial-card p { font-size: 0.94rem; color: #3a5560; }

/* =========================================================
   SECTION 5 - HOW IT WORKS
   ========================================================= */
.steps { display: grid; gap: 2.5rem; grid-template-columns: 1fr; position: relative; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: var(--radius-pill);
  background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-md); position: relative; z-index: 2;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: #3a5560; max-width: 280px; margin-inline: auto; }
/* connector */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 36px; inset-inline-start: calc(50% + 40px);
    width: calc(100% - 80px); height: 3px;
    background: repeating-linear-gradient(90deg, var(--c-teal) 0 10px, transparent 10px 18px);
    opacity: 0.55; z-index: 1;
  }
}
.how-cta { text-align: center; margin-top: var(--space-lg); }

/* =========================================================
   SECTION 6 - TESTIMONIALS (CSS infinite scroll)
   ========================================================= */
.testi-section { overflow: hidden; }
.marquee {
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: scroll-left 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }
.testi-card {
  flex: 0 0 340px; max-width: 340px;
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-gray);
  display: flex; flex-direction: column; gap: 0.85rem;
}
.stars { color: #F6B73C; letter-spacing: 2px; font-size: 1.05rem; }
.testi-quote { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: var(--radius-pill); flex: 0 0 auto;
  background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.testi-name { font-family: var(--font-display); font-weight: 700; font-size: 0.96rem; }
.testi-loc { font-size: 0.84rem; color: #6a818a; }

/* =========================================================
   SECTION 7 - GALLERY
   ========================================================= */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); background: var(--teal-tint);
  border: none; width: 100%; padding: 0; display: block;
}
.gallery-item img, .gallery-item svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img, .gallery-item:hover svg { transform: scale(1.06); }
@media (hover: none) { .gallery-item:hover img, .gallery-item:hover svg { transform: none; } }
.gallery-caption {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(21,48,58,0.82));
  color: #fff; padding: 1.5rem 1rem 0.9rem; font-family: var(--font-display); font-weight: 600; font-size: 0.96rem;
  text-align: left; display: flex; align-items: center; gap: 0.4rem;
}
.gallery-item:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 3px; }

/* Before / After pairs */
.ba-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 900px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  /* center a lone last card (odd count) so the row isn't lopsided */
  .ba-grid > .ba-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 0.75rem); margin-inline: auto; }
}
.ba-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--c-neutral); padding: 0.5rem 0.5rem 0;
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ba-side {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  border: none; padding: 0; margin: 0; cursor: pointer; background: var(--teal-tint); display: block;
}
.ba-side img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.ba-side:hover img { transform: scale(1.05); }
@media (hover: none) { .ba-side:hover img { transform: none; } }
.ba-side:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 2px; z-index: 3; }
.ba-tag {
  position: absolute; top: 0.55rem; inset-inline-start: 0.55rem; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: var(--radius-pill); color: #fff;
}
.ba-tag.ba-before { background: rgba(21,48,58,0.85); }
.ba-tag.ba-after { background: var(--grad-cta); }
.ba-card figcaption {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 0.85rem 0.5rem; display: flex; align-items: center; gap: 0.4rem;
}
.gallery-subhead { text-align: center; font-size: 1.25rem; color: var(--teal-dark); margin: 0 0 1.25rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(13, 28, 34, 0.92); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox-stage { position: relative; max-width: 920px; width: 100%; }
.lightbox-figure {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.lightbox-figure img, .lightbox-figure svg { width: 100%; max-height: 72vh; object-fit: contain; display: block; background: var(--teal-tint); }
.lightbox-cap {
  text-align: center; color: #fff; font-family: var(--font-display); font-weight: 600;
  margin-top: 1rem; font-size: 1.05rem;
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lb-btn:hover { background: #fff; }
.lb-prev { inset-inline-start: -26px; }
.lb-next { inset-inline-end: -26px; }
.lb-close {
  position: absolute; top: -52px; inset-inline-end: 0;
  width: 46px; height: 46px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.lb-btn svg, .lb-close svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .lb-prev { inset-inline-start: 6px; } .lb-next { inset-inline-end: 6px; }
  .lb-btn { background: rgba(255,255,255,0.85); }
}

/* =========================================================
   SECTION 8 - WHY US / ECO
   ========================================================= */
.eco { position: relative; background: var(--teal-deep); color: #fff; overflow: hidden; }
.eco::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(33,106,116,0.55), rgba(42,110,121,0.32));
}
.eco .container { position: relative; z-index: 2; }
.eco-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.eco-item { display: flex; gap: 1rem; align-items: flex-start; }
.eco-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--radius-md);
  background: rgba(222,236,236,0.18); border: 1.5px solid rgba(222,236,236,0.55);
  display: flex; align-items: center; justify-content: center;
}
.eco-ic svg { width: 24px; height: 24px; color: #DEECEC; }
.eco-item h3 { color: #fff; font-size: 1.08rem; margin-bottom: 0.25rem; }
.eco-item p { color: rgba(255,255,255,0.84); font-size: 0.95rem; }
.eco .img-slot { box-shadow: var(--shadow-lg); }

/* =========================================================
   SECTION 9 - SERVICE AREA
   ========================================================= */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-block: 1.75rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--teal-dark);
  background: var(--teal-tint); border: 1.5px solid rgba(59,159,172,0.3);
  padding: 0.75rem 1.4rem; border-radius: var(--radius-pill);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.area-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
@media (hover: none) { .area-chip:hover { transform: none; } }
.area-chip svg { width: 18px; height: 18px; color: var(--c-teal); }
.area-note { text-align: center; color: #3a5560; font-size: 0.98rem; }

/* =========================================================
   SECTION 10 - FINAL CTA + FORM
   ========================================================= */
.cta-final { position: relative; background: var(--grad-brand); color: #fff; overflow: hidden; }
.cta-final .container { position: relative; z-index: 2; }
.cta-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .cta-layout { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; } }
.cta-copy h2 { color: #fff; margin-bottom: 0.9rem; }
.cta-copy .lead { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.cta-reassure { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.cta-reassure li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.96rem; color: rgba(255,255,255,0.92); }
.cta-reassure svg { width: 20px; height: 20px; color: #DEECEC; flex: 0 0 auto; }

.quote-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .quote-form { padding: 2.25rem; } }
.pending-banner {
  background: #FFF3E0; border: 1px solid #F4B860; color: #8a4b00;
  border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.86rem;
  margin-bottom: 1.5rem; display: flex; gap: 0.5rem; align-items: flex-start;
}
.pending-banner svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; color: #C77700; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 540px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--c-gray); border-radius: var(--radius-sm);
  background: var(--offwhite); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(59,159,172,0.18); background: #fff;
}
.consent { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 1rem; font-size: 0.84rem; color: #3a5560; line-height: 1.5; }
.consent input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--c-teal); }
.consent a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.consent .opt-tag { font-style: italic; color: #6a818a; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-foot { font-size: 0.84rem; color: #6a818a; text-align: center; margin-top: 0.9rem; }
.form-foot a { color: var(--teal-dark); font-weight: 600; }

/* Form success state */
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success.show { display: block; }
.quote-form.submitted .form-body { display: none; }
.success-ic {
  width: 72px; height: 72px; border-radius: var(--radius-pill); background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
}
.success-ic svg { width: 36px; height: 36px; color: #fff; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { color: #3a5560; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Section intro spacing on dark */
[data-bg="dark"] .area-note, .bg-grad .lead, .bg-deep .lead { color: rgba(255,255,255,0.88); }
.eco-intro { color: rgba(255,255,255,0.9); max-width: 540px; }

/* =========================================================
   Map strip (service area, placed just before the footer)
   ========================================================= */
.map-section { padding: 0; background: var(--offwhite); }
.map-frame {
  position: relative; width: 100%; height: 460px;
  border-top: 4px solid; border-image: var(--grad-brand) 1;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.02); }
.map-pin-card {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
  border: 1px solid rgba(21,48,58,0.08); border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem; box-shadow: var(--shadow-md); max-width: calc(100% - 2rem);
}
.map-pin-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: var(--radius-pill);
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
}
.map-pin-ic svg { width: 22px; height: 22px; color: #fff; }
.map-pin-card strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.map-pin-card span { color: #3a5560; font-size: 0.9rem; }
@media (max-width: 640px) {
  .map-frame { height: 380px; }
  .map-pin-card { flex-direction: row; padding: 0.7rem 1rem; gap: 0.7rem; bottom: 18px; }
  .map-pin-card strong { font-size: 0.92rem; }
  .map-pin-card span { font-size: 0.8rem; }
}
.map-pin-card span { display: block; }
.map-link {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--teal-dark);
}
.map-link svg { width: 14px; height: 14px; }
.map-link:hover { color: var(--teal-deep); text-decoration: underline; }

/* Service-area section now hosts the map full-bleed at its base, flush to footer */
.area-section { padding-bottom: 0; }
.area-section .map-frame { margin-top: 2.75rem; }
