/* NG Electrical Experts — Professional redesign */
:root {
  --ink: #0a2340;
  --charcoal: #0d2c4d;
  --steel: #16375f;
  --slate: #2a4a6d;
  --paper: #f2f5f8;
  --mist: #e4ebf1;
  --muted: #5f7388;
  --text: #1c3048;
  --brand: #6cbf2a;
  --brand-deep: #57a822;
  --volt: #ffd100;
  --volt-deep: #e6bc00;
  --amber: #ffd100;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(10, 35, 64, 0.16);
  --container: 1180px;
  --gutter: clamp(1rem, 3.2vw, 1.5rem);
  --nav-h: 82px;
  --topbar-h: 42px;
  --chrome-h: calc(var(--topbar-h) + var(--nav-h));
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --touch: 44px;

  /* Shared page surfaces (all sections except hero) */
  --bg-light: #ffffff;
  --bg-tint: #f2f5f8;
  --bg-dark: #0a2340;
  --surface-glow: radial-gradient(ellipse 72% 48% at 50% -10%, rgba(108, 191, 42, 0.07), transparent 58%);
  --surface-glow-dark: radial-gradient(ellipse 65% 55% at 85% 0%, rgba(108, 191, 42, 0.14), transparent 55%);
  --surface-grid:
    linear-gradient(rgba(10, 35, 64, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 64, 0.035) 1px, transparent 1px);
  --surface-grid-dark:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  --surface-grid-size: 32px 32px;
  --rule-bar: linear-gradient(90deg, var(--brand) 0%, var(--volt) 50%, var(--ink) 100%);
  --rule-accent: linear-gradient(90deg, var(--brand), var(--volt));
  --section-pad: clamp(2.75rem, 5.5vw, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

/* Contact details stay selectable/copyable; form fields stay editable */
a[href^="tel:"],
a[href^="mailto:"],
a[href*="wa.me"],
.topbar-contact,
.topbar-contact *,
.footer-contact,
.footer-contact *,
.contact-tile,
.contact-tile *,
.contact-emergency,
.contact-emergency *,
.legal-contact-row,
.legal-contact-row *,
.cta-band-call,
.is-selectable,
.is-selectable *,
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

iframe {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-pad) 0;
}

/* Shared surfaces — consistent backgrounds/patterns (hero excluded) */
.specialist,
.gallery,
.accreditations,
.section-alt {
  position: relative;
  background-color: var(--bg-light);
  background-image: var(--surface-glow), var(--surface-grid);
  background-size: auto, var(--surface-grid-size), var(--surface-grid-size);
  background-position: center top, 0 0, 0 0;
  overflow: hidden;
}

.services-full,
.offer-band,
.cases {
  position: relative;
  background-color: var(--bg-tint);
  background-image: var(--surface-glow), var(--surface-grid);
  background-size: auto, var(--surface-grid-size), var(--surface-grid-size);
  background-position: center top, 0 0, 0 0;
  overflow: hidden;
}

.feature-split,
.process,
.cta-band {
  position: relative;
  background-color: var(--bg-dark);
  background-image:
    var(--surface-glow-dark),
    linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 55%, #0f2f52 100%),
    var(--surface-grid-dark);
  background-size: auto, auto, var(--surface-grid-size), var(--surface-grid-size);
  background-position: center top, center, 0 0, 0 0;
  overflow: hidden;
}

.specialist::before,
.services-full::before,
.gallery::before,
.accreditations::before,
.offer-band::before,
.cases::before,
.section-alt::before,
.feature-split::before,
.process::before,
.areas::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rule-bar);
  z-index: 2;
  pointer-events: none;
}

.section-head .section-title::after,
.specialist-head .section-title::after,
.services-full-head .section-title::after,
.gallery-head .section-title::after,
.accreditations-head .section-title::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--rule-accent);
  border-radius: 2px;
}

.section-head.center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-head:not(.center) .section-title::after {
  margin-left: 0;
  margin-right: auto;
}

.feature-split .section-title::after,
.areas .section-title::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3px;
  margin: 0.75rem 0 0;
  background: var(--rule-accent);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-volt {
  background: var(--brand);
  color: var(--white);
}

