:root{
  --ink:#071249;
  --ink-2:#282a5e;
  --muted:#d2d3d5;
  --bg:#f4f4f5;
  --black:#0d0d0d;
  --accent:#d9e842;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(13,13,13,.08);
  --radius: 18px;
  --max: 1120px;

  /* Tipografías (según diseño)
     - TITULOS: Akira Expanded Super Bold
     - SUBTITULOS: Avenir Black
     - TEXTO: Avenir Light

     Nota: Akira/Avenir son fuentes comerciales. Si tienes los .woff2, colócalos en:
       site-v2/assets/fonts/
     y se cargarán automáticamente. Si no, el sitio usa fallbacks modernos. */
  --font-title: "Akira Expanded", "Akira Expanded Super Bold", "Rajdhani", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-subtitle: "Avenir Black", "Avenir Next", "Avenir", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Avenir Light", "Avenir Next", "Avenir", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Global scrollbar (page-wide) */
html{
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(7,18,73,.55) rgba(7,18,73,.10);
}
/* Chromium/Edge/WebKit */
html::-webkit-scrollbar{width: 12px; height: 12px}
html::-webkit-scrollbar-track{background: rgba(7,18,73,.10)}
html::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(7,18,73,.58), rgba(40,42,94,.55));
  border-radius: 999px;
  border: 3px solid rgba(244,244,245,.78);
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.08);
}
html::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(7,18,73,.78), rgba(40,42,94,.72));
}
html::-webkit-scrollbar-corner{background: rgba(7,18,73,.10)}

/* Web font for the watermark "02" (fallbacks still apply if blocked/offline) */
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap");

