/* ============================================================
   MEP Panamá — Servicios Integrales MEP y Redes Eléctricas
   Stylesheet (mobile-first, no framework)
   ============================================================ */

:root {
  --navy-900: #061633;
  --navy-800: #0A1F3D;
  --navy-700: #13315C;
  --navy-600: #1E3A6D;
  --blue-500: #2563EB;
  --amber-500: #FBBF24;
  --amber-600: #F59E0B;
  --orange-500: #EA580C;
  --steel-100: #F1F5F9;
  --steel-200: #E2E8F0;
  --steel-300: #CBD5E1;
  --steel-500: #64748B;
  --steel-700: #334155;
  --ink-900: #0F172A;
  --white: #FFFFFF;
  --bg: #F8FAFC;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 40px -12px rgba(10, 31, 61, .25);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --ff-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-600); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw + .5rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + .5rem, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--navy-900); color: var(--steel-200); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--muted { background: var(--bg); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--amber-500); }

.lead {
  font-size: 1.125rem;
  color: var(--steel-500);
  max-width: 65ch;
}
.section--dark .lead { color: var(--steel-300); }

.section-header { max-width: 720px; margin-bottom: 48px; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber-500);
  color: var(--navy-900);
  border-color: var(--amber-500);
}
.btn--primary:hover { background: var(--amber-600); border-color: var(--amber-600); color: var(--navy-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--dark {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--steel-300);
}
.btn--outline:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--steel-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.nav__brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(251,191,36,.35), transparent 60%);
}
.brand-mark svg { position: relative; z-index: 1; }
.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--amber-500);
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.brand-text small { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .7rem; color: var(--steel-500); letter-spacing: .02em; }

.nav__menu { display: flex; gap: 4px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav__menu a {
  display: inline-block;
  padding: 8px 14px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--steel-700);
  border-radius: 6px;
  transition: all .15s ease;
}
.nav__menu a:hover { background: var(--steel-100); color: var(--navy-900); }
.nav__menu a.is-active { color: var(--navy-900); }
.nav__menu a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--amber-500);
  margin-top: 4px;
  border-radius: 2px;
}
.nav__cta { margin-left: 12px; }

.nav__toggle {
  display: none;
  border: 1px solid var(--steel-300);
  background: var(--white);
  width: 42px; height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav--open .nav__toggle span { background: transparent; }
.nav--open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav--open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(110deg, rgba(6, 22, 51, .85) 0%, rgba(10, 31, 61, .55) 45%, rgba(19, 49, 92, .25) 100%),
    url("../images/hero-illustration.svg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: -2;
}
@media (max-width: 720px) {
  .hero__bg { background-position: 65% center; background-size: 180% auto, cover; }
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .25;
  background-image:
    linear-gradient(rgba(251, 191, 36, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 30%, transparent 75%);
}
.hero__inner {
  padding: 120px 0 100px;
  max-width: 760px;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(251, 191, 36, .4);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.hero__pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .2);
}
.hero h1 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 strong { color: var(--amber-500); font-weight: 600; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 720px;
}
.hero__stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.9rem;
  color: var(--amber-500);
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero__stat span { font-size: .82rem; color: rgba(255, 255, 255, .7); line-height: 1.4; display: block; }

/* Compact hero for inner pages */
.subhero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
}
.subhero > * { position: relative; }
.subhero h1 { color: var(--white); margin-bottom: 16px; }
.subhero .lead { color: rgba(255, 255, 255, .8); }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--amber-500); }