.btn-volt:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--steel);
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(108, 191, 42, 0.22);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar-contact a,
.topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-contact i {
  color: var(--brand);
}

.topbar-social {
  display: flex;
  gap: 0.65rem;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.topbar-social a:hover {
  background: var(--brand);
  color: var(--white);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 28, 39, 0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(11, 16, 23, 0.08);
}

.nav {
  min-height: var(--nav-h);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links > li > a {
  display: block;
  padding: 0.45rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--mist);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.dropdown {
  position: relative;
}

.mega-dropdown {
  position: static;
}

.mega-dropdown > a i {
  font-size: 0.65rem;
  margin-left: 0.2rem;
  transition: transform 0.3s var(--ease);
}

.mega-dropdown:hover > a i,
.mega-dropdown.is-open > a i {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 0 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
  z-index: 30;
  pointer-events: none;
}

/* Thin hover bridge in the gap only — must NOT cover the navbar links */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
  pointer-events: none;
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown:focus-within .mega-menu,
.mega-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* Only the panel + thin bridge receive clicks; navbar stays clickable */
.mega-dropdown:hover .mega-menu-panel,
.mega-dropdown:focus-within .mega-menu-panel,
.mega-dropdown.is-open .mega-menu-panel,
.mega-dropdown:hover .mega-menu::before,
.mega-dropdown:focus-within .mega-menu::before,
.mega-dropdown.is-open .mega-menu::before {
  pointer-events: auto;
}

.mega-menu-panel {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
  box-shadow: 0 24px 60px rgba(10, 35, 64, 0.16);
  overflow: hidden;
  pointer-events: none;
}

.mega-menu-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.35rem 0.5rem 1.35rem 0.75rem;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(108, 191, 42, 0.06), transparent 55%),
    var(--white);
}

.mega-col {
  padding: 0 1rem;
  border-right: 1px solid rgba(10, 35, 64, 0.06);
}

.mega-col:last-child {
  border-right: 0;
}

.mega-col h4 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(108, 191, 42, 0.25);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.mega-col ul {
  display: grid;
  gap: 0.2rem;
}

.mega-col a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0.45rem;
  color: var(--text);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.mega-col a:hover {
  background: rgba(108, 191, 42, 0.08);
}

.mega-col a i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--volt);
  font-size: 0.85rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.mega-col a:hover i {
  background: var(--brand);
  color: var(--white);
}

.mega-col a strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}

.mega-col a small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
}

.mega-featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.6rem 1.35rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(108, 191, 42, 0.22), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--white);
}

.mega-featured-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.mega-featured strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.mega-featured p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mega-featured .btn {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 46px;
  font-size: 0.95rem;
}

.mega-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.mega-featured-link:hover {
  color: var(--volt);
}

/* Legacy single-column dropdown (unused fallback) */
.dropdown-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: calc(100vh - var(--chrome-h));
  height: calc(100dvh - var(--chrome-h));
  min-height: 520px;
  max-height: calc(100vh - var(--chrome-h));
  max-height: calc(100dvh - var(--chrome-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 0;
}

.hero-media,
.hero-media video,
.hero-media .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-media.has-video .hero-video.is-playing {
  opacity: 1;
}

.hero-media.has-video .hero-poster {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 35, 64, 0.72) 0%, rgba(10, 35, 64, 0.55) 45%, rgba(10, 35, 64, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 3rem) 0 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
}

.hero h1 {
  max-width: none;
  width: 100%;
  margin: 0 auto 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--white);
  animation: rise 0.9s 0.1s var(--ease) both;
}

.hero h1 .text-brand {
  color: var(--brand);
}

.hero h1 .text-volt {
  color: var(--volt);
}

.hero h1::after {
  content: "";
  display: block;
  width: min(12rem, 40%);
  height: 3px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--volt) 100%);
  border-radius: 2px;
}

.hero-lead {
  max-width: 40rem;
  margin: 0 auto 1.6rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s 0.18s var(--ease) both;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.35rem;
  width: min(100%, 760px);
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.35rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.hero-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--volt);
  color: var(--ink);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  animation: rise 0.9s 0.28s var(--ease) both;
}

.hero-actions .btn-volt {
  min-width: 180px;
}

