/* =========================
   GEOMEGA E.I.R.L - CSS FINAL (LIMPIO + PRO INTERNACIONAL)
   (Reescritura total según objetivos)
========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* =========================
   VARIABLES (INTOCABLE)
========================= */
:root{
  --blue-950:#000a2a;
  --blue-900:#001057;
  --blue-800:#001289;

  --orange:#ff6a00;
  --orange-2:#ff8a2a;

  --bg:#f6f8ff;
  --white:#ffffff;

  --text:#0b1020;
  --muted:#6b7280;

  --border: rgba(15, 23, 42, 0.12);

  --shadow-sm: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-md: 0 18px 50px rgba(0,0,0,0.12);

  --radius: 18px;
  --container: 1180px;

  --header-h: 110px;
}

/* =========================
   RESET / BASE
========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  padding-top: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color: inherit; }

p{ text-wrap: pretty; }
h1,h2,h3{ text-wrap: balance; }

.container{
  width: min(var(--container), 92%);
  margin-inline: auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* =========================
   BOTONES
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: 0.2s ease;
  min-height: 46px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.btn--primary{
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 16px 40px rgba(255,106,0,0.20);
}
.btn--primary:hover{ transform: translateY(-1px); box-shadow: 0 22px 60px rgba(255,106,0,0.26); }
.btn--primary:active{ transform: translateY(0px); }

.btn--nav{
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  display:inline-flex;
}

.btn--ghost{
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.35);
  filter: brightness(1.05);
}

.btn--whatsapp{
  background: #1da1f2;
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}
.btn--whatsapp:hover{ transform: translateY(-1px); filter: brightness(1.05); }

/* =========================
   HEADER / NAV (TRANSPARENTE SOBRE HERO)
========================= */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: 0.25s ease;
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

.brand img{
  height: 72px;
  width: auto;
  object-fit: contain;
  display:block;
}

/* NAV */
.navwrap{
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.nav{
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a{
  white-space: nowrap;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  opacity: 0.92;
  font-size: 14px;
  transition: 0.2s ease;
  position: relative;
  padding: 10px 0;
}

.nav a:hover{ opacity: 1; color: #ffffff; }

/* subrayado premium */
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom: 4px;
  width:0%;
  height:2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width 0.25s ease;
}
.nav a:hover::after{ width:100%; }

/* HEADER SCROLL */
.header.header--scrolled{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

/* ✅ En scroll, icono hamburguesa cambia a azul */
.header.header--scrolled .menu-toggle span{
  background: var(--blue-900);
}

.header.header--scrolled .nav a{ color: var(--blue-900); }
.header.header--scrolled .nav a:hover{ color: var(--blue-800); }
.header.header--scrolled .btn--nav{ box-shadow: 0 14px 40px rgba(0,0,0,0.08); }

/* =========================
   HERO HOME (NO TOCAR IMAGEN)
========================= */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background: #000;
  padding-top: var(--header-h);
}

#inicio{ scroll-margin-top: var(--header-h); }

.hero__bg{
  position:absolute;
  inset: 0;
  /* ✅ Imagen del hero se mantiene */
  background-image: url("../assets/img/hero/hero-bg-pro.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 35% 55%;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.06);
}

.hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(0, 8, 28, 0.92) 0%,
      rgba(0, 18, 60, 0.72) 35%,
      rgba(0, 18, 60, 0.30) 62%,
      rgba(0, 18, 60, 0.10) 100%
    ),
    radial-gradient(circle at 55% 0%,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.00) 55%
    );
}

.hero__bg::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.00) 60%,
      rgba(0,0,0,0.30) 100%
    );
  opacity: 0.85;
}

.hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 95px 0 90px;
}

.hero__content{
  max-width: 980px;
  margin: 0;
  text-align: left;
  padding-left: 140px;
}

.hero__tag{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  margin: 0 0 18px;
}