/* ---------- Trust band ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--steel-200);
  padding: 28px 0;
}
.trust__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--steel-700);
}
.trust__item svg { color: var(--amber-600); flex-shrink: 0; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-500);
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--navy-900);
  display: grid; place-items: center;
  color: var(--amber-500);
  margin-bottom: 22px;
  transition: background .2s ease;
}
.card:hover .card__icon { background: var(--amber-500); color: var(--navy-900); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--steel-500); margin-bottom: 16px; }
.card__list { list-style: none; padding: 0; margin: 0 0 20px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  color: var(--steel-700);
  margin-bottom: 8px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: var(--amber-500);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-800);
}
.card__link:hover { color: var(--amber-600); }
.card__link .arrow { transition: transform .2s ease; }
.card__link:hover .arrow { transform: translateX(3px); }

/* ---------- Value props grid ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.value {
  padding: 32px;
  border-right: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.value__num {
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--amber-600);
  margin-bottom: 16px;
  display: block;
}
.value h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value p { font-size: .92rem; color: var(--steel-500); margin: 0; line-height: 1.6; }

/* ---------- Sectores chips ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.sector {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all .2s ease;
}
.sector:hover { border-color: var(--amber-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sector__icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: var(--steel-100);
  display: grid; place-items: center;
  color: var(--navy-800);
}
.sector h4 { font-size: .95rem; margin: 0 0 4px; color: var(--navy-900); font-family: var(--ff-display); }
.sector p { font-size: .8rem; color: var(--steel-500); margin: 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-800);
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 51, .65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  color: var(--white);
  font-weight: 500;
  font-size: .9rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }
/* Bento layout */
.gallery--bento .gallery__item:nth-child(1) { grid-column: span 6; aspect-ratio: 16 / 10; }
.gallery--bento .gallery__item:nth-child(2) { grid-column: span 3; }
.gallery--bento .gallery__item:nth-child(3) { grid-column: span 3; }
.gallery--bento .gallery__item:nth-child(4) { grid-column: span 4; }
.gallery--bento .gallery__item:nth-child(5) { grid-column: span 4; }
.gallery--bento .gallery__item:nth-child(6) { grid-column: span 4; }
.gallery--bento .gallery__item:nth-child(7) { grid-column: span 3; }
.gallery--bento .gallery__item:nth-child(8) { grid-column: span 3; }
.gallery--bento .gallery__item:nth-child(9) { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery--simple .gallery__item { grid-column: span 4; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(251, 191, 36, .25), transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 520px; }
.cta-banner__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Detailed service section ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--steel-200);
}
.service-block:first-of-type { border-top: none; padding-top: 24px; }
.service-block__head { position: sticky; top: 96px; }
.service-block__num {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--amber-500);
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.service-block h2 { margin-bottom: 16px; }
.service-block .lead { font-size: 1.02rem; }
.service-list { display: grid; gap: 28px; }
.service-list h3 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list h3::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--amber-500);
}
.service-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.service-list ul li {
  position: relative;
  padding-left: 22px;
  font-size: .94rem;
  color: var(--steel-700);
  line-height: 1.5;
}
.service-list ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 2px solid var(--amber-500);
  border-radius: 50%;
}

/* ---------- Table (normas) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--steel-200); }
table.norms {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .94rem;
}
table.norms th, table.norms td { padding: 14px 20px; text-align: left; }
table.norms thead { background: var(--navy-900); color: var(--white); }
table.norms thead th { font-family: var(--ff-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
table.norms tbody tr { border-top: 1px solid var(--steel-200); }
table.norms tbody tr:nth-child(even) { background: var(--bg); }
table.norms td:first-child { font-weight: 600; color: var(--navy-900); white-space: nowrap; }

/* ---------- Timeline (metodología) ---------- */
.timeline { display: grid; gap: 0; counter-reset: step; }
.timeline__step {
  position: relative;
  padding: 24px 0 24px 80px;
  border-bottom: 1px dashed var(--steel-200);
}
.timeline__step:last-child { border-bottom: none; }
.timeline__step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--amber-600);
  width: 60px;
  border-right: 2px solid var(--steel-200);
}
.timeline__step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.timeline__step p { margin: 0; color: var(--steel-500); font-size: .95rem; }

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.6rem;
  color: var(--amber-500);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats__item span { color: var(--steel-300); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
.contact-info__item {
  display: flex; gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
}
.contact-info__item__icon {
  width: 44px; height: 44px;
  background: var(--steel-100);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--navy-800);
  flex-shrink: 0;
}
.contact-info__item strong { display: block; color: var(--navy-900); font-size: .92rem; margin-bottom: 2px; }
.contact-info__item p, .contact-info__item a { font-size: .95rem; color: var(--steel-500); margin: 0; }
.contact-info__item a:hover { color: var(--amber-600); }

.form {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--steel-700); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--steel-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, .2);
}
.form textarea { resize: vertical; min-height: 120px; }
.form__submit { justify-self: start; }
.form__note { font-size: .82rem; color: var(--steel-500); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px;
}
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--amber-500); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer__brand { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.footer__brand .brand-text { color: var(--white); font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; }
.footer__brand .brand-text small { color: rgba(255, 255, 255, .55); }
.footer__about { font-size: .92rem; line-height: 1.65; max-width: 360px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .2s ease;
}
.fab-wa:hover { transform: scale(1.08); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block__head { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .gallery--bento .gallery__item { grid-column: span 6 !important; aspect-ratio: 4 / 3 !important; }
  .gallery--simple .gallery__item { grid-column: span 6; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero__inner { padding: 88px 0 72px; }
  .subhero { padding: 96px 0 56px; }
  .nav__menu {
    position: fixed;
    inset: 72px 0 auto;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--steel-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav--open .nav__menu { transform: translateY(0); }
  .nav__menu a { padding: 12px 14px; border-radius: 8px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: inline-flex; }
  .grid--3, .grid--4, .grid--2, .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 24px; }
  .gallery--simple .gallery__item, .gallery--bento .gallery__item { grid-column: span 12 !important; }
  .service-list ul { grid-template-columns: 1fr; }
  .timeline__step { padding-left: 60px; }
  .timeline__step::before { width: 48px; font-size: 1.2rem; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
[hidden] { display: none !important; }

/* Reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