.hero-scroll {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Trust strip — locked to bottom of first screen */
.trust-strip {
  position: relative;
  z-index: 4;
  background: var(--brand);
  color: var(--white);
  border-top: 2px solid var(--ink);
}

.trust-strip--overlap {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: none;
  flex-shrink: 0;
  width: 100%;
  box-shadow: 0 14px 40px rgba(10, 35, 64, 0.22);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 1rem;
  padding: 1.15rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-item i {
  font-size: 1.05rem;
  color: #fff;
}

/* Full services list — premium category panels */
.services-full-head {
  max-width: 580px;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 4;
  background: linear-gradient(180deg, var(--brand), var(--volt));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10, 35, 64, 0.16);
  border-color: rgba(108, 191, 42, 0.35);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.95);
  transition: transform 0.75s var(--ease), filter 0.5s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(1.05);
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 35, 64, 0.15) 0%, transparent 42%, rgba(10, 35, 64, 0.72) 100%);
  pointer-events: none;
}

.service-index {
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--volt);
}

.service-card-icon {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(10, 35, 64, 0.28);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.service-card:hover .service-card-icon {
  background: var(--volt);
  color: var(--ink);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem 1.2rem 1.3rem;
  flex: 1;
  background:
    linear-gradient(180deg, rgba(243, 246, 248, 0.65) 0%, var(--white) 28%);
}

.service-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.1;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-list li i {
  margin-top: 0.28rem;
  color: var(--brand);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(10, 35, 64, 0.08);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--brand);
  transition: color 0.3s var(--ease);
}

.service-link:hover {
  color: var(--brand-deep);
}

.service-link--urgent {
  color: var(--ink);
}

.service-link--urgent:hover {
  color: var(--brand);
}

.service-link i {
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

.services-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.services-cta .btn-volt {
  min-width: 220px;
}

/* Specialist services — premium image tiles */
.specialist-head {
  max-width: 560px;
  margin-bottom: 2rem;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.specialist-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10, 35, 64, 0.22);
}

.specialist-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 3;
  background: linear-gradient(180deg, var(--brand), var(--volt));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.specialist-card:hover::before,
.specialist-card:focus-visible::before {
  transform: scaleY(1);
}

.specialist-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.specialist-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.specialist-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.95);
  transition: transform 0.75s var(--ease), filter 0.5s var(--ease);
}

.specialist-card:hover .specialist-card-media img {
  transform: scale(1.06);
  filter: brightness(0.55) saturate(1.05);
}

.specialist-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 2.75rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 35, 64, 0.55) 38%, rgba(10, 35, 64, 0.94) 100%);
}

.specialist-index {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--volt);
  margin-bottom: 0.2rem;
}

.specialist-card-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.specialist-card-body p {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.specialist-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.specialist-cta i {
  transition: transform 0.3s var(--ease);
}

.specialist-card:hover .specialist-cta i {
  transform: translateX(4px);
}

/* Why choose 3-up */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.75rem 1.4rem;
  background: var(--white);
  border-top: 3px solid var(--brand);
}

.why-card i {
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.why-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

/* Split feature */
.feature-split {
  color: var(--white);
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.feature-split .section-title {
  color: var(--white);
}

.feature-split .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
}

.feature-list h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
}

.feature-visual {
  position: relative;
  min-height: 520px;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.feature-visual-accent {
  position: absolute;
  inset: auto 8% -4% -4%;
  height: 42%;
  border: 2px solid var(--brand);
  z-index: -1;
}

.feature-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(10, 35, 64, 0.9);
  border-left: 3px solid var(--volt);
  backdrop-filter: blur(8px);
}

.feature-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--volt);
}

.feature-badge span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Offer band */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item {
  padding: 1.75rem 1.4rem;
  border-top: 3px solid var(--brand);
  background: var(--white);
  transition: transform 0.35s var(--ease);
}

.offer-item:hover {
  transform: translateY(-4px);
}

.offer-item i {
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 1rem;
}

.offer-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.offer-item p {
  margin: 0;
  color: var(--muted);
}

/* Process */
.process {
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process .section-copy {
  color: rgba(255, 255, 255, 0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.process-step:hover {
  border-color: rgba(108, 191, 42, 0.55);
  background: rgba(108, 191, 42, 0.08);
}

.process-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--volt);
  margin-bottom: 1rem;
}

.process-step h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Gallery — premium portfolio mosaic */
.gallery-head {
  max-width: 520px;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, 17vw);
  gap: 0.7rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  grid-column: span 3;
  isolation: isolate;
  cursor: default;
}

