/* ==========================================================================
   DELTAR ELECTRICAL — Cape Town
   Design system: safety-yellow + electric-blue on white, navy anchor bands.
   Built for trade credibility: high contrast, big tap targets, mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --font-display: 'Archivo', 'Segoe UI', -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, sans-serif;

  /* Navy anchors */
  --navy-900: #061627;
  --navy-800: #0A2440;
  --navy-700: #0E3459;
  --navy-600: #14487A;

  /* Electric blue */
  --blue-600: #1257B0;
  --blue-500: #1A6FE0;
  --blue-100: #D6E6FB;
  --blue-50: #EEF5FE;

  /* Safety yellow */
  --yellow: #FFC61A;
  --yellow-600: #F0B000;
  --yellow-100: #FFF3D1;

  /* Signals */
  --red: #D92D20;
  --red-dark: #B42318;
  --wa: #25D366;
  --wa-dark: #1EB455;
  --green: #12805C;

  /* Surfaces & ink */
  --paper: #FFFFFF;
  --paper-alt: #F4F7FB;
  --paper-alt2: #EAF0F7;
  --ink: #0B1B2D;
  --body: #4C5F76;
  --muted: #75879C;
  --line: #E1E8F0;
  --line-strong: #CBD7E4;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(11, 27, 45, .06);
  --shadow-md: 0 10px 28px -12px rgba(11, 27, 45, .22);
  --shadow-lg: 0 26px 60px -22px rgba(11, 27, 45, .35);
  --shadow-yellow: 0 10px 26px -10px rgba(240, 176, 0, .65);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .28s var(--ease);

  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--t); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
  font-weight: 800;
}

::selection { background: var(--yellow); color: var(--navy-900); }

/* Icon sprite helper — stroke icons by default; filled symbols override with
   fill="currentColor" stroke="none" presentation attributes on their paths. */
.ico {
  width: 1em; height: 1em; display: inline-block; vertical-align: -.125em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--paper-alt); }
.section--navy { background: var(--navy-800); color: #C9D8E8; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 7px 14px; border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section--navy .eyebrow { color: var(--yellow); background: rgba(255,198,26,.12); border-color: rgba(255,198,26,.3); }

.sec-title { font-size: clamp(1.9rem, 4vw, 2.7rem); text-transform: uppercase; letter-spacing: -.015em; }
.sec-title em { font-style: normal; color: var(--blue-600); }
.section--navy .sec-title em { color: var(--yellow); }

.sec-sub { margin-top: 14px; font-size: 1.06rem; color: var(--body); }
.section--navy .sec-sub { color: #A9BFD6; }

.rule {
  width: 72px; height: 5px; border-radius: 3px;
  background: var(--yellow);
  margin: 18px auto 0;
}
.sec-head--left .rule { margin-left: 0; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 15px 26px; border: 2px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; transition: var(--t); text-align: center; white-space: nowrap;
}
.btn .ico { font-size: 1.15em; }

.btn-yellow { background: var(--yellow); color: var(--navy-900); box-shadow: var(--shadow-yellow); }
.btn-yellow:hover { background: var(--yellow-600); transform: translateY(-2px); }

.btn-blue { background: var(--blue-600); color: #fff; }
.btn-blue:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: #05321A; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }

.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: var(--yellow); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: .84rem; }

/* --------------------------------------------------------------------------
   5. TOP UTILITY BAR
   -------------------------------------------------------------------------- */
.utility {
  background: var(--navy-900);
  color: #9FB6CE;
  font-size: .82rem;
  padding: 9px 0;
}
.utility-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.utility-left { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--yellow); }
.utility-left .ico { animation: flick 2.4s infinite; }
@keyframes flick { 0%,88%,100% { opacity: 1 } 92% { opacity: .25 } 96% { opacity: .8 } }
.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-right a { display: inline-flex; align-items: center; gap: 7px; }
.utility-right a:hover { color: var(--yellow); }
.utility-sep { width: 1px; height: 15px; background: rgba(255,255,255,.16); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.header.is-stuck { box-shadow: 0 6px 24px -12px rgba(11,27,45,.28); }

.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b {
  font-family: var(--font-display); font-size: 1.42rem; font-weight: 900;
  color: var(--navy-800); letter-spacing: .01em;
}
.brand-name span {
  font-family: var(--font-display); font-size: .64rem; font-weight: 700;
  letter-spacing: .3em; color: var(--blue-600); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--font-display); font-size: .92rem; font-weight: 600;
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--yellow); border-radius: 2px; transition: width var(--t);
}
.nav a:hover, .nav a.is-active { color: var(--blue-600); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-phone small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.header-phone b { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-800); }
.header-phone b:hover { color: var(--blue-600); }