/* Optional local fonts (drop your .woff2 in site-v2/assets/fonts/) */
@font-face{
  font-family: "Akira Expanded";
  src: url("../fonts/AkiraExpanded-SuperBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Avenir Black";
  src: url("../fonts/Avenir-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Avenir Light";
  src: url("../fonts/Avenir-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.55;
  text-rendering: geometricPrecision;
  /* Sticky footer: empuja el footer al final en páginas con poco contenido */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main{flex: 1 0 auto}
.footer{margin-top:auto}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.section{padding: 80px 0}
@media (max-width: 840px){
  .section{padding: 54px 0}
}

.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244,244,245,.78);
  border-bottom: 1px solid rgba(13,13,13,.06);
}
.page-home .topbar{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}
.page-home.is-scrolled .topbar{
  position: sticky;
  /* sólido (sin transparencia) para que se vea limpio */
  background: #f4f4f5;
  border-bottom: 1px solid rgba(13,13,13,.06);
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(13,13,13,.10);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: nowrap;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 180px;
}
.brand img{width: auto; height: 42px}
.brand .logo-dark{display:none}
.page-home.is-scrolled .brand .logo-light{display:none}
.page-home.is-scrolled .brand .logo-dark{display:block}

.nav-links{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content:center;
}
.nav-mobile-only{display:none}

.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(7,18,73,.22);
  background: rgba(244,244,245,.72);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:active{transform: translateY(1px)}
.nav-toggle__icon{
  display:inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle__icon span{
  display:block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.page-home .nav-toggle{
  border-color: rgba(255,255,255,.28);
  background: rgba(7,18,73,.18);
  color: rgba(255,255,255,.95);
}
.page-home.is-scrolled .nav-toggle{
  border-color: rgba(7,18,73,.22);
  background: rgba(244,244,245,.72);
  color: var(--ink);
}
.nav-links a{
  padding: 10px 10px;
  /* Header buttons/links: Avenir Light */
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  position:relative;
}
.page-home .nav-links a{color: rgba(255,255,255,.92)}
.page-home.is-scrolled .nav-links a{color: var(--ink)}

/* HOME header layout like mock (logo left + blue bar menu) */
.page-home .nav{
  align-items: center;
  padding: 22px 0 14px;
}
.page-home .nav-links{
  background: rgba(7,18,73,.88);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 10px 14px;
  gap: 18px;
  margin-top: 0;
  box-shadow: 0 12px 30px rgba(13,13,13,.18);
}
.page-home .nav-links a{
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  padding: 10px 10px;
  /* Header buttons/links: Avenir Light */
  font-family: var(--font-body);
  font-weight: 300;
}
.page-home .nav-links a::after{
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  background: var(--accent);
}
.page-home.is-scrolled .nav-links{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}

/* Hide header CTAs on hero (like mock). Show them after scroll. */
.page-home .nav-cta{display:none}
.page-home.is-scrolled .nav-cta{display:none}

/* Make scrolled header compact + aligned (and nicer) */
.page-home.is-scrolled .nav{
  padding: 10px 0;
  align-items: center;
}
.page-home.is-scrolled .brand img{height: 34px}
.page-home.is-scrolled .nav-links{
  gap: 14px;
}
.page-home.is-scrolled .nav-links a{
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 10px 8px;
}

@media (max-width: 980px){
  .nav{
    position: relative;
  }

  .nav-toggle{
    display:inline-flex;
  }

  /* Menú móvil (dropdown) */
  .nav-links{
    display:none; /* se abre con .is-nav-open */
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(244,244,245,.98);
    border: 1px solid rgba(13,13,13,.10);
    box-shadow: 0 16px 40px rgba(13,13,13,.18);
    z-index: 80;
  }
  body.is-nav-open .nav-links{
    display:flex;
  }
  .nav-links a{
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
  }
  .nav-links a::after{display:none}
  .nav-links a:hover{background: rgba(7,18,73,.06)}

  .nav-mobile-only{display:block}

  /* CTA en móviles: por defecto se oculta para no romper layout */
  .nav-cta{display:none}

  /* Home: el dropdown debe verse bien sobre el hero */
  .page-home .nav-links{
    background: rgba(7,18,73,.96);
    border-color: rgba(255,255,255,.10);
  }
  .page-home .nav-links a{
    color: rgba(255,255,255,.92);
  }
  .page-home .nav-links a:hover{
    background: rgba(255,255,255,.08);
  }

  /* Importante: en Home, al hacer scroll existe una regla global que vuelve el menú transparente.
     En móvil lo mantenemos como dropdown con fondo para que siempre sea legible/visible. */
  .page-home.is-scrolled .nav-links{
    background: rgba(7,18,73,.96);
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 16px 40px rgba(13,13,13,.18);
    padding: 10px;
  }
  .page-home.is-scrolled .nav-links a{
    color: rgba(255,255,255,.92);
  }
  .page-home.is-scrolled .nav-links a:hover{
    background: rgba(255,255,255,.08);
  }
}
.nav-links a::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.page-home .nav-links a::after{background: var(--accent)}
.nav-links a.is-active::after,
.nav-links a:hover::after{transform: scaleX(1)}

.nav-cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--font-subtitle);
  font-weight: 900;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  user-select:none;
}
.topbar .btn{
  /* Header buttons: Avenir Light */
  font-family: var(--font-body);
  font-weight: 300;
}
.btn:active{transform: translateY(1px)}
.btn-primary{background: var(--ink); color:white}
.btn-primary:hover{opacity:.94}
.btn-ghost{background: transparent; border-color: rgba(7,18,73,.22); color: var(--ink)}
.btn-ghost:hover{border-color: rgba(7,18,73,.4)}
.page-home .btn-ghost{border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.92)}
.page-home .btn-ghost:hover{border-color: rgba(255,255,255,.6)}
.page-home.is-scrolled .btn-ghost{border-color: rgba(7,18,73,.22); color: var(--ink)}

.btn-cta{
  background: var(--accent);
  color: #0b0b0b;
  border-color: rgba(0,0,0,.08);
}
.btn-cta:hover{
  opacity: 1;
  filter: saturate(1.05);
}

/* Hero quote button: white by default, yellow only on hover (como mock) */
.hero-splash__actions .btn.btn-hero-quote{
  /* cuadrado/rectangular como el diseño */
  /* mismo patrón de botones del header (pill suave) */
  border-radius: 10px !important;
  padding: 10px 14px !important;
  min-height: 36px;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;

  border-color: rgba(255,255,255,.80) !important;
  color: rgba(255,255,255,.95) !important;
  background: rgba(255,255,255,.06) !important;
}
.hero-splash__actions .btn.btn-hero-quote:hover{
  background: var(--accent) !important;
  color: #0b0b0b !important;
  border-color: rgba(0,0,0,.08) !important;
}

/* HERO (según INICIO_WEB.pdf) */
.hero-splash{
  position: relative;
  /* Que cubra toda la pantalla (no mostrar la siguiente sección hasta hacer scroll) */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-splash__bg{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-splash__overlay{
  position:absolute;
  inset: 0;
  /* sin “filtro azul”: solo oscurecer levemente para legibilidad */
  background:
    radial-gradient(900px 420px at 50% 40%, rgba(0,0,0,.08), rgba(0,0,0,.28)),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.34));
}
.hero-splash__content{
  position: relative;
  z-index: 1;
  padding-top: 84px; /* espacio para menú */
  padding-bottom: 60px;
}
.hero-splash__center{
  text-align: center;
  color: white;
}
.hero-splash__mark{
  width: min(520px, 78vw);
  margin: 0 auto 12px;
  opacity: 0;
}

/* Logo central: entrada smooth (sin “flasheo” al final) */
@keyframes heroLogoGlide {
  /* Sin “acomodo raro” al final: evitamos overshoot y regresos */
  0%   { opacity: 0; transform: translate3d(0,22px,0) scale(.94); }
  65%  { opacity: 1; transform: translate3d(0,0,0) scale(1.01); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
.page-home.is-loaded .hero-splash__mark{
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  animation: heroLogoGlide 2100ms cubic-bezier(.22,1,.36,1) 160ms both;
  /* shadow fijo (no se anima) para evitar cambios bruscos */
  filter: drop-shadow(0 22px 55px rgba(0,0,0,.34));
}

@media (prefers-reduced-motion: reduce){
  .page-home.is-loaded .hero-splash__mark{
    animation: none;
    opacity: 1 !important;
    transform: none !important;
    filter: none;
  }
}
.hero-splash__title{
  margin: 10px 0 6px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: 3px;
  font-weight: 900;
  opacity: .0;
}
.hero-splash__subtitle{
  opacity: .0;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}
.hero-splash__actions{
  margin-top: 16px;
  opacity: .0;
}

/* Ajuste del fade-in para hero */
.hero-splash [data-animate]{
  transform: translateY(14px);
}
.hero-splash .in-view{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* PROYECTOS DESTACADOS (sección debajo del hero) */
.projects-feature{
  position: relative;
  background: var(--ink);
  color: white;
  /* más alto como en el diseño */
  padding: 120px 0 150px;
  min-height: clamp(660px, 82vh, 980px);
  overflow: hidden;
  /* Centrar el contenido verticalmente dentro de la sección */
  display: flex;
  align-items: center;
}
@media (max-width: 840px){
  .projects-feature{
    padding: 92px 0 112px;
    min-height: clamp(620px, 78vh, 900px);
  }
}
.projects-feature::before{
  content:"02";
  position:absolute;
  /* Marca de agua centrada (como el mock) */
  left: 60%;
  top: 52%;
  transform: translate(-50%, -50%) scale(.98);
  /* Fondo "02": números normales, sin borde, en Fira Code */
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
  /* Más grande en altura */
  font-size: clamp(420px, 48vw, 920px);
  line-height: 1;
  /* Solo relleno suave (sin stroke/borde) */
  color: rgba(244,244,245,.07);
  opacity: 0;
  /* Junta más el "0" y el "2" */
  letter-spacing: -0.08em;
  pointer-events:none;
  z-index: 0;
}
.projects-feature.in-view::before{ animation: watermarkReveal 1100ms cubic-bezier(.22,1,.36,1) 80ms both; }
.projects-feature::before{ text-shadow: none; }

/* Pantallas medianas (ej. 1315px): agrandar y aumentar contraste del watermark */
@media (max-width: 1400px){
  .projects-feature::before{
    font-size: clamp(520px, 62vw, 1000px);
    color: rgba(244,244,245,.10);
    left: 58%;
  }
}

/* En pantallas chicas, el watermark se veía muy pequeño: lo hacemos más grande y un poco más visible */
@media (max-width: 760px){
  .projects-feature::before{
    left: 50%;
    top: 50%;
    font-size: clamp(560px, 132vw, 1100px);
    color: rgba(244,244,245,.10);
  }
}
.projects-feature__inner{position: relative; z-index: 1; width: 100%;}
.projects-feature__top{
  /* Más aire entre el 02/línea y el contenido, como en el mock */
  margin-bottom: 44px;
}
.projects-feature__step{
  display:flex;
  align-items:center;
  gap: 18px;
  color: rgba(255,255,255,.88);
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 16px;
}
.projects-feature__stepNum{
  /* "02" más grande */
  display: inline-flex;
  align-items: baseline;
  font-size: 24px;
  letter-spacing: 2px;
  position: relative;
  /* Tipografía con slashed zero */
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  /* Forzar slashed zero vía OpenType (sin dibujar líneas) */
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
}
.projects-feature__line{
  height: 3px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, rgba(255,255,255,.70), rgba(217,233,66,.92));
  max-width: 620px;
  border-radius: 999px;
  position: relative;
}
.projects-feature__line::after{
  content:"";
  position:absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(217,233,66,.98);
  box-shadow: 0 0 0 3px rgba(217,233,66,.18), 0 12px 26px rgba(0,0,0,.16);
}
.projects-feature__grid{
  display:grid;
  /* Dale un poco más de peso al carrusel (lado derecho) */
  grid-template-columns: 1fr 1.12fr;
  gap: 34px;
  align-items: center;
}
.projects-feature__left{
  /* Evita que el bloque de texto se “estire” demasiado en pantallas grandes (como en el mock) */
  max-width: 600px;
}
@media (max-width: 980px){
  .projects-feature__grid{grid-template-columns: 1fr;}
}
.projects-feature__heading{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
.projects-feature__heading .projects-feature__title{
  margin: 0;
}
.projects-feature__title{
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(38px, 5.4vw, 58px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  /* Más parecido al mock: menos separación entre líneas cuando se parte en 2 */
  line-height: .92;
}
.projects-feature__more{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  /* Como el mock: texto suelto + cuadrito (sin contenedor tipo "pill") */
  padding: 0;
  border-radius: 0;
  border: 0;
  /* AVENIR LIGHT */
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 13px;
  transition: color .16s ease, opacity .16s ease;
}
.projects-feature__moreIcon{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 4px;
  line-height: 1;
  font-size: 18px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.projects-feature__more:hover{
  opacity: 1;
  color: var(--accent);
}
.projects-feature__more:hover .projects-feature__moreIcon{
  border-color: rgba(217,233,66,.95);
  background: rgba(217,233,66,.14);
  color: rgba(255,255,255,.98);
  transform: translateY(-1px);
}
.projects-feature__more:focus-visible{
  outline: 3px solid rgba(217,233,66,.55);
  outline-offset: 3px;
}
.projects-feature__text{
  margin: 18px 0 22px;
  /* Formato del texto como el diseño (más compacto y legible) */
  max-width: 30ch;
  color: rgba(244,244,245,.84);
  /* AVENIR LIGHT */
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.28vw, 20px);
  line-height: 1.8;
  text-align: justify;
  /* Evita cortes feos tipo "emblemáti- cos" */
  hyphens: none;
  text-align-last: left;
  text-justify: inter-word;
  word-spacing: -0.06em;
}

@media (max-width: 980px){
  .projects-feature__heading{
    flex-direction: column;
    align-items: flex-start;
  }
}
.projects-feature__kpi{
  display:inline-flex;
  /* Alineación vertical del 500+ con "PROYECTOS COMPLETADOS" */
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 10px;
}
.projects-feature__kpiValue{
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 38px;
  letter-spacing: 1px;
  line-height: 1;
}
.projects-feature__kpiLabel{
  /* AVENIR LIGHT */
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1.2px;
  line-height: 1;
}

.projects-feature__tabs{
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.projects-feature__tab{
  border: 0;
  background: rgba(217,233,66,.92);
  color: #0b0b0b;
  /* AVENIR LIGHT */
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 6px;
  cursor: pointer;
  opacity: .82;
  font-size: 13px;
}
.projects-feature__tab:hover{opacity: 1}
.projects-feature__tab.is-active{
  opacity: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.mock-carousel{
  display:grid;
  grid-template-columns: 56px 1fr 56px;
  align-items:center;
  gap: 10px;
}
.mock-carousel__arrow{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  /* No dependemos de glifos tipográficos para la flecha */
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.mock-carousel__arrow::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform-origin: 50% 50%;
  pointer-events: none;
}
/* Flechas dibujadas con bordes rotados */
.mock-carousel__arrow--left::before{ transform: translate(-50%, -50%) rotate(135deg); }
.mock-carousel__arrow--right::before{ transform: translate(-50%, -50%) rotate(-45deg); }

/* Compensación óptica en X (dejar prev/next simétricos dentro del círculo) */
.mock-carousel__arrow--left::before{ transform: translate(-50%, -50%) translateX(1px) rotate(135deg); }
.mock-carousel__arrow--right::before{ transform: translate(-50%, -50%) translateX(-1px) rotate(-45deg); }
.mock-carousel__arrow:hover{
  background: rgba(217,233,66,.18);
  color: white;
  transform: translateY(-1px);
}
.mock-carousel__frame{
  background: rgba(244,244,245,.92);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.mock-carousel__link{
  display:block;
  position: relative;
}
.mock-carousel__badge{
  position:absolute;
  top: 12px;
  left: 12px;
  background: rgba(7,18,73,.92);
  color: rgba(255,255,255,.96);
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.mock-carousel__link:hover .mock-carousel__badge{
  opacity: 1;
  transform: translateY(0);
}
.mock-carousel__frame img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity .22s ease, transform .22s ease;
}
.mock-carousel__frame img.is-switching{
  opacity: .0;
  transform: scale(.99);
}
@media (max-width: 980px){
  .mock-carousel__frame img{height: 300px;}
}

/* Guía de marca (como en el PDF: TIPOGRAFÍAS / PALETA DE COLOR) */
.brand-guide{
  background: white;
}
.brand-guide__block{
  border: 1px solid rgba(13,13,13,.06);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  padding: 22px;
}
.brand-guide__bar{
  display:inline-block;
  background: var(--black);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.brand-guide__content{
  margin-top: 18px;
  display:grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.brand-guide__row{
  display:flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-guide__label{
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--black);
}
.brand-guide__value{
  color: var(--black);
}
.brand-guide__value--title{
  font-family: var(--font-title);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-guide__value--subtitle{
  font-family: var(--font-subtitle);
  font-weight: 900;
}
.brand-guide__value--body{
  font-family: var(--font-body);
  font-weight: 300;
}
.brand-guide__palette{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .brand-guide__palette{grid-template-columns: repeat(3, 1fr);}
}
.brand-guide__swatch{
  display:grid;
  gap: 10px;
  justify-items: center;
}
.brand-guide__chip{
  width: 100%;
  max-width: 150px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(13,13,13,.08);
}
.brand-guide__hex{
  font-family: var(--font-subtitle);
  font-weight: 900;
  color: rgba(13,13,13,.78);
  letter-spacing: .6px;
}

.hero{
  padding: 74px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  background: rgba(217,233,66,.22);
  border: 1px solid rgba(7,18,73,.10);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-subtitle);
  font-weight: 900;
}
.h1{
  margin: 14px 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  font-family: var(--font-title);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.lead{
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(13,13,13,.80);
  max-width: 60ch;
}
.actions{margin-top: 18px; display:flex; flex-wrap: wrap; gap: 12px}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,13,13,.06);
  padding: 20px;
}

.hero-visual{
  border-radius: 26px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,13,13,.06);
}
.hero-visual .hero-img{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(7,18,73,.55), rgba(40,42,94,.35)),
    radial-gradient(600px 240px at 15% 20%, rgba(217,233,66,.35), transparent 60%);
}
.hero-visual .floating{
  position:absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.92);
  font-weight: 900;
  text-align:center;
  padding: 18px;
  background: rgba(7,18,73,.12);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px}
@media (max-width: 980px){.grid-3{grid-template-columns: 1fr}}

.kpi{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding: 18px;
}
.kpi strong{
  font-size: 40px;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 1px;
}
.kpi span{color: rgba(13,13,13,.75); font-family: var(--font-subtitle); font-weight: 900}

/* RIGHT SCROLL RAIL (01-05) */
.scroll-rail{
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 270px;
  height: 380px;
  z-index: 45;
  /* Allow clicks on specific children (ticks/active). Keep rest "pass-through". */
  pointer-events: none;
  opacity: .98;
  /* base theme (light sections) */
  --rail-spine: rgba(13,13,13,.22);
  --rail-tick: rgba(13,13,13,.30);
  --rail-active: rgba(7,18,73,.98);
}
.scroll-rail.is-dark{
  /* when section bg is dark (e.g. proyectos / azul) */
  --rail-spine: rgba(255,255,255,.42);
  --rail-tick: rgba(255,255,255,.52);
  --rail-active: rgba(255,255,255,.96);
}
.scroll-rail__spine{
  position:absolute;
  right: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--rail-spine);
}
.scroll-rail__ticks{
  position:absolute;
  inset: 0;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: auto;
}
.scroll-rail__tick{
  position: relative;
  color: var(--rail-tick);
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(0);
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}
.scroll-rail__tick:hover{
  opacity: 1;
  transform: translateX(-4px);
}
.scroll-rail__tick:focus-visible{
  outline: 3px solid rgba(217,233,66,.45);
  outline-offset: 4px;
  border-radius: 10px;
}
.scroll-rail__tick::before,
.scroll-rail__tick::after{
  content:"";
  position:absolute;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: var(--rail-spine);
  opacity: .72;
}
.scroll-rail__tick::before{
  /* left arm of the cross */
  right: 18px;
  width: 62px;
  transform: translateY(-50%);
}
.scroll-rail__tick::after{
  /* right arm of the cross */
  right: 18px;
  width: 14px;
  transform: translate(100%, -50%);
}
.scroll-rail__tick.is-active{
  /* avoid visual overlap: active number is rendered in the moving marker */
  color: transparent;
  transform: translateX(-2px);
  opacity: 1;
}
.scroll-rail__tick{opacity: .78}
.scroll-rail__active{
  position:absolute;
  right: 0;
  transform: translateY(-50%);
  display:flex;
  align-items:center;
  gap: 14px;
  color: var(--rail-active);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  font-size: 16px;
  white-space: nowrap;
  will-change: top;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
}
.scroll-rail__active:hover{opacity: 1}
.scroll-rail__active:focus-visible{
  outline: 3px solid rgba(217,233,66,.45);
  outline-offset: 4px;
  border-radius: 12px;
}
.scroll-rail__activeTitle{opacity: .98;}
.scroll-rail__activeLine{
  display:inline-block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--rail-active);
}
.scroll-rail__activeStep{
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 22px;
}
.scroll-rail.is-ready .scroll-rail__active{
  transition: top 420ms cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce){
  .scroll-rail.is-ready .scroll-rail__active{transition: none}
}
@media (max-width: 980px){.scroll-rail{display:none}}

/* SERVICIOS (Sección 03 como el mock) */
.services-feature{
  position: relative;
  padding: 120px 0 0;
  min-height: clamp(760px, 92vh, 1080px);
  overflow: hidden;
  background: var(--bg);
}
.services-feature::before{
  content:"03";
  position:absolute;
  /* más “atrás” del texto (marca de agua detrás del heading/descripcion) */
  left: 24%;
  top: 21%;
  transform: translate(-50%, -50%) scale(.985);
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
  /* más chico */
  font-size: clamp(240px, 24vw, 520px);
  line-height: 1;
  letter-spacing: -0.08em;
  /* ligeramente más tenue */
  color: rgba(13,13,13,.045);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.services-feature.in-view::before{ animation: watermarkReveal 1100ms cubic-bezier(.22,1,.36,1) 80ms both; }
.services-feature__inner{position: relative; z-index: 1; padding-bottom: 70px;}
.services-feature__top{
  /* mismo “aire” que la sección 02 */
  margin-bottom: 44px;
}
.services-feature__step{
  display:flex;
  align-items:center;
  gap: 18px;
  color: rgba(13,13,13,.26);
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 16px;
}
.services-feature__stepNum{
  display:inline-flex;
  align-items: baseline;
  /* igual que 02 */
  font-size: 24px;
  letter-spacing: 2px;
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
}
.services-feature__line{
  /* igual que 02 */
  height: 3px;
  flex: 1 1 auto;
  max-width: 620px;
  background: linear-gradient(90deg, rgba(13,13,13,.12), rgba(7,18,73,.45));
  border-radius: 999px;
  position: relative;
}
.services-feature__line::after{
  content:"";
  position:absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(7,18,73,.85);
  box-shadow: 0 0 0 3px rgba(7,18,73,.10), 0 12px 26px rgba(0,0,0,.10);
}
.services-feature__header{
  /* como el diseño: bloque de texto a la izquierda + CTA a la derecha (sin irse al borde) */
  display:grid;
  grid-template-columns: minmax(520px, 620px) max-content;
  align-items:center;
  column-gap: 28px;
  margin-bottom: 22px;
  max-width: 940px; /* acerca el CTA al texto (no usa todo el container) */
}
.services-feature__copy{max-width: 620px;}
.services-feature__title{
  margin: 0;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--black);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: .96;
  /* Desktop: que NO se rompa en 2 líneas */
  white-space: nowrap;
}
.services-feature__text{
  margin: 10px 0 0;
  /* como el diseño: 3 líneas en desktop (ancho estable) */
  max-width: 520px;
  color: rgba(13,13,13,.68);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
}
.services-feature__more{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 1.2px;
  color: rgba(13,13,13,.72);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 13px;
  transition: color .16s ease, opacity .16s ease;
  margin-top: 0;
}
.services-feature__moreIcon{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(13,13,13,.32);
  border-radius: 4px;
  line-height: 1;
  font-size: 18px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.services-feature__more:hover{opacity: 1; color: rgba(7,18,73,.98);}
.services-feature__more:hover .services-feature__moreIcon{
  border-color: rgba(7,18,73,.6);
  background: rgba(7,18,73,.06);
  color: rgba(7,18,73,.98);
  transform: translateY(-1px);
}
.services-feature__more:focus-visible{outline: 3px solid rgba(7,18,73,.25); outline-offset: 3px;}
@media (max-width: 980px){
  .services-feature__header{
    grid-template-columns: 1fr;
    row-gap: 12px;
    max-width: none;
  }
  .services-feature__more{margin-top: 0}
  /* Mobile/tablet: permitir salto, pero solo entre palabras (natural) */
  .services-feature__title{white-space: normal}
  /* En pantallas chicas: deja que el párrafo use el ancho disponible */
  .services-feature__text{max-width: 60ch}
}

.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(13,13,13,.04);
  padding: 10px;
  border-radius: 8px;
}
@media (max-width: 980px){.services-grid{grid-template-columns: 1fr}}
.service-tile{
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height: 150px;
  padding: 26px 20px;
  border-radius: 6px;
  background: rgba(244,244,245,.92);
  border: 1px solid rgba(13,13,13,.08);
  box-shadow: 0 10px 30px rgba(13,13,13,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--tile-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .22s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.service-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(7,18,73,.84);
  opacity: 0;
  transition: opacity .22s ease;
}
.service-tile__inner{
  position: relative;
  z-index: 1;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 12px;
  max-width: 28ch;
}
.service-tile__icon{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 4px;
  border: 2px solid rgba(13,13,13,.18);
  color: rgba(13,13,13,.82);
  background: rgba(255,255,255,.82);
}
.service-tile__title{
  margin:0;
  font-family: var(--font-subtitle);
  font-weight: 900;
  color: rgba(13,13,13,.74);
  font-size: 18px;
  line-height: 1.25;
}
.service-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(7,18,73,.18);
  box-shadow: 0 16px 40px rgba(13,13,13,.12);
}
.service-tile:hover::before{opacity: 1; transform: scale(1)}
.service-tile:hover::after{opacity: 1}
.service-tile:hover .service-tile__icon{
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
}
.service-tile:hover .service-tile__title{color: rgba(255,255,255,.96);}
.service-tile:focus-visible{outline: 3px solid rgba(7,18,73,.25); outline-offset: 3px;}

/* CLIENTES band dentro de Servicios (como el mock) */
.clients-band{margin-top: 64px; padding-bottom: 84px;}
.clients-band__bar{background: transparent; padding: 0;}
.clients-band__barInner{
  background: var(--ink);
  /* mismo ancho visual que el carrusel (ancho del content box del .container) */
  /* más ancho: extender hasta el borde del container (incluyendo su padding) */
  margin-left: -20px;
  margin-right: -20px;
  /* padding horizontal para que el texto NO se vea cortado */
  /* 20px = padding estándar de .container, para alinear con el texto de arriba */
  padding: 22px 20px;
  border-radius: 8px;
}
.clients-band__title{
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.05;
}
.clients-band .logo-strip{
  margin-top: 18px;
  border-radius: 8px;
  /* que el carrusel tenga el mismo ancho “extendido” que la barra azul */
  margin-left: -20px;
  margin-right: -20px;
}

/* NOSOTROS (Sección 04 como el mock: fondo azul + watermark "04" + foto + KPIs) */
.about-feature{
  position: relative;
  background: var(--ink);
  color: white;
  padding: 120px 0 110px;
  min-height: clamp(660px, 82vh, 980px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media (max-width: 840px){
  .about-feature{
    padding: 92px 0 86px;
    min-height: clamp(620px, 78vh, 900px);
  }
}
.about-feature::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 70% 35%, rgba(217,233,66,.10), transparent 60%),
    radial-gradient(820px 520px at 20% 70%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.28));
  pointer-events: none;
  z-index: 0;
}
.about-feature::before{
  content:"04";
  position:absolute;
  left: 60%;
  top: 52%;
  transform: translate(-50%, -50%) scale(.98);
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
  font-size: clamp(420px, 50vw, 980px);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(244,244,245,.07);
  opacity: 0;
  pointer-events:none;
  z-index: 0;
}
.about-feature.in-view::before{ animation: watermarkReveal 1100ms cubic-bezier(.22,1,.36,1) 80ms both; }
@media (max-width: 1400px){
  .about-feature::before{
    font-size: clamp(520px, 64vw, 1050px);
    color: rgba(244,244,245,.10);
    left: 58%;
  }
}
@media (max-width: 760px){
  .about-feature::before{
    left: 50%;
    top: 50%;
    font-size: clamp(560px, 132vw, 1200px);
    color: rgba(244,244,245,.10);
  }
}

.about-feature__inner{position: relative; z-index: 1; width: 100%;}
.about-feature__top{margin-bottom: 44px;}
.about-feature__step{
  display:flex;
  align-items:center;
  gap: 18px;
  color: rgba(255,255,255,.88);
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 16px;
}
.about-feature__stepNum{
  display: inline-flex;
  align-items: baseline;
  font-size: 24px;
  letter-spacing: 2px;
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
}
.about-feature__line{
  height: 3px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, rgba(255,255,255,.70), rgba(217,233,66,.92));
  max-width: 760px;
  border-radius: 999px;
  position: relative;
}
.about-feature__line::after{
  content:"";
  position:absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(217,233,66,.98);
  box-shadow: 0 0 0 3px rgba(217,233,66,.18), 0 12px 26px rgba(0,0,0,.16);
}

.about-feature__grid{
  display:grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 34px;
  align-items: center;
}
@media (max-width: 980px){
  .about-feature__grid{grid-template-columns: 1fr;}
}
.about-feature__left{max-width: 620px;}
.about-feature__heading{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
@media (max-width: 980px){
  .about-feature__heading{
    flex-direction: column;
    align-items: flex-start;
  }
}
.about-feature__title{
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(38px, 5.4vw, 58px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: .92;
}
.about-feature__more{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 0;
  border-radius: 0;
  border: 0;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 13px;
  transition: color .16s ease, opacity .16s ease;
}
.about-feature__moreIcon{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 4px;
  line-height: 1;
  font-size: 18px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.about-feature__more:hover{opacity: 1; color: var(--accent);}
.about-feature__more:hover .about-feature__moreIcon{
  border-color: rgba(217,233,66,.95);
  background: rgba(217,233,66,.14);
  color: rgba(255,255,255,.98);
  transform: translateY(-1px);
}
.about-feature__more:focus-visible{
  outline: 3px solid rgba(217,233,66,.55);
  outline-offset: 3px;
}
.about-feature__text{
  margin: 18px 0 0;
  max-width: 34ch;
  color: rgba(244,244,245,.86);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.28vw, 20px);
  line-height: 1.8;
  text-align: justify;
  hyphens: none;
  text-align-last: left;
  text-justify: inter-word;
  word-spacing: -0.06em;
}

.about-feature__photoLink{display:block;}
.about-feature__photoFrame{
  background: rgba(244,244,245,.92);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.about-feature__photo{
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  object-fit: cover;
  border-radius: 12px;
}
.about-feature__photoLink:hover .about-feature__photoFrame{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,.26);
}
.about-feature__photoLink:focus-visible{
  outline: 3px solid rgba(217,233,66,.55);
  outline-offset: 4px;
  border-radius: 22px;
}

.about-feature__stats{
  margin-top: 34px;
  display:flex;
  justify-content: flex-end;
  gap: 46px;
  flex-wrap: wrap;
}
@media (max-width: 980px){
  .about-feature__stats{justify-content: flex-start;}
}
.about-feature__stat{
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}
.about-feature__statValue strong{
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 3vw, 54px);
  letter-spacing: 1px;
  line-height: 1;
  color: rgba(255,255,255,.96);
}
.about-feature__statLabel{
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(244,244,245,.84);
}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-title h2{
  margin:0;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.section-title p{margin:0; color: rgba(13,13,13,.70); max-width: 60ch}

.projects{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px){.projects{grid-template-columns: 1fr}}
.project{
  overflow:hidden;
  padding: 0;
}
.project .ph{
  height: 220px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.project .ph::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(13,13,13,.05), rgba(13,13,13,.55));
  opacity: .75;
}
.project .cap{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: white;
  font-weight: 900;
  letter-spacing: .2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.project:hover .cap{opacity:1; transform: translateY(0)}
.project .cap small{
  display:block;
  font-weight: 700;
  opacity: .85;
  margin-top: 4px;
}
.project .body{padding: 16px}
.project .tag{
  display:inline-block;
  font-family: var(--font-subtitle);
  font-weight: 900;
  color: rgba(13,13,13,.80);
  background: rgba(210,211,213,.45);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.project h3{margin:10px 0 6px; color: var(--ink); font-family: var(--font-title); text-transform: uppercase; letter-spacing: 1px;}
.project p{margin:0; color: rgba(13,13,13,.70)}

.services{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 980px){.services{grid-template-columns: 1fr}}
.service{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.service h3{margin:0 0 6px; color: var(--ink); font-family: var(--font-title); text-transform: uppercase; letter-spacing: 1px;}
.service p{margin:0; color: rgba(13,13,13,.72)}
.service .peek{
  width: 140px;
  height: 96px;
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex: 0 0 auto;
  opacity: .0;
  transform: translateX(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.service:hover .peek{opacity:1; transform: translateX(0)}

.logo-strip{
  overflow:hidden;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(13,13,13,.06);
  box-shadow: var(--shadow);
  padding: 14px 0;
  position: relative;
}
.logo-strip::before,
.logo-strip::after{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.logo-strip::before{
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.logo-strip::after{
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.marquee{
  display:flex;
  gap: 26px;
  width: max-content;
  animation: marquee 18s linear infinite;
  padding: 6px 18px;
}
.logo-strip:hover .marquee{animation-play-state: paused}
.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(7,18,73,.10);
  color: rgba(7,18,73,.9);
  font-weight: 900;
  background: rgba(244,244,245,.75);
}
.logo img{
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.logo:hover img{
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}
@keyframes marquee{
  from{transform: translateX(0)}
  to{transform: translateX(-50%)}
}
@media (prefers-reduced-motion: reduce){
  .marquee{animation:none}
}

.about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px){.about{grid-template-columns:1fr}}

.gallery{
  display:flex;
  gap: 12px;
  overflow:auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.gallery::-webkit-scrollbar{height:10px}
.gallery::-webkit-scrollbar-thumb{background: rgba(7,18,73,.25); border-radius: 999px}
.shot{
  scroll-snap-align: start;
  min-width: min(520px, 86vw);
  height: 300px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position:relative;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,13,13,.06);
}
.shot::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(13,13,13,.05), rgba(13,13,13,.55));
}
.shot span{
  position:absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  color: var(--ink);
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.shot:hover span{opacity:1; transform: translateY(0)}

.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 760px){.form{grid-template-columns: 1fr}}
.field{display:flex; flex-direction:column; gap: 6px}
.field label{font-weight: 900; color: var(--ink)}
.field input, .field textarea{
  font: inherit;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(13,13,13,.18);
  background: white;
  outline: none;
}
.field input:focus, .field textarea:focus{border-color: rgba(7,18,73,.45)}
.field textarea{min-height: 120px; resize: vertical}
.form .full{grid-column: 1 / -1}

.footer{
  padding: 40px 0;
  border-top: 1px solid rgba(13,13,13,.06);
  color: rgba(13,13,13,.70);
}
.footer strong{color: var(--ink)}

/* Animations (fade in / rise) */
[data-animate]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.in-view{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Watermark numbers (02/03/04/05) reveal: más dinámico y consistente */
@keyframes watermarkReveal{
  0%{
    opacity: 0;
    filter: blur(6px);
    transform: translate(-50%, -50%) scale(.94);
  }
  70%{
    opacity: 1;
    filter: blur(0px);
    transform: translate(-50%, -50%) scale(1.01);
  }
  100%{
    opacity: 1;
    filter: blur(0px);
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (prefers-reduced-motion: reduce){
  .projects-feature.in-view::before,
  .services-feature.in-view::before,
  .about-feature.in-view::before,
  .contact-feature.in-view::before{
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* CONTACTO (Sección 05 como el mock) */
.contact-feature{
  position: relative;
  padding: 120px 0 110px;
  overflow: hidden;
  background: white;
}
@media (max-width: 840px){
  .contact-feature{ padding: 92px 0 86px; }
}
.contact-feature::before{
  content:"05";
  position: absolute;
  left: 18%;
  top: 34%;
  transform: translate(-50%, -50%) scale(.94);
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
  font-size: clamp(300px, 30vw, 640px);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(13,13,13,.05);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.page-contact .contact-feature::before{
  /* En página Contacto: ocultar el "05" de fondo */
  content: none;
  display: none;
}
.contact-feature__inner{position: relative; z-index: 1;}
.contact-feature__top{margin-bottom: 44px;}
.contact-feature__step{
  display:flex;
  align-items:center;
  gap: 18px;
  color: rgba(13,13,13,.26);
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 16px;
}
.contact-feature__stepNum{
  display:inline-flex;
  align-items: baseline;
  font-size: 24px;
  letter-spacing: 2px;
  font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
}
.contact-feature__line{
  height: 3px;
  flex: 1 1 auto;
  max-width: 940px;
  background: linear-gradient(90deg, rgba(13,13,13,.12), rgba(7,18,73,.55));
  border-radius: 999px;
  position: relative;
}
.contact-feature__line::after{
  content:"";
  position:absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(7,18,73,.85);
  box-shadow: 0 0 0 3px rgba(7,18,73,.10), 0 12px 26px rgba(0,0,0,.10);
}
.contact-feature__grid{
  display:grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 34px;
  align-items: start;
}
@media (max-width: 980px){
  .contact-feature__grid{grid-template-columns: 1fr;}
}
.contact-feature__left{max-width: 520px;}
.contact-feature__title{
  margin: 0 0 24px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--black);
  font-size: clamp(40px, 5vw, 58px);
  line-height: .92;
}

/* Left black contact panel */
.contact-panel{
  background: #0d0d0d;
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 16px 46px rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.06);
}
.contact-panel__row{
  display:flex;
  gap: 12px;
  padding: 12px 0;
}
.contact-panel__row + .contact-panel__row{
  border-top: 1px solid rgba(255,255,255,.10);
}
.contact-panel__icon{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  flex: 0 0 auto;
}
.contact-panel__label{
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: 1.6px;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.contact-panel__value{
  display:block;
  margin-top: 2px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.contact-panel__value:hover{color: white; text-decoration: underline;}
.contact-panel__text{
  margin-top: 4px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.55;
}

/* Right form card */
.contact-formCard{
  background: white;
  border-radius: 14px;
  box-shadow: 0 16px 46px rgba(0,0,0,.10);
  border: 1px solid rgba(13,13,13,.10);
  padding: 22px;
  position: relative;
}
.contact-formCard::before{
  content:"";
  position:absolute;
  left: 22px;
  right: 22px;
  top: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(7,18,73,.98);
}
.contact-form{padding-top: 14px;}
.contact-form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
@media (max-width: 760px){
  .contact-form__grid{grid-template-columns: 1fr;}
}
.contact-form__field{display:flex; flex-direction: column; gap: 8px;}
.contact-form__field--full{grid-column: 1 / -1;}
.contact-form label{
  font-family: var(--font-subtitle);
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(13,13,13,.80);
}
.contact-form input,
.contact-form textarea{
  font: inherit;
  padding: 12px 12px;
  border-radius: 0;
  border: 0;
  background: rgba(13,13,13,.06);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus{
  background: rgba(13,13,13,.04);
  box-shadow: inset 0 0 0 2px rgba(7,18,73,.35);
}
.contact-form textarea{
  min-height: 180px;
  resize: vertical;
}
.contact-form__actions{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-form__hint{color: rgba(13,13,13,.60);}

/* Button hover in contacto: cambia a amarillo como en el mock */
.contact-feature .btn.btn-primary{
  border-radius: 10px !important;
  padding: 12px 16px !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.contact-feature .btn.btn-primary:hover{
  background: var(--accent);
  color: #0b0b0b;
  opacity: 1;
}

/* Mobile: avoid cramped/offset submit button when coming from "Cotización" */
@media (max-width: 520px){
  .contact-form__actions{
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .contact-form__actions .contact-form__hint{
    width: 100%;
  }
  .contact-form__actions .btn{
    width: 100%;
    justify-content: center;
  }
  .contact-form__actions .btn.btn-primary{
    font-size: 13px;
    letter-spacing: 1px;
    padding: 12px 14px !important;
    white-space: nowrap;
  }
}
