/* ============================================================
   Serial Pest Solutions — Main Stylesheet
   Premium, bright, airy, editorial design system
   ============================================================ */

/* ── Google Fonts are loaded in HTML ── */

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  /* Colour Palette */
  --ivory:      #FAFAF7;
  --warm:       #F0F4F8;
  --sand:       #DEE8F0;
  --sand-deep:  #C8D6E2;
  --stone:      #A8B8C8;
  --teal:       #29ABE2;
  --teal-dark:  #1A7FB5;
  --teal-mid:   #5CC4F0;
  --teal-pale:  #D0EBF8;
  --teal-mist:  #EDF6FC;
  --gold:       #E53935;
  --gold-light: #EF5350;
  --gold-pale:  #FFCDD2;
  --gold-mist:  #FFF5F5;
  --ink:        #1C1A17;
  --ink-mid:    #2A2520;
  --ink-soft:   #3A332B;
  --ink-muted:  #6B5F53;
  --ink-faint:  #A8998C;
  --white:      #FFFFFF;

  /* Typography */
  --ff-display: 'Bebas Neue', 'Impact', sans-serif;
  --ff-body:    'Jost', 'Helvetica Neue', sans-serif;

  /* Navigation */
  --nav-h: 80px;

  /* Spacing */
  --pad-section: 96px;
  --pad-section-sm: 64px;
  --container-max: 1260px;
  --container-pad: clamp(20px, 4vw, 48px);

  /* Border Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs:  0 1px 3px rgba(28,26,23,0.06);
  --sh-sm:  0 2px 8px rgba(28,26,23,0.07), 0 1px 2px rgba(28,26,23,0.04);
  --sh-md:  0 8px 32px rgba(28,26,23,0.09), 0 2px 8px rgba(28,26,23,0.05);
  --sh-lg:  0 20px 64px rgba(28,26,23,0.11), 0 4px 16px rgba(28,26,23,0.06);
  --sh-teal: 0 8px 32px rgba(41,171,226,0.18);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--ivory);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
  background-repeat: repeat;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(4rem, 7vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
}

h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h4 {
  font-size: 1.6rem;
  line-height: 1.15;
}

p {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-mid);
}

.lead {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.55vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-mid);
}

em.gold {
  font-style: normal;
  color: var(--gold);
}

em.teal {
  font-style: normal;
  color: var(--teal);
}

.label {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ============================================================
   4. Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-narrow {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--pad-section);
}

.section-sm {
  padding-block: var(--pad-section-sm);
}

.text-center { text-align: center; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.gap-xl { gap: 48px; }

/* ============================================================
   5. Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ============================================================
   6. Hero Load Animation
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) forwards;
}

.hero-badge    { animation-delay: 0.10s; }
.hero h1       { animation-delay: 0.28s; }
.hero-desc     { animation-delay: 0.44s; }
.hero-btns     { animation-delay: 0.58s; }
.hero-chips    { animation-delay: 0.72s; }

.hero-sphere,
.hero-image {
  opacity: 0;
  animation: fadeSlideUp 1.1s var(--ease-out) 0.30s forwards;
}

/* Sphere rotation keyframe */
@keyframes rotateCW {
  to { transform: rotate(360deg); }
}

.sphere-spin {
  animation: rotateCW 55s linear infinite;
  transform-origin: center;
}

.sphere-contra {
  animation: rotateCW 75s linear infinite reverse;
  transform-origin: center;
}