.burger {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); background: #fff; color: var(--navy-800);
  align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,22,39,.96) 0%, rgba(6,22,39,.86) 42%, rgba(6,22,39,.42) 100%),
    radial-gradient(circle at 88% 18%, rgba(255,198,26,.16) 0%, transparent 48%);
}
.hero-in { position: relative; z-index: 2; padding: 92px 0 104px; max-width: 720px; }

.hero-flag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 15px; border-radius: var(--r-full);
  font-size: .82rem; font-weight: 600; color: #DCE8F5; margin-bottom: 22px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #38D68A; box-shadow: 0 0 0 0 rgba(56,214,138,.7); animation: ping 1.9s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(56,214,138,0) } 100% { box-shadow: 0 0 0 0 rgba(56,214,138,0) } }

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4rem);
  color: #fff; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.03;
}
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero p.hero-lead { margin: 22px 0 30px; font-size: 1.13rem; color: #BFD2E4; max-width: 590px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 42px; }

.hero-marks { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-mark { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #CBDCEC; font-weight: 500; }
.hero-mark .ico { color: var(--yellow); font-size: 1.25rem; }

/* --------------------------------------------------------------------------
   8. SERVICE TILE STRIP (dark grid under hero)
   -------------------------------------------------------------------------- */
.tiles-wrap { background: var(--navy-800); padding: 0 0 64px; }
.tiles-card {
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg);
  padding: 34px;
  margin-top: -46px; position: relative; z-index: 3;
  box-shadow: var(--shadow-lg);
}
.tiles-card h2 { color: #fff; font-size: 1.45rem; text-transform: uppercase; text-align: center; }
.tiles-card > p { text-align: center; color: #9FB9D2; margin: 8px 0 28px; font-size: .96rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 20px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: var(--t);
}
.tile:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-5px); }
.tile .ico { font-size: 1.9rem; color: var(--yellow); transition: var(--t); }
.tile:hover .ico { color: var(--navy-900); }
.tile span { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: #E4EEF8; line-height: 1.25; }
.tile:hover span { color: var(--navy-900); }

/* --------------------------------------------------------------------------
   9. SPLIT (intro / about)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media--tall img { aspect-ratio: 4/5; }
.split-media--wide img { aspect-ratio: 4/3; }
.media-accent {
  position: absolute; inset: auto -16px -16px auto;
  width: 130px; height: 130px; border-radius: var(--r-lg);
  background: var(--yellow); z-index: -1;
}
.media-tag {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  max-width: 270px;
}
.media-tag .ico { font-size: 1.9rem; color: var(--blue-600); }
.media-tag b { font-family: var(--font-display); display: block; color: var(--ink); font-size: .98rem; }
.media-tag small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }

.prose p { margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; margin: 24px 0 30px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; font-weight: 500; color: var(--ink); }
.check .ico { color: var(--green); font-size: 1.15rem; margin-top: 3px; }
.section--navy .check { color: #DBE7F3; }
.section--navy .check .ico { color: var(--yellow); }

/* --------------------------------------------------------------------------
   10. SERVICE CARDS
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px 28px; display: flex; flex-direction: column;
  transition: var(--t); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 62px; height: 62px; border-radius: var(--r-md);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600); font-size: 1.75rem; margin-bottom: 20px; transition: var(--t);
}
.card:hover .card-ico { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }

.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card > p { font-size: .95rem; margin-bottom: 18px; flex-grow: 1; }
.card ul { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; }
.card li { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; margin-bottom: 8px; color: var(--body); }
.card li .ico { color: var(--yellow-600); font-size: .95rem; margin-top: 4px; }
.card .btn { margin-top: auto; }

.card--accent { background: var(--navy-800); border-color: var(--navy-700); }
.card--accent h3 { color: #fff; }
.card--accent > p, .card--accent li { color: #A9C0D6; }
.card--accent ul { border-top-color: rgba(255,255,255,.12); }
.card--accent .card-ico { background: rgba(255,198,26,.14); border-color: rgba(255,198,26,.3); color: var(--yellow); }

/* --------------------------------------------------------------------------
   11. EMERGENCY BAND
   -------------------------------------------------------------------------- */
.band {
  background: var(--yellow);
  padding: 34px 0;
}
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.band h3 { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; color: var(--navy-900); }
.band p { color: #5A4400; font-weight: 500; margin-top: 4px; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.band--red { background: var(--red); }
.band--red h3 { color: #fff; }
.band--red p { color: #FFD9D6; }

/* --------------------------------------------------------------------------
   12. PROCESS STEPS
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 900;
  color: var(--blue-100); line-height: .9; margin-bottom: 12px;
}
.step h4 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .92rem; }
.step::after {
  content: ''; position: absolute; top: 26px; right: -14px; width: 28px; height: 2px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   13. SOLAR SIZER
   -------------------------------------------------------------------------- */
.sizer { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sizer-left { background: #fff; padding: 40px; }
.sizer-right { background: var(--navy-800); padding: 40px; color: #C4D6E8; display: flex; flex-direction: column; }

.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.preset {
  border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px;
  cursor: pointer; transition: var(--t); background: #fff; text-align: left;
}
.preset:hover { border-color: var(--blue-100); background: var(--blue-50); }
.preset.is-on { border-color: var(--yellow); background: var(--yellow-100); }
.preset b { font-family: var(--font-display); display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.preset small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }

.spec { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.spec:last-of-type { border-bottom: none; }
.spec small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #7E9BB8; margin-bottom: 5px; }
.spec b { font-family: var(--font-display); font-size: 1.32rem; color: var(--yellow); font-weight: 700; }

.sizer-note { font-size: .82rem; color: #8FA9C2; margin: 16px 0 18px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   14. C.O.C PANEL
   -------------------------------------------------------------------------- */
.coc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.coc-doc {
  background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--yellow);
}
.coc-seal {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--blue-50); border: 3px dashed var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600); font-size: 2.2rem;
}
.coc-doc h4 { text-align: center; font-size: 1.2rem; margin-bottom: 8px; }
.coc-doc > p { text-align: center; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.coc-rows { border-top: 1px solid var(--line); }
.coc-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.coc-row span { color: var(--muted); }
.coc-row b { color: var(--ink); font-weight: 600; text-align: right; }

/* --------------------------------------------------------------------------
   15. GALLERY
   -------------------------------------------------------------------------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 10px 20px; border-radius: var(--r-full); border: 2px solid var(--line);
  background: #fff; color: var(--ink); font-family: var(--font-display);
  font-size: .86rem; font-weight: 700; cursor: pointer; transition: var(--t);
}
.filter:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter.is-on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.grid-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot {
  position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--paper-alt2); box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.shot:hover img { transform: scale(1.07); }
.shot-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(6,22,39,.94));
  transform: translateY(8px); opacity: 0; transition: var(--t);
}
.shot:hover .shot-cap { transform: none; opacity: 1; }
.shot-cap b { font-family: var(--font-display); color: #fff; font-size: .95rem; display: block; line-height: 1.25; }
.shot-cap small { color: var(--yellow); font-size: .78rem; font-weight: 600; }
.shot-zoom {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  opacity: 0; transform: scale(.7); transition: var(--t);
}
.shot:hover .shot-zoom { opacity: 1; transform: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(6,22,39,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.is-open { display: flex; }
.lb-box { max-width: 900px; width: 100%; background: #fff; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.lb-box img { width: 100%; max-height: 68vh; object-fit: contain; background: #0B1B2D; }
.lb-meta { padding: 18px 24px; }
.lb-meta h4 { font-size: 1.15rem; }
.lb-meta small { color: var(--blue-600); font-weight: 600; }
.lb-x {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; color: var(--navy-800); font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,.9); border: none; color: var(--navy-800);
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* --------------------------------------------------------------------------
   16. FEATURE GRID (why choose)
   -------------------------------------------------------------------------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 36px; }
.feat { display: flex; gap: 16px; }
.feat-ico {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md);
  background: rgba(255,198,26,.14); border: 1px solid rgba(255,198,26,.3);
  display: flex; align-items: center; justify-content: center; color: var(--yellow); font-size: 1.4rem;
}
.feat h4 { font-size: 1.05rem; margin-bottom: 5px; }
.feat p { font-size: .9rem; }

/* --------------------------------------------------------------------------
   17. AREAS
   -------------------------------------------------------------------------- */
.areas { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.area-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-full);
  padding: 8px 15px; font-size: .86rem; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.chip .ico { color: var(--blue-500); font-size: .85rem; }
.map-box { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 380px; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   18. PROOF / REFERENCES
   -------------------------------------------------------------------------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; text-align: center;
}
.proof-item .ico { font-size: 2rem; color: var(--blue-600); margin-bottom: 12px; }
.proof-item b { font-family: var(--font-display); display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: 5px; }
.proof-item small { font-size: .85rem; color: var(--muted); line-height: 1.5; display: block; }

/* Testimonials (activate once real reviews are supplied) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--yellow); font-size: .95rem; margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: .95rem; color: var(--ink); margin-bottom: 14px; }
.quote cite { font-style: normal; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.qa.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.qa-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.qa-q .ico { color: var(--blue-600); transition: transform var(--t); flex-shrink: 0; }
.qa.is-open .qa-q .ico { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.qa-a > div { padding: 0 22px 20px; font-size: .95rem; }

/* --------------------------------------------------------------------------
   20. QUOTE FORM / CONTACT
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }

.info-card { background: var(--navy-800); border-radius: var(--r-lg); padding: 36px; color: #B9CDE0; }
.info-card h3 { color: #fff; font-size: 1.35rem; text-transform: uppercase; margin-bottom: 8px; }
.info-card > p { font-size: .92rem; margin-bottom: 26px; }
.info-row { display: flex; gap: 15px; margin-bottom: 22px; }
.info-ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-md);
  background: rgba(255,198,26,.14); border: 1px solid rgba(255,198,26,.28);
  display: flex; align-items: center; justify-content: center; color: var(--yellow); font-size: 1.2rem;
}
.info-row b { display: block; font-family: var(--font-display); color: #fff; font-size: .95rem; margin-bottom: 2px; }
.info-row p, .info-row a { font-size: .92rem; color: #A6BED5; }
.info-row a:hover { color: var(--yellow); }
.info-row .hi { color: var(--yellow); font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 6px; }
.form-card > p { font-size: .92rem; margin-bottom: 26px; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 16px; }
.f-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.f-group label .req { color: var(--red); }
.f-input {
  width: 100%; padding: 13px 15px; background: var(--paper-alt);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); outline: none; transition: var(--t); font-size: .95rem;
}
.f-input::placeholder { color: #9AAABC; }
.f-input:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
textarea.f-input { min-height: 108px; resize: vertical; }
.f-note { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: #8FA8C0; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; }
.footer .brand-name b { color: #fff; }
.footer .brand-name span { color: var(--yellow); }
.footer p { font-size: .9rem; margin-top: 16px; }
.footer h5 { color: #fff; font-size: 1rem; text-transform: uppercase; margin-bottom: 16px; letter-spacing: .04em; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: .9rem; }
.footer li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem;
}
.footer-bottom a:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   22. CHAT WIDGET (right side) + FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  display: flex; align-items: center; gap: 10px;
  background: var(--blue-600); color: #fff; border: none; cursor: pointer;
  padding: 14px 20px 14px 16px; border-radius: var(--r-full);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 34px -10px rgba(18,87,176,.7);
  transition: var(--t);
}
.chat-launcher:hover { background: var(--navy-700); transform: translateY(-2px); }
.chat-launcher .ico { font-size: 1.35rem; }
.chat-launcher.is-hidden { opacity: 0; pointer-events: none; transform: scale(.85); }
.chat-ping {
  position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 1250;
  width: 372px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px -18px rgba(6,22,39,.55);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.97);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }

.chat-head { background: var(--blue-600); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center; color: var(--navy-900); font-size: 1.3rem; flex-shrink: 0;
}
.chat-head b { font-family: var(--font-display); font-size: 1rem; display: block; line-height: 1.2; }
.chat-head small { font-size: .78rem; color: #CFE2FA; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #38D68A; }
.chat-x {
  margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.2); color: #fff; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.chat-x:hover { background: rgba(255,255,255,.34); }

.chat-body { padding: 18px; background: var(--paper-alt); max-height: 340px; overflow-y: auto; }
.chat-msg {
  background: #fff; border-radius: 4px 16px 16px 16px; padding: 13px 16px;
  font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 6px;
}
.chat-msg--me { background: var(--blue-600); color: #fff; border-radius: 16px 4px 16px 16px; margin-left: 42px; }
.chat-time { font-size: .7rem; color: var(--muted); margin: 0 0 14px 4px; }
.chat-chips { display: flex; flex-direction: column; gap: 8px; }
.chat-chip {
  background: #fff; border: 1.5px solid var(--blue-100); color: var(--blue-600);
  border-radius: var(--r-full); padding: 10px 16px; font-size: .88rem; font-weight: 600;
  cursor: pointer; text-align: left; transition: var(--t);
  display: flex; align-items: center; gap: 9px;
}
.chat-chip:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chat-chip .ico { font-size: 1rem; }

.chat-foot { padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input-row { display: flex; gap: 8px; align-items: center; }
.chat-input {
  flex: 1; border: 1.5px solid var(--line); background: var(--paper-alt);
  border-radius: var(--r-full); padding: 12px 16px; font-size: .92rem; outline: none; transition: var(--t);
}
.chat-input:focus { border-color: var(--blue-500); background: #fff; }
.chat-send {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: none;
  background: var(--wa); color: #fff; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.chat-send:hover { background: var(--wa-dark); }
.chat-sig { text-align: center; font-size: .72rem; color: var(--muted); padding-top: 9px; }
.chat-sig .ico { color: var(--wa); }

/* Floating call/WhatsApp (left side, so it never fights the chat) */
.floaters { position: fixed; left: 22px; bottom: 22px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; }
.floater {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-lg); transition: var(--t);
}
.floater:hover { transform: scale(1.09); }
.floater--wa { background: var(--wa); }
.floater--call { background: var(--yellow); color: var(--navy-900); }

/* Mobile sticky action bar */
.mobile-bar { display: none; }

/* Toast */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 4000; display: flex; flex-direction: column; gap: 10px; width: min(400px, calc(100vw - 32px)); }
.toast {
  background: var(--navy-800); color: #fff; padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px; font-size: .9rem;
  border-left: 4px solid var(--wa); animation: rise .3s var(--ease);
}
.toast--warn { border-left-color: var(--yellow); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

/* --------------------------------------------------------------------------
   23. SCROLL REVEAL
   -------------------------------------------------------------------------- */
/* Only hide for the animation when JS is actually running (html.js is set in
   <head>). Without JS — or if the observer never fires — content stays visible. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   24. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .cards, .feats, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .grid-shots { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .split, .coc, .sizer, .areas, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split--wide-left { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .media-tag { left: 12px; }

  /* Mobile nav drawer */
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px; overflow-y: auto; z-index: 950;
  }
  .nav.is-open a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.is-open a::after { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .section { padding: 58px 0; }
  .utility-left span { display: none; }
  .utility-in { justify-content: center; }
  .header-phone { display: none; }
  .header-cta .btn { padding: 12px 16px; font-size: .82rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name b { font-size: 1.2rem; }

  .hero-in { padding: 58px 0 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-marks { gap: 10px 18px; }

  .tiles-card { padding: 22px 18px; margin-top: -34px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .cards, .feats, .steps, .quotes, .proof { grid-template-columns: 1fr; }
  .grid-shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .checks, .presets, .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sizer-left, .sizer-right, .info-card, .form-card, .coc-doc { padding: 26px 22px; }
  .band-in { flex-direction: column; align-items: flex-start; text-align: left; }
  .band-actions { width: 100%; }
  .band-actions .btn { flex: 1; }
  .media-tag { position: static; margin-top: -34px; margin-left: 16px; max-width: none; }
  .media-accent { display: none; }

  /* Chat + floaters give way to the mobile action bar */
  .floaters { display: none; }
  .chat-launcher { bottom: 78px; right: 14px; padding: 12px 16px; font-size: .86rem; }
  .chat-panel { right: 8px; left: 8px; bottom: 70px; width: auto; max-width: none; }
  .chat-body { max-height: 46vh; }

  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150;
    background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 11px 4px; color: #DCE8F5;
    font-family: var(--font-display); font-size: .72rem; font-weight: 700; text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar a .ico { font-size: 1.25rem; }
  .mobile-bar a.mb-call { background: var(--yellow); color: var(--navy-900); }
  .mobile-bar a.mb-wa { background: var(--wa); color: #05321A; }
  body { padding-bottom: 62px; }
  .toasts { bottom: 88px; }
}

/* Keep two photo columns on virtually every phone — a 10-photo single column
   is a very long scroll. Only the smallest handsets drop to one. */
@media (max-width: 340px) {
  .grid-shots { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   25. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header, .utility, .chat-launcher, .chat-panel, .floaters, .mobile-bar, .band, .hero-actions { display: none !important; }
  body { color: #000; }
}
