/* =========================================================
   Advanced Damp Check — Design System
   Palette derived from the logo's thermal gradient
   ========================================================= */

:root {
  /* Brand */
  --navy:        #0b3c7d;
  --navy-700:    #072a58;
  --navy-900:    #041a3a;
  --ink:         #061529;

  /* Thermal spectrum (from the logo magnifier) */
  --t-cold:      #1e63d6;
  --t-cyan:      #17a7c9;
  --t-green:     #3d9b35;
  --t-yellow:    #f2c218;
  --t-orange:    #f47920;
  --t-red:       #e1251b;

  --accent:      var(--t-orange);
  --accent-2:    var(--t-red);
  --whatsapp:    #25d366;

  /* Neutrals */
  --paper:       #ffffff;
  --paper-2:     #f6f8fc;
  --paper-3:     #eef2f9;
  --line:        #dfe6f1;
  --text:        #2c3947;
  --muted:       #66748a;

  /* Type */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(6, 21, 41, .06);
  --shadow:    0 12px 32px rgba(6, 21, 41, .10);
  --shadow-lg: 0 28px 70px rgba(6, 21, 41, .18);

  --thermal: linear-gradient(90deg,
      var(--t-cold) 0%, var(--t-cyan) 20%, var(--t-green) 40%,
      var(--t-yellow) 62%, var(--t-orange) 82%, var(--t-red) 100%);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Root size drives every rem on the site — bumping it scales all text up together */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 17.5px;
}
@media (max-width: 1024px) { html { font-size: 17px; } }
@media (max-width: 420px)  { html { font-size: 16.5px; } }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

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

a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(92%, 1220px); margin-inline: auto; }

/* ---------- Section scaffolding ---------- */
.section       { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #b8c6da; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head        { text-align: center; max-width: 720px; margin: 0 auto clamp(38px, 5vw, 62px); }
.section-head.left   { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--thermal);
}
.section--dark .eyebrow { color: var(--t-yellow); }

.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-head h2 .hl {
  background: var(--thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.03rem; }
.section--dark .section-head p { color: #94a6c0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
  color: #fff;
  box-shadow: 0 10px 26px rgba(228, 70, 27, .32);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(228, 70, 27, .45); }

.btn--navy  { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11, 60, 125, .3); }
.btn--wa    { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .32); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 11px 20px; font-size: .86rem; }

/* =========================================================
   Header
   ========================================================= */