/* ============================================================
   7. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 32px;
  border-radius: var(--r-full);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-teal {
  background-color: var(--teal);
  color: var(--white);
  border: 1.5px solid var(--teal);
}

.btn-teal:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-teal);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sand-deep);
}

.btn-outline:hover {
  background-color: var(--sand);
  border-color: var(--stone);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline-teal:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--teal-dark);
  border: 1.5px solid var(--white);
}

.btn-white:hover {
  background-color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 18px 40px;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 10px 20px;
}

/* ============================================================
   8. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}

.nav.scrolled {
  background-color: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom-color: var(--sand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-name {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.nav-logo-name em {
  font-style: normal;
  color: var(--teal);
}

.nav-logo-sub {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--teal);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-phone svg {
  color: var(--teal);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--ink);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 890;
  background-color: var(--ivory);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--teal); }

.mobile-menu-sub {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.mobile-menu-sub a {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ============================================================
   9. Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(ellipse 70% 80% at 70% 30%, rgba(229,57,53,0.06), transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 75%, rgba(41,171,226,0.09), transparent 50%),
    var(--ivory);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  padding-bottom: calc(var(--pad-section) + 5vw);
}

/* Hero full-bleed override: the image column must reach the right viewport edge.
   We cancel the .container max-width + right padding on the hero, and compute a
   left padding that keeps hero-content aligned with the rest of the page. */
.hero.container {
  max-width: none;
  padding-right: 0;
  padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--teal-mist);
  border: 1px solid var(--teal-pale);
  color: var(--teal-dark);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: var(--r-full);
  width: fit-content;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background-color: var(--teal);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  max-width: 580px;
}

.hero-desc {
  max-width: 460px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  border: 1px solid var(--sand);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-xs);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: clamp(360px, 44vw, 600px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
}

/* Full-bleed hero image — fills entire right grid cell; cell now extends to
   the right viewport edge because .hero.container has padding-right: 0 + no max-width. */
.hero-visual-bleed {
  position: relative;
  align-self: stretch;
  justify-self: stretch;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 72vh;
  /* push left so the fade starts over the content gap, not at the image's hard edge */
  margin-left: -48px;
  overflow: hidden;
}

.hero-image-bleed {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.75) 24%, #000 42%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.75) 24%, #000 42%);
}

.hero-sphere {
  width: clamp(280px, 36vw, 480px);
  aspect-ratio: 1;
}

/* ============================================================
   10. Trust Bar
   ============================================================ */
.trust-bar {
  background-color: var(--teal-dark);
  padding: 28px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 0 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-pale);
}

.trust-text strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.trust-text span {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ============================================================
   11. Service Cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-icon {
  width: 54px;
  height: 54px;
  background-color: var(--teal-mist);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}

.svc-title {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.svc-desc {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.25s var(--ease-out), color 0.2s;
}

.svc-link:hover {
  gap: 10px;
  color: var(--teal-dark);
}

/* ============================================================
   12. Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 52px;
}

.section-header .label {
  display: block;
  margin-bottom: 14px;
}

.section-header p {
  margin-top: 16px;
}

/* ============================================================
   13. The Serial Method (Process Steps)
   ============================================================ */
.method-section {
  background-color: var(--warm);
  padding-block: var(--pad-section);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 52px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(25% - 20px);
  right: calc(25% - 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-pale) 20%, var(--gold-pale) 80%, transparent);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.step-num {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
}

.step-title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

.step-desc {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink-mid);
}

/* ============================================================
   14. Split Panels
   ============================================================ */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel {
  padding: var(--pad-section) var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-panel.warm { background-color: var(--warm); }
.split-panel.teal-mist { background-color: var(--teal-mist); }

.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  border: 1px solid var(--sand);
  color: var(--teal-dark);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  width: fit-content;
}

.panel-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
}

.panel-check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   15. Safety Section
   ============================================================ */
.safety-section {
  background-color: var(--gold-mist);
  padding-block: var(--pad-section);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.safety-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 28px;
  background-color: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gold-pale);
}

.safety-icon {
  width: 56px;
  height: 56px;
  background-color: var(--gold-mist);
  border: 1px solid var(--gold-pale);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.safety-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}

.safety-desc {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink-mid);
}

.safety-note {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: auto;
}

/* ============================================================
   16. Emergency Band
   ============================================================ */
.emergency-band {
  background-color: var(--teal);
  padding: 48px 0;
}

.emergency-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.emergency-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FF6B35;
  animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.emergency-label span {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}

.emergency-band h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.emergency-band p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 400;
}

.emergency-phone {
  text-align: center;
}

