/* ========================================
   Grupo Rico — Design System v4
   Font: Plus Jakarta Sans (clean B2B)
   Style: Black + Orange / Industrial Editorial
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

/* --- Variables ---
   Paleta: verde = base, amarillo = ilumina secciones, naranja = solo botones/CTA */
:root {
  --c-dark:      #1F7A4D;   /* Verde primario — base de secciones oscuras */
  --c-dark-2:    #17211B;   /* Texto oscuro — texto por defecto */
  --c-green-sup: #46B36A;   /* Verde apoyo */
  --c-orange:    #F7C948;   /* Amarillo luz — acentos/resaltados (nombre de variable histórico) */
  --c-amber:     #FFE08A;   /* Amarillo suave — pareja de gradientes/acentos suaves */
  --c-cta:       #F97316;   /* Naranja CTA — solo botones y acciones importantes */
  --c-cta-hover: #DC5F0E;   /* Naranja CTA, estado hover */
  --c-cta-soft:  #FFB86B;   /* Naranja suave */
  --c-light:     #FFF8E8;   /* Fondo crema */
  --c-white:     #FFFFFF;
  --c-muted:     #4E5B52;   /* texto secundario, verde-gris oscuro */
  --c-border:    #E3DBC2;   /* borde cálido, familia crema */
  --c-card:      #FFFFFF;
  --c-wa:        #25D366;
  --font-main:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--c-dark-2);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { line-height: 1.1; letter-spacing: -0.025em; }
p { line-height: 1.75; }

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(31, 122, 77, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
/* El logo del nav solo aparece una vez que el usuario baja del hero
   (el hero ya trae su propio logo grande — evita duplicarlo). */
.nav-logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
#navbar.scrolled .nav-logo {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: #1F7A4D;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-main);
  font-size: 1.75rem; font-weight: 700;
  color: #fff; text-decoration: none;
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--c-orange); }

/* ========================================
   HERO
   ======================================== */
#hero {
  position: relative;
  min-height: min(100vh, 760px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  box-sizing: border-box;
}
#hero video, #hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
#hero .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(23,33,27,0.80) 0%,
    rgba(23,33,27,0.58) 60%,
    rgba(247,201,72,0.16) 100%
  );
}
#hero .content {
  position: relative; z-index: 2;
  text-align: left;
  padding: 0 clamp(1.5rem, 6vw, 4.5rem);
  max-width: 640px;
  width: 100%;
}

/* Hero CSS animations */
@keyframes hero-slide-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim-logo  { animation: hero-slide-down 0.7s var(--ease) both; animation-delay: 0.1s; }
.hero-anim-badge { animation: hero-fade-up 0.5s var(--ease) both; animation-delay: 0.45s; }
.hero-anim-h1    { animation: hero-fade-up 0.7s var(--ease) both; animation-delay: 0.65s; }
.hero-anim-sub   { animation: hero-fade-up 0.6s var(--ease) both; animation-delay: 0.95s; }
.hero-anim-ctas  { animation: hero-fade-up 0.6s var(--ease) both; animation-delay: 1.15s; }

/* ========================================
   TYPOGRAPHY UTILS
   ======================================== */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 600;
  font-style: normal;
  color: var(--c-white);
  letter-spacing: -0.01em;
  line-height: 1.04;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.eyebrow {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-dark); /* Verde primario — pasa WCAG en fondos claros; ver override inline en secciones oscuras */
}

.text-muted { color: var(--c-muted); }
.text-cream { color: #FFF8E8; }

/* Énfasis tipográfico — reemplaza al gradient-text (tell de IA).
   Usa peso + subrayado dibujado en vez de color de relleno degradado,
   así funciona sobre fondo claro u oscuro sin romper contraste WCAG. */
.text-accent {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--c-cta);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--c-cta);
  color: #17211B;
  font-family: var(--font-main);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--c-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-main);
  font-weight: 600; font-size: 0.88rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.25s var(--ease);
  background: rgba(255,255,255,0.05);
}
.btn-outline:hover {
  border-color: var(--c-cta);
  color: var(--c-cta);
  background: rgba(249,115,22,0.08);
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--c-wa);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  border: none; cursor: pointer;
}
.btn-wa:hover {
  background: #1EB853;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
}