.topbar {
  background: var(--navy-900);
  color: #9fb3cf;
  font-size: .8rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar a { color: #cfdcee; transition: color .2s; }
.topbar a:hover { color: var(--t-yellow); }
.topbar-left  { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { width: 14px; height: 14px; opacity: .75; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.topbar-social svg { width: 13px; height: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid rgba(223,230,241,.9);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(6,21,41,.09); background: rgba(255,255,255,.95); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}
.brand img { height: 66px; width: auto; transition: height .3s; image-rendering: -webkit-optimize-contrast; }
.site-header.scrolled .brand img { height: 56px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--paper-3); }
.main-nav a.active { color: #fff; background: var(--navy); }

/* highlighted "Book Inspection" nav item */
.main-nav a.nav-cta {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
  box-shadow: 0 6px 16px rgba(228, 70, 27, .28);
}
.main-nav a.nav-cta:hover { background: linear-gradient(135deg, #ff8a3d, #e83320); filter: brightness(1.03); }
.main-nav a.nav-cta.active { color: #fff; background: linear-gradient(135deg, var(--t-orange), var(--t-red)); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(1100px 620px at 78% 12%, #10508f 0%, transparent 62%),
              radial-gradient(900px 560px at 8% 88%, #0a3266 0%, transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(80px, 9vw, 120px);
}
/* faint technical grid */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
/* drifting heat blooms */
.hero::after {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  right: -160px; top: -140px;
  background: radial-gradient(circle, rgba(244,121,32,.30) 0%, rgba(225,37,27,.14) 38%, transparent 68%);
  filter: blur(30px);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, 50px) scale(1.14); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 500;
  color: #d8e4f5;
  margin-bottom: 22px;
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--thermal);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.1vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}
.hero h1 .thermal-text {
  background: var(--thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero .lead {
  color: #a9bcd6;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-usps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 22px;
  margin-bottom: 34px;
  max-width: 520px;
}
.hero-usps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  font-weight: 500;
  color: #dbe6f4;
}
.hero-usps .tick {
  width: 22px; height: 22px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(61,155,53,.22);
  border: 1px solid rgba(61,155,53,.5);
}
.hero-usps .tick svg { width: 12px; height: 12px; color: #6ee07a; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-proof .pf .n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-proof .pf .l { font-size: .76rem; color: #8fa4c2; letter-spacing: .04em; }

/* ---------- Hero thermal device visual ---------- */
.hero-visual { position: relative; }

.scanner {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.scanner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 14px;
  font-size: .72rem;
  color: #9db2d0;
  font-family: var(--font-display);
  letter-spacing: .06em;
}
.scanner-top .live { display: inline-flex; align-items: center; gap: 7px; color: #6ee07a; font-weight: 600; }
.scanner-top .live i { width: 7px; height: 7px; border-radius: 50%; background: #6ee07a; animation: pulse 1.4s infinite; }

.scan-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #06214a;
}
.scan-screen svg { width: 100%; height: 100%; display: block; }

/* sweeping scan line over the thermogram */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 22%;
  top: -22%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.30), transparent);
  animation: sweep 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%   { top: -22%; }
  50%  { top: 100%; }
  100% { top: -22%; }
}

/* temperature scale bar */
.scan-scale {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .68rem;
  color: #9db2d0;
  font-family: var(--font-display);
}
.scan-scale .bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: var(--thermal);
}

/* floating readout chips */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 17px; height: 17px; color: #fff; }
.chip .tx b { display: block; font-family: var(--font-display); font-size: .86rem; color: var(--ink); line-height: 1.2; }
.chip .tx span { font-size: .7rem; color: var(--muted); }

.chip--leak  { left: -26px; top: 16%;  animation-delay: .4s; }
.chip--leak  .ico { background: linear-gradient(135deg, var(--t-orange), var(--t-red)); }
.chip--dry   { right: -22px; bottom: 14%; animation-delay: 1.6s; }
.chip--dry   .ico { background: linear-gradient(135deg, var(--t-green), #2b7a26); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* =========================================================
   Marquee trust strip
   ========================================================= */
.trust-strip {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  overflow: hidden;
}
.trust-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-track .ti {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #a7bad6;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-track .ti svg { width: 19px; height: 19px; color: var(--t-orange); flex: none; }

/* =========================================================
   Service cards
   ========================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 22px;
}
.svc {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--thermal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }

.svc .ico {
  width: 56px; height: 56px;
  border-radius: 17px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: transform .35s var(--ease);
}
.svc:hover .ico { transform: rotate(-7deg) scale(1.07); }
.svc .ico svg { width: 27px; height: 27px; color: #fff; }
.svc h3 { font-size: 1.11rem; margin-bottom: 9px; }
.svc p  { color: var(--muted); font-size: .93rem; }

/* icon tints */
.ic-red    { background: linear-gradient(135deg, #ff6a4d, var(--t-red)); }
.ic-orange { background: linear-gradient(135deg, #ffa53d, var(--t-orange)); }
.ic-yellow { background: linear-gradient(135deg, #ffd75e, #e8a90d); }
.ic-green  { background: linear-gradient(135deg, #66c95c, var(--t-green)); }
.ic-cyan   { background: linear-gradient(135deg, #45c9e6, var(--t-cyan)); }
.ic-blue   { background: linear-gradient(135deg, #4b8dee, var(--t-cold)); }
.ic-navy   { background: linear-gradient(135deg, #2a6bb8, var(--navy)); }
.ic-plum   { background: linear-gradient(135deg, #a56de0, #6f3fb8); }

/* =========================================================
   The Science section
   ========================================================= */
.science-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}
.science-diagram {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.science-diagram svg { width: 100%; height: auto; display: block; border-radius: var(--r); }

.sci-steps { display: grid; gap: 16px; margin-top: 8px; }
.sci-step {
  display: flex;
  gap: 17px;
  padding: 19px 21px;
  border-radius: var(--r);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  transition: background .3s, transform .3s var(--ease);
}
.sci-step:hover { background: rgba(255,255,255,.09); transform: translateX(6px); }
.sci-step .n {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
}
.sci-step:nth-child(1) .n { background: linear-gradient(135deg, var(--t-cold), #1348a8); border-color: transparent; }
.sci-step:nth-child(2) .n { background: linear-gradient(135deg, var(--t-cyan), #0d7e9c); border-color: transparent; }
.sci-step:nth-child(3) .n { background: linear-gradient(135deg, var(--t-orange), var(--t-red)); border-color: transparent; }
.sci-step h4 { font-size: 1rem; color: #fff; margin-bottom: 5px; }
.sci-step p  { font-size: .89rem; color: #93a7c3; }

.sci-note {
  margin-top: 24px;
  padding: 17px 20px;
  border-radius: var(--r);
  background: rgba(244,121,32,.11);
  border: 1px solid rgba(244,121,32,.3);
  border-left: 3px solid var(--t-orange);
  font-size: .9rem;
  color: #e7d3bf;
}
.sci-note b { color: #fff; }

/* =========================================================
   Process timeline
   ========================================================= */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process::before {
  content: '';
  position: absolute;
  top: 33px; left: 8%; right: 8%;
  height: 2px;
  background: var(--thermal);
  opacity: .35;
}
.pstep { position: relative; text-align: center; }
.pstep .dot {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--line);
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.pstep:hover .dot {
  transform: translateY(-6px) scale(1.06);
  border-color: transparent;
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
  color: #fff;
  box-shadow: 0 14px 30px rgba(228,70,27,.34);
}
.pstep h4 { font-size: 1.03rem; margin-bottom: 8px; }
.pstep p  { color: var(--muted); font-size: .89rem; }

/* =========================================================
   Why-us feature list
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 22px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
}
.why .ico svg { width: 21px; height: 21px; color: #fff; }
.why h4 { font-size: .99rem; margin-bottom: 5px; }
.why p  { font-size: .87rem; color: var(--muted); }

/* =========================================================
   Before / after reveal slider
   ========================================================= */
.ba-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  background: #06214a;
}
.ba .layer { position: absolute; inset: 0; }
.ba .layer svg { width: 100%; height: 100%; display: block; }
.ba .layer--after { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba .handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0,0,0,.45);
  pointer-events: none;
}
.ba .handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.32);
}
.ba .handle::before {
  content: '⟺';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  font-size: 1rem;
  color: var(--navy);
}
.ba .tag {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
  z-index: 4;
}
.ba .tag--l { left: 14px;  background: rgba(225,37,27,.85); }
.ba .tag--r { right: 14px; background: rgba(61,155,53,.85); }
.ba .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 15px;
  background: linear-gradient(transparent, rgba(4,26,58,.9));
  color: #fff;
  font-size: .87rem;
  font-family: var(--font-display);
  z-index: 4;
}

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.11);
}
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  background: var(--thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l { margin-top: 10px; font-size: .85rem; color: #93a7c3; }

/* =========================================================
   Testimonials
   ========================================================= */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.tst {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 27px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tst:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tst .quote {
  position: absolute;
  top: 20px; right: 24px;
  font-family: Georgia, serif;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--paper-3);
}
.tst .stars { color: var(--t-yellow); letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.tst p { color: var(--text); font-size: .95rem; margin-bottom: 20px; position: relative; z-index: 2; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.tst .av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--thermal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}
.tst .who b { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--ink); }
.tst .who span { font-size: .8rem; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 830px; margin-inline: auto; display: grid; gap: 13px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #c9d7ea; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after {
  content: '−';
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}
.faq .a { padding: 0 24px 22px; color: var(--muted); font-size: .94rem; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  padding: clamp(46px, 6vw, 70px) 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  right: -120px; top: -220px;
  background: radial-gradient(circle, rgba(244,121,32,.34), transparent 66%);
  filter: blur(26px);
}
.cta-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.95rem); max-width: 620px; }
.cta-band p { color: #a9bcd6; margin-top: 9px; font-size: .96rem; }
.cta-band .acts { display: flex; gap: 13px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #8fa4c2; padding-top: clamp(52px, 6vw, 76px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 38px;
  padding-bottom: 44px;
}
.site-footer .brand-f img {
  height: 58px;
  margin-bottom: 18px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  box-sizing: content-box;
}
.site-footer p { font-size: .9rem; line-height: 1.75; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; font-size: .9rem; }
.site-footer ul a { transition: color .2s, padding-left .2s; }
.site-footer ul a:hover { color: var(--t-orange); padding-left: 5px; }
.f-contact li { display: flex; gap: 11px; align-items: flex-start; }
.f-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--t-orange); }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-social a {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  transition: background .25s, transform .25s;
}
.f-social a:hover { background: var(--thermal); transform: translateY(-3px); }
.f-social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 20px 0;
  text-align: center;
  font-size: .84rem;
}

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 300;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp);
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 29px; height: 29px; color: #fff; }
.wa-float:hover { transform: scale(1.1); }
.wa-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* =========================================================
   Inner page banner
   ========================================================= */
.page-banner {
  position: relative;
  overflow: hidden;
  background: radial-gradient(800px 420px at 76% 20%, #10508f 0%, transparent 62%),
              linear-gradient(150deg, var(--navy-900), var(--ink));
  color: #fff;
  padding: clamp(52px, 7vw, 84px) 0;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-banner .crumb { margin-top: 12px; font-size: .9rem; color: #93a7c3; }
.page-banner .crumb a { color: var(--t-yellow); }

/* =========================================================
   Gallery
   ========================================================= */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-bar button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .87rem;
  cursor: pointer;
  color: var(--ink);
  transition: all .25s var(--ease);
}
.filter-bar button:hover { border-color: var(--navy); }
.filter-bar button.active {
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(228,70,27,.3);
}
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.gal-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #06214a;
}
.gal-item svg { width: 100%; height: 100%; display: block; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }

/* Code-drawn thermogram tile — --x/--y place the anomaly */
.thermo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--x, 50%) var(--y, 50%),
      #1231a8 0%, #1e63d6 11%, #17a7c9 22%, #3d9b35 36%, #8fb020 62%, #c9a318 100%);
}
.thermo--hot {
  background:
    radial-gradient(circle at var(--x, 50%) var(--y, 50%),
      #ffe66b 0%, #f2c218 10%, #f47920 22%, #e1251b 36%, #3d9b35 68%, #1e63d6 100%);
}
/* scanlines + crosshair */
.thermo::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.05) 0 1px, transparent 1px 6px);
}
.thermo::after {
  content: '';
  position: absolute;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.thermo .temp {
  position: absolute;
  left: calc(var(--x, 50%) + 20px);
  top: calc(var(--y, 50%) - 22px);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.gal-item .ov {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(transparent 45%, rgba(4,26,58,.88));
  color: #fff;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s;
}
.gal-item:hover .ov { opacity: 1; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 52px); }
.ci-list { display: grid; gap: 20px; }
.ci {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ci:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ci .ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.ci .ico svg { width: 20px; height: 20px; color: #fff; }
.ci h4 { font-size: .95rem; margin-bottom: 4px; }
.ci p, .ci a { font-size: .9rem; color: var(--muted); }
.ci a:hover { color: var(--accent); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .94rem;
  color: var(--text);
  background: var(--paper-2);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,121,32,.12);
}
.field textarea { min-height: 118px; resize: vertical; }

.map-embed { margin-top: 34px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* =========================================================
   About page bits
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  font-size: .95rem;
}
.check-list .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(61,155,53,.14);
}
.check-list .tick svg { width: 12px; height: 12px; color: var(--t-green); }

.area-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.area-badge svg { width: 17px; height: 17px; color: var(--t-orange); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* placeholder note (for content still to be supplied) */
.note-placeholder {
  background: #fff8e8;
  border: 1px dashed #eab54a;
  color: #8a5a00;
  padding: 12px 17px;
  border-radius: 12px;
  font-size: .84rem;
  margin-top: 18px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero .container,
  .science-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; }
  .chip { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px 0;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 0 5%; }
  .main-nav a { padding: 13px 16px; border-radius: 12px; }
  .nav-toggle { display: grid; }
  .header-cta .btn--navy { display: none; }
  .topbar-left { justify-content: center; width: 100%; gap: 14px; font-size: .76rem; }
  .topbar-social { display: none; }
}

@media (max-width: 620px) {
  .hero-usps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 460px) {
  .process, .stats { grid-template-columns: 1fr; }
  .hero-proof { gap: 18px; }
}

/* =========================================================
   LIGHT HERO (override) — matches the reference layout
   ========================================================= */
.hero {
  background:
    radial-gradient(880px 520px at 84% 6%, rgba(244,121,32,.12) 0%, transparent 58%),
    radial-gradient(720px 520px at 4% 96%, rgba(30,99,214,.10) 0%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, var(--paper-2) 100%);
  color: var(--ink);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
}
.hero::before {
  background-image:
    linear-gradient(rgba(11,60,125,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,60,125,.055) 1px, transparent 1px);
}
.hero::after { opacity: .55; }

.hero-badge {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
/* bigger, higher-contrast hero text so it reads clearly */
.hero h1 { color: var(--ink); font-size: clamp(2.5rem, 5.8vw, 4.3rem); letter-spacing: -.03em; }
.hero .lead { color: var(--text); font-size: clamp(1.12rem, 1.9vw, 1.34rem); line-height: 1.6; max-width: 560px; }
.hero-usps li { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.hero-usps .tick { background: rgba(61,155,53,.14); border-color: rgba(61,155,53,.4); }
.hero-usps .tick svg { color: var(--t-green); }
.hero-proof { border-top-color: var(--line); }
.hero-proof .pf .n { color: var(--ink); font-size: 1.7rem; }
.hero-proof .pf .l { color: var(--muted); font-size: .88rem; }
.hero .btn { font-size: 1rem; padding: 16px 30px; }

/* ---- hero photo ---- */
.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 9 / 8;
  background: #06214a;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
.hero-photo .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.hero-photo .frame::after {  /* subtle brand tint at the base */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 62%, rgba(4,26,58,.42));
}
.hero-photo .ph-badge {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(4,26,58,.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.hero-photo .ph-badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6ee07a; animation: pulse 1.5s infinite;
}
.hero-photo .ph-card {
  position: absolute;
  right: -18px; bottom: 42px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px;
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.hero-photo .ph-card .ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--t-orange), var(--t-red));
}
.hero-photo .ph-card .ico svg { width: 19px; height: 19px; color: #fff; }
.hero-photo .ph-card b { display: block; font-family: var(--font-display); font-size: .88rem; color: var(--ink); line-height: 1.15; }
.hero-photo .ph-card span { font-size: .72rem; color: var(--muted); }

/* =========================================================
   Four core pillars
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  position: relative;
  padding: 30px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--thermal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.pillar:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .ico {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 19px;
  display: grid; place-items: center;
}
.pillar .ico svg { width: 30px; height: 30px; color: #fff; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p { font-size: .89rem; color: var(--muted); }
.pillar .step-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================
   Real-work photo gallery
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.work-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #06214a;
}
.work-item.tall { grid-row: span 2; }
.work-item.wide { grid-column: span 2; }
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.work-item:hover img { transform: scale(1.06); }
.work-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 15px 13px;
  background: linear-gradient(transparent, rgba(4,26,58,.9));
  color: #fff;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.work-item:hover .cap { opacity: 1; transform: none; }
.work-item .badge-cat {
  position: absolute; top: 11px; left: 11px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(4,26,58,.6);
  backdrop-filter: blur(5px);
}

@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  /* uniform tiles on tablet — the tall/wide spans leave empty cells in a 2-col grid */
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .work-item.tall { grid-row: span 1; }
  .work-item.wide { grid-column: span 1; }
  .hero-photo .frame { aspect-ratio: 9 / 8; max-width: 520px; margin-inline: auto; }
  .hero-photo .ph-card { right: 10px; }
}
/* odd number of tiles: let the last one fill the final row on tablet */
@media (min-width: 561px) and (max-width: 980px) {
  .work-item:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .work-item.wide { grid-column: span 1; }
  .work-item.tall { grid-row: span 1; }
  .hero-photo .ph-card { display: none; }
}

/* =========================================================
   Phone refinements
   ========================================================= */
@media (max-width: 560px) {
  /* the email is too long for a phone-width top bar and forces a 3-line stack */
  .topbar-left span:nth-child(2) { display: none; }
  .topbar-left { gap: 16px; }

  /* keep the brand pill on one line, let the location text wrap below it */
  .hero-badge { flex-wrap: wrap; row-gap: 7px; padding: 8px 15px 8px 8px; }
  .hero-badge b { white-space: nowrap; }

  /* headline was running to 6 lines at 375px — still large, just less dominant */
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.7rem); }

  .hero-proof { gap: 14px 24px; }
  .hero-proof .pf .n { font-size: 1.5rem; }
  .hero-proof .pf .l { font-size: .82rem; }

  .section-head h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .cta-band .acts { width: 100%; }
  .cta-band .acts .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .topbar-left span:nth-child(3) { display: none; }  /* hours — phone number is the priority */
}

/* =========================================================
   Booking fee + UPI payment box (Book page)
   ========================================================= */
.fee-box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, #fff, var(--paper-2));
  padding: 18px;
  margin-bottom: 22px;
}
.fee-top { display: flex; align-items: center; gap: 13px; }
.fee-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--t-green), #2b7a26);
}
.fee-ico svg { width: 21px; height: 21px; color: #fff; }
.fee-txt { flex: 1; }
.fee-txt b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); }
.fee-txt span { font-size: .82rem; color: var(--muted); }
.fee-amt {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--navy); white-space: nowrap;
}
.fee-amt-num { letter-spacing: 1px; }

.fee-qr { display: flex; align-items: center; gap: 15px; margin-top: 15px; }
.fee-qr img { width: 158px; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; object-fit: contain; flex: none; }
.fee-qr .qr-slot {
  flex: none; width: 104px; height: 104px; border-radius: 10px;
  border: 2px dashed #c6d1e0; background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  color: var(--muted); letter-spacing: .08em;
}
.fee-qr p { font-size: .86rem; color: var(--text); }
.fee-tc { margin-top: 13px; font-size: .76rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 420px) {
  .fee-qr { flex-direction: column; align-items: flex-start; }
}