.gallery-item--hero {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 6;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.9) saturate(0.95);
}

.gallery-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 3;
  background: linear-gradient(180deg, var(--brand), var(--volt));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 35, 64, 0.88) 100%);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.gallery-caption {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7) saturate(1.05);
}

.gallery-item:hover::before {
  transform: scaleY(1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item--hero figcaption,
.gallery-item--wide figcaption {
  opacity: 1;
  transform: none;
}

.gallery-item--hero::after,
.gallery-item--wide::after {
  opacity: 0.75;
}

/* Case studies preview */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  background: var(--steel);
  color: inherit;
  text-decoration: none;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(11, 16, 23, 0.92));
  color: var(--white);
}

.case-card-content span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 0.4rem;
}

.case-card-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Accreditations — premium credentials */
.accreditations {
  padding-bottom: 0;
}

.accreditations-head {
  max-width: 620px;
  margin-bottom: 2rem;
}

.accredit-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.accredit-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 1.1rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.accredit-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--volt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.accredit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 35, 64, 0.12);
  border-color: rgba(108, 191, 42, 0.35);
}

.accredit-card:hover::before {
  transform: scaleX(1);
}

.accredit-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.78;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.accredit-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

.logo-marquee {
  overflow: hidden;
  padding: 1.15rem 0 1.35rem;
  background: var(--ink);
  border-top: 2px solid var(--brand);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-plate {
  display: grid;
  place-items: center;
  min-width: 120px;
  height: 64px;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--brand);
}

