/* ================================================================
   GCM CONSTRUCCIONES DEL NORTE — style.css
   Diseño aprobado: Carbón · Marfil · Dorado
   ================================================================

   PALETA — No modificar, es el diseño aprobado:
   --carbon    : #0D0D0D  fondo oscuro principal
   --carbon2   : #1A1A1A  fondo oscuro secundario (navbar, contacto)
   --ivory     : #F7F5F2  fondo claro cálido (stats, nosotros-mv)
   --white     : #FFFFFF  blanco puro
   --gold      : #C8941A  acento dorado
   --gold2     : #DBA828  dorado hover
   --border-d  : rgba(255,255,255,0.07)  borde sobre oscuro
   --border-l  : #EDE9E3                 borde sobre claro

   TIPOGRAFÍA — No modificar:
   Títulos h1-h2 : Playfair Display (serif elegante)
   Labels/nav    : Poppins (geométrica moderna)
   Cuerpo/párrafo: Inter (legibilidad premium)
================================================================ */

:root {
  --carbon:   #0D0D0D;
  --carbon2:  #1A1A1A;
  --ivory:    #F7F5F2;
  --white:    #FFFFFF;
  --gold:     #C8941A;
  --gold2:    #DBA828;
  --gray-text: #666666;
  --border-d: rgba(255,255,255,0.07);
  --border-l: #EDE9E3;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-label: 'Poppins', sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --ease: 0.28s ease;
  --ease-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================================================
   RESET Y BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); background: var(--white); color: var(--carbon2); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { font-family: var(--font-label); cursor: pointer; }

/* ================================================================
   CONTENEDOR
================================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================================
   HELPERS TIPOGRÁFICOS
================================================================ */
/* Etiqueta de sección — Poppins, dorado, todo caps */
.section-tag {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.section-tag.center { text-align: center; }

/* Título h2 de sección — Playfair Display */
.section-h2 {
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--carbon2);
  line-height: 1.25;
}
.section-h2.center { text-align: center; margin-bottom: 2.5rem; }

/* ================================================================
   BOTONES
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold2); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   BOTÓN FLOTANTE WHATSAPP
================================================================ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: background var(--ease), transform var(--ease);
}
.wa-float:hover { background: #1ebe5a; transform: scale(1.08); }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--carbon2);
  border-bottom: 1px solid var(--border-d);
  transition: box-shadow var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1.5px solid var(--gold);
  padding: 3px;
  /* Oculta si la imagen no carga aún */
  background: var(--carbon2);
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.logo-name-light {
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  margin-top: 1px;
}

/* Links */
.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  transition: color var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.65);
  transition: transform var(--ease), opacity var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
/* ================================================================
   HERO — versión dos columnas con video
================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--carbon);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 80% 50%, rgba(200,148,26,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(200,148,26,0.04) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 1160px;
  margin: 0 auto; padding: 5rem 2rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem; align-items: center;
}
.hero-text { display: flex; flex-direction: column; }
.hero-eyebrow {
  font-family: var(--font-label); font-size: 10px; font-weight: 500;
  letter-spacing: 0.24em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 1; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-slow) 0.1s forwards;
}
.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 400;
  color: var(--white); line-height: 1.1; margin-bottom: 1.75rem;
  opacity: 1; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-slow) 0.22s forwards;
}
.hero-text h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.5); line-height: 1.85;
  margin-bottom: 2.25rem; max-width: 460px;
  opacity: 1; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-slow) 0.36s forwards;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.75rem;
  opacity: 1; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-slow) 0.48s forwards;
}
.hero-creds {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  opacity: ; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-slow) 0.6s forwards;
}
.hero-cred { display: flex; flex-direction: column; gap: 3px; }
.hero-cred-num {
  font-family: var(--font-title); font-size: 22px; font-weight: 500;
  color: var(--gold); line-height: 1;
}
.hero-cred-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 300;
  color: rgba(255,255,255,0.3); letter-spacing: 0.06em;
}
.hero-cred-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.hero-image-wrap {
  position: relative;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-slow) 0.35s forwards;
}
.hero-image-frame {
  position: relative; width: 100%; height: 520px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.07);
  background: #141414;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
  transition: transform 0.6s var(--ease-slow);*/
}
.hero-image-frame:hover .hero-img { transform: scale(1.03); }
.hero-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(13,13,13,0.92); border: 1px solid rgba(200,148,26,0.4);
  padding: 0.65rem 1.1rem; display: flex; flex-direction: column; gap: 2px;
  z-index: 3;
}
.hero-badge-num { font-family: var(--font-label); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; }
.hero-badge-label { font-family: var(--font-body); font-size: 9px; font-weight: 300; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }
.hero-deco-line {
  position: absolute; top: -14px; right: -14px;
  width: 70px; height: 70px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  opacity: 0.45;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 2rem; }
  .hero-image-wrap { order: -1; }
  .hero-image-frame { height: 320px; }
  .hero-deco-line { display: none; }
  .hero-text h1 { font-size: clamp(32px,7vw,48px); }
  .hero-sub { max-width: 100%; }
}*/
@media (max-width: 600px) {
  .hero-inner { padding: 2.5rem 1.25rem; gap: 1.75rem; }
  .hero-image-frame { height: 240px; }
  .hero-text h1 { font-size: clamp(28px,9vw,38px); }
  .hero-sub { font-size: 14px; }
  .hero-creds { gap: 1rem; }
  .hero-cred-num { font-size: 18px; }
  .hero-btns .btn { padding: 0.7rem 1.25rem; font-size: 11px; }
}

