/* ==========================================================================
   CAROVA — Estilos compartidos
   Fuente: Manrope. Paleta neutra (negro / blanco) + acento ámbar.
   Nota: los valores de color/espaciado son aproximaciones visuales tomadas
   de capturas de Figma (sin acceso a Dev Mode / valores exactos). Ver README
   de aproximaciones en el reporte de entrega.
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: #161616;
  --card-border: #262626;
  --text: #f5f3ee;
  --text-muted: #9c9992;
  --text-dim: #6b6862;
  --accent: #e8a84a;
  --accent-2: #f6c98a;
  --accent-glow: rgba(232, 168, 74, 0.35);
  --divider: #232323;
  --radius: 14px;
  --maxw: 1280px; /* medido en Figma (frames de contenido ~1268-1283px) */

  /* del logo real que compartiste */
  --logo-dot-dark-bg: #efe9dc;  /* punto sobre fondo negro */
  --logo-dot-light-bg: #14120f; /* punto sobre fondo blanco */
  /* botón primario tal como se ve en tu captura (beige cálido, no ámbar) */
  --btn-bg: #cac3b0;
  --btn-bg-hover: #d8d2c1;
  --btn-text: #17140f;
  /* color "eyebrow" (etiquetas cortas tipo IMPULSAMOS TU CRECIMIENTO / LO QUE
     HACEMOS), medido en Figma: Manrope Medium 24px, #E9DDC6 */
  --eyebrow: #e9ddc6;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* velocidades de animación */
  --t-fast: 200ms;
  --t-base: 350ms;
  --t-slow: 500ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------- Preloader ------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--t-slow) var(--ease);
}
#preloader .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  animation: dot-bounce 0.9s ease-in-out infinite;
}
@keyframes dot-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
#preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
body.is-loading { overflow: hidden; }

/* Revelado del contenido tras el preloader */
body.is-loading main,
body.is-loading .site-nav,
body.is-loading .site-footer {
  opacity: 0;
}
main, .site-nav, .site-footer {
  opacity: 1;
  transition: opacity var(--t-slow) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  #preloader .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------- Nav ---------------------------------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
/* En la página de inicio, el logo y el menú aparecen recién cuando se
   enciende la lámpara (ver script.js). En el resto de páginas el nav
   está visible siempre — .gated solo se aplica si JS lo agrega. */
header.site-nav.gated {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
header.site-nav.gated.is-revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  header.site-nav.gated { transition: none; }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 22px; width: auto; display: block; }
.footer-grid .logo img { height: 26px; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a { transition: color var(--t-fast) var(--ease); position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  height: 2px;
  background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-primary {
  background: var(--btn-bg);
  border: none;
  color: var(--btn-text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }

/* En el header (y el menú móvil), el botón "Contacto" es un botón
   contorneado (fondo transparente, borde claro) — distinto del botón
   sólido beige que se usa en el hero y las demás secciones. Confirmado
   por inspección directa en Figma (Dev Mode). */
.nav-actions .btn-primary,
.mobile-panel .btn-primary {
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
  box-shadow: none;
}
.nav-actions .btn-primary:hover,
.mobile-panel .btn-primary:hover {
  background: var(--text);
  color: var(--bg);
}

/* Menú móvil (hamburguesa) */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--divider);
  padding: 10px 32px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-panel a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--divider);
}
.mobile-panel a.active, .mobile-panel a:hover { color: var(--text); }
.mobile-panel .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* -------------------------------- Reveal on scroll ------------------------ */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------- Hero -----------------------------------
   La foto real (escritorio + lámpara) ocupa el 100% del ancho de la
   sección y el texto va superpuesto sobre ella — confirmado en Figma:
   la capa de la foto mide prácticamente lo mismo que el frame completo
   del Hero, y el título/párrafo/botón están posicionados encima, no en
   una columna aparte. */
.hero {
  border-bottom: 1px solid var(--divider);
}
/* Medido en Figma: Manrope Medium 24px, color #E9DDC6, mayúsculas propias
   del texto (sin letter-spacing extra), sin la barrita que tenía antes. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 500;
  color: var(--eyebrow);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.eyebrow .bar { display: none; }
h1 {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
/* Verbos resaltados del H1 del hero (conectan, comunican y convierten) */
h1 .hl { color: var(--accent-2); }
.hero p.lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 0 32px;
}

/* Escena interactiva del hero (foto real: escritorio + lámpara), a todo
   el ancho de la sección. Sin borde ni tarjeta: la foto se funde
   directamente con el fondo negro de la página. */
.hero-visual {
  position: relative;
  aspect-ratio: 1445 / 821; /* proporción real de las fotos originales */
  overflow: hidden;
  background: #000;
}
/* Texto superpuesto sobre la foto, alineado arriba a la izquierda (no
   centrado verticalmente: así no choca con el texto que se escribe sobre
   la pantalla de la laptop, más abajo en la foto). */
.hero-copy-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding-top: 5%;
  pointer-events: none;
}
.hero-copy { max-width: 440px; pointer-events: auto; }
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--t-base) var(--ease);
}
.scene-off { opacity: 1; }
.scene-on { opacity: 0; }
.hero-visual.lamp-on .scene-off { opacity: 0; }
.hero-visual.lamp-on .scene-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .scene-img { transition: none; }
}

/* Punto interactivo sobre la lámpara de la foto (zona clicable, invisible).
   Antes del primer clic, la invitación "Enciende tus ideas" (más abajo) es
   quien comunica que se puede interactuar; después del primer clic, esta
   zona vuelve a encender/apagar la lámpara con un indicio muy sutil (glow
   difuso, no un anillo/círculo dibujado). */
.lamp-hotspot {
  position: absolute;
  left: 68%;
  top: 14%;
  width: 15%;
  height: 26%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 4;
  filter: drop-shadow(0 0 0 rgba(245, 201, 138, 0));
  transition: filter var(--t-base) var(--ease);
}
.lamp-hotspot:hover,
.lamp-hotspot:focus-visible {
  filter: drop-shadow(0 0 14px rgba(245, 201, 138, 0.16));
}
.lamp-hotspot:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

/* ------------------------- Invitación "Enciende tus ideas" ---------------- */
/* Solo visible antes del primer clic. Se ubica a la izquierda de la
   lámpara (no encima) y desaparece para siempre en cuanto se enciende por
   primera vez, vía la clase .intro-done en #hero-visual. */
.hero-invite {
  position: absolute;
  left: 54%;
  top: 10%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.hero-invite-text {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--accent-2);
  transform: rotate(-3deg);
  opacity: 0;
  animation: invite-fade-up 0.8s var(--ease) 1.1s forwards;
}
.hero-invite-arrow {
  color: var(--accent-2);
  opacity: 0;
  margin: 2px 0 4px 22px;
  animation: invite-fade-up 0.8s var(--ease) 1.4s forwards, invite-drift 2.6s ease-in-out 2.4s infinite;
}
.hero-invite-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  background: rgba(20, 16, 11, 0.7);
  border: 1px solid rgba(245, 201, 138, 0.32);
  color: #f3ead9;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 9px 17px 9px 9px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  /* Solo se anima opacity en la entrada (no transform): así la transición
     de :active (scale) no queda bloqueada por una animación de entrada que
     también tocara transform. */
  animation: invite-fade-in 0.8s var(--ease) 1.7s forwards;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.hero-invite-btn:hover { border-color: rgba(245, 201, 138, 0.65); background: rgba(20, 16, 11, 0.88); }
.hero-invite-btn:active { transform: scale(0.96); }
.hero-invite-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.hero-invite-btn-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 201, 138, 0.14);
  color: var(--accent-2);
  animation: invite-pulse 2.2s ease-in-out infinite;
}
@media (pointer: coarse) {
  .hero-invite-btn { padding: 11px 19px 11px 10px; min-height: 40px; }
}
/* Trazos de luz junto a la lámpara, muy sutiles */
.hero-invite-sparks {
  position: absolute;
  left: 73%;
  top: 8%;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  pointer-events: none;
  opacity: 0;
  animation: invite-fade-up 0.6s var(--ease) 0.9s forwards;
}
.hero-invite-sparks i {
  display: block;
  width: 2px;
  height: 9px;
  background: var(--accent-2);
  border-radius: 1px;
  opacity: 0.2;
  animation: spark-fade 2.4s ease-in-out infinite;
}
.hero-invite-sparks i:nth-child(2) { height: 13px; animation-delay: 0.35s; }
.hero-invite-sparks i:nth-child(3) { animation-delay: 0.7s; }

@keyframes invite-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes invite-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes invite-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, 3px); }
}
@keyframes invite-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 201, 138, 0.32); }
  50% { box-shadow: 0 0 0 5px rgba(245, 201, 138, 0); }
}
@keyframes spark-fade {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.75; }
}
/* En cuanto se enciende por primera vez, desaparece para siempre (no vuelve
   a mostrarse aunque el usuario apague/encienda la lámpara después). */
