/*
Theme Name: ID&C SAS
Theme URI: 
Author: Developer
Author URI: 
Description: Custom WordPress theme for ID&C SAS
Version: 1.0
Text Domain: idyc
*/

/* ==========================================================================
   ID&C SAS - Ingeniería, Diseño y Construcción
   Sistema de diseño principal · styles.css
   Estructura:
     1. Variables y tokens de diseño
     2. Reset y base
     3. Tipografía
     4. Utilidades y contenedores
     5. Botones y elementos
     6. Header / Navegación
     7. Hero
     8. Secciones genéricas
     9. Stats / Indicadores de confianza
    10. Servicios
    11. Proceso de trabajo
    12. Proyectos / Portafolio
    13. Testimonios
    14. CTA final
    15. Nosotros
    16. Equipo / Valores
    17. Contacto / Formulario
    18. Footer
    19. Componentes auxiliares (WhatsApp, modal, reveal)
    20. Animaciones
    21. Responsive
========================================================================== */

/* --- 1. VARIABLES Y TOKENS -------------------------------------------------- */
:root {
  /* Paleta principal */
  --navy-950: #06101D;
  --navy-900: #0A1B2F;
  --navy-800: #0F2840;
  --navy-700: #163A5C;
  --navy-600: #1E4A75;

  /* Acento elegante (dorado, solidez y premium) */
  --gold: #C9A24B;
  --gold-dark: #A88532;
  --gold-light: #E3C97F;

  /* Neutros */
  --white: #FFFFFF;
  --off-white: #F6F8FB;
  --gray-50: #FAFBFD;
  --gray-100: #F1F4F8;
  --gray-200: #E4E9EF;
  --gray-300: #CFD6DE;
  --gray-400: #9AA6B4;
  --gray-500: #6B7888;
  --gray-600: #4C5A6B;
  --gray-700: #33404F;
  --gray-800: #1F2A37;
  --gray-900: #121A24;

  /* Texto */
  --text: #1E2A38;
  --text-muted: #5C6B7A;

  /* Tipografía */
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --container: 1200px;
  --container-wide: 1320px;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 27, 47, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 27, 47, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 27, 47, 0.16);
  --trans: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* --- 2. RESET Y BASE -------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) var(--gray-100);
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

::selection { background: var(--gold); color: var(--navy-900); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-600); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- 3. TIPOGRAFÍA ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1, h2 { text-wrap: balance; }

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); }