================================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Elementos que se animan al entrar en viewport (script.js) */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-slow), transform 0.6s var(--ease-slow);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   STATS BAR
================================================================ */
.stats-bar {
  background: var(--carbon);
  border-top: 1px solid var(--border-d);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border-d);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================================================================
   NOSOTROS
================================================================ */
.nosotros {
  padding: 6rem 0;
  background: var(--white);
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Columna izquierda */
.nosotros-texto h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--carbon2);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.nosotros-texto p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* Columna derecha — misión y visión */
.nosotros-mv {
  background: var(--ivory);
  padding: 2.5rem;
}

.mv-card {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
}
.mv-card:last-child { margin-bottom: 0; }
.mv-card h4 {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.mv-card p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-text);
  line-height: 1.8;
}

/* ================================================================
   SERVICIOS
================================================================ */
.servicios {
  padding: 6rem 0;
  background: var(--carbon);
}
.servicios .section-tag { margin-bottom: 0.5rem; }
.servicios .section-h2 {
  color: var(--white);
  margin-bottom: 3rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.servicio-card {
  background: var(--carbon);
  overflow: hidden;
  transition: background var(--ease);
}
.servicio-card:hover { background: #161616; }

/* Imagen del servicio */
.serv-img {
  height: 190px;
  background-color: rgba(255,255,255,0.04);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-slow);
  overflow: hidden;
}
.servicio-card:hover .serv-img { transform: scale(1.03); }

.serv-body {
  padding: 1.5rem 1.75rem;
}
.serv-body h3 {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.serv-body p {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ================================================================
   CLIENTES
================================================================ */
.clientes-bar {
  padding: 5rem 0;
  background: var(--ivory);
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
}
.clientes-bar .section-h2.center { margin-bottom: 2.5rem; }

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-l);
}
.cliente-logo {
  background: var(--white);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: background var(--ease);
}
.cliente-logo:hover { background: var(--ivory); }
.cliente-logo span {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  color: #AAAAA0;
  letter-spacing: 0.07em;
  text-align: center;
  transition: color var(--ease);
}
.cliente-logo:hover span { color: var(--carbon2); }
/* Cuando uses imágenes reales: */
.cliente-logo img {
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter var(--ease), opacity var(--ease);
}
.cliente-logo:hover img { filter: none; opacity: 1; }

/* ================================================================
   PROYECTOS — CARRUSEL
================================================================ */
.proyectos {
  padding: 6rem 0;
  background: var(--carbon);
}
.proyectos .section-tag { margin-bottom: 0.5rem; }

.proyectos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.proyectos-header h2 {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--white);
}

/* Botones prev/next */
.slider-nav { display: flex; gap: 8px; }
.slider-nav button {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  border-radius: 2px;
}
.slider-nav button:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,148,26,0.07);
}

/* Track del carrusel */
.slider-wrap { overflow: hidden; }
.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Cada slide — 1/3 en desktop */
.slide {
  min-width: calc(33.33% - 11px);
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color var(--ease);
}
.slide:hover { border-color: rgba(255,255,255,0.14); }

.slide-img {
  height: 210px;
  background-color: rgba(255,255,255,0.04);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-slow);
}
.slide:hover .slide-img { transform: scale(1.03); }

.slide-cat {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--font-label);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 1px;
}

.slide-body { padding: 1.25rem 1.5rem; }
.slide-body h3 {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 5px;
}
.slide-body p {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
}

/* Puntos de navegación */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ================================================================
   CONTACTO