.hero-visual.intro-done .hero-invite,
.hero-visual.intro-done .hero-invite-sparks {
  opacity: 0 !important;
  animation: none !important;
  pointer-events: none !important;
  transition: opacity 0.35s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .hero-invite-text, .hero-invite-arrow, .hero-invite-btn,
  .hero-invite-btn-icon, .hero-invite-sparks, .hero-invite-sparks i {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Texto escrito sobre la pantalla de la laptop en la foto. Coordenadas
   medidas directamente sobre lamp-on.jpg/lamp-off.jpg (1400x779px): la
   pantalla ocupa aprox. x 340-760, y 330-595 → 24%/43% a 54%/76%. */
.hero-screen-text {
  position: absolute;
  left: 24%;
  top: 43%;
  width: 30%;
  height: 33%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0 6%;
  font-size: clamp(9px, 1.15vw, 13px);
  line-height: 1.35;
  color: #e9e6df;
  letter-spacing: 0.2px;
  z-index: 3;
  pointer-events: none;
}
.hero-screen-text .caret {
  display: inline-block;
  width: 1px;
  background: var(--accent-2);
  margin-left: 2px;
  animation: caret-blink 0.9s step-end infinite;
}
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.floating-card {
  /* Posición tomada de Figma (X:653 Y:146 en un frame de 1445x821 ≈
     45.2% / 17.8% desde la esquina superior izquierda de la foto). */
  position: absolute;
  left: 45.2%;
  top: 17.8%;
  background: #181818;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  z-index: 3;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translate(10px, -8px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.floating-card.is-visible { opacity: 1; transform: translate(0, 0); }
.floating-card .ping {
  width: 30px; height: 30px; border-radius: 50%;
  background: #efe9dc;
  flex-shrink: 0;
}
.floating-card .txt strong { display: block; font-size: 12.5px; font-weight: 700; }
.floating-card .txt span { color: var(--text-dim); font-size: 11px; }
.floating-card .when { color: var(--text-dim); font-size: 10.5px; margin-left: 6px; }

/* Entrada del texto del hero */
.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.hero-copy.is-in > * { opacity: 1; transform: translateY(0); }
/* Notas de Figma: "al mismo tiempo aparecen rápidamente el logo, el menú,
   el título, el texto y el botón" — el stagger es casi imperceptible. */
.hero-copy > *:nth-child(1) { transition-delay: 0ms; }
.hero-copy > *:nth-child(2) { transition-delay: 40ms; }
.hero-copy > *:nth-child(3) { transition-delay: 80ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .floating-card { transition: none; opacity: 1; transform: none; }
}

/* ---------------------------- Lo que hacemos ------------------------------ */
.section { padding: 90px 0; border-bottom: 1px solid var(--divider); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 500;
  margin: 16px 0 0;
  letter-spacing: -0.3px;
}
/* En Figma la segunda mitad del título va en un tono crema, no todo blanco */
.section-head h2 .dim { color: var(--eyebrow); }
.services-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.service-item { text-align: left; }
.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  box-shadow: 0 0 24px -6px var(--accent-glow);
}
.icon-box svg { width: 24px; height: 24px; }
.service-item .num { color: var(--text-dim); font-size: 12.5px; margin-bottom: 8px; display: block; }
.service-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.service-item .go { color: var(--accent); font-size: 15px; transition: transform var(--t-fast) var(--ease); display: inline-block; }
.service-item:hover .go { transform: translateX(6px); }

/* Notas de Figma: "los cinco servicios entran uno por uno, de izquierda a
   derecha, con un leve deslizamiento hacia arriba; la diferencia entre cada
   uno debe ser muy corta para que no se sienta lento". */
.section[data-animate] .services-row .service-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.section[data-animate].in-view .services-row .service-item { opacity: 1; transform: translateY(0); }
.section[data-animate].in-view .services-row .service-item:nth-child(1) { transition-delay: 0ms; }
.section[data-animate].in-view .services-row .service-item:nth-child(2) { transition-delay: 90ms; }
.section[data-animate].in-view .services-row .service-item:nth-child(3) { transition-delay: 180ms; }
.section[data-animate].in-view .services-row .service-item:nth-child(4) { transition-delay: 270ms; }
.section[data-animate].in-view .services-row .service-item:nth-child(5) { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .section[data-animate] .services-row .service-item { transition: none; opacity: 1; transform: none; }
}

/* ---------------------------- Impulsamos ------------------------------ */
/* Medido directamente en Figma vía MCP (nodo 332:3, Home): la escena
   (lámpara/laptop) sangra hasta el borde derecho de la pantalla y arranca
   a la MISMA altura que el párrafo principal (no debajo, como card
   independiente); el párrafo (max-width 900px, centrado) se superpone
   visualmente sobre la mitad izquierda de la imagen. Distancias exactas:
   eyebrow→línea 10px · línea→párrafo 120px · párrafo→frase 69px · la
   imagen ocupa desde el inicio del párrafo hasta el final real de la
   sección (648px de alto en Figma, sin espacio extra después).
   Notas de animación: "la lámpara inicia apagada; cuando la sección entra
   en pantalla, se enciende; al iluminar la escena aparecen el título y el
   texto principal; después la frase 'El diseño es solo el comienzo'; la
   laptop aparece suavemente y el logo CAROVA se muestra en pantalla." */
.growth {
  position: relative;
  padding: 70px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.growth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 55% at 78% 55%, #1c150c 0%, #0a0a0a 62%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.growth.in-view::before { opacity: 1; }
.growth-head { position: relative; z-index: 1; text-align: center; }
.growth .eyebrow {
  justify-content: center;
  display: flex;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 0; /* el espacio hasta el párrafo lo da .growth-body (120px) */
}
/* Medido en Figma: esta eyebrow lleva una rayita corta centrada debajo
   (las otras eyebrows del sitio no la tienen), 51px de ancho. */
.growth .eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 51px;
  height: 1px;
  background: var(--eyebrow);
  opacity: 0.6;
}

/* Cuerpo: el párrafo va dentro de .wrap (centrado, max-width 900px, igual
   que el resto del sitio); la escena es hermana de .wrap y sangra fuera de
   ella hasta el borde real de la pantalla — por eso vive fuera del wrap,
   no dentro. */
.growth-body {
  position: relative;
  z-index: 1;
  margin-top: 120px;
  min-height: calc(47vw * 484 / 680);
}
.growth-text-wrap { position: relative; z-index: 2; text-align: center; }
.growth p.big {
  font-size: 36px;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
}
/* Gap medido en Figma entre el párrafo principal y la frase corta: 69px. */
.growth p.small { color: var(--text); font-size: 24px; font-weight: 500; margin: 69px 0 0; }

/* Escena real (foto): sangra desde el 53% del ancho de la pantalla hasta
   el borde derecho real (no está contenida por .wrap), arrancando a la
   misma altura que el párrafo (top:0 respecto a .growth-body). La lámpara
   inicia apagada y se enciende cuando la sección entra en pantalla
   (reutiliza la clase .in-view del scroll-reveal). El degradado del fondo
   de la sección (.growth::before) ayuda a que se funda con el negro en
   lugar de verse como una fotografía con límites duros. */
.growth-visual {
  position: absolute;
  top: 0;
  left: 53%;
  right: 0;
  aspect-ratio: 680 / 484;
  overflow: hidden;
  background: #000;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%);
}
.growth-visual .scene-img {
  /* recorte más cercano: centra la vista sobre el laptop/lámpara */
  object-position: 40% 45%;
}
.growth.in-view .growth-visual .scene-on { opacity: 1; }
.growth.in-view .growth-visual .scene-off { opacity: 0; }
.growth-logo {
  position: absolute;
  left: 39%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  z-index: 2;
}
.growth-logo .dot {
  display: inline-block;
  width: .15em;
  height: .15em;
  margin-left: .06em;
  vertical-align: top;
  margin-top: .12em;
  border-radius: 50%;
  background: var(--accent-2);
}
@media (prefers-reduced-motion: reduce) {
  .growth-visual .scene-img { transition: none; }
}

/* Cascada: (1) eyebrow + (2) párrafo principal aparecen juntos al
   iluminarse la escena; (3) la frase corta después; (4) la laptop al
   final. */
.growth-text-wrap > *,
.growth-head > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.growth-visual {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), left var(--t-fast) linear;
}
.growth.in-view .growth-head > *,
.growth.in-view .growth-text-wrap > * { opacity: 1; transform: translateY(0); }
.growth.in-view .growth-visual { opacity: 1; transform: translateY(0); }
.growth.in-view .growth-head > * { transition-delay: 0ms; }
.growth.in-view .growth-text-wrap > *:nth-child(1) { transition-delay: 0ms; }
.growth.in-view .growth-text-wrap > *:nth-child(2) { transition-delay: 200ms; }
.growth.in-view .growth-visual { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) {
  .growth::before, .growth-head > *, .growth-text-wrap > *, .growth-visual { transition: none; }
}

/* --------------------------------- CTA ----------------------------------- */
/* Medido directamente en Figma vía MCP (nodo 332:4, Home): bloque compacto
   y centrado (no un segundo hero). Distancias exactas: eyebrow→título
   80px · título→texto 69px · texto→botón 44px · la sección termina justo
   donde termina el botón (576px de alto en total, sin padding extra
   después). Título en 2 líneas, ~68px/1.5 de interlineado (no 75px/1.1). */
.cta {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(60% 65% at 50% 38%, #2b2013 0%, #0a0a0a 68%);
}
.cta .eyebrow { justify-content: center; display: flex; margin-bottom: 0; }
.cta h2 {
  font-size: 68px;
  line-height: 1.5;
  max-width: 850px;
  margin: 80px auto 0;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.cta p { color: var(--eyebrow); max-width: 600px; margin: 69px auto 0; line-height: 1.4; font-size: 24px; font-weight: 500; }
.cta .btn-primary { margin-top: 44px; padding: 14px 28px; font-size: 14px; }

/* Notas de Figma: "el resplandor de fondo aparece suavemente; después
   ¿Listo para el siguiente paso?; entra el título; luego el texto
   descriptivo y el botón". El resplandor ya es el fondo de .cta, que se
   revela junto con la sección vía [data-animate]; aquí solo escalonamos
   el contenido de adentro. */
.cta[data-animate] .wrap > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.cta[data-animate].in-view .wrap > * { opacity: 1; transform: translateY(0); }
.cta[data-animate].in-view .wrap > *:nth-child(1) { transition-delay: 120ms; }
.cta[data-animate].in-view .wrap > *:nth-child(2) { transition-delay: 200ms; }
.cta[data-animate].in-view .wrap > *:nth-child(3) { transition-delay: 280ms; }
.cta[data-animate].in-view .wrap > *:nth-child(4) { transition-delay: 280ms; }
@media (prefers-reduced-motion: reduce) {
  .cta[data-animate] .wrap > * { transition: none; opacity: 1; transform: none; }
}

/* -------------------------------- Footer --------------------------------- */
footer.site-footer { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid .logo { margin-bottom: 6px; }
.footer-grid .about .tagline {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-grid .about p { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; max-width: 240px; margin: 0 0 18px; }
.social-row { display: flex; gap: 10px; }
.social-icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: var(--eyebrow);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { border-color: var(--eyebrow); color: var(--accent-2); }
.footer-grid h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul li a { color: var(--text-muted); font-size: 14px; transition: color var(--t-fast) var(--ease); }
.footer-grid ul li a:hover { color: var(--accent-2); }
.footer-grid .contact-list li { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ============================ SERVICIOS PAGE ============================= */
.services-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
}
.services-hero .dot-mark {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 22px;
  box-shadow: 0 0 0 6px var(--accent-glow);
}
.services-hero .eyebrow { justify-content: center; display: flex; }
.services-hero h1 { font-size: 40px; margin: 14px 0 16px; font-weight: 800; }
.services-hero p { color: var(--text-muted); font-size: 15.5px; }

.services-body {
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}
.services-sidebar {
  position: relative;
  padding-left: 26px;
}
.services-sidebar .guide-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.services-sidebar .guide-title { font-size: 15px; color: var(--text-muted); max-width: 160px; }
.services-sidebar::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--divider);
}
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 220px;
  gap: 30px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--divider);
  position: relative;
}
.service-row:first-child { padding-top: 0; }
.service-row::before {
  content: "";
  position: absolute;
  left: -286px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-glow);
}
.service-row .row-num { font-size: 14px; color: var(--text-dim); }
.service-row .row-content h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.service-row .row-content p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; max-width: 480px; }
.service-row .row-content .go { color: var(--accent); font-size: 14px; font-weight: 600; }
.service-row .thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #171310, #0c0c0c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.service-row .thumb svg { width: 34px; height: 34px; opacity: 0.6; }
.service-row.brand .thumb {
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.palette { display: flex; gap: 6px; }
.palette span { width: 16px; height: 16px; border-radius: 4px; }
.type-specimen { font-size: 20px; font-weight: 700; color: var(--text); }
.type-specimen span { display: block; font-size: 10px; font-weight: 500; color: var(--text-dim); margin-top: 2px; }

/* Miniatura de la fila 01 (Presencia Digital): mockup de sitio + móvil,
   igual que en Figma — no es una foto, es un mockup vectorial. */
.service-row .thumb.thumb-site { position: relative; align-items: flex-start; justify-content: flex-start; padding: 16px; }
.thumb-site .site-tagline { font-size: 11px; font-weight: 700; line-height: 1.5; color: var(--text); max-width: 90px; }
.thumb-site .site-phone {
  position: absolute; right: 14px; bottom: 12px;
  width: 46px; height: 64px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: var(--text);
}
.thumb-site .site-phone .dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* Miniatura de la fila 02 (Empresa Digital): mockup de dashboard con
   cifras y una gráfica simple. */
.service-row .thumb.thumb-dashboard { flex-direction: column; align-items: flex-start; padding: 16px; gap: 8px; }
.thumb-dashboard .stat-row { display: flex; gap: 14px; }
.thumb-dashboard .stat-row strong { display: block; font-size: 15px; color: var(--text); }
.thumb-dashboard .stat-row span { font-size: 9px; color: var(--text-dim); }
.thumb-dashboard svg { width: 100%; height: 34px; opacity: 1; }

/* Miniatura de la fila 04 (Automatización): mini diagrama de flujo con
   nodo central y nodos conectados, igual que en Figma. */
.service-row .thumb.thumb-flow svg { width: 100%; height: 100%; max-width: 140px; max-height: 90px; opacity: 1; }

.services-cta {
  text-align: center;
  padding: 90px 0 100px;
}
.services-cta h2 { font-size: 26px; margin: 0 0 12px; font-weight: 800; }
.services-cta p { color: var(--text-muted); max-width: 420px; margin: 0 auto 30px; font-size: 14.5px; line-height: 1.6; }
.services-cta .btn-row { display: flex; gap: 14px; justify-content: center; }

.services-banner { padding: 0 0 90px; }
.services-banner-inner {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.services-banner-inner p { color: var(--text); font-size: 15px; line-height: 1.5; margin: 0; font-weight: 500; }
.services-banner-inner .dot-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; margin: 0 auto; }

/* ============================ CONTACTO PAGE =============================== */
.contact-hero { padding: 80px 0 100px; border-bottom: 1px solid var(--divider); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-intro h1 { font-size: 44px; margin: 14px 0 16px; }
.contact-intro > p { color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 420px; }
.contact-divider { display: block; width: 40px; height: 1px; background: var(--divider); margin: 28px 0 34px; }
.contact-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.contact-info li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--eyebrow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-text { display: flex; flex-direction: column; gap: 2px; }
.contact-text strong { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.contact-text a, .contact-text span { color: var(--text); font-size: 15.5px; }
.contact-text a:hover { color: var(--accent-2); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; margin: 0 0 8px;
}
.form-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.contact-form > p { color: var(--text-muted); font-size: 14px; margin: 0 0 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9992' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.form-trust { text-align: center; color: var(--text-dim); font-size: 12.5px; margin: 16px 0 0; }

/* Contacto directo (WhatsApp / correo / teléfono) — reemplaza al formulario. */
.contact-direct { display: flex; flex-direction: column; }
.contact-direct > p { margin-bottom: 22px; }
.contact-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.contact-action:hover,
.contact-action:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact-action-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--eyebrow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-action-icon svg { width: 20px; height: 20px; }
.contact-action-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-action-text strong { font-size: 15px; font-weight: 600; }
.contact-action-text span {
  font-size: 13.5px;
  color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.contact-action-go {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 17px;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.contact-action:hover .contact-action-go { color: var(--accent); transform: translateX(3px); }
.contact-action--wa:hover .contact-action-icon { color: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .contact-action, .contact-action-go { transition: none; }
  .contact-action:hover { transform: none; }
  .contact-action:hover .contact-action-go { transform: none; }
}

.contact-footer { padding: 32px 0; border-top: 1px solid var(--divider); }
.contact-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ============================== BLOG PAGE ================================= */
.blog-hero { padding: 90px 0 60px; }
.blog-hero h1 { font-size: 44px; margin: 0 0 14px; }
.blog-lead { font-size: 24px; font-weight: 500; margin: 0 0 14px; max-width: 620px; }
.blog-lead .dim { color: var(--eyebrow); }
.blog-sub { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 420px; }

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 100px;
  background: var(--card);
}
.featured-post .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; margin-bottom: 14px; }
.featured-post h2 { font-size: 26px; line-height: 1.35; font-weight: 700; margin: 0 0 14px; }
.featured-post p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.featured-post .go { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.featured-post-media {
  border-radius: 12px;
  overflow: hidden;
}
.featured-post-media.asset-pending { aspect-ratio: 4/3; border-radius: 12px; }
.featured-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ============================ NOSOTROS PAGE ================================ */
.nosotros-hero { padding: 90px 0 100px; border-bottom: 1px solid var(--divider); }
.nosotros-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.nosotros-hero h1 { font-size: 44px; margin: 0 0 16px; }
.nosotros-sub { font-weight: 700; font-size: 17px; line-height: 1.5; margin: 0 0 18px; }
.nosotros-lead { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; max-width: 440px; }

.timeline { padding-top: 46px; }
.timeline-track {
  position: relative;
  height: 1px;
  background: var(--divider);
  margin-bottom: 20px;
}
.timeline-dot {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-glow);
}
.timeline-dot.start { left: 0; }
.timeline-dot.end { left: 100%; }
/* Punto animado ("punto 1" en Figma): recorre la línea de 2009 a 2026
   conforme el usuario baja por la sección. */
.timeline-progress-dot {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 6px rgba(245, 243, 238, 0.15);
  transition: left var(--t-fast) linear;
  will-change: left;
}
@media (prefers-reduced-motion: reduce) {
  .timeline-progress-dot { transition: none; }
}
.timeline-points { display: flex; justify-content: space-between; gap: 20px; }
.timeline-point { max-width: 220px; }
.timeline-point.align-right { text-align: right; margin-left: auto; }
.timeline-point .year { display: block; color: var(--text-dim); font-size: 13px; margin-bottom: 6px; }
.timeline-point h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.timeline-point p { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0; }

.nosotros-what { padding: 100px 0; border-bottom: 1px solid var(--divider); }
.nosotros-what-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.nosotros-what-copy h2 { font-size: 32px; line-height: 1.3; font-weight: 700; margin: 16px 0 0; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.value-item svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.value-item .value-icon { display: block; height: 34px; width: auto; margin-bottom: 14px; }
.value-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.value-item p { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

.team { padding: 100px 0; border-bottom: 1px solid var(--divider); }
.team h2 { font-size: 32px; font-weight: 700; margin: 16px 0 56px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}
.team-photo.asset-pending { aspect-ratio: 1; border-radius: var(--radius); }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Contenedor neutral para recursos que faltan por exportar desde Figma:
   tamaño y proporción reales del asset final, sin degradados ni iniciales
   que simulen contenido, con etiqueta explícita de qué falta. */
.asset-pending {
  background: var(--card);
  border: 1px dashed var(--card-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--text-dim);
}
.asset-pending svg { width: 30px; height: 30px; opacity: 0.55; }
.asset-pending .asset-pending-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2px; line-height: 1.4; max-width: 220px; }
.team-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.team-card .role { display: block; color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.team-card .degree { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.team-card .bio { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin: 0; }

.nosotros-close { padding: 110px 0; text-align: center; }
.nosotros-close .eyebrow { justify-content: center; display: flex; }
.nosotros-statement { font-size: 30px; line-height: 1.4; font-weight: 500; max-width: 720px; margin: 14px auto 32px; }
.nosotros-statement .hl { color: var(--accent-2); }

/* ============================ PROYECTOS PAGE ================================ */
.proyectos-hero { padding: 90px 0 100px; border-bottom: 1px solid var(--divider); }
.proyectos-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.proyectos-hero h1 { font-size: 44px; margin: 0 0 16px; }
.proyectos-sub { font-weight: 700; font-size: 17px; line-height: 1.5; margin: 0 0 18px; }
.proyectos-lead { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; max-width: 440px; }
.proyectos-features { display: flex; flex-direction: column; gap: 26px; padding-top: 6px; }
.proyectos-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.proyectos-feature-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.proyectos-feature-item p { font-size: 14px; line-height: 1.55; color: var(--text); margin: 0; max-width: 320px; }

/* Portafolio de proyectos reales — usa el mismo lenguaje visual del resto
   del sitio (cards oscuras, borde sutil, acento ámbar, radius 14px) ya que
   Figma no tiene un sistema de "project card" propio dibujado; el frame de
   Proyectos solo define el hero (arriba) y luego repite contenido de
   Nosotros. Por indicación explícita, aquí se sustituye ese contenido
   duplicado por el portafolio real de CAROVA, conservando tipografía,
   espaciados y estilo del sistema visual del sitio. */
.portfolio-section { padding: 20px 0 110px; }
.portfolio-intro { max-width: 640px; margin-bottom: 50px; }
.portfolio-intro h2 { font-size: 32px; font-weight: 700; line-height: 1.3; margin: 16px 0 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.portfolio-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
}
.portfolio-card.secondary {
  grid-column: span 1;
  grid-template-columns: 1fr;
  padding: 30px;
  gap: 22px;
}
.portfolio-card-copy .cat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.portfolio-card-copy .cat-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--card-border); border-radius: 999px;
  padding: 5px 11px;
}
.portfolio-card-copy h3 { font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.portfolio-card.secondary .portfolio-card-copy h3 { font-size: 19px; }
.portfolio-card-copy p.pitch { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.portfolio-card-copy .services-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.portfolio-card-copy .services-tags span {
  font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--card-border);
  border-radius: 6px; padding: 4px 9px;
}
.portfolio-card-copy .go { color: var(--accent); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; transition: transform var(--t-fast) var(--ease); }
.portfolio-card:hover .go { transform: translateX(6px); }
.portfolio-media {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}
.portfolio-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; }
.portfolio-media.asset-pending { aspect-ratio: 4/3; border-radius: 12px; }
/* Capturas anchas de sitio/dashboard: se muestran completas en vez de recortadas. */
#floral-casa .portfolio-media { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: #ebe6da; }
#floral-casa .portfolio-media img { object-fit: contain; object-position: center; }
/* Collages 3:2 (SGC, Mentes Brillantes, CC Contadores, MadFinTech): mismo aspecto que la imagen para que se vean completas, sin recortar. */
#sgc-auditoria .portfolio-media,
#mentes-brillantes .portfolio-media,
#cc-contadores .portfolio-media,
#madfintech .portfolio-media { aspect-ratio: 3/2; }
#sgc-auditoria .portfolio-media img,
#mentes-brillantes .portfolio-media img,
#cc-contadores .portfolio-media img,
#madfintech .portfolio-media img { object-fit: contain; }
/* Collages verticales (Mao Trading, Chiles y Semillas Ramos, Tortillería Premium). */
#mao-trading .portfolio-media,
#chiles-ramos .portfolio-media,
#tortilleria-premium .portfolio-media { aspect-ratio: 1145/1374; }
#mao-trading .portfolio-media img,
#chiles-ramos .portfolio-media img,
#tortilleria-premium .portfolio-media img { object-fit: contain; }
.portfolio-card.secondary .portfolio-media { aspect-ratio: 16/10; }
.portfolio-card.secondary .portfolio-media.asset-pending { aspect-ratio: 16/10; }

/* ======================= SERVICIOS — PÁGINAS DE DETALLE ====================
   Las 5 páginas de detalle (Presencia Digital, Empresa Digital, Contenido
   Visual, Automatización Inteligente, Identidad de Marca) comparten esta
   misma estructura en Figma: hero con tarjeta de precio + mockup, franja de
   iconos, "NUESTRO PROCESO" numerado, franja de estadísticas (3 columnas) y
   un cierre con CTA grande. Ninguna de las 5 lleva footer (igual que Blog y
   Proyectos). */
.sd-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--divider); }
.sd-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.sd-hero-grid--single { grid-template-columns: 1fr; max-width: 680px; }
.sd-hero h1 { font-size: 42px; margin: 0 0 18px; letter-spacing: -0.5px; }
.sd-hero h1 .accent { color: var(--accent-2); }
.sd-hero .sd-lead { color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 480px; margin: 0 0 14px; }
.sd-hero .sd-sub { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; max-width: 420px; margin: 0 0 30px; }

.sd-price-card { padding-top: 6px; }
.sd-price-card .sd-price-label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.sd-price-card .sd-price-value { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sd-price-card .sd-price-value strong { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.sd-price-card .sd-price-value span { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.sd-price-card .sd-price-note { display: block; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.sd-price-card .btn-primary { display: inline-flex; }

.sd-visual {
  border-radius: var(--radius);
}
.sd-visual.asset-pending { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.sd-visual img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

.sd-section-label { text-align: center; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin: 0 0 46px; }

.sd-block { padding: 80px 0; border-bottom: 1px solid var(--divider); }

.sd-icon-grid { display: grid; gap: 32px; }
.sd-icon-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sd-icon-grid--4 { grid-template-columns: repeat(4, 1fr); }
.sd-icon-grid--5 { grid-template-columns: repeat(5, 1fr); }
.sd-icon-item { text-align: center; padding: 0 10px; }
/* Verificado en Figma: en las páginas de detalle de Servicios, los iconos de
   grid ("¿Qué podemos crear/automatizar?", etc.) son círculos, no cuadrados
   redondeados como en Home. */
.sd-icon-item .icon-box {
  margin: 0 auto 20px;
  border-radius: 50%;
  width: 64px; height: 64px;
}
.sd-icon-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.sd-icon-item p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; }
.sd-icon-item.label-only .icon-box { margin-bottom: 14px; }
.sd-icon-item.label-only h3 { font-size: 13.5px; }
.sd-icon-item .row-num { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 10px; }

/* Flujo de 5 pasos con círculos conectados por flechas — usado en
   Automatización Inteligente ("Se recibe la información" → ... →
   "Resultados y seguimiento"), verificado directamente en Figma. */
.sd-flow-row { display: flex; align-items: flex-start; margin-bottom: 36px; }
.sd-flow-item { flex: 1; text-align: center; padding: 0 6px; }
.sd-flow-connector { flex: 0 0 auto; width: 40px; display: flex; align-items: center; justify-content: center; padding-top: 45px; }
.sd-flow-connector svg { width: 100%; height: 10px; color: var(--accent); opacity: 0.7; }
.sd-flow-icon {
  width: 90px; height: 90px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin: 0 auto 18px;
  box-shadow: 0 0 30px -6px var(--accent-glow);
}
.sd-flow-icon svg { width: 32px; height: 32px; }
.sd-flow-item h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 10px; }
.sd-flow-item h3 .num { color: var(--accent); font-weight: 800; }
.sd-flow-item p { color: var(--text-muted); font-size: 12.5px; line-height: 1.6; margin: 0; }

.sd-process { padding: 80px 0; border-bottom: 1px solid var(--divider); }
.sd-process-track { display: grid; gap: 0; align-items: start; margin-bottom: 40px; }
.sd-process-track--4 { grid-template-columns: repeat(4, 1fr); }
.sd-process-track--6 { grid-template-columns: repeat(6, 1fr); }
.sd-process-num-row { display: flex; align-items: center; }
.sd-process-num {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--card-border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
  background: var(--bg-soft);
  flex-shrink: 0;
}
/* Verificado en Figma: la línea entre círculos numerados de "Nuestro
   proceso" (variante de 4 pasos) termina en una punta de flecha. */
.sd-process-line { flex: 1; height: 1px; background: var(--accent); opacity: 0.7; position: relative; margin-right: 8px; }
.sd-process-line::after {
  content: ""; position: absolute; right: -1px; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}
.sd-process-item { padding-right: 20px; }
.sd-process-icon {
  width: 46px; height: 46px; border-radius: 10px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 20px 0 16px;
}
.sd-process-icon svg { width: 20px; height: 20px; }
.sd-process-item h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 10px; }
.sd-process-item p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 210px; }

/* Variante de 6 pasos con icono dentro del círculo + línea punteada +
   número superpuesto + tarjeta con divisores — verificado en el frame
   "Identidad de marca" de Figma; distinta de la variante de 4 pasos
   (número dentro del círculo + línea sólida) usada en Contenido Visual y
   Automatización Inteligente. */
.sd-process-track--icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; align-items: start; margin-bottom: 0; }
.sd-process-track--icons.cols-5 { grid-template-columns: repeat(5, 1fr); }
.sd-process-flow-item { display: flex; flex-direction: column; align-items: center; position: relative; }
.sd-process-flow-row { display: flex; align-items: center; width: 100%; }
.sd-process-flow-icon {
  width: 68px; height: 68px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 26px -6px var(--accent-glow);
  position: relative; z-index: 1;
  margin: 0 auto;
}
.sd-process-flow-icon svg { width: 26px; height: 26px; }
.sd-process-flow-dots {
  flex: 1; height: 0; border-top: 2px dotted var(--accent); opacity: 0.6;
  margin-top: 0;
}
.sd-process-num-badge {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--bg);
  color: var(--accent); font-size: 11.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: -15px; z-index: 2;
}
.sd-process-flow-card {
  border-top: 1px solid var(--card-border);
  border-left: 1px solid var(--card-border);
  padding: 22px 18px;
  text-align: left;
  width: 100%;
  margin-top: 30px;
  min-height: 130px;
}
.sd-process-flow-item:last-child .sd-process-flow-card { border-right: 1px solid var(--card-border); }
.sd-process-flow-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--card-border); }
.sd-process-flow-card p { color: var(--text-muted); font-size: 12.5px; line-height: 1.6; margin: 0; }