/* ========================================
   DIVIDERS & UTILS
   ======================================== */
.hr-warm {
  border: none; height: 1px;
  background: var(--c-border);
  margin: 0;
}

.hr-orange {
  border: none; height: 2px;
  background: linear-gradient(to right, transparent, var(--c-orange) 20%, var(--c-amber) 80%, transparent);
  margin: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 6rem 2rem; }

/* ========================================
   HERO LOCATION TAG
   ======================================== */
.location-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* ========================================
   NOSOTROS — Stats strip (not a grid box)
   ======================================== */
.stat-strip {
  display: flex;
  border-top: 1px solid var(--c-border);
  margin-top: 3.5rem;
}
.stat-item {
  flex: 1;
  padding: 2rem 1.5rem 1.5rem;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-orange);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-orange);
  vertical-align: super;
}
.stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ========================================
   SERVICES — numbered editorial list
   ======================================== */
.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0 2.5rem;
  align-items: start;
  padding: 2.25rem 1rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  border-left: 3px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.15s var(--ease);
  cursor: default;
}
.service-row:first-child { border-top: 1px solid var(--c-border); }
.service-row:hover {
  border-left-color: var(--c-dark);
  background: #FFFBF0;
}

.service-num {
  font-size: 0.75rem; font-weight: 800;
  color: var(--c-dark);
  padding-top: 0.35rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.service-name {
  font-size: 1.15rem; font-weight: 700;
  color: #17211B;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.service-row:hover .service-name { color: var(--c-dark); }
.service-body {
  font-size: 0.88rem; color: var(--c-muted);
  line-height: 1.7; max-width: 500px;
}
.service-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
  padding-top: 0.35rem;
  background: var(--c-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--c-border);
  align-self: start;
  margin-top: 0.25rem;
}

/* ========================================
   NOSOTROS — photo feature card
   ======================================== */
.feature-photo-card {
  position: relative;
  padding: 2.75rem 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
.feature-photo-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.feature-photo-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(23,33,27,0.94) 0%, rgba(23,33,27,0.90) 45%, rgba(23,33,27,0.80) 100%);
  z-index: -1;
}

/* ========================================
   CONTACTO — photo panel + form card
   ======================================== */
.contact-photo-panel {
  position: relative;
  padding: 3rem 2.75rem;
  overflow: hidden;
  isolation: isolate;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-photo-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(0.2);
}
.contact-photo-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(31,122,77,0.92) 0%, rgba(31,122,77,0.86) 55%, rgba(31,122,77,0.75) 100%);
  z-index: -1;
}
.contact-photo-panel::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(to right, var(--c-orange), var(--c-amber));
}
.contact-card {
  position: relative;
  background: var(--c-white);
  padding: 2.75rem;
  border: 1px solid var(--c-border);
}

/* ========================================
   SERVICIOS — banner image
   ======================================== */
.services-banner {
  position: relative;
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.services-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.services-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,33,27,0.55) 0%, rgba(23,33,27,0) 45%);
}
.services-banner .banner-caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.5rem 2rem;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 0.5rem;
}
.services-banner .banner-caption span {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ========================================
   CAPACIDAD — textured dark background
   ======================================== */
#capacidad {
  position: relative;
  isolation: isolate;
}
#capacidad::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--cap-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: grayscale(0.3);
  z-index: -2;
}
#capacidad::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,122,77,0.55) 0%, #1F7A4D 55%, #1F7A4D 100%);
  z-index: -1;
}

/* ========================================
   PROYECTOS — photo gallery
   ======================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  isolation: isolate;
  display: block;
  text-decoration: none;
}
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: filter 0.3s var(--ease), transform 0.4s var(--ease);
}
.project-card:hover img { filter: grayscale(0); transform: scale(1.04); }
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,33,27,0.88) 0%, rgba(23,33,27,0.15) 55%, rgba(23,33,27,0) 100%);
}
.project-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem;
  z-index: 2;
}
.project-card-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 0.35rem;
  display: block;
}
.project-card-title {
  font-size: 1.05rem; font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* ========================================
   SECTORES — row thumbnails
   ======================================== */