.hero__title{
  margin: 0 0 18px;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.hero__line{
  display: flex;
  align-items: baseline;
  gap: 18px;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.hero__strong{ font-weight: 900; }
.hero__thin2{ font-weight: 500; opacity: 0.88; }

.hero__lead{
  max-width: 520px;
  margin: 0 0 26px;
  margin-top: 6px;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
  line-height: 1.65;
}

.hero__cta{
  display:flex;
  justify-content:flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero__actions{
  display:flex;
  gap: 18px;
  margin-top: 35px;
  flex-wrap: wrap;
}

/* =========================
   SECCIONES BASE
========================= */
.section{
  padding: 92px 0;
  position: relative;
  background: #ffffff;
}

.section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1px;
  background: rgba(15, 23, 42, 0.06);
}

.section__title{
  margin: 0 0 28px;
  font-size: 34px;
  font-weight: 900;
  color: var(--blue-900);
  text-align: center;
  letter-spacing: -0.8px;
}

/* =========================
   HOME: FONDO ARQUITECTÓNICO (SOLO SERVICIOS→CONTACTO)
   ✅ Usa fondo-geomega-empresa.jpg
   ✅ NO afecta hero ni footer (porque wrapper está fuera)
========================= */
.home--pro-bg{
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Fondo maestro continuo */
.home--pro-bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;

  background-image: url("../assets/img/empresa/fondo-geomega-empresa.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 55%;

  /* Presencia premium (sin “silver rocas”) */
  opacity: 0.60;
  filter: grayscale(0.35) saturate(1.05) contrast(1.06);

  /* Máscara suave (no corta a mitad del wrapper) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0) 100%
  );
}

/* Overlay de aire (mantiene legibilidad) */
.home--pro-bg::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  display: none;
background: linear-gradient(
  180deg,
  rgba(246,248,255,0.18) 0%,
  rgba(246,248,255,0.22) 55%,
  rgba(246,248,255,0.30) 100%
);
}

/* contenido encima */
.home--pro-bg > *{
  position: relative;
  z-index: 1;
}

/* Dentro del wrapper, las secciones no deben pintar fondo propio */
.home--pro-bg .section{ background: transparent !important; }
.home--pro-bg .section--pro-bg{ background: transparent !important; }
.home--pro-bg .section--pro-bg::before,
.home--pro-bg .section--pro-bg::after{ content:none !important; background:none !important; }

/* Neutralizar fondos específicos dentro del wrapper (solo HOME) */
.home--pro-bg .services-home-section,
.home--pro-bg .projects-home,
.home--pro-bg .tech,
.home--pro-bg .process-tech,
.home--pro-bg .stats,
.home--pro-bg .clients-band,
.home--pro-bg .contacto-premium{
  background: transparent !important;
  background-image: none !important;
}

/* =========================
   INTERNAS: section--pro-bg (mantiene técnica para páginas internas)
   ✅ No se aplicará en HOME porque arriba lo apagamos dentro del wrapper
========================= */
.section--pro-bg{
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}

.section--pro-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../assets/img/empresa/fondo-geomega-empresa.jpg");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  opacity: 0.92;
 filter: saturate(1.02) contrast(1.05);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.section--pro-bg > .container{
  position: relative;
  z-index: 2;
}

/* =========================
   GRID + CARDS GENÉRICAS
========================= */
.grid-3{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: 0.25s ease;
  text-align:center;
}

.card::before{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3{
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--blue-900);
}

/* =========================
   PREMIUM HOVER KIT (reutilizable)
========================= */
.hover-premium{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hover-premium::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(520px 220px at 18% 22%,
      rgba(255,106,0,0.22) 0%,
      rgba(255,106,0,0.10) 35%,
      rgba(255,106,0,0.00) 70%
    );
  opacity: 0;
  transition: opacity .22s ease;
}

.hover-premium:hover{
  transform: translateY(-4px);
  border-color: rgba(255,106,0,0.55);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.12),
    0 0 0 3px rgba(255,106,0,0.18);
}

.hover-premium:hover::after{
  opacity: 1;
}

/* =========================
   SERVICIOS HOME
========================= */
.services-home-section{
  padding: 140px 0;
}

.services-home-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1100px;
  margin-inline: auto;
}

.service-home-card{
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 20px 25px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  height: 100%;
}

.service-home-card{
  border-color: rgba(15, 23, 42, 0.06);
}
.service-home-card{ 
  /* aplica kit */
}
.service-home-card{
  /* nada aquí, solo para ubicar */
}
.service-home-card{
  /* (kit por selector) */
}
.service-home-card{
  /* fin */
}
.service-home-card{
  /* fin */
}

/* ✅ Aplicar kit sin tocar HTML */
.service-home-card{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-home-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(520px 220px at 18% 22%,
      rgba(255,106,0,0.18) 0%,
      rgba(255,106,0,0.08) 35%,
      rgba(255,106,0,0.00) 70%
    );
  opacity: 0;
  transition: opacity .22s ease;
}
.service-home-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,106,0,0.50);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.10),
    0 0 0 3px rgba(255,106,0,0.16);
}
.service-home-card:hover::after{ opacity: 1; }