================================================================ */
.contacto {
  padding: 6rem 0;
  background: var(--carbon2);
  border-top: 1px solid var(--border-d);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

/* Info */
.contacto-info .section-tag { margin-bottom: 0.6rem; }
.contacto-info h2 {
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.contacto-sub {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.contacto-lista { display: flex; flex-direction: column; gap: 1.4rem; }
.contacto-lista li { display: flex; gap: 14px; align-items: flex-start; }
.ico { font-size: 16px; color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contacto-lista div {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}
.contacto-lista strong {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}

.repse-badge {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(200,148,26,0.35);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  border-radius: 2px;
}

/* Formulario */
.contacto-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  border-radius: 2px;
  transition: border-color var(--ease), background var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--carbon2); }

.privacy-check { display: flex; align-items: flex-start; gap: 10px; }
.privacy-check input {
  accent-color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
  width: 14px; height: 14px;
}
.privacy-check label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  cursor: pointer;
}
.privacy-check a { color: var(--gold); }
.privacy-check a:hover { text-decoration: underline; }

.form-status {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
  display: none;
}
.form-status.ok  { background: rgba(29,157,92,0.1);  border: 1px solid rgba(29,157,92,0.25); color: #5CD99A; display: block; }
.form-status.err { background: rgba(220,60,60,0.08); border: 1px solid rgba(220,60,60,0.25); color: #F09090; display: block; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--carbon);
  border-top: 1px solid var(--border-d);
  padding: 1.4rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
}
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a { color: rgba(255,255,255,0.25); transition: color var(--ease); }
.footer-links a:hover { color: var(--gold); }

/* ================================================================
   MODAL — AVISO DE PRIVACIDAD
================================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--carbon2);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
}
.modal-box h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.modal-box h4 {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.25rem 0 0.5rem;
}
.modal-box ul { padding-left: 1.25rem; list-style: disc; }
.modal-box li { margin-bottom: 0.25rem; }
.modal-box a { color: var(--gold); }
.modal-fecha { color: rgba(255,255,255,0.2); font-size: 10px; margin-top: 1.25rem; }

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 18px;
  line-height: 1;
  transition: color var(--ease);
}
.modal-close:hover { color: var(--white); }

/* ================================================================
   RESPONSIVE — TABLET (≤ 900px)
================================================================ */
@media (max-width: 900px) {
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .nosotros-grid  { grid-template-columns: 1fr; }
  .nosotros-mv    { padding: 2rem; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid  { grid-template-columns: repeat(3, 1fr); }
  .contacto-grid  { grid-template-columns: 1fr; }
  /* 2 slides visibles en tablet */
  .slide { min-width: calc(50% - 8px); }
}

/* ================================================================
   RESPONSIVE — MÓVIL (≤ 600px)
================================================================ */
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }

  /* Navbar móvil */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--carbon2);
    border-top: 1px solid var(--border-d);
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
  }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { background-attachment: scroll; }
  .hero-content { padding: 4rem 1.25rem; }
  .hero-content h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero-sub { font-size: 14px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.25rem; }
  .stat-num { font-size: 20px; }

  /* Nosotros */
  .nosotros { padding: 4rem 0; }
  .nosotros-mv { padding: 1.5rem; }

  /* Servicios */
  .servicios-grid { grid-template-columns: 1fr; }
  .servicios { padding: 4rem 0; }

  /* Clientes */
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-bar  { padding: 4rem 0; }

  /* Proyectos */
  .proyectos { padding: 4rem 0; }
  .slide { min-width: 100%; }

  /* Contacto */
  .contacto { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ================================================================
   ESTILOS ADICIONALES — Páginas nuevas
   Añadidos al final sin modificar nada existente
================================================================ */

/* ---- Link de sección (Ver todas →) ---- */
.btn-link {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity var(--ease);
}
.btn-link:hover { opacity: 0.7; }

/* ---- Nav active (página actual) ---- */
.nav-active {
  color: var(--gold) !important;
}
.nav-active::after { width: 100% !important; }

/* ================================================================
   PAGE HERO — header de páginas internas
================================================================ */
.page-hero {
  background: var(--carbon2);
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border-d);
}
.page-hero-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  line-height: 1.8;
}

/* ================================================================
   HERO (index) — versión dos columnas
================================================================ */
   NOTICIAS — sección en index + página completa