/* --- 4. UTILIDADES Y CONTENEDORES ------------------------------------------- */
.container, .container-wide {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.container { max-width: var(--container); }
.container-wide { max-width: var(--container-wide); }

.section { padding: 96px 0; }
.section--tint { background: var(--off-white); }
.section--dark { background: var(--navy-900); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .section-title { margin: 14px 0 16px; }
.section-head p { font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  display: block;
}
.eyebrow--center::after {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  display: block;
}

.section--dark .section-title { color: var(--white); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .eyebrow::before { background: var(--gold-light); }
.section--dark p { color: var(--gray-300); }

/* --- 5. BOTONES Y ELEMENTOS ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 60px;
  border: 2px solid transparent;
  transition: transform var(--trans), box-shadow var(--trans),
              background var(--trans), color var(--trans), border-color var(--trans);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--trans); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(201, 162, 75, 0.45);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--gray-200); color: var(--navy-900); background: transparent; }
.btn--ghost:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  transform: translateY(-3px);
}

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-700);
  transition: color var(--trans), gap var(--trans);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--trans); }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- 6. HEADER / NAVEGACIÓN -------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: height var(--trans), background var(--trans), box-shadow var(--trans),
              backdrop-filter var(--trans);
  backdrop-filter: blur(0px);
}

.header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(10, 27, 47, 0.10);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; z-index: 1002; }
.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(201, 162, 75, 0.4);
  transition: transform var(--trans);
}
.logo:hover .logo__mark { transform: rotate(-4deg) scale(1.05); }

.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--trans);
}
.logo__tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--trans);
}

.header.is-scrolled .logo__name { color: var(--navy-900); }
.header.is-scrolled .logo__tag { color: var(--text-muted); }
.header.is-scrolled .nav__link,
.header.is-scrolled .nav-toggle span { color: var(--gray-700); }

/* Navegación desktop */
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color var(--trans);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover { color: var(--white); }
.header.is-scrolled .nav__link:hover { color: var(--navy-900); }
.header.is-scrolled .nav__link.is-active { color: var(--navy-900); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  background: var(--gold);
  padding: 12px 22px;
  border-radius: 60px;
  transition: transform var(--trans), background var(--trans), box-shadow var(--trans);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.3);
}
.header__cta svg { width: 16px; height: 16px; transition: transform var(--trans); }
.header__cta:hover { transform: translateY(-2px); background: var(--gold-light); }
.header__cta:hover svg { transform: translateX(3px); }

/* Menú hamburguesa (móvil) */
.nav-toggle {
  display: none;
  z-index: 1002;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--trans);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.header.is-scrolled .nav-toggle { border-color: var(--gray-200); background: var(--gray-100); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header.is-scrolled .nav-toggle.is-open { background: var(--navy-900); }
.header.is-scrolled .nav-toggle.is-open span { background: var(--white); }

/* --- 7. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(6, 16, 29, 0.94) 0%,
    rgba(10, 27, 47, 0.82) 45%,
    rgba(10, 27, 47, 0.45) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 120px;
  max-width: 780px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 18px;
  border-radius: 60px;
}
.hero__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
.hero h1 {
  color: var(--white);
  margin: 26px 0 22px;
  font-weight: 800;
}
.hero h1 .accent {
  color: var(--gold-light);
  position: relative;
}
.hero__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 560px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: scrollWheel 1.8s infinite;
}

/* --- 8. SECCIONES GENÉRICAS ------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- 9. STATS / INDICADORES DE CONFIANZA ------------------------------------ */
.stats {
  position: relative;
  margin-top: -70px;
  z-index: 5;
}
.stats__wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 8px 12px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}
.stat__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--gold-dark);
}
.stat__icon svg { width: 24px; height: 24px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num .suffix { color: var(--gold-dark); }
.stat__num.is-text {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
}
.stat__label {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* --- 10. SERVICIOS ----------------------------------------------------------- */
.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--off-white);
  color: var(--navy-700);
  margin-bottom: 22px;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-card__icon { background: var(--navy-900); color: var(--gold-light); transform: rotate(-5deg); }

.svc-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.svc-card p { font-size: 0.96rem; margin-bottom: 20px; }

/* --- 11. PROCESO DE TRABAJO -------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process__step {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 34px 26px;
  border: 1px solid var(--gray-200);
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
}
.process__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.process__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process__step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process__step p { font-size: 0.92rem; }
.process__step::after {
  content: "";
  position: absolute;
  top: 55px;
  right: -14px;
  width: 28px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
}
.process__step:last-child::after { display: none; }

/* --- 12. PROYECTOS / PORTAFOLIO ---------------------------------------------- */
.proj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
  display: block;
  border: 1px solid transparent;
  transition: box-shadow var(--trans), border-color var(--trans);
}
.proj-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 75, 0.55); }
.proj-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -4px;
}
.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity var(--trans);
  opacity: 0.88;
}
.proj-card:hover img { transform: scale(1.07); opacity: 0.65; }
.proj-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(6, 16, 29, 0.94) 0%, rgba(6, 16, 29, 0.28) 40%, rgba(6, 16, 29, 0) 60%);
}
.proj-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.proj-card__overlay h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.proj-card__overlay .loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}
.proj-card__overlay .loc svg { width: 15px; height: 15px; }
.proj-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transform: translateY(10px);
  opacity: 0;
  transition: transform var(--trans), opacity var(--trans);
}
.proj-card__arrow svg { width: 18px; height: 18px; }
.proj-card:hover .proj-card__arrow { transform: translateY(0); opacity: 1; }