.service-home-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(255,106,0,0.15);
}

.service-home-icon{
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.service-home-icon svg{
  width: 100%;
  height: 100%;
  stroke: var(--orange);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-home-card h3{
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-950);
  letter-spacing: -0.3px;
}

.service-home-card p{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.service-home-card a{
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-home-card a:hover{ gap: 10px; }

#servicios{ scroll-margin-top: var(--header-h); }

/* =========================
   PROYECTOS HOME
========================= */
.projects-home__head{
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.projects-home__subtitle{
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
}

.projects-home__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-home-card{
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* ✅ Proyectos: mismo kit premium */
.project-home-card{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-home-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(620px 260px at 18% 18%,
      rgba(255,106,0,0.18) 0%,
      rgba(255,106,0,0.08) 35%,
      rgba(255,106,0,0.00) 70%
    );
  opacity: 0;
  transition: opacity .22s ease;
}
.project-home-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,106,0,0.50);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.14),
    0 0 0 3px rgba(255,106,0,0.16);
}
.project-home-card:hover::after{ opacity: 1; }


.project-home-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.2);
}

.project-home-card__img{
  height: 220px;
  position: relative;
  background: var(--blue-950);
  overflow: hidden;
}

.project-home-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-home-card:hover .project-home-card__img img{
  transform: scale(1.08);
}

.project-home-card__tag{
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255,106,0,0.3);
  z-index: 2;
}

.project-home-card__body{
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-home-card__body h3{
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-950);
  line-height: 1.4;
}

.project-home-card__body p{
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.projects-home__action{
  text-align: center;
  margin-top: 50px;
}

/* =========================
   TECH (INACAL)
========================= */
.tech__grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items:center;

  /* ✅ MISMA FIGURA QUE MAPA (cápsula premium) */
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-md);
  border-radius: 28px;     /* igual estilo “mapa” */
  padding: 46px 46px;      /* aire premium */
  overflow: hidden;
}

.tech__badge{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--blue-900);
  background: rgba(0, 18, 137, 0.08);
  border: 1px solid rgba(0, 18, 137, 0.14);
  margin-bottom: 14px;
}