.logo-track img,
.logo-plate img {
  height: 42px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

/* Areas */
.areas {
  position: relative;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(135deg, rgba(10, 35, 64, 0.93), rgba(13, 44, 77, 0.88)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    url("images/images-14.jpg");
  background-size: auto, 32px 32px, 32px 32px, cover;
  background-position: center, 0 0, 0 0, center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  color: var(--white);
  overflow: hidden;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.areas .section-title {
  color: var(--white);
}

.areas .section-copy {
  color: rgba(255, 255, 255, 0.75);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0 2rem;
}

.area-tags span {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.areas-map {
  min-height: 420px;
  border: 1px solid rgba(255, 212, 29, 0.35);
  overflow: hidden;
  background: var(--steel);
}

.areas-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* CTA band — premium conversion strip */
.cta-band {
  color: var(--white);
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(108, 191, 42, 0.2);
  transform: translateY(-50%) rotate(18deg);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band-copy {
  max-width: 38rem;
}

.cta-band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.cta-band-eyebrow i {
  color: var(--brand);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--white);
}

.cta-band h2 span {
  color: var(--brand);
}

.cta-band p {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-band-call {
  min-width: 240px;
  box-shadow: 0 12px 28px rgba(108, 191, 42, 0.28);
}

.cta-band-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-band-secondary:hover {
  background: var(--volt);
  color: var(--ink);
  border-color: var(--volt);
}

/* Footer */
.site-footer {
  position: relative;
  background-color: var(--bg-dark);
  background-image: var(--surface-glow-dark), var(--surface-grid-dark);
  background-size: auto, var(--surface-grid-size), var(--surface-grid-size);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 1.5rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rule-bar);
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer p {
  margin: 0 0 1rem;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  background: var(--white);
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a:hover {
  color: var(--volt);
}

.footer-contact li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.footer-contact i {
  color: var(--volt);
  margin-top: 0.2rem;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: var(--brand);
}

/* Utilities */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.35s var(--ease);
  z-index: 50;
  box-shadow: 0 10px 30px rgba(11, 16, 23, 0.25);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  z-index: 50;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  :root {
    --nav-h: 70px;
    --topbar-h: 0px;
    --chrome-h: var(--nav-h);
  }

  .brand img {
    height: 56px;
  }

  .nav {
    min-height: var(--nav-h);
    padding: 0.3rem 0;
  }

  .topbar {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    min-width: var(--touch);
    min-height: var(--touch);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    margin-left: auto;
    margin-right: 0.45rem;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--mist);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
    z-index: 40;
  }

  .nav-links.is-open > li > a {
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
  }

  .nav-links.is-open .nav-cta,
  .site-header .nav-cta.is-mobile-show {
    display: inline-flex;
  }

  .dropdown-menu,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: 0;
    display: none;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-menu-panel {
    width: 100%;
    grid-template-columns: 1fr;
    border: 0;
    box-shadow: none;
    border-top: 0;
  }

  .mega-menu-cols {
    grid-template-columns: 1fr;
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .mega-col {
    padding: 0;
    border-right: 0;
  }

  .mega-col h4 {
    margin-bottom: 0.5rem;
  }

  .mega-featured {
    padding: 1.1rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .mega-featured .btn {
    width: 100%;
  }

  .dropdown.is-open .dropdown-menu,
  .mega-dropdown.is-open .mega-menu {
    display: block;
  }

  .services-grid,
  .specialist-grid,
  .offer-grid,
  .process-grid,
  .cases-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accredit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(140px, 22vw);
  }

  .gallery-item {
    grid-column: span 2;
  }

  .gallery-item--hero {
    grid-column: span 4;
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 4;
  }

  .feature-split-grid,
  .areas-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-visual,
  .feature-visual img {
    min-height: 340px;
  }

  .reviews-grid,
  .cases-index-grid,
  .service-hub-grid,
  .info-cards,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-row,
  .case-detail-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-features {
    border-radius: 18px;
    gap: 0.75rem 1rem;
    padding: 0.95rem 1.1rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero h1 {
    white-space: normal;
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  }

  .hero-content {
    width: min(100% - (var(--gutter) * 2), var(--container));
  }

  .areas-map,
  .areas-map iframe {
    min-height: 340px;
  }

  .footer-bottom {
    gap: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .course-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 0.85rem;
    --section-pad: clamp(2.25rem, 8vw, 3.5rem);
    --nav-h: 64px;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: min(560px, calc(100dvh - var(--chrome-h)));
    max-height: none;
    height: auto;
  }

  .hero-content {
    width: min(100% - (var(--gutter) * 2), var(--container));
    padding: 1.5rem 0 1rem;
  }

  .areas-map,
  .areas-map iframe {
    min-height: 280px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    justify-content: center;
  }

  .footer-brand img {
    height: 52px;
  }

  .hero h1 {
    white-space: normal;
    font-size: clamp(1.45rem, 7vw, 2rem);
    letter-spacing: 0.03em;
    line-height: 1.15;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-radius: 14px;
    padding: 0.85rem 1rem;
  }

  .hero-features li {
    white-space: normal;
  }

  .specialist-card {
    aspect-ratio: 16 / 10;
  }

  .specialist-card-body {
    padding: 2.2rem 1rem 1rem;
  }

  .accredit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .accredit-card {
    min-height: 88px;
    padding: 0.85rem 0.65rem;
  }

  .accredit-card img {
    max-height: 48px;
  }

  .services-grid,
  .specialist-grid,
  .offer-grid,
  .process-grid,
  .cases-grid,
  .why-grid,
  .reviews-grid,
  .cases-index-grid,
  .service-hub-grid,
  .info-cards,
  .work-grid,
  .stat-row,
  .case-detail-meta {
    grid-template-columns: 1fr;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem 0.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, 40vw);
    gap: 0.5rem;
  }

  .gallery-item,
  .gallery-item--hero,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .gallery-item--hero {
    grid-column: span 2;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .gallery-item::after {
    opacity: 0.72;
  }

  .gallery-item {
    min-height: 150px;
  }

  .trust-item {
    justify-content: flex-start;
    padding-left: 0.5rem;
    font-size: 0.9rem;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band-call,
  .cta-band-secondary {
    width: 100%;
    min-width: 0;
  }

  .cta-band::after {
    display: none;
  }

  .page-hero {
    min-height: 240px;
  }

  .page-hero-content {
    padding: 3.25rem 0 1.75rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .two-col,
  .contact-grid,
  .course-cards,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-block {
    grid-template-columns: 36px 1fr;
    padding: 1.1rem 1rem;
  }

  .course-nav {
    gap: 0.4rem;
  }

  .course-nav a,
  .course-nav button {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
  }

  .btn {
    min-height: var(--touch);
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    left: 1rem;
  }

  .back-top {
    right: 1rem;
    bottom: 1rem;
  }

  .nav-cta {
    display: none;
  }
}
/* ========== Inner pages ========== */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-media,
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 35, 64, 0.55) 0%, rgba(10, 35, 64, 0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto;
  padding: 4.5rem 0 2.75rem;
}

.page-hero .eyebrow {
  color: var(--volt);
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--rule-accent);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.page-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-chips i {
  color: var(--brand);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--volt);
}

.breadcrumb a:hover {
  color: var(--white);
}

.content-block {
  max-width: 720px;
}

.content-block h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.content-block h3,
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}

.content-block p,
.prose p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text);
}

.check-list i {
  color: var(--brand);
  margin-top: 0.28rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.two-col-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 320px;
}

.two-col-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
}

.info-card i {
  color: var(--brand);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--volt);
  letter-spacing: 0.04em;
}

.stat-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

.contact-section {
  position: relative;
  background-color: var(--bg-tint);
  background-image: var(--surface-glow), var(--surface-grid);
  background-size: auto, var(--surface-grid-size), var(--surface-grid-size);
  overflow: visible;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rule-bar);
  z-index: 2;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 0.85rem;
}