.sector-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35);
  transition: filter 0.25s var(--ease);
}
.sector-item:hover .sector-thumb { filter: grayscale(0); }

/* ========================================
   CAPACITY — big numbers dark
   ======================================== */
.cap-item {
  text-align: center;
  padding: 3rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.cap-item:last-child { border-right: none; }
.cap-num {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--c-orange);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 0.65rem;
}
.cap-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: block;
}
.cap-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ========================================
   SECTORES — editorial rows
   ======================================== */
.sector-item {
  padding: 2.25rem 0 2.25rem 1rem;
  border-bottom: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: 84px 1fr 2fr;
  gap: 2rem;
  align-items: start;
  border-left: 3px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.sector-item:hover { border-left-color: var(--c-dark); }
.sector-item:hover .sector-item-title { color: var(--c-dark); }
.sector-item-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}
.sector-item-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--c-dark);
  transition: color 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.sector-item-desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.75;
}

/* ========================================
   CONTACT — Light background (not dark)
   ======================================== */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-muted);
  line-height: 1.4;
}
.form-group label .optional-tag {
  font-weight: 500; text-transform: none; letter-spacing: 0;
  color: #8A9186;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--c-dark);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
  width: 100%;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
  padding-right: 2.1rem;
  padding-left: 0.85rem;
  font-size: 0.875rem;
  cursor: pointer;
  text-overflow: ellipsis;
}
.form-group select:invalid { color: #8A9186; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B9C2B3; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(247,201,72,0.18);
  outline: none;
}
.form-group textarea { resize: none; }

.form-group .field-error {
  display: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: #DC2626;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #DC2626;
}
.form-group.has-error .field-error { display: block; }
.form-group.is-valid input,
.form-group.is-valid select {
  border-color: #46B36A;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

#form-status.is-success::before,
#form-status.is-error::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 0.4rem;
  vertical-align: -3px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#form-status.is-success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
#form-status.is-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23991B1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
#fab-whatsapp {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: 99; width: 56px; height: 56px;
  background: var(--c-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: pulse-wa 3s infinite;
}
#fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  animation: none;
}
#fab-whatsapp svg { width: 28px; height: 28px; color: #fff; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 5px rgba(37,211,102,0.08); }
}

/* ========================================
   TRUST BADGES (nosotros)
   ======================================== */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #2A3A2E;
  background: transparent;
  border: 1px solid #E3DBC2;
  border-radius: 2px;
  padding: 0.4rem 0.85rem;
}
.trust-badge svg { color: var(--c-dark); flex-shrink: 0; }

/* ========================================
   PAGE HERO — internal pages (Nosotros/Servicios/Contacto)
   ======================================== */
.page-hero {
  background: #1F7A4D;
  padding: calc(72px + 3.5rem) 2rem 3.5rem;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.page-hero .breadcrumb a:hover { color: var(--c-orange); }
.page-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #FFFFFF;
  max-width: 640px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 1.25rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  #hamburger-btn { display: flex !important; }
  #hero { min-height: auto; padding-bottom: 7rem; }
  .hero-anim-ctas { margin-bottom: 2.5rem; }
  .service-row { grid-template-columns: 2.5rem 1fr; }
  .service-tag { display: none; }
  .sector-item { grid-template-columns: 64px 1fr; gap: 1rem; padding-left: 0; padding-right: 0; }
  .sector-item-desc { grid-column: 2; }
  .cap-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .cap-item:last-child { border-bottom: none; }
  .stat-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--c-border); }
  .stat-item:nth-child(even) { border-right: none; }
  .section-pad { padding: 4.5rem 1.25rem; }
  #cap-list > div { flex-direction: column; gap: 0.4rem; align-items: flex-start; }
  #cap-list p[style*="flex:"] { flex: none; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-wa, .btn-outline {
    width: 100%; justify-content: center;
  }
  .stat-item { flex: 1 1 100%; border-right: none; }
}