.emergency-number {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

.emergency-number-sub {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.emergency-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* ============================================================
   17. Lead Form Section
   ============================================================ */
.form-section {
  padding-block: var(--pad-section);
  background-color: var(--ivory);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-copy .label {
  display: block;
  margin-bottom: 16px;
}

.form-trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
}

.form-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background-color: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.form-card {
  background-color: var(--white);
  border-radius: var(--r-2xl);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--sh-md);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.form-card-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 0.98rem;
  color: var(--ink-mid);
  font-weight: 400;
  margin-bottom: 28px;
}

/* Form Elements */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--warm);
  border: 1.5px solid var(--sand);
  border-radius: var(--r-md);
  padding: 13px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-muted);
  font-weight: 300;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.1);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A6E63' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
  padding: 17px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-mid);
  text-align: center;
  margin-top: 12px;
  font-weight: 400;
}

.hidden { display: none !important; }

#form-success {
  text-align: center;
  padding: 32px 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--teal-mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
}

/* ============================================================
   17b. Gallery
   ============================================================ */
.gallery-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter-tabs {
  display: flex;
  gap: 8px;
}

.gallery-filter-btn {
  padding: 11px 22px;
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.gallery-filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.gallery-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  overflow: hidden;
  background: var(--sand);
}
.gallery-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-card:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-thumb-video .gallery-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}
.gallery-card:hover .gallery-play-icon {
  background: rgba(0,0,0,0.8);
}
.gallery-play-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 3px;
}

.gallery-card-caption {
  padding: 14px 18px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.gallery-empty {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-empty-icon svg {
  width: 64px;
  height: 64px;
  color: var(--sand-deep);
  margin-bottom: 1rem;
}
.gallery-empty h3 {
  color: var(--ink);
  margin-bottom: 8px;
}
.gallery-empty p {
  color: var(--ink-soft);
}

/* ---------- Gallery Lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-nav svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-content {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-body {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-body img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.lightbox-body iframe {
  width: 80vw;
  height: 45vw;
  max-width: 960px;
  max-height: 540px;
  border-radius: var(--r-sm);
}

.lightbox-caption {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
   18. Service Areas
   ============================================================ */
.areas-section {
  padding-block: var(--pad-section);
  background-color: var(--ivory);
  text-align: center;
}

.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.area-chip {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-full);
  padding: 9px 22px;
  transition: all 0.2s;
}

.area-chip:hover {
  background-color: var(--teal-mist);
  border-color: var(--teal-pale);
  color: var(--teal-dark);
}

.area-chip.primary {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  font-weight: 500;
}

/* ============================================================
   19. Final CTA Section
   ============================================================ */
.final-cta {
  background-color: var(--teal);
  padding: var(--pad-section) 0;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
  margin-block: -1px;
}

.final-cta h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255,255,255,0.72);
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   20. Footer
   ============================================================ */
.footer {
  background-color: var(--warm);
  border-top: 2px solid var(--gold);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1;
}

.footer-brand-name em { color: var(--teal); }

.footer-brand-sub {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.68;
  margin-bottom: 20px;
}

.footer-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--sand-deep);
  color: var(--ink-mid);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-sm);
}

.footer-col h5 {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-bottom: 10px;
}

.footer-contact-item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid var(--sand);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.88rem;
  color: var(--ink-mid);
  font-weight: 500;
}

/* ============================================================
   21. WhatsApp Float
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 940;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease-out);
}

.wa-float:hover { transform: scale(1.08); }

.wa-float::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waRing 2s ease-out infinite;
  opacity: 0;
}

@keyframes waRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   22. Mobile CTA Bar
   ============================================================ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--sand);
  padding: 12px 20px 16px;
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar .btn {
  flex: 1;
  height: 48px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0 16px;
}

/* ============================================================
   23. Services Page — Detail Cards
   ============================================================ */
.page-hero {
  background-color: var(--teal-dark);
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: 0;
}

.page-hero .label {
  color: var(--teal-pale);
  display: block;
  margin-bottom: 16px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.page-hero .lead {
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-top: 16px;
}

.page-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--sand);
}