.contact-aside-intro {
  margin-bottom: 0.35rem;
}

.contact-aside-intro h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.contact-aside-intro h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--rule-accent);
}

.contact-aside-intro p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-tile {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-left: 3px solid var(--brand);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

a.contact-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 35, 64, 0.1);
  border-color: rgba(108, 191, 42, 0.35);
}

.contact-tile-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--volt);
  font-size: 1.05rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

a.contact-tile:hover .contact-tile-icon {
  background: var(--brand);
  color: var(--white);
}

.contact-tile--whatsapp .contact-tile-icon {
  background: #128c7e;
  color: var(--white);
}

a.contact-tile--whatsapp:hover .contact-tile-icon {
  background: #25d366;
  color: var(--white);
}

.contact-tile-label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-tile-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.contact-tile-body small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-emergency {
  margin-top: 0.35rem;
  padding: 1.35rem 1.25rem;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(108, 191, 42, 0.2), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--white);
  display: grid;
  gap: 0.45rem;
}

.contact-emergency-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
}

.contact-emergency strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.contact-emergency p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.contact-emergency .btn {
  justify-self: start;
  min-height: 46px;
  margin-top: 0.25rem;
}

.form-card {
  position: relative;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
  box-shadow: 0 22px 50px rgba(10, 35, 64, 0.1);
  overflow: hidden;
}

.form-card-head {
  padding: 1.6rem 1.6rem 1.2rem;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(108, 191, 42, 0.08), transparent 55%),
    linear-gradient(180deg, #f7faf7 0%, var(--white) 100%);
  border-bottom: 1px solid rgba(10, 35, 64, 0.06);
}

.form-card-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.form-card-head h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--rule-accent);
}

.form-card-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.form-grid {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.6rem 1.6rem;
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 0.88rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(10, 35, 64, 0.12);
  background: var(--bg-tint);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form-grid input:hover,
.form-grid textarea:hover,
.form-grid select:hover {
  border-color: rgba(108, 191, 42, 0.45);
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(108, 191, 42, 0.18);
}

.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-actions .btn {
  width: 100%;
  min-height: 52px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.form-note a {
  color: var(--brand);
  font-weight: 600;
}

.form-note a:hover {
  color: var(--brand-deep);
}

.form-alert {
  margin: 0 1.35rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-alert--success {
  background: rgba(108, 191, 42, 0.12);
  border: 1px solid rgba(108, 191, 42, 0.35);
  color: var(--ink);
}

.form-alert--error {
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.28);
  color: #7a1f18;
}

.form-alert a {
  color: inherit;
  text-decoration: underline;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep older contact-tile text selectors from breaking */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
}

.review-card .stars {
  color: var(--volt);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--volt);
  font-family: var(--font-display);
  font-weight: 700;
}

.review-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.review-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.work-tabs button {
  appearance: none;
  border: 1px solid rgba(10, 35, 64, 0.14);
  background: var(--white);
  color: var(--ink);
  padding: 0.65rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.work-tabs button.is-active,
.work-tabs button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.work-panels [data-panel] {
  display: none;
}

.work-panels [data-panel].is-active {
  display: grid;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.work-grid figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-grid figure:hover img {
  transform: scale(1.05);
}

.cases-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-index-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  overflow: hidden;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.case-index-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-index-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.case-index-card .body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: grid;
  gap: 0.45rem;
}

.case-index-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--ink);
}