/* Conector "+" — usado en "Incluye todo lo que tu empresa necesita"
   (verificado en Figma, distinto de la línea punteada del proceso). */
.sd-process-flow-dots.is-plus { border-top: none; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; font-weight: 300; opacity: 1; }

.sd-stats { background: var(--card); border-radius: var(--radius); display: grid; grid-template-columns: repeat(3, 1fr); }
.sd-stat { display: flex; gap: 16px; padding: 34px 30px; border-right: 1px solid var(--card-border); }
.sd-stat:last-child { border-right: none; }
.sd-stat svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sd-stat .sd-stat-label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 4px; }
.sd-stat .sd-stat-value { display: block; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sd-stat .sd-stat-note { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.5; }

.sd-closing { padding: 90px 0; }
.sd-closing-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sd-closing h2 { font-size: 32px; line-height: 1.3; font-weight: 700; margin: 0 0 14px; max-width: 560px; }
.sd-closing p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; max-width: 460px; margin: 0; }
.sd-closing .btn-primary { flex-shrink: 0; }

/* -------------------------------- Responsive ------------------------------
   Breakpoints: desktop grande (>1200), laptop (992–1200),
   tablet (768–991), móvil (<768)
   ---------------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1200px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 40px; }
  .services-row { gap: 18px; }
}

/* Tablet */
@media (max-width: 991px) {
  .hero-visual { aspect-ratio: auto; min-height: 560px; }
  .hero-copy-wrap { align-items: flex-end; padding-top: 0; padding-bottom: 40px; }
  .hero-screen-text { display: none; } /* muy pequeño para leerse en este layout */
  .hero-invite { left: 50%; top: 6%; }
  .hero-invite-text { font-size: clamp(18px, 3vw, 24px); }
  .hero-invite-btn { font-size: 11.5px; padding: 8px 15px 8px 8px; }
  .hero-invite-sparks { left: 68%; top: 4%; }
  .services-row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .services-body { grid-template-columns: 170px 1fr; gap: 36px; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row .thumb { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .service-row::before { left: -206px; }
  h1 { font-size: 34px; }
  .cta h2 { font-size: 52px; margin-top: 56px; }
  .cta p { margin-top: 44px; }
  .growth p.big { font-size: 26px; }
  .growth p.small { font-size: 18px; }
  .section-head h2 { font-size: 30px; }

  /* A partir de aquí la escena deja de sangrar hasta el borde: se apila
     debajo del texto como una imagen contenida normal (el bleed
     cinematográfico solo tiene sentido en pantallas anchas). */
  .growth-body { margin-top: 60px; min-height: 0; }
  .growth-visual {
    position: static;
    width: 100%;
    left: auto; right: auto;
    margin-top: 32px;
    border-radius: var(--radius);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .growth-logo { left: 50%; top: 42%; font-size: 15px; }

  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel { display: block; }

  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-intro h1 { font-size: 34px; }
  .contact-form { padding: 28px; }

  .blog-hero h1 { font-size: 36px; }
  .blog-lead { font-size: 20px; }
  .featured-post { grid-template-columns: 1fr; padding: 28px; }
  .featured-post-media { order: -1; }

  .nosotros-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .nosotros-hero h1 { font-size: 34px; }
  .nosotros-what-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .nosotros-statement { font-size: 24px; }

  .proyectos-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .proyectos-hero h1 { font-size: 34px; }

  .portfolio-card { grid-template-columns: 1fr; gap: 22px; padding: 30px; }
  .portfolio-card-copy h3 { font-size: 21px; }
  .portfolio-intro h2 { font-size: 26px; }

  .sd-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .sd-hero h1 { font-size: 34px; }
  .sd-icon-grid--4, .sd-icon-grid--5 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .sd-process-track--4, .sd-process-track--6 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .sd-process-line { display: none; }
  .sd-stats { grid-template-columns: 1fr; }
  .sd-stat { border-right: none; border-bottom: 1px solid var(--card-border); }
  .sd-stat:last-child { border-bottom: none; }
  .sd-closing-grid { flex-direction: column; align-items: flex-start; }
  .sd-closing h2 { font-size: 26px; }
  .sd-flow-row { flex-wrap: wrap; row-gap: 32px; }
  .sd-flow-item { flex: 0 0 calc(50% - 20px); }
  .sd-flow-connector { display: none; }
  .sd-process-track--icons { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .sd-process-flow-dots { display: none; }
  .sd-process-flow-card { border-left: none; }
}

/* Móvil */
@media (max-width: 600px) {
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 28px; }
  .hero p.lead { font-size: 15px; }
  .hero-visual { min-height: 480px; }
  .hero-copy-wrap { padding-bottom: 28px; }
  .hero-copy { max-width: none; }
  .floating-card { left: 20px; top: 16px; padding: 10px 12px; }
  .hero-invite { left: 44%; top: 4%; }
  .hero-invite-text { font-size: 17px; }
  .hero-invite-arrow { width: 32px; height: 28px; margin: 0 0 2px 16px; }
  .hero-invite-btn { font-size: 10.5px; padding: 8px 13px 8px 7px; margin-left: 4px; }
  .hero-invite-sparks { left: 66%; top: 3%; }
  .section, .growth, .cta { padding: 60px 0; }
  .section-head h2 { font-size: 24px; }
  .services-row { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .growth p.big { font-size: 20px; }
  .growth p.small { font-size: 16px; }
  .growth-body { margin-top: 40px; }
  .growth-visual { margin-top: 24px; }
  .cta h2 { font-size: 32px; margin-top: 40px; }
  .cta p { font-size: 15px; margin-top: 28px; }
  .cta .btn-primary { margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .services-hero h1 { font-size: 28px; }
  .services-body { grid-template-columns: 1fr; padding-top: 40px; }
  .services-sidebar::before { display: none; }
  .service-row { grid-template-columns: 1fr; padding: 28px 0; }
  .service-row .row-num { display: none; }
  .service-row::before { display: none; }
  .services-cta .btn-row { flex-direction: column; align-items: stretch; }
  .services-banner-inner { flex-direction: column; text-align: center; border-radius: 24px; }
  .services-banner-inner .dot-mark { display: none; }
  .contact-intro h1 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-footer-inner { flex-direction: column; gap: 14px; text-align: center; }

  .blog-hero h1 { font-size: 28px; }
  .blog-lead { font-size: 18px; }
  .featured-post h2 { font-size: 21px; }

  .nosotros-hero h1 { font-size: 28px; }
  .nosotros-sub { font-size: 16px; }
  .timeline-points { flex-direction: column; gap: 28px; }
  .timeline-point.align-right { text-align: left; margin-left: 0; }
  .value-grid { grid-template-columns: 1fr; gap: 28px; }
  .nosotros-what-copy h2 { font-size: 26px; }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team h2 { font-size: 24px; margin-bottom: 36px; }
  .nosotros-statement { font-size: 20px; }

  .proyectos-hero h1 { font-size: 28px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card, .portfolio-card.secondary { grid-column: span 1; }

  .sd-hero h1 { font-size: 28px; }
  .sd-price-card .sd-price-value strong { font-size: 32px; }
  .sd-icon-grid--3, .sd-icon-grid--4, .sd-icon-grid--5 { grid-template-columns: 1fr; row-gap: 32px; }
  .sd-process-track--4, .sd-process-track--6 { grid-template-columns: 1fr; row-gap: 28px; }
  .sd-section-label { margin-bottom: 32px; }
  .sd-block, .sd-process, .sd-closing { padding: 50px 0; }
  .sd-closing h2 { font-size: 22px; }
  .sd-flow-item { flex: 0 0 100%; }
  .sd-process-track--icons { grid-template-columns: 1fr; row-gap: 30px; }
  .sd-process-flow-card { border-left: none; margin-top: 20px; }
}

/* Refinamiento visual: portada y mejoras compartidas de accesibilidad. */
:root { --text-dim: #a09b91; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 5px; }
.btn, .nav-toggle { min-height: 44px; }
.nav-toggle { min-width: 44px; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 10000; padding: 12px 20px; color: #17140f; background: #f6c98a; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.home .eyebrow { font-size: 11px; letter-spacing: 2.3px; font-weight: 700; line-height: 1.6; }
.home .nav-inner { padding-top: 18px; padding-bottom: 18px; }
.home .hero-visual { aspect-ratio: auto; min-height: 660px; }
.home .hero-visual > .scene-img { left: 25%; width: 75%; object-position: center; }
.home .hero-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.97) 24%, rgba(10,10,10,.66) 45%, transparent 70%), linear-gradient(0deg, #0a0a0a, transparent 25%); }
.home .hero-copy-wrap { align-items: center; padding-top: 55px; padding-bottom: 70px; }
.home .hero-copy { max-width: 635px; }
.home .hero-copy.is-in > * { opacity: 1; transform: none; }
.home .hero-copy .eyebrow { margin-bottom: 27px; }
.home h1 { font-size: clamp(42px, 4.6vw, 66px); font-weight: 500; letter-spacing: -2.8px; line-height: 1.1; margin-bottom: 25px; }
.home h1 .hl { color: #e1c89f; }
.home .hero p.lead { max-width: 445px; font-size: 16px; color: #bbb7b0; line-height: 1.8; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.home .hero-actions .btn { padding: 16px 25px; background: #e3cfac; }
.hero-secondary { font-size: 12px; border-bottom: 1px solid #716757; padding: 12px 0; }
.hero-secondary span { margin-left: 7px; }
.hero-secondary:hover { color: var(--accent-2); }
.hero-note { color: #a6a097; font-size: 11px; margin: 28px 0 0; }
.home .hero-invite { left: 76%; top: 9%; }
.home .hero-invite-sparks { display: none; }
.home .lamp-hotspot { left: 76%; }
.home .hero-screen-text { display: none; }
.home .section { padding: 95px 0; }
.home .section-head { max-width: 820px; margin-bottom: 48px; }
.home .section-head h2 { font-size: clamp(29px, 3.2vw, 44px); letter-spacing: -1.4px; line-height: 1.25; margin-top: 12px; }
.home .section-head h2 .dim { color: #a8a297; }
.home .services-row { gap: 0; border-top: 1px solid #35312b; border-bottom: 1px solid #35312b; }
.home .service-item { position: relative; padding: 30px 22px 24px; border-right: 1px solid #35312b; display: flex; flex-direction: column; }
.home .service-item:first-child { padding-left: 0; }
.home .service-item:last-child { border-right: 0; }
.home .service-item:hover { background: #15130f; }
.home .service-item .icon-box { border: 0; box-shadow: none; width: 32px; height: 32px; margin-bottom: 28px; justify-content: flex-start; }
.home .service-item .num { position: absolute; top: 36px; right: 22px; font-size: 10px; color: #b1a595; }
.home .service-item h3 { font-size: 16px; margin-bottom: 12px; }
.service-description { font-size: 12px; line-height: 1.8; color: #aaa49b; margin: 0 0 28px; }
.home .service-item .go { margin-top: auto; font-size: 22px; }
.home .growth { padding: 90px 0 75px; }
.home .growth-head { text-align: left; }
.home .growth .eyebrow { display: inline-flex; justify-content: flex-start; }
.home .growth .eyebrow::after { display: none; }
.home .growth-body { margin-top: 35px; min-height: 370px; }
.home .growth-text-wrap { text-align: left; padding-top: 20px; }
.home .growth p.big { max-width: 600px; margin-left: 0; font-size: clamp(25px, 2.8vw, 37px); line-height: 1.45; letter-spacing: -.8px; }
.home .growth p.small { font-size: 15px; margin-top: 30px; color: #dcc5a2; }
.home .growth-visual { left: 55%; opacity: .75; }
.home .cta { padding: 85px 0 95px; border-top: 1px solid #35312b; background: #12110f; }
.home .cta h2 { font-size: clamp(34px, 4.7vw, 62px); max-width: 780px; margin: 23px auto 0; line-height: 1.12; letter-spacing: -2px; }
.home .cta p { margin: 25px auto 0; max-width: 540px; line-height: 1.8; color: #aaa49b; }
.home .cta .btn-primary { margin-top: 30px; padding: 16px 28px; }
.home .site-footer { padding-top: 65px; }
.home .contact-list a { overflow-wrap: anywhere; }
@media (max-width: 991px) {
  .home .hero-visual { min-height: 670px; }
  .home .hero-copy { max-width: 570px; }
  .home .hero-copy-wrap { align-items: center; }
  .home .hero-invite { left: 76%; top: 4%; }
  .home .services-row { grid-template-columns: repeat(2, 1fr); }
  .home .service-item, .home .service-item:first-child { padding: 26px 22px; border-bottom: 1px solid #35312b; }
  .home .service-item:nth-child(even) { border-right: 0; }
  .home .service-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .home .growth-visual { display: none; }
  .home .growth-body { min-height: 0; }
  .home .growth p.big { max-width: 720px; }
}
@media (max-width: 600px) {
  .home .hero-visual { min-height: 750px; }
  .home .hero-visual > .scene-img { left: 0; width: 100%; height: 330px; object-fit: cover; object-position: center; }
  .home .hero-visual::after { background: linear-gradient(0deg, #0a0a0a 0%, #0a0a0a 54%, transparent 90%); }
  .home .hero-copy-wrap { align-items: flex-end; padding-top: 260px; padding-bottom: 38px; }
  .home h1 { font-size: clamp(36px, 9.5vw, 52px); letter-spacing: -1.6px; }
  .home .hero-copy .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 18px; }
  .home .hero p.lead { font-size: 14px; margin-bottom: 22px; }
  .hero-actions { align-items: flex-start; gap: 12px; flex-direction: column; }
  .hero-note { margin-top: 18px; font-size: 10px; }
  .home .hero-invite { left: 42%; top: 3%; }
  .home .lamp-hotspot { left: 67%; top: 5%; height: 20%; width: 20%; }
  .home .section, .home .growth { padding: 60px 0; }
  .home .section-head h2 { letter-spacing: -.8px; }
  .home .service-item, .home .service-item:first-child { padding: 25px 14px; }
  .home .service-item h3 { font-size: 14px; }
  .home .cta { padding: 60px 0; }
  .home .cta h2 { letter-spacing: -1px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* La invitación es el foco de la escena antes de revelar el contenido. */
.home .hero-invite {
  left: clamp(32px, 9vw, 150px); top: 18%;
  align-items: flex-start; isolation: isolate;
}
.home .hero-invite::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 460px; height: 460px; left: -110px; top: -65px;
  background: radial-gradient(ellipse, rgba(232,168,74,.11), rgba(232,168,74,.025) 48%, transparent 70%);
}
.hero-invite-kicker {
  color: #c4b49b; font-size: 10px; font-weight: 600;
  letter-spacing: 2.6px; margin-bottom: 23px;
}
.home .hero-invite-text {
  font-family: var(--font);
  font-size: clamp(60px, 6.8vw, 94px); line-height: 1.06;
  letter-spacing: -.055em;
  color: #f6d5a1; font-weight: 500;
  text-shadow: 0 0 45px rgba(232,168,74,.18);
  opacity: 1; animation: none; transform: none;
}
.home .hero-invite-arrow {
  width: 48px; height: 42px; margin: 20px 0 12px 44px;
  opacity: .8; animation: none; transform: rotate(8deg);
}
.home .hero-invite-btn {
  margin-left: 0; padding: 11px 23px 11px 12px; min-height: 54px;
  font-size: 14px; color: #fce6c5; background: #211a10;
  border: 1px solid #aa8150; opacity: 1; animation: idea-beacon 3s ease-in-out infinite;
  box-shadow: 0 0 26px rgba(232,168,74,.13);
}
.home .hero-invite-btn-icon {
  width: 30px; height: 30px; color: #f6d5a1;
  background: rgba(232,168,74,.16); animation: none;
}
.home .hero-invite-btn-icon svg { width: 17px; height: 17px; }
.home .hero-invite-btn:hover {
  color: #19130b; background: #f0cf9c; border-color: #f0cf9c;
  transform: translateY(-2px);
}
.home .hero-invite-btn:hover .hero-invite-btn-icon { color: #19130b; }
@keyframes idea-beacon {
  0%, 100% { box-shadow: 0 0 22px rgba(232,168,74,.10); }
  50% { box-shadow: 0 0 36px rgba(232,168,74,.24); }
}
@media (max-width: 600px) {
  .home .hero-invite { left: 28px; top: 265px; }
  .hero-invite-kicker { font-size: 8px; letter-spacing: 2px; margin-bottom: 23px; }
  .home .hero-invite-text { font-size: clamp(52px, 15vw, 68px); }
  .home .hero-invite::before { width: 350px; height: 370px; left: -50px; }
  .home .hero-invite-arrow { margin-top: 18px; height: 34px; }
}


/* Notificación de bienvenida dentro de la escena. */
.home .floating-card {
  display: flex; left: auto; right: 5%; top: 42%;
  width: min(340px, 30%); padding: 21px 20px; gap: 16px;
  background: rgba(27, 26, 24, .94); backdrop-filter: blur(16px);
  border: 1px solid #777166; border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-18px) scale(.96);
  transition: opacity .4s ease, transform .55s cubic-bezier(.16,1,.3,1), visibility .4s;
}
.home .floating-card.is-visible {
  visibility: visible; opacity: 1; transform: translateY(0) scale(1);
}
.home .floating-card .ping { width: 30px; height: 30px; background: #f5f1e8; }
.home .floating-card .txt { min-width: 0; }
.home .floating-card .txt strong { font-size: 17px; font-weight: 600; line-height: 1.4; }
.home .floating-card .txt span { font-size: 13px; color: #e0ddd6; line-height: 1.6; }
.home .floating-card .when { font-size: 11px; color: #c4c0b9; margin-left: auto; align-self: flex-end; padding-bottom: 3px; }
@media (min-width: 601px) and (max-width: 991px) {
  .home .floating-card { top: auto; bottom: 25px; right: 24px; width: 330px; }
}
@media (max-width: 600px) {
  .home .floating-card { top: 165px; right: 20px; left: 20px; width: auto; padding: 17px 16px; gap: 12px; }
  .home .floating-card .txt strong { font-size: 16px; }
  .home .floating-card .txt span { font-size: 12px; }
}

/* Servicios — composición y escala del frame 406:95 de Figma. */
.services-page { background: #000; }
.services-page .wrap { max-width: 1445px; padding-left: 65px; padding-right: 65px; }
.services-page .services-hero { border: 0; padding: 105px 0 90px; }
.services-page .services-hero .dot-mark { width: 28px; height: 28px; background: #f5f1e8; box-shadow: none; margin-bottom: 38px; }
.services-page .services-hero .eyebrow { font-size: 18px; margin-bottom: 24px; }
.services-page .services-hero h1 { font-size: clamp(36px, 4.43vw, 64px); font-weight: 500; letter-spacing: -1.8px; line-height: 1.35; }
.services-page .services-hero h1 span { color: #e9ddc6; }
.services-page .services-hero p { max-width: 340px; margin: 24px auto 0; color: #eee; font-size: 18px; }
.services-page .services-body { display: block; padding-top: 25px; padding-bottom: 0; }
.services-page .services-sidebar { padding: 0; margin-bottom: 60px; }
.services-page .services-sidebar::before { display: none; }
.services-page .guide-label { color: #e9ddc6; font-size: 16px; margin-bottom: 22px; }
.services-page .guide-title { font-size: 18px; color: #eee; max-width: 150px; }
.services-page .services-list { position: relative; padding-left: 135px; }
.services-page .services-list::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 170px; width: 1px; background: linear-gradient(#7a7467, #34312a); }
.services-page .service-row { grid-template-columns: 1fr 1.15fr; gap: 35px; min-height: 485px; padding: 50px 0; border: 0; align-items: center; scroll-margin-top: 100px; }
.services-page .service-row::before { left: -115px; top: 90px; width: 9px; height: 9px; background: #756c5a; box-shadow: 0 0 10px #aa97744d; }
.services-page .row-content { align-self: start; padding-top: 10px; }
.services-page .row-num { display: block; font-size: 46px; font-weight: 500; line-height: 1.3; color: #e9ddc6; margin-bottom: 10px; }
.services-page .row-content h2 { font-size: clamp(28px, 3.25vw, 47px); font-weight: 500; line-height: 1.2; letter-spacing: -1.5px; margin: 0 0 16px; }
.services-page .service-row .row-content p { max-width: 350px; font-size: 20px; line-height: 1.55; color: #a5a19a; margin-bottom: 25px; }
.services-page .service-row .go { display: inline-block; font-size: 18px; font-weight: 400; color: #e0c89f; padding: 8px 0; }
.service-media { width: 100%; aspect-ratio: 3 / 2; }
.service-media img { width: 100%; height: 100%; object-fit: contain; }
.services-page .service-row:first-of-type .service-media img { object-fit: cover; object-position: bottom; }
.services-page .has-guide .row-content, .services-page .has-guide .service-media { opacity: .72; transition: opacity .5s ease, filter .5s ease; }
.services-page .has-guide .service-media { filter: brightness(.7); }
.services-page .has-guide .is-active .row-content, .services-page .has-guide .is-active .service-media { opacity: 1; filter: brightness(1); }
.service-progress { display: none; }
.has-guide .service-progress { display: block; position: absolute; left: 5px; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: #e9ddc6; box-shadow: 0 0 7px 2px #e9ddc6a6, 0 0 25px #e9ddc66b; z-index: 2; transition: transform .55s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.services-page .services-cta { padding: 80px 0 110px; }
.services-page .services-cta h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; }
.services-page .services-cta p { max-width: 640px; font-size: 24px; margin-top: 20px; }
.services-page .services-cta .btn { min-width: 210px; justify-content: center; }
.services-page .services-banner { padding: 0 65px 40px; }
.services-page .services-banner-inner { padding: 25px 40px; }
@media (max-width: 991px) {
  .services-page .wrap { padding-left: 28px; padding-right: 28px; }
  .services-page .services-list { padding-left: 70px; }
  .services-page .service-row { grid-template-columns: 1fr 1fr; min-height: 420px; gap: 25px; }
  .services-page .service-row::before { left: -50px; }
  .services-page .row-content h2 { font-size: 30px; letter-spacing: -.8px; }
  .services-page .service-row .row-content p { font-size: 16px; }
  .services-page .row-num { font-size: 36px; }
  .services-page .services-banner { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 600px) {
  .services-page .wrap { padding-left: 22px; padding-right: 22px; }
  .services-page .services-hero { padding: 65px 0; }
  .services-page .services-hero h1 { font-size: 35px; letter-spacing: -1.2px; }
  .services-page .services-hero p { font-size: 15px; }
  .services-page .services-sidebar { margin-bottom: 32px; }
  .services-page .services-list { padding-left: 45px; }
  .services-page .services-list::before { left: 8px; bottom: 260px; }
  .has-guide .service-progress { left: -1px; top: -9px; width: 18px; height: 18px; }
  .services-page .service-row { grid-template-columns: 1fr; gap: 20px; min-height: 380px; padding: 35px 0; }
  .services-page .service-row::before { display: block; left: -37px; top: 68px; }
  .services-page .row-content h2 { font-size: 29px; }
  .services-page .row-num { font-size: 32px; }
  .services-page .service-row .go { font-size: 15px; }
  .services-page .services-cta { padding: 50px 0 65px; }
  .services-page .services-cta p { font-size: 17px; }
  .services-page .services-banner-inner { padding: 25px 20px; }
}

.services-page .service-row::before { top: var(--marker-top, 90px); }

.service-media-brand { position: relative; }
.service-media-brand .brand-board-logo { position: absolute; width: 25%; height: auto; left: 11%; top: 44%; }
.service-media-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
  color: var(--text-dim);
}
.service-media-pending svg { width: 46px; height: 46px; opacity: 0.55; }
/* Integración de los mockups exportados en el fondo negro del diseño. */
.services-page .service-row:first-of-type .service-media img { filter: none; object-fit: contain; }
.services-page #empresa-digital .service-media img { clip-path: none; object-fit: contain; }

/* Luz del indicador: núcleo claro y halo cálido al alcanzar cada parada. */
.has-guide .service-progress {
  background: radial-gradient(circle at 40% 35%, #fffdf5 0%, #fff0c8 42%, #dcb675 100%);
  box-shadow: 0 0 8px 3px #fff0c8a6, 0 0 25px 8px #e8ba7159, 0 0 48px 14px #e8ba7126;
}
.has-guide .service-progress::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  background: radial-gradient(circle, #ffe8ab66 0%, #e8b66b22 45%, transparent 72%);
  opacity: .6; pointer-events: none;
}

/* Medios de Servicios: video bajo demanda e infografía del proceso. */
.service-media-video { aspect-ratio: 16 / 9; }
.service-media-video video { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 12px; background: #000; }
.services-page .has-guide .service-media-video:focus-within,
.services-page .has-guide .service-media-video:hover { opacity: 1; filter: none; }
.automation-process-image { display: block; width: 100%; height: auto; }
.automation-process .automation-process-mobile { display: none; }
@media (max-width: 600px) {
  .automation-process-image { margin-bottom: 30px; }
  .automation-process .automation-process-mobile { display: grid; }
}

/* Cabecera centrada de Automatización Inteligente. */
.sd-hero-grid.sd-hero-centered { grid-template-columns: 1fr; max-width: 920px; text-align: center; }
.sd-hero-centered .sd-lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.sd-hero-centered .sd-sub { max-width: 560px; margin-left: auto; margin-right: auto; }
.sd-hero-centered .sd-price-value { justify-content: center; }

/* Contenido Visual: presentación editorial y video a todo el ancho. */
.visual-content-hero { background: #000; padding: 100px 0 105px; border: 0; }
.visual-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start; max-width: 1440px; }
.visual-content-hero h1 { font-size: clamp(42px, 5.8vw, 88px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; margin-bottom: 28px; }
.visual-content-hero h1 .accent { color: #e9ddc6; }
.visual-content-hero .sd-lead { max-width: 720px; font-size: clamp(21px, 2.2vw, 32px); line-height: 1.4; color: #f5f3ee; margin-bottom: 32px; }
.visual-content-hero .sd-sub { max-width: 570px; font-size: 19px; line-height: 1.5; color: #eee; margin-bottom: 0; }
.visual-content-hero .sd-price-card { text-align: center; padding-top: 12px; }
.visual-content-hero .sd-price-label { font-size: 17px; font-weight: 700; color: #e9ddc6; margin-bottom: 22px; }
.visual-content-hero .sd-price-value { justify-content: center; gap: 14px; margin-bottom: 20px; }
.visual-content-hero .sd-price-value strong { font-size: 62px; }
.visual-content-hero .sd-price-value span { font-size: 18px; font-weight: 400; color: #fff; }
.visual-content-hero .sd-price-note { color: #eee; font-size: 15px; letter-spacing: 0; margin-bottom: 30px; }
.visual-content-hero .sd-price-card .btn { border-color: #f5f3ee; color: #f5f3ee; justify-content: center; font-size: 15px; }
.visual-content-video { background: #202020; }
.visual-content-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
@media (max-width: 991px) {
  .visual-content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; }
  .visual-content-hero .sd-price-value strong { font-size: 48px; }
  .visual-content-hero .sd-price-card .btn { font-size: 12px; padding: 12px 15px; }
}
@media (max-width: 600px) {
  .visual-content-hero { padding: 55px 0; }
  .visual-content-grid { grid-template-columns: 1fr; gap: 36px; }
  .visual-content-hero h1 { font-size: 43px; }
  .visual-content-hero .sd-sub { font-size: 16px; }
  .visual-content-hero .sd-price-card { text-align: left; }
  .visual-content-hero .sd-price-value { justify-content: flex-start; }
  .visual-content-hero .sd-price-card .btn { font-size: 14px; }
}

/* Páginas interiores conforme a las referencias de marca y automatización. */
.reference-detail { background: #000; }
.reference-detail .sd-hero { padding: 105px 0 65px; border: 0; }
.reference-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 90px; align-items: center; }
.reference-detail .sd-hero h1 { font-size: clamp(42px, 4.8vw, 70px); font-weight: 500; line-height: 1.23; letter-spacing: -1.8px; margin-bottom: 22px; }
.reference-detail .sd-lead { font-size: clamp(20px, 1.9vw, 26px); color: #f0ede7; max-width: 640px; line-height: 1.4; }
.reference-detail .sd-sub { font-size: 16px; color: #e2dfd9; max-width: 620px; line-height: 1.4; margin-bottom: 0; }
.reference-detail .sd-price-card { text-align: center; }
.reference-detail .sd-price-label { color: #e9ddc6; font-size: 17px; text-transform: none; letter-spacing: 0; font-weight: 700; margin-bottom: 18px; }
.reference-detail .sd-price-value { justify-content: center; }
.reference-detail .sd-price-value strong { font-size: clamp(40px, 4vw, 56px); }
.reference-detail .sd-price-note { color: #eee; font-size: 15px; letter-spacing: 0; margin: 12px auto 20px; max-width: 300px; }
.brand-detail .sd-price-note { text-transform: none; max-width: 200px; }
.reference-detail .sd-price-card .btn { border-color: #eee; color: #fff; font-size: 14px; justify-content: center; }
.reference-detail .sd-block, .reference-detail .sd-process { border: 0; padding: 55px 0; }
.reference-detail .sd-section-label { color: #e9ddc6; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 65px; }
.reference-strip { width: 100%; height: auto; }
.reference-detail .reference-mobile-content { display: none; }
.reference-detail .sd-icon-grid { gap: 22px; }
.reference-detail .sd-icon-item .icon-box, .reference-detail .sd-flow-icon { width: 108px; height: 108px; border: 2px solid #f0c168; border-radius: 50%; background: radial-gradient(circle, #171204, #000 70%); box-shadow: 0 0 8px #ffd67d99, 0 0 26px #e8a84a55, inset 0 0 15px #e8a84a22; color: #f0be56; }
.reference-detail .sd-icon-item .icon-box svg { width: 48px; height: 48px; }
.reference-detail .sd-flow-icon svg { width: 42px; height: 42px; }
.reference-detail .sd-icon-item h3 { font-size: 16px; font-weight: 600; }
.reference-detail .sd-icon-item p { color: #aaa69d; line-height: 1.6; }
.brand-detail .sd-icon-grid { margin-top: 110px; }
.brand-detail .sd-icon-item { border: 1px solid #c69a32; border-radius: 18px; padding: 0 20px 25px; background: linear-gradient(#10100c, #000); }
.brand-detail .sd-icon-item .icon-box { margin-top: -60px; margin-bottom: 22px; }
.brand-detail .sd-icon-item h3::after { content: ''; display: block; width: 30px; height: 3px; background: #e5b43b; margin: 15px auto; }
.reference-detail .sd-flow-connector { padding-top: 53px; color: #f0c168; }
.reference-detail .sd-flow-row { margin: 40px 0 0; }
.reference-detail .reference-stats { background: #222; padding: 55px 0; margin-top: 35px; }
.reference-detail .sd-stats { background: none; border-radius: 0; }
.reference-detail .sd-stat { border-color: #80632c; padding-top: 10px; padding-bottom: 10px; }
.reference-detail .sd-stat svg { width: 50px; height: 50px; }
.reference-detail .sd-stat .sd-stat-value { font-size: 23px; }
.reference-detail .sd-closing { padding: 65px 0; }
.reference-detail .sd-closing h2 { font-size: 32px; max-width: 680px; }
@media (max-width: 991px) {
 .reference-hero-grid { gap: 40px; grid-template-columns: minmax(0, 1.3fr) minmax(230px, 1fr); }
 .reference-detail .sd-icon-grid--5 { grid-template-columns: repeat(3, 1fr); gap: 85px 22px; }
 .reference-detail .sd-icon-item .icon-box { width: 90px; height: 90px; }
}
@media (max-width: 600px) {
 .reference-detail .sd-hero { padding: 55px 0 35px; }
 .reference-hero-grid { grid-template-columns: 1fr; gap: 35px; }
 .reference-detail .sd-price-card { text-align: left; }
 .reference-detail .sd-price-value { justify-content: flex-start; }
 .reference-detail .sd-price-note { margin-left: 0; }
 .reference-detail .sd-block, .reference-detail .sd-process { padding: 40px 0; }
 .reference-detail .sd-section-label { margin-bottom: 35px; }
 .reference-detail .reference-mobile-content { display: grid; margin-top: 25px; }
 .reference-detail .sd-icon-grid--5 { grid-template-columns: 1fr; }
 .reference-detail .sd-icon-item p { max-width: 300px; margin: auto; }
 .reference-detail .sd-closing h2 { font-size: 26px; }
}

.reference-accent { color: #e9ddc6; }
.reference-detail .wrap { padding-left: 6%; padding-right: 6%; }
@media (max-width: 600px) { .reference-detail .wrap { padding-left: 22px; padding-right: 22px; } }

/* Service detail references: open columns, centered process and full-width terms. */
.remaining-detail, .contact-reference { background: #000; }
.remaining-detail .wrap { padding-left: 6%; padding-right: 6%; }
.remaining-detail .sd-hero { border: 0; padding: 90px 0 60px; }
.remaining-detail:not(.content-detail) .sd-hero-grid { grid-template-columns: 1.3fr 1fr; gap: 25px; }
.remaining-detail:not(.content-detail) .sd-hero h1 { font-size: clamp(38px,4.6vw,64px); font-weight: 500; letter-spacing: -.04em; }
.remaining-detail:not(.content-detail) .sd-lead { font-size: clamp(19px,2vw,25px); color: #dedbd5; line-height: 1.45; margin-bottom: 20px; }
.compact-price { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.remaining-detail:not(.content-detail) .sd-price-note { font-size: 13px; color: #eee; margin-bottom: 24px; }
.remaining-detail:not(.content-detail) .sd-price-card .btn { padding: 0; background: none; border: 0; color: #e9ddc6; text-transform: uppercase; font-size: 14px; box-shadow: none; }
.remaining-detail .sd-visual { background: none; border: 0; }
.remaining-detail .sd-block, .remaining-detail .sd-process { border: 0; padding: 65px 0 80px; }
.remaining-detail .sd-section-label { color: #e9ddc6; font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 85px; }
.remaining-detail .sd-icon-grid { gap: 0; }
.remaining-detail .sd-icon-item { position: relative; padding: 0 26px; }
.remaining-detail .sd-icon-item + .sd-icon-item::before { content: ''; position: absolute; top: 28px; bottom: 0; left: 0; width: 1px; background: #302d25; }
.remaining-detail .sd-icon-item .icon-box { width: 68px; height: 68px; border: 0; background: none; color: #e5b758; box-shadow: none; border-radius: 0; margin: 0 auto 22px; }
.remaining-detail .icon-box svg { width: 58px; height: 58px; }
.remaining-detail .sd-icon-item h3 { color: #e9ddc6; font-size: 21px; font-weight: 600; }
.remaining-detail .sd-icon-item p { color: #b0aca4; font-size: 14px; line-height: 1.5; }
.remaining-detail .sd-process-track { margin-bottom: 0; }
.remaining-detail .sd-process-track > div { position: relative; text-align: center; }
.remaining-detail .sd-process-num-row { justify-content: center; position: relative; margin-bottom: 28px; }
.remaining-detail .sd-process-num { background: #000; border-color: #d2a34c; color: #e5b758; font-weight: 500; position: relative; z-index: 1; }
.remaining-detail .sd-process-line { position: absolute; left: calc(50% + 27px); width: calc(100% - 54px); margin: 0; }
.remaining-detail .sd-process-item { padding: 0 20px; }
.remaining-detail .sd-process-item p { margin: auto; }
.remaining-detail .sd-process-icon { margin: 0 auto 16px; color: #e5b758; }
.enterprise-detail .sd-process-line::after, .content-detail .sd-process-line::after { display: none; }
.presence-detail .sd-process-num { width: 70px; height: 70px; background: #514d43; border: 0; color: #eee2ca; font-size: 30px; font-weight: 700; }
.presence-detail .sd-process-line { left: calc(50% + 50px); width: calc(100% - 100px); }
.presence-detail .sd-process-item h3 { color: #e9ddc6; font-size: 20px; }
.content-detail .icon-box, .content-detail .sd-process-num, .content-detail .sd-process-icon { filter: drop-shadow(0 0 3px #d2a34c66); }
.remaining-detail .detail-stats { background: #222; padding: 55px 0; }
.remaining-detail .sd-stats { background: none; border-radius: 0; }
.remaining-detail .sd-stat { border-color: #796039; }
.remaining-detail .sd-stat svg { width: 54px; height: 54px; }
.remaining-detail .sd-closing { padding: 65px 0; }
.presence-detail .sd-closing h2 { color: #e9ddc6; }
.presence-delivery { display: grid; grid-template-columns: 1fr 1fr; max-width: 1280px; margin: auto; align-items: center; }
.presence-delivery .sd-block { padding: 40px 0; background: none; }
.presence-delivery .sd-section-label { text-align: left; margin-bottom: 40px; }
.presence-delivery .sd-icon-item { padding: 0 6px; }
.presence-delivery .sd-icon-item::before { display: none; }
.presence-delivery .sd-icon-item .icon-box { width: 40px; height: 40px; margin-bottom: 12px; }
.presence-delivery .icon-box svg { width: 38px; height: 38px; }
.presence-delivery .sd-icon-item h3 { font-size: 11px; }
.presence-delivery .sd-stat { display: block; text-align: center; padding: 18px 12px; border: 0; }
.presence-delivery .sd-stat svg { width: 38px; height: 38px; margin: 0 auto 15px; }
.presence-delivery .sd-stat-value, .presence-delivery .sd-stat-label { font-size: 11px; }
.presence-delivery .sd-stat-note { font-size: 10px; }
.contact-reference .contact-hero { padding: 100px 0 140px; border: 0; }
.contact-reference .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.contact-reference .contact-intro h1 { font-size: clamp(40px,4.7vw,64px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.contact-reference .contact-divider { width: 96px; background: #e9ddc6; margin: 36px 0 65px; }
.contact-reference .contact-info { gap: 55px; }
.contact-reference .contact-icon { width: 64px; height: 64px; border: 1px solid #e7ce83; border-radius: 50%; color: #e7ce83; background: #000; flex-shrink: 0; }
.contact-reference .contact-icon svg { width: 32px; height: 32px; }
.contact-reference .contact-text { min-width: 0; gap: 8px; }
.contact-reference .contact-text a { overflow-wrap: anywhere; }
.contact-reference .contact-text strong { color: white; font-size: 17px; }
.contact-reference .contact-form { background: linear-gradient(120deg,#090909,#000); padding: 34px; border-radius: 14px; }
.contact-reference .contact-form h2 { font-size: 27px; font-weight: 500; }
.contact-reference .field label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-reference .field input, .contact-reference .field select, .contact-reference .field textarea { background-color: #171717; padding: 17px; }
.contact-reference .contact-form .btn { border-radius: 8px; background: linear-gradient(115deg,#f1c568,#e4c277); color: #080808; border: 0; }
.contact-reference .contact-form .form-trust { margin: 18px 0 0; font-size: 12px; }
.contact-status:empty { display: none; }
.contact-reference .contact-status { margin: 16px 0; color: #e9ddc6; }
.contact-alternatives { display: flex; justify-content: center; gap: 26px; margin-top: 18px; font-size: 13px; text-decoration: underline; }
.contact-reference .contact-footer { border: 0; background: #000; }
@media (max-width: 900px) {
 .presence-delivery { grid-template-columns: 1fr; }
 .presence-delivery .sd-icon-grid--5 { grid-template-columns: repeat(5,1fr); }
 .presence-delivery .sd-stats { grid-template-columns: repeat(3,1fr); }
 .contact-reference .contact-grid { grid-template-columns: 1fr; gap: 50px; }
 .remaining-detail .sd-icon-item { padding: 0 16px; }
 .remaining-detail .sd-process-line { display: none; }
}
@media (max-width: 600px) {
 .remaining-detail .wrap { padding-left: 22px; padding-right: 22px; }
 .remaining-detail .sd-hero { padding: 50px 0 25px; }
 .remaining-detail:not(.content-detail) .sd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
 .remaining-detail .sd-block, .remaining-detail .sd-process { padding: 45px 0; }
 .remaining-detail .sd-section-label { margin-bottom: 40px; }
 .remaining-detail .sd-icon-grid { row-gap: 36px; }
 .remaining-detail .sd-icon-item::before { display: none; }
 .remaining-detail .sd-icon-item p { max-width: 280px; margin: auto; }
 .remaining-detail .sd-process-track { row-gap: 36px; }
 .remaining-detail .sd-stat { border-right: 0; }
 .presence-delivery .sd-icon-grid--5 { grid-template-columns: repeat(3,1fr); }
 .presence-delivery .sd-stats { grid-template-columns: 1fr; }
 .contact-reference .contact-hero { padding: 50px 0 65px; }
 .contact-reference .contact-form { padding: 22px; }
 .contact-reference .contact-info { gap: 28px; }
 .contact-reference .contact-icon { width: 48px; height: 48px; }
 .contact-reference .contact-form h2 { font-size: 23px; }
}

/* Cotizaciones sin tarifas publicadas. */
.sd-price-card .sd-price-value.quote-value strong { font-size: clamp(30px, 3.4vw, 46px); overflow-wrap: anywhere; }