.tech__title{
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.tech__desc{
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
  font-size: 15px;
  max-width: 680px;
}

.tech__list{
  margin: 0;
  padding-left: 18px;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.8;
}

.tech__actions{
  margin-top: 20px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech__media{ position: relative; }

/* ✅ Óvalo blanco premium (marco) para el bloque de imagen INACAL */
.tech__media{
  display: flex;
  justify-content: center;
}

.tech__image{
  border-radius: 22px;                 /* elegante, menor que el contenedor */
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  background: #ffffff;
}
/* La foto dentro del óvalo */
.tech__image img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
}
.tech__image{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.tech__image img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}

.tech__seal{
  position:absolute;
  bottom: 18px;
  right: 22px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 12px;
}

.tech__seal span{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.tech__seal strong{
  font-size: 20px;
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: 0.6px;
}

/* =========================
   PROCESO (grid técnico)
========================= */
.process-tech{
  background-color: transparent;
  background-image: none;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* ✅ PROCESO: contenedor premium tipo “mapa” (como INACAL/Stats) */
.process-tech .container{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-md);
  border-radius: 28px;
  padding: 56px 46px;
  overflow: hidden;
}

/* ✅ PROCESO: contenedor premium tipo “mapa” (como INACAL/Stats) */
.process-tech .container{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-md);
  border-radius: 28px;
  padding: 56px 46px;
  overflow: hidden;
}

.process-tech__head{
  text-align: center;
  max-width: 920px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.process-tech__subtitle{
  margin: 0 auto;
  max-width: 780px;
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
}

.process-tech__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-tech__grid::before{
  content: "";
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(0,16,87,0.18);
  border-top: 1px dashed rgba(0,16,87,0.22);
  z-index: 0;
}

.tech-step{
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

/* ✅ Proceso: película naranja + ring sutil */
.tech-step{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* ✅ Proceso: película naranja + ring sutil */
.tech-step{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tech-step::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: radial-gradient(520px 220px at 18% 22%,
    rgba(255,106,0,0.16) 0%,
    rgba(255,106,0,0.06) 38%,
    rgba(255,106,0,0.00) 70%
  );
  opacity: 0;
  transition: opacity .22s ease;
}

.tech-step:hover{
  transform: translateY(-5px);
  border-color: rgba(255,106,0,0.45);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.10),
    0 0 0 3px rgba(255,106,0,0.14);
}

.tech-step:hover::after{ opacity: 1; }


.tech-step::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: radial-gradient(520px 220px at 18% 22%,
    rgba(255,106,0,0.16) 0%,
    rgba(255,106,0,0.06) 38%,
    rgba(255,106,0,0.00) 70%
  );
  opacity: 0;
  transition: opacity .22s ease;
}

.tech-step:hover{
  transform: translateY(-5px);
  border-color: rgba(255,106,0,0.45);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.10),
    0 0 0 3px rgba(255,106,0,0.14);
}

.tech-step:hover::after{ opacity: 1; }

.tech-step::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-900));
}

.tech-step:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 106, 0, 0.2);
}

.tech-step__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.tech-step__icon{
  width: 74px;
  height: 74px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.tech-step__num{
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: 900;
  color: rgba(0, 16, 87, 0.1);
  letter-spacing: -2px;
}

.tech-step:hover .tech-step__num{ color: var(--orange); }

.tech-step__body h3{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.3px;
}

.tech-step__body p{
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   STATS
========================= */
.stats__head{
  text-align:center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.stats__subtitle{
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.7;
}

.stats__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.stat{
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align:center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow:hidden;
  transition: 0.25s ease;
}

/* ✅ Stats: kit premium más suave */
.stat{
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(520px 220px at 18% 22%,
      rgba(255,106,0,0.16) 0%,
      rgba(255,106,0,0.06) 38%,
      rgba(255,106,0,0.00) 70%
    );
  opacity: 0;
  transition: opacity .22s ease;
}
.stat:hover{
  transform: translateY(-4px);
  border-color: rgba(255,106,0,0.45);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.10),
    0 0 0 3px rgba(255,106,0,0.14);
}
.stat:hover::after{ opacity: 1; }

.stat::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

.stat:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stat h3{
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.6px;
}

/* ✅ sufijo + alineado y elegante */
.counter-suffix{
  font-size: 0.70em;
  font-weight: 900;
  margin-left: 2px;
}

.stat p{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

/* ✅ STATS: contenedor premium tipo “mapa” */
.stats{
  background: transparent !important; /* deja ver el fondo global */
  border: 0 !important;
}

.stats .container{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-md);
  border-radius: 28px;       /* misma figura del mapa */
  padding: 56px 46px;
  overflow: hidden;
}

/* Un poco más de aire arriba/abajo de la sección */
.stats.section{
  padding: 90px 0;
}

/* chips */
.clients{
  margin-top: 34px;
  text-align:center;
}

.clients__title{
  margin: 0 0 14px;
  font-weight: 900;
  color: var(--blue-900);
  font-size: 15px;
}

.clients__logos{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 12px;
}

.client{
  background: #f3f6ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  color: var(--blue-900);
}

/* =========================
   CLIENTES BAND
========================= */
.clients-band__head{
  text-align:center;
  max-width: 920px;
  margin: 0 auto 28px;
}

.clients-band__subtitle{
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.7;
}

.clients-band__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}

/* ✅ CLIENTES CORPORATIVOS: contenedor premium tipo “mapa” */
.clients-band{
  background: transparent !important; /* deja ver el fondo global */
}

.clients-band .container{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-md);
  border-radius: 28px;  /* misma figura que mapa */
  padding: 56px 46px;
  overflow: hidden;
}