.case-index-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-index-card .meta {
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.case-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
}

.case-detail-meta .item {
  padding: 1.1rem 1rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
  text-align: center;
  box-shadow: 0 12px 28px rgba(10, 35, 64, 0.08);
}

.case-detail-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-transform: uppercase;
}

.case-detail-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-hub-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  aspect-ratio: 16 / 11;
}

.service-hub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.service-hub-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

.service-hub-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.course-card {
  padding: 1.6rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
}

.course-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand);
  font-weight: 700;
}

.course-card h3 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--ink);
}

.course-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--brand);
}

.course-nav a,
.course-nav button {
  appearance: none;
  padding: 0.55rem 0.95rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.12);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.course-nav a:hover,
.course-nav a.is-active,
.course-nav button:hover,
.course-nav button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.course-panels {
  min-height: 220px;
}

.course-panel {
  display: none;
  animation: courseFade 0.35s var(--ease);
}

.course-panel.is-active {
  display: block;
}

@keyframes courseFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-detail {
  max-width: 720px;
}

.course-detail h2 {
  margin: 0 0 0.75rem;
}

.course-jump.service-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.course-book-card {
  max-width: 720px;
}

.legal-page {
  position: relative;
  background-color: var(--bg-tint);
  background-image: var(--surface-glow), var(--surface-grid);
  background-size: auto, var(--surface-grid-size), var(--surface-grid-size);
  overflow: visible;
}

.legal-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rule-bar);
  z-index: 2;
  pointer-events: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  z-index: 5;
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 2rem);
  overflow: auto;
}

.legal-aside-card {
  padding: 1.35rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  border-top: 3px solid var(--brand);
  box-shadow: 0 14px 36px rgba(10, 35, 64, 0.06);
}

.legal-aside-label {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.legal-toc {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.legal-toc a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-left: 2px solid transparent;
  color: var(--slate);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.legal-toc a:hover {
  color: var(--ink);
  border-left-color: var(--brand);
  background: rgba(108, 191, 42, 0.06);
}

.legal-aside-meta {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(10, 35, 64, 0.08);
  border-bottom: 1px solid rgba(10, 35, 64, 0.08);
  margin-bottom: 1rem;
}

.legal-aside-meta strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-aside-meta span {
  color: var(--ink);
  font-weight: 600;
}

.legal-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.legal-aside-link:hover {
  color: var(--brand-deep);
}

.legal-doc {
  background: var(--white);
  border: 1px solid rgba(10, 35, 64, 0.08);
  box-shadow: 0 18px 44px rgba(10, 35, 64, 0.07);
  overflow: hidden;
}

.legal-doc-header {
  padding: 1.75rem 1.75rem 1.35rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(108, 191, 42, 0.08), transparent 55%),
    linear-gradient(180deg, #f7faf7 0%, var(--white) 100%);
  border-bottom: 1px solid rgba(10, 35, 64, 0.06);
}

.legal-doc-header h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.legal-doc-header h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--rule-accent);
}

.legal-doc-header p {
  margin: 0.85rem 0 0;
  max-width: 54ch;
  color: var(--muted);
}

.legal-block {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(10, 35, 64, 0.06);
}

.legal-block:last-of-type {
  border-bottom: 0;
}

.legal-block-index {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--volt);
  background: var(--ink);
  height: 42px;
  display: grid;
  place-items: center;
}

.legal-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.legal-block p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block .check-list {
  margin: 0.85rem 0 0;
}

.legal-block strong {
  color: var(--ink);
}

.legal-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
}

.legal-contact-row a,
.legal-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-contact-row i {
  color: var(--brand);
}

.legal-contact-row a:hover {
  color: var(--brand);
}

.legal-doc-footer {
  padding: 1.5rem 1.75rem 1.75rem;
  background: var(--bg-tint);
  border-top: 1px solid rgba(10, 35, 64, 0.06);
}