/* --- 13. TESTIMONIOS ---------------------------------------------------------- */
.testi {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: transform var(--trans), box-shadow var(--trans);
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi__quote {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 6px;
}
.testi p:not(.testi__who p) { font-size: 0.98rem; font-style: italic; }
.testi__stars { display: flex; gap: 4px; margin: 18px 0 4px; }
.testi__stars svg { width: 18px; height: 18px; color: var(--gold); }
.testi__who {
  border-top: 1px solid var(--gray-200);
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.testi__name { font-weight: 700; color: var(--navy-900); font-size: 1rem; }
.testi__role { font-size: 0.84rem; color: var(--text-muted); }

/* --- 14. CTA FINAL ------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}
.cta__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 162, 75, 0.14), transparent 45%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta__inner h2 { color: var(--white); margin-bottom: 18px; }
.cta__inner .eyebrow { color: var(--gold-light); justify-content: center; }
.cta__inner .eyebrow::before { background: var(--gold-light); }
.cta__inner p { color: var(--gray-300); font-size: 1.1rem; margin-bottom: 36px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* --- Banner superior de páginas interiores ------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(150px, 20vh, 220px) 0 96px;
  background: var(--navy-900);
  overflow: hidden;
}
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6,16,29,0.92), rgba(10,27,47,0.6));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { color: var(--white); margin-top: 18px; }
.page-hero__sub { color: var(--gray-300); max-width: 640px; margin-top: 16px; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-light); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--gray-400); margin-bottom: 10px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: var(--white); }

/* --- 15. NOSOTROS ---------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 50%;
  height: 50%;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  z-index: -1;
}
.split__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.split__badge .b-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}
.split__badge .b-txt { font-size: 0.82rem; color: var(--gray-300); line-height: 1.3; }
.split__body p { margin-bottom: 16px; }

/* Misión / Visión */
.mv {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 38px 32px;
  height: 100%;
  transition: transform var(--trans), box-shadow var(--trans);
}
.mv:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mv__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-light);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.mv__icon svg { width: 26px; height: 26px; }
.mv h3 { margin-bottom: 12px; }

/* --- 16. EQUIPO / VALORES --------------------------------------------------------- */
.val-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.val-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.val-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--gold-dark);
  display: grid; place-items: center;
}
.val-card__icon svg { width: 26px; height: 26px; }
.val-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.val-card p { font-size: 0.92rem; }

.discipline {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.discipline:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.discipline__icon {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 10px;
  background: var(--off-white);
  color: var(--navy-700);
  display: grid; place-items: center;
}
.discipline__icon svg { width: 22px; height: 22px; }
.discipline span { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 0.95rem; line-height: 1.3; }

/* Por qué elegirnos - checklist */
.check-list { display: grid; gap: 20px; margin-top: 8px; }
.check-item { display: flex; gap: 16px; }
.check-item__icon {
  width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(201,162,75,0.15);
  color: var(--gold-dark);
  display: grid; place-items: center;
  margin-top: 2px;
}
.check-item__icon svg { width: 17px; height: 17px; }
.check-item h4 { margin-bottom: 4px; }

/* --- Servicio detallado (página servicios, alternado) --------------------------- */
.sdetail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0;
}
.sdetail:nth-child(even) { direction: rtl; }
.sdetail > * { direction: ltr; }
.sdetail__media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.sdetail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.sdetail__media:hover img { transform: scale(1.05); }
.sdetail__tag {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--navy-900);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 60px;
}
.sdetail__body .svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-light);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.sdetail__body .svc-icon svg { width: 28px; height: 28px; }
.sdetail__body h3 { font-size: 1.7rem; margin-bottom: 14px; }
.sdetail__body > p { margin-bottom: 20px; }
.benefits { list-style: none; margin-bottom: 18px; display: grid; gap: 10px; }
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text);
}
.benefits li svg { width: 18px; height: 18px; color: var(--gold-dark); flex: 0 0 auto; margin-top: 2px; }
.sdetail__apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.sdetail__apps span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  padding: 7px 13px;
  border-radius: 60px;
}

/* --- Filtros (portafolio) --------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 11px 22px;
  border-radius: 60px;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
}
.filter-btn:hover { border-color: var(--navy-700); transform: translateY(-2px); }
.filter-btn.is-active { background: var(--navy-900); color: var(--gold-light); border-color: var(--navy-900); }
.gallery-item { transition: opacity 0.4s ease, transform 0.4s ease; }
.gallery-item.is-hidden { display: none; }

/* --- Modal (detalle de proyecto) ---------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 29, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--trans);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  transform: translateY(30px) scale(0.97);
  opacity: 0;
  transition: transform var(--trans), opacity var(--trans);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); opacity: 1; }
.modal__media { position: relative; height: 320px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(6,16,29,0.6);
  color: var(--white);
  display: grid; place-items: center;
  z-index: 3;
  transition: background var(--trans), transform var(--trans);
}
.modal__close:hover { background: var(--gold); color: var(--navy-900); transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 32px 36px 36px; }
.modal__body .proj-type { color: var(--gold-dark); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.modal__body h3 { font-size: 1.6rem; margin: 8px 0 6px; }
.modal__meta { display: flex; gap: 20px; flex-wrap: wrap; margin: 14px 0 20px; }
.modal__meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 0.9rem; }
.modal__meta svg { width: 17px; height: 17px; color: var(--gold-dark); }
.modal__body > p { margin-bottom: 22px; }

/* --- 17. CONTACTO / FORMULARIO -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
}
.info-card:not(:last-child) { border-bottom: 1px solid var(--gray-200); }
.info-card__icon {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--gold-dark);
  display: grid; place-items: center;
}
.info-card__icon svg { width: 23px; height: 23px; }
.info-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a.ci { display: block; font-size: 0.92rem; color: var(--text-muted); margin-bottom: 2px; }
.info-card a.ci:hover { color: var(--gold-dark); }

/* Formulario */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.field label .req { color: var(--gold-dark); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  background: var(--gray-50);
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(30, 74, 117, 0.12);
  background: var(--white);
}
.field input.is-error,
.field textarea.is-error { border-color: #D3453B; box-shadow: 0 0 0 4px rgba(211, 69, 59, 0.12); }
.field .field-error { display: none; font-size: 0.78rem; color: #D3453B; margin-top: 6px; }
.field.is-invalid .field-error { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 0;
}
.form-card.has-success .form-success { display: block; }
.form-card.has-success form { display: none; }
.form-success__icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(70, 160, 120, 0.12);
  color: #2F8F66;
  display: grid; place-items: center;
}
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 10px; }