================================================================ */
.noticias { padding: 6rem 0; background: var(--ivory); }
.noticias-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-l);
}
.noticias-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.noticia-card {
  background: var(--white); border: 0.5px solid var(--border-l);
  overflow: hidden; transition: transform var(--ease), box-shadow var(--ease);
}
.noticia-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.noticia-img {
  height: 180px; background-color: var(--border-l);
  background-size: cover; background-position: center;
}
.noticia-body { padding: 1.25rem 1.5rem; }
.noticia-cat {
  font-family: var(--font-label); font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 4px;
}
.noticia-fecha {
  font-family: var(--font-body); font-size: 11px; font-weight: 300;
  color: #aaa; display: block; margin-bottom: 8px;
}
.noticia-body h3 {
  font-family: var(--font-title); font-size: 15px; font-weight: 400;
  color: var(--carbon2); line-height: 1.3; margin-bottom: 8px;
}
.noticia-body p {
  font-family: var(--font-body); font-size: 12px; font-weight: 300;
  color: var(--gray-text); line-height: 1.7;
}

/* Página de noticias */
.noticias-page { padding: 5rem 0; background: var(--ivory); }
.noticia-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-bottom: 3rem; background: var(--white); border: 0.5px solid var(--border-l); overflow: hidden;
}
.noticia-featured-img {
  height: 400px; background-color: var(--border-l);
  background-size: cover; background-position: center;
}
.noticia-featured-body {
  padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.noticia-featured-body h2 {
  font-family: var(--font-title); font-size: clamp(20px,2.5vw,26px);
  font-weight: 400; color: var(--carbon2); line-height: 1.25;
}
.noticia-featured-body p {
  font-family: var(--font-body); font-size: 13px; font-weight: 300;
  color: var(--gray-text); line-height: 1.85;
}
.noticias-grid-full {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
@media (max-width: 900px) {
  .noticias-grid { grid-template-columns: repeat(2,1fr); }
  .noticias-grid-full { grid-template-columns: repeat(2,1fr); }
  .noticia-featured { grid-template-columns: 1fr; }
  .noticia-featured-img { height: 260px; }
}
@media (max-width: 600px) {
  .noticias { padding: 4rem 0; }
  .noticias-grid { grid-template-columns: 1fr; }
  .noticias-grid-full { grid-template-columns: 1fr; }
  .noticias-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ================================================================
   CONTACTO — página independiente
================================================================ */
.contacto-page { padding: 5rem 0; background: var(--carbon2); }
.contacto-page-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start;
}
.contacto-info-page { display: flex; flex-direction: column; gap: 2.5rem; }
.cp-data { display: flex; flex-direction: column; }
.cp-data .contacto-lista { margin-top: 1rem; }
.wa-contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 1.5rem; padding: 0.75rem 1.25rem;
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3);
  font-family: var(--font-label); font-size: 12px; font-weight: 500;
  color: #4ecb8a; letter-spacing: 0.04em;
  transition: background var(--ease);
}
.wa-contact-btn:hover { background: rgba(37,211,102,0.18); }
.mapa-wrap {
  width: 100%; height: 300px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); margin-top: 0.75rem;
}
.contacto-form-page { padding-top: 0.25rem; }
@media (max-width: 900px) {
  .contacto-page-grid { grid-template-columns: 1fr; }
  .mapa-wrap { height: 220px; }
}

/* ================================================================
   GALERÍA — página independiente
================================================================ */
.galeria-page { padding: 5rem 0; background: var(--carbon); }
.gal-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.gal-filter {
  font-family: var(--font-label); font-size: 11px; font-weight: 500;
  padding: 0.5rem 1.1rem; letter-spacing: 0.06em;
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45); cursor: pointer; border-radius: 2px;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.gal-filter.active,
.gal-filter:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(200,148,26,0.07);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.gal-item {
  overflow: hidden;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s var(--ease-slow), transform 0.4s var(--ease-slow), display 0s;
}
.gal-item.visible { opacity: 1; transform: translateY(0); }
.gal-item-img {
  height: 220px; background-color: rgba(255,255,255,0.05);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-slow);
}
.gal-item:hover .gal-item-img { transform: scale(1.04); }
.gal-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; opacity: 0; transition: opacity var(--ease);
}
.gal-item:hover .gal-item-overlay { opacity: 1; }
.gal-item-cat {
  font-family: var(--font-label); font-size: 8px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.gal-item-title {
  font-family: var(--font-label); font-size: 12px; font-weight: 500;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  position: relative; max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; display: block;
}
.lightbox-caption {
  font-family: var(--font-body); font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.5); margin-top: 1rem; text-align: center;
}
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 24px; cursor: pointer; z-index: 2001; line-height: 1;
  transition: color var(--ease);
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-size: 20px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2001;
  transition: background var(--ease), color var(--ease);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(200,148,26,0.2); border-color: var(--gold); color: var(--gold);
}

@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) {
  .galeria-page { padding: 3rem 0; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item-img { height: 200px; }
  .gal-item-overlay { opacity: 1; }
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}