.svc-detail:nth-child(even) {
  direction: rtl;
}

.svc-detail:nth-child(even) > * {
  direction: ltr;
}

.svc-detail:last-child { border-bottom: none; }

.svc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-visual-circle {
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  box-shadow: var(--sh-md);
}

.svc-visual-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-visual-circle svg {
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
}

.svc-detail-label {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.svc-detail-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-detail p {
  margin-bottom: 20px;
}

.svc-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.svc-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
}

.svc-detail-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   24. Commercial Section
   ============================================================ */
.commercial-section {
  background-color: var(--gold-mist);
  padding-block: var(--pad-section);
}

.commercial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.commercial-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.commercial-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gold-pale);
}

.cfc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background-color: var(--gold-mist);
  border: 1px solid var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.cfc-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.cfc-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.6;
}

.commercial-includes h4 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 20px;
}

.commercial-includes ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.commercial-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
}

.commercial-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   25. Protection Plans
   ============================================================ */
.plans-section {
  background-color: var(--warm);
  padding-block: var(--pad-section);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  align-items: start;
}

.plan-card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: scale(1.025);
  box-shadow: var(--sh-lg);
}

.plan-ribbon {
  position: absolute;
  top: 16px;
  right: -20px;
  background-color: var(--gold);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 28px 5px 14px;
  transform: rotate(0deg);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.plan-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background-color: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.plan-card.featured .plan-icon {
  background-color: rgba(255,255,255,0.12);
  color: var(--teal-pale);
}

.plan-name {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.plan-card.featured .plan-name { color: var(--white); }

.plan-cadence {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.plan-card.featured .plan-cadence { color: var(--teal-pale); }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
}

.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.plan-card.featured .plan-features li { color: rgba(255,255,255,0.82); }
.plan-card.featured .plan-features li::before {
  background-color: rgba(255,255,255,0.25);
}

.plan-cta { width: 100%; }

/* ============================================================
   26. Emergency Card
   ============================================================ */
.emergency-card-section {
  background-color: var(--teal-mist);
  padding-block: var(--pad-section-sm);
}

.emergency-card {
  background-color: var(--white);
  border: 1px solid var(--teal-pale);
  border-radius: var(--r-2xl);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  box-shadow: var(--sh-sm);
}

.emergency-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-xl);
  background-color: var(--teal-mist);
  border: 1px solid var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.emergency-card h3 {
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.emergency-card p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-mid);
}

.emergency-card-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================================
   27. FAQ Accordion
   ============================================================ */
.faq-section {
  padding-block: var(--pad-section);
  background-color: var(--ivory);
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  margin-top: 48px;
}

.faq-item {
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: var(--teal-pale);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--teal); }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.faq-toggle::before {
  width: 12px;
  height: 1.5px;
}

.faq-toggle::after {
  width: 1.5px;
  height: 12px;
}

.faq-item.open .faq-toggle {
  background-color: var(--teal-mist);
  border-color: var(--teal-pale);
  color: var(--teal);
}

.faq-item.open .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.74;
}

/* ============================================================
   28. Contact Page
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info-card.featured {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background-color: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.info-card.featured .info-card-icon {
  background-color: rgba(255,255,255,0.12);
  color: var(--teal-pale);
}

.info-card-content h4 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.info-card-content p {
  font-size: 1rem;
  color: var(--ink-mid);
  font-weight: 500;
}

.info-card.featured .info-card-content h4 { color: var(--white); }
.info-card.featured .info-card-content p  { color: rgba(255,255,255,0.7); }
.info-card.featured .info-card-content a  { color: var(--white); }
.info-card.featured .info-card-content .btn-white,
.info-card.featured .info-card-content .btn-white:hover { color: var(--teal-dark); }

.info-card-content a {
  color: var(--teal);
  font-weight: 500;
}

.info-card-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.hours-table tr + tr td {
  border-top: 1px solid var(--sand);
}

.hours-table td {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 15px 0;
  color: var(--ink-mid);
  line-height: 1.5;
  vertical-align: middle;
}

.hours-table td:first-child {
  padding-right: 24px;
  white-space: nowrap;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  padding-left: 24px;
  white-space: nowrap;
}

.coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.coverage-chip {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  background-color: var(--teal-mist);
  border: 1px solid var(--teal-pale);
  border-radius: var(--r-full);
  padding: 6px 14px;
}

.map-card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
  margin-top: 16px;
}

.map-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.map-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background-color: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.map-card-text strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.map-card-text span {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.map-card-arrow {
  margin-left: auto;
  color: var(--teal);
}

/* Trust Cards */
.trust-cards-section {
  background-color: var(--warm);
  padding-block: var(--pad-section-sm);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.trust-card {
  background-color: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--sand);
}