/* Mapa */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  height: 420px;
  filter: grayscale(20%) contrast(1.02);
}

/* --- WhatsApp flotante ----------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #2FD06B;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(47, 208, 107, 0.5);
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 40px rgba(47, 208, 107, 0.6); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #2FD06B;
  animation: waRing 2.4s infinite;
}

/* --- 18. FOOTER ----------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--navy-950);
  color: var(--gray-300);
}
.footer__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 72px 0 48px;
}
.footer__brand .logo__name { color: var(--white); }
.footer__brand .logo__tag { color: var(--gray-500); }
.footer__brand p { color: var(--gray-400); font-size: 0.92rem; margin-top: 22px; max-width: 320px; }
.footer__brand .logo { margin-bottom: 6px; }

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  font-weight: 700;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--gray-400); font-size: 0.92rem; transition: color var(--trans), padding-left var(--trans); }
.footer__col a:hover { color: var(--gold-light); }
.footer__links a { position: relative; }
.footer__links a:hover { padding-left: 6px; }

.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.92rem; color: var(--gray-400); }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }

.footer__social { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-300);
  display: grid; place-items: center;
  transition: background var(--trans), color var(--trans), transform var(--trans), border-color var(--trans);
}
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-3px); }

.footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--gray-500);
}
.footer__bottom a:hover { color: var(--gold-light); }
.footer__legal { display: flex; gap: 22px; }

/* --- 19. REVEAL (animaciones al hacer scroll) ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--l { transform: translateX(-40px); }
.reveal--l.is-visible { transform: translateX(0); }
.reveal--r { transform: translateX(40px); }
.reveal--r.is-visible { transform: translateX(0); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --- 20. ANIMACIONES --------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(201, 162, 75, 0); }
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
@keyframes waRing {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- 21. RESPONSIVE ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats__wrap { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .stat:nth-child(2)::after { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step::after { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  /* Menú móvil deslizable */
  .nav.is-open {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 16, 29, 0.98);
    z-index: 1001;
    opacity: 0;
    transition: opacity var(--trans);
  }
  .nav.is-open { opacity: 1; }
  .nav.is-open .nav__list { flex-direction: column; gap: 8px; text-align: center; }
  .nav.is-open .nav__link { font-size: 1.6rem; color: var(--white); padding: 12px 20px; }
  .nav.is-open .nav__link::after { left: 20px; right: 20px; bottom: 8px; }
  .nav.is-open .mobile-cta { display: inline-flex; margin-top: 22px; }

  .grid--3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 60px; }
  .sdetail { grid-template-columns: 1fr; gap: 32px; padding: 24px 0; }
  .sdetail:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats__wrap { grid-template-columns: 1fr 1fr; padding: 30px 20px; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .split__media::before { display: none; }
  .split__badge { left: 12px; bottom: -16px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions .btn { width: 100%; }
  .stats { margin-top: -40px; }
  .modal__panel { max-height: 92vh; }
  .modal__media { height: 220px; }
  .modal__body { padding: 24px 20px; }
}

@media (max-width: 420px) {
  .stats__wrap { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }
}

/* --- Ajuste CTA móvil dentro del menú ------------------------------------------ */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .nav.is-open .mobile-cta { display: inline-flex; }
}