.logo-box{
  height: 92px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

/* ✅ Película naranja (más notoria, premium) */
.logo-box{
  position: relative;
}

.logo-box::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;

  /* película más visible (subimos opacidad y densidad) */
  background:
    radial-gradient(420px 180px at 5% 8%,
      rgba(255,106,0,0.22) 0%,
      rgba(255,106,0,0.10) 35%,
      rgba(255,106,0,0.00) 70%
    );
  opacity: 0;
  transition: opacity 0.22s ease;
}

.logo-box:hover::after{
  opacity: 1;
}

.logo-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.12);

  /* ✅ Contorno más notorio */
  border-color: rgba(255,106,0,0.55);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.12),
    0 0 0 3px rgba(255,106,0,0.18); /* ring premium */
}

.logo-box img{
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

/* =========================
   CONTACTO PREMIUM
========================= */
.contacto-premium{
  padding: 100px 0;
}

.contacto-premium__head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.contacto-premium__subtitle{
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
  font-size: 16px;
}

.contacto-premium__wrapper{
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* INFO */
.contacto-premium__info{
  background: linear-gradient(145deg, var(--blue-950), var(--blue-900));
  color: #fff;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info__list{
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.info__item{
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info__icon{
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  border: 1px solid rgba(255,255,255,0.12);
}

.info__icon svg{ width: 22px; height: 22px; }

.info__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info__text strong{
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.info__text span{
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.mt-whatsapp{
  margin-top: 40px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.info__bg-shape{
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* FORM */
.contacto-premium__form{
  padding: 50px 60px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group{ display: flex; flex-direction: column; }
.input-group.full-width{ grid-column: span 2; }

.contacto-premium__form input,
.contacto-premium__form textarea{
  width: 100%;
  padding: 18px 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}

.contacto-premium__form input::placeholder,
.contacto-premium__form textarea::placeholder{ color: #9ca3af; }

.contacto-premium__form input:focus,
.contacto-premium__form textarea:focus{
  outline: none;
  border-color: var(--blue-900);
  box-shadow: 0 0 0 3px rgba(0, 16, 87, 0.08);
}

.submit-btn{
  margin-top: 24px;
  width: 100%;
  padding: 18px;
}

/* MAPA */
.contacto-mapa{
  margin-top: 60px;
  width: 100%;
  height: 420px;
  background: #e2e8f0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transform: translateZ(0);
}

.contacto-mapa iframe{
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.2) contrast(1.05) opacity(0.9);
  transition: filter 0.4s ease;
}

.contacto-mapa:hover iframe{ filter: grayscale(0) contrast(1) opacity(1); }

.mapa-badge{
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 10, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.contacto-mapa:hover .mapa-badge{ transform: translateY(-4px); }

.mapa-badge svg{
  color: var(--orange);
  background: rgba(255,106,0,0.1);
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-sizing: border-box;
}

.badge-text{ display: flex; flex-direction: column; }
.badge-text strong{
  font-size: 15px;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1.2;
}
.badge-text span{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

/* =========================
   FOOTER (NO TOCAR)
========================= */
.footer{
  background: linear-gradient(180deg, var(--blue-950), var(--blue-900)) !important;
  color: rgba(255,255,255,0.92);
  padding: 92px 0 20px;
  margin-top: 0;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  align-items:start;
}

.footer__logo{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.footer__desc{
  margin: 0 0 18px;
  max-width: 520px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  line-height: 1.7;
  font-size: 14px;
}

.footer__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__col h4{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
}

.footer__col ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.footer__col a{
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
}

.footer__col a:hover{ color: #ffffff; }

.footer__social{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.social{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  transition: 0.25s ease;
}

.social:hover{
  transform: translateY(-2px);
  border-color: rgba(255,106,0,0.45);
  color: #ffffff;
}

.footer__bottom{
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align:center;
}

.footer__bottom p{
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
}

/* =========================
   PAGE HERO (EMPRESA / SERVICIOS / PROYECTOS)
========================= */
.page-hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  padding-top: 120px;
}

.page-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/empresa/empresa-hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.06);
}

.page-hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(0, 8, 28, 0.94) 0%,
      rgba(0, 18, 60, 0.78) 38%,
      rgba(0, 18, 60, 0.32) 70%,
      rgba(0, 18, 60, 0.12) 100%
    ),
    radial-gradient(circle at 45% 0%,
      rgba(255,255,255,0.14) 0%,
      rgba(255,255,255,0.00) 60%
    );
}

.page-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0px 0 80px;
  padding-left: 140px;
}

.page-hero__content{ max-width: 980px; }

.page-hero__title{
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 18px 60px rgba(0,0,0,0.40);
}

.page-hero__subtitle{
  margin: 0;
  max-width: 820px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* =========================
   MOBILE MENU
========================= */
.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span{
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .services-home-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .projects-home__grid{ grid-template-columns: repeat(2, 1fr); }
  .tech__grid{ grid-template-columns: 1fr; }
  .tech__title{ font-size: 28px; }
  .tech__image img{ height: 280px; 
  /* ✅ MÓVIL/TABLET: Laboratorio (tech) en 1 columna, proporción correcta */
.tech__grid{
  grid-template-columns: 1fr !important;
  gap: 26px !important;
}

/* La cápsula no debe deformar el layout en móvil */
.tech__grid{
  border-radius: 28px !important;
  padding: 34px 22px !important;
}

.tech__media{
  justify-content: center;
}

/* Imagen: full width y altura elegante */
.tech__image{
  width: 100% !important;
}

.tech__image img{
  height: 260px !important;
}

/* Sello INACAL dentro, sin salirse */
.tech__seal{
  bottom: 14px !important;
  right: 14px !important;
  width: 120px !important;
  height: 120px !important;
}
  }

  .tech__seal{
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 16px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    flex-direction: row;
    gap: 10px;
    justify-content:center;
  }

  .tech__seal strong{ font-size: 18px; }

  .footer__grid{ grid-template-columns: 1fr; }

  .hero__content{ padding-left: 0; text-align: center; }
  .hero__line{ white-space: normal; justify-content: center; flex-wrap: wrap; }
  .hero__cta{ justify-content: center; }

  .page-hero__inner{ padding-left: 0; }
  .page-hero__content{ text-align: center; margin: 0 auto; }
  .hero__actions{ justify-content: center; }

  .process-tech__grid{ grid-template-columns: repeat(2, 1fr); }
  .process-tech__grid::before{ display:none; }

  .contacto-premium__wrapper{ grid-template-columns: 1fr; }
  .contacto-premium__form{ padding: 40px 30px; }
}

@media (max-width: 650px){
  .projects-home__grid{ grid-template-columns: 1fr; }
  .project-home-card__img{ height: 200px; }
  .services-home-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .input-group.full-width{ grid-column: span 1; }
  .contacto-premium__info{ padding: 40px 25px; }
/* ✅ PROCESO: 1 tarjeta por fila en móvil */
.process-tech__grid{
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

/* ✅ sin línea conectora en móvil */
.process-tech__grid::before{
  display: none !important;
}

/* ✅ padding del contenedor para que no se sienta apretado */
.process-tech .container{
  padding: 38px 20px !important;
}
/* ✅ LABORATORIO / INACAL: 1 columna y proporción correcta */
.tech__grid{
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  padding: 34px 20px !important;
}

.tech__image{
  width: 100% !important;
}

.tech__image img{
  height: 260px !important;
}

.tech__seal{
  width: 120px !important;
  height: 120px !important;
  bottom: 14px !important;
  right: 14px !important;
}

/* ✅ MÓVIL: imagen más grande y sello INACAL circular pequeño */
.tech__image img{
  height: 340px !important;          /* antes 260: ahora más grande */
  border-radius: 22px !important;
}

/* ✅ Sello INACAL: círculo pequeño y bien posicionado */
.tech__seal{
  width: 104px !important;
  height: 104px !important;
  border-radius: 999px !important;

  /* derecha, media-baja */
  right: 16px !important;
  bottom: 36px !important;

  box-shadow: 0 18px 50px rgba(0,0,0,0.16) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
}

.tech__seal span{ font-size: 11px !important; }
.tech__seal strong{ font-size: 16px !important; }

/* ✅ MÓVIL: sello INACAL circular con texto centrado */
.tech__seal{
  width: 104px !important;
  height: 104px !important;
  border-radius: 999px !important;

  /* posición: derecha, media-baja */
  right: 16px !important;
  bottom: 36px !important;

  /* ✅ CLAVE: centrar contenido dentro del círculo */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  padding: 0 !important;              /* evita que empuje el texto */
  line-height: 1.1 !important;        /* compacta */
  box-shadow: 0 18px 50px rgba(0,0,0,0.16) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  background: rgba(255,255,255,0.96) !important;
}

/* Texto interno del sello */
.tech__seal span{
  font-size: 11px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.tech__seal strong{
  font-size: 16px !important;
  font-weight: 900 !important;
  margin: 2px 0 0 !important;
}

}

@media (max-width: 768px){
  
  /* ✅ Header móvil centrado: logo + hamburguesa */
.header__inner{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
}

/* En móvil, el bloque navwrap no debe empujar nada a la derecha */
.navwrap{
  width: 100%;
  justify-content: center;
}

/* Botón hamburguesa centrado */
.menu-toggle{
  margin: 0 auto;
}
  
  .menu-toggle{ display:flex; }
  .btn--nav{ display:none !important; }

  .nav{
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #000a2a;
    display: flex;
    flex-direction: column;
    padding: 120px 40px;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 10000;
  }
  .nav.active{ right: 0; }
  .nav a{ font-size: 18px; color: #ffffff; }

  /* Forzar letras blancas incluso con scroll (panel lateral) */
  .header.header--scrolled .nav a{ color:#ffffff; }
  .header.header--scrolled .nav a:hover{ color: var(--orange); }

  /* HERO móvil */
  .hero{ padding-bottom: 60px; }
  .hero__bg{ background-position: center bottom; transform: scale(1); }
}

@media (max-width: 480px){
  /* HOME: cubrir toda la pantalla en móvil (evita el “espacio vacío” inferior) */
  .hero{
    min-height: 100svh;          /* alto real móvil (recomendado) */
    min-height: 100vh;           /* fallback */
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__title{ font-size: 26px; line-height: 1.2; }
  .hero__lead{ font-size: 14px; margin-top: 15px; }

  .hero__cta,
  .hero__actions{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 25px auto 0;
    align-items: stretch;
    gap: 15px;
  }

  .hero__cta .btn,
  .hero__actions .btn{
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    min-height: 50px;
    font-size: 15px;
  }

  .services-home-section{ padding: 80px 0; }

  .contacto-mapa{
    height: 350px;
    border-radius: 22px;
    margin-top: 40px;
  }

  .mapa-badge{
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 14px 18px;
  }
}