.trust-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-lg);
  background-color: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin: 0 auto 18px;
}

.trust-card h4 {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink-mid);
}

/* ============================================================
   29. Responsive — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   30. Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad-section: 72px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .steps-grid::before { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-card.featured { transform: none; }
  .emergency-inner { grid-template-columns: 1fr 1fr; }
  .emergency-btns { grid-column: span 2; flex-direction: row; justify-content: center; }
  .svc-detail { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .commercial-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-card { position: static; }
}

/* ============================================================
   30b. Responsive — 900px (tablet nav squeeze)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.78rem; }
  .nav-phone { font-size: 0.78rem; }
  .nav-right { gap: 14px; }
  .nav-right .btn { padding: 12px 22px; font-size: 0.82rem; }
}

/* ============================================================
   31. Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad-section: 56px; --nav-h: 68px; }

  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: calc(var(--pad-section) + 40px);
    position: relative;
  }
  .hero.container {
    max-width: var(--container-max);
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
  .hero-content { align-items: center; position: relative; z-index: 2; }
  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin: 0;
    min-height: 0;
  }
  .hero-visual .hero-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    opacity: 0.15;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--ivory) 75%);
    z-index: 1;
  }
  .hero-chips { justify-content: center; }
  .hero-btns { justify-content: center; }

  .trust-bar-inner { flex-wrap: wrap; gap: 0; }
  .trust-item {
    width: 50%;
    padding: 16px;
  }
  .trust-item:nth-child(3) { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .split-panels { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; gap: 16px; }
  .emergency-inner { grid-template-columns: 1fr; text-align: center; }
  .emergency-btns { align-items: center; grid-column: auto; }
  .emergency-band { padding: 40px 0; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) { direction: ltr; }
  .svc-visual { display: flex; justify-content: center; }
  .svc-visual-circle { width: clamp(180px, 50vw, 260px); }
  .plans-grid { max-width: 100%; }
  .emergency-card { grid-template-columns: 1fr; text-align: center; padding: 32px 28px; }
  .emergency-card-icon { margin: 0 auto; }
  .emergency-card-btns { justify-content: center; flex-wrap: wrap; }
  .trust-cards-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .wa-float { display: none; }

  .final-cta { clip-path: none; }
}

/* ============================================================
   32. Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --pad-section: 48px; }

  .nav-logo-img { height: 32px; }

  .services-grid { grid-template-columns: 1fr; }
  .trust-item { width: 100%; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .emergency-card-btns { flex-direction: column; width: 100%; }
  .emergency-card-btns .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-chips { display: none; }
  .page-hero-btns { flex-direction: column; }
  .page-hero-btns .btn { width: 100%; justify-content: center; }
  .final-cta-btns { flex-direction: column; align-items: center; }
}

/* ============================================================
   33. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .sphere-spin, .sphere-contra { animation: none; }
  .hero-content > * { opacity: 1; animation: none; }
  .hero-sphere { opacity: 1; animation: none; }
}

/* ============================================================
   34. Utility Additions
   ============================================================ */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

.bg-teal     { background-color: var(--teal); }
.bg-warm     { background-color: var(--warm); }
.bg-teal-mist { background-color: var(--teal-mist); }

.text-white    { color: var(--white); }
.text-teal     { color: var(--teal); }
.text-gold     { color: var(--gold); }
.text-ink-soft { color: var(--ink-soft); }