.legal-doc-footer p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 35, 64, 0.2);
}

.legal-btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .legal-toc {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-block {
    grid-template-columns: 40px 1fr;
    padding: 1.25rem 1.15rem;
  }

  .legal-doc-header,
  .legal-doc-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (max-width: 700px) {
  .legal-toc {
    grid-template-columns: 1fr;
  }
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .reviews-grid,
  .cases-index-grid,
  .service-hub-grid,
  .info-cards,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-row,
  .case-detail-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .two-col,
  .contact-grid,
  .course-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .reviews-grid,
  .cases-index-grid,
  .service-hub-grid,
  .info-cards,
  .work-grid,
  .stat-row,
  .case-detail-meta {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Lightweight site preloader (also inlined in head for first paint) */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: var(--ink, #0a2340);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.site-preloader-mark {
  position: relative;
  width: 64px;
  height: 64px;
}

.site-preloader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand, #6cbf2a);
  border-right-color: var(--volt, #ffd100);
  border-radius: 50%;
  animation: ngSpin 0.7s linear infinite;
}

.site-preloader-bolt {
  position: absolute;
  inset: 18px;
  background: linear-gradient(135deg, var(--brand, #6cbf2a), var(--volt, #ffd100));
  clip-path: polygon(40% 0, 100% 0, 55% 45%, 85% 45%, 20% 100%, 45% 52%, 15% 52%);
}

.site-preloader-brand {
  font-family: var(--font-display, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.05rem;
}

.site-preloader-brand span {
  color: var(--brand, #6cbf2a);
}

.site-preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.site-preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--brand, #6cbf2a), var(--volt, #ffd100));
  animation: ngBar 1s ease-in-out infinite;
}

@keyframes ngSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ngBar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-ring,
  .site-preloader-bar span {
    animation: none;
  }
}

/* ========== Responsive system refinements (xs → xl) ========== */

/* Extra large desktops */
@media (min-width: 1400px) {
  :root {
    --container: 1280px;
  }
}

/* Large laptops / small desktops polish */
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-links > li > a {
    padding: 0.4rem 0.45rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
  }

  .brand img {
    height: 60px;
  }
}

/* Tablets portrait / large phones landscape */
@media (max-width: 900px) {
  .two-col,
  .contact-grid,
  .course-cards,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .legal-toc {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-block {
    grid-template-columns: 40px 1fr;
    padding: 1.25rem 1.15rem;
  }

  .legal-doc-header,
  .legal-doc-footer,
  .form-card-head,
  .form-grid {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .mega-col a {
    min-height: var(--touch);
  }

  .process-step,
  .offer-item,
  .why-card {
    padding: 1.35rem 1.15rem;
  }

  .logo-plate {
    min-width: 100px;
    height: 56px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --gutter: 0.75rem;
    --nav-h: 60px;
  }

  .brand img {
    height: 44px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .cta-band-actions .btn {
    width: 100%;
  }

  .page-hero-chips {
    gap: 0.4rem;
  }

  .page-hero-chips span {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .trust-item {
    font-size: 0.78rem;
    padding: 0.35rem 0.25rem;
    justify-content: center;
    text-align: center;
  }

  .accredit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, 55vw);
  }

  .gallery-item--hero {
    grid-column: span 1;
  }

  .case-detail-meta {
    margin-top: -1.25rem;
  }

  .contact-tile {
    grid-template-columns: 42px 1fr;
    padding: 0.9rem 0.85rem;
  }

  .contact-tile-icon {
    width: 42px;
    height: 42px;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  .site-preloader-brand {
    font-size: 0.95rem;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .nav-links.is-open {
    padding: 0.75rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .accredit-grid {
    grid-template-columns: 1fr;
  }

  .course-nav a,
  .course-nav button {
    width: 100%;
  }
}

/* Prevent iOS zoom on form focus */
@media (max-width: 700px) {
  .form-grid input,
  .form-grid textarea,
  .form-grid select {
    font-size: 16px;
  }
}

/* Safe areas for notched phones */
@supports (padding: max(0px)) {
  .whatsapp-float {
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .back-top {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .nav-links.is-open {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}
