@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/*! -----------------------------------------------------------------------------------

    Template Name: Viempresarial.com
    Description: Theme base para sitio viempresarial.com en su nueva versión.
    Author: Oscar Abs.

---------------------------------------------------------------------------------------
*/

/* =====================
   VARIABLES GLOBALES
===================== */
:root {
  --transition-base: all 0.5s ease;
  --radius-lg: 40px;
  --scroll-intensity: 1;
}

.font-serif {
  font-family: "Playfair Display", serif;
}

/* =====================
   LIGHT THEME
   — FIX: añadido html.light-theme para que las variables
     y background se apliquen desde la raíz (necesario
     porque la clase vive en <html>, no en <body>)
===================== */
html.light-theme,
.light-theme {
  --black-color: #000000;
  --white-color: #FFFEEC;
  --text-color: rgba(0, 0, 0, 0.55);
  --border-color: #e4dfdd;
  --green-color: #88ffc6;
  --hero-accent: #012340;
  background: #ffffff;
}

/* =====================
   DARK THEME
===================== */
html.dark-theme,
.dark-theme {
  --black-color: #ffffff;
  --white-color: #000000;
  --text-color: rgba(255, 255, 255, 0.55);
  --border-color: rgba(255, 255, 255, 0.25);
  --hero-accent: #00d553;
  background: #000000;
}

/* =====================
   RESET / BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  transition: var(--transition-base);
}

a {
  text-decoration: none;
  color: var(--black-color);
  transition: var(--transition-base);
}

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

/* =====================
   UTILIDADES
===================== */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }

/* =====================
   PRELOADER
===================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999999;
  /* Gradiente radial sutil — da profundidad sin distraer */
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 70%);
  overflow: hidden;
  color-scheme: dark;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- CONTENEDOR DEL ISOTIPO ---- */
.preloader__iso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  position: relative;
}

/* ---- SVG ---- */
.preloader__svg {
  width: min(72vw, 520px);
  height: auto;
  display: block;
  /* Permite que los frags salgan del viewBox durante la animación */
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Fragmentos — estado inicial invisible, color propio */
.iso-frag {
  opacity: 0;
}

#frag-1 { fill: #012340; }
#frag-2 { fill: #00d553; }
#frag-3 { fill: #014d40; }
#frag-4 { fill: #012340; }
#frag-5 { fill: #00d553; }
#frag-6 { fill: #014d40; }

/* ---- DESTELLO DE ENCAJE ---- */
.preloader__flash {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 254, 236, 0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* ---- TAGLINE ---- */
.preloader__tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  color: rgba(255, 254, 236, 0.45);
  letter-spacing: 0.18em;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
}

/* =====================
   HEADER (FLOAT + EXPAND)
===================== */
header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  width: calc(100% - 80px);
  max-width: 1280px;

  background: rgba(255, 254, 236, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);

  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  overflow: hidden;
  transition: var(--transition-base);
}

header:hover {
  transform: translateX(-50%) translateY(-1px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dark-theme header {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =====================
   HEADER BAR (TOP)
===================== */
.header-bar {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================
   LOGO
===================== */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  transition: var(--transition-base);
}

.logo-dark { display: none; }

.dark-theme .logo-light { display: none; }
.dark-theme .logo-dark  { display: block; }

/* =====================
   HAMBURGER
===================== */
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);

  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  cursor: pointer;
  transition: var(--transition-base);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black-color);
  border-radius: 2px;
  margin: 0 auto;
  transition: var(--transition-base);
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dark-theme .menu-toggle {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

header.open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

header.open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* =====================
   THEME SWITCH
===================== */
.switch {
  position: relative;
  display: flex;
  width: 140px;
  height: 36px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
}

.switch::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  background: var(--white-color);
  border-radius: 50px;
  transition: var(--transition-base);
}

.switch span {
  width: 50%;
  text-align: center;
  font-size: 12px;
  padding: 8px 0;
  text-transform: uppercase;
  z-index: 2;
  color: var(--black-color);
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.switch.checked::before {
  left: 50%;
}

.dark-theme .switch {
  background: rgba(255, 255, 255, 0.15);
}

/* =====================
   EXPANDABLE MENU
===================== */
.header-menu {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

header.open .header-menu {
  max-height: 300px;
}

/* =====================
   MENU CARDS
===================== */
.menu-grid {
  padding: 24px 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.menu-card {
  padding: 28px 20px;
  border-radius: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  color: var(--black-color);
  transition: var(--transition-base);
}

.menu-card:hover {
  background: var(--green-color);
  transform: translateY(-3px);
}

.dark-theme .menu-card {
  background: rgba(255, 255, 255, 0.08);
}

/* =====================
   HERO — BASE
===================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 40px 80px;
  display: flex;
  align-items: center;
}

/* ---- Contenedor interno ---- */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Grid principal: 60/40 ---- */
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}

/* =====================
   HERO — IZQUIERDA
===================== */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- Establish (vive justo arriba del h1, fuera de él) ---- */
.hero-establish {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-establish-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-color);
}

.hero-establish-year {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black-color);
  line-height: 1;
}

/* ---- Título ---- */
.hero-title-wrap {
  overflow: visible;
  margin-bottom: 40px;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 11vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black-color);
}

.hero-title span {
  display: block;
  overflow: hidden;
}

.hero-title .accent {
  color: var(--hero-accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}

/* ---- Botones ---- */
.hero-actions {
  display: flex;
  gap: 18px;
}

.hero-btn {
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-btn.primary {
  background: var(--black-color);
  color: var(--white-color);
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-btn.ghost {
  border: 1px solid var(--border-color);
  color: var(--black-color);
  background: transparent;
}

.hero-btn.ghost:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
}

/* =====================
   HERO — DERECHA
   Descripción + KPIs con línea separadora
===================== */
.hero-right {
  display: flex;
  align-items: stretch;
}

.hero-right-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  border-left: 1px solid var(--border-color);
  padding-left: 40px;
}

.hero-stats-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-color);
  max-width: 340px;
}

/* ---- KPIs ---- */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-kpi-value {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black-color);
  line-height: 1;
}

.hero-kpi-value sup {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--hero-accent);
  vertical-align: super;
}

.hero-kpi-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-color);
  line-height: 1.4;
}

/* =====================
   HERO — VIDEO CARD
===================== */
.hero-media-row {
  margin-top: 56px;
}

.hero-video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--hero-accent);
  cursor: pointer;
}

.hero-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transition: filter 0.6s ease, transform 0.8s ease;
  display: block;
}

.hero-video-card:hover img {
  filter: brightness(0.55);
  transform: scale(1.03);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--hero-accent);
  margin-left: 4px;
}

.hero-video-card:hover .hero-play-btn {
  transform: scale(1.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* =====================
   HERO — LOGOS BAND
===================== */
.hero-logos {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

.hero-logos-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 24px;
}

.hero-logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-logo-item {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color);
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease;
  text-decoration: none;
  cursor: default;
}

.hero-logo-item:hover {
  opacity: 1;
  color: var(--black-color);
}

/* =====================
   HERO — ISOTYPE
   (reservado para otras secciones)
===================== */
.hero-isotype {
  position: relative;
  width: min(520px, 40vw);
  aspect-ratio: 3813 / 1359;
  color: var(--hero-accent);
  opacity: 0.08;
  pointer-events: none;
}

/* =====================
   HERO — DECORATIVOS
===================== */
.hero-bg-accent {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 35, 64, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

html.dark-theme .hero-bg-accent {
  background: radial-gradient(circle, rgba(0, 213, 83, 0.05) 0%, transparent 70%);
}

.hero-deco-line {
  position: absolute;
  top: 0;
  right: 15%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border-color) 20%,
    var(--border-color) 80%,
    transparent
  );
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}


/* =====================
   SHOWCASE — SCROLL REVEAL
===================== */

/* Sección contenedora */
.showcase {
  position: relative;
}

/* Spacer: altura extra para el scroll-driven effect */
.showcase-scroll-space {
  min-height: 240vh;
  position: relative;
}

/* Panel sticky — lo que el usuario ve */
.showcase-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Contexto de apilamiento propio — evita que se superponga al hero */
  isolation: isolate;
  z-index: 1;
}

/* ---- IMAGEN CENTRAL ---- */
/* Tamaño en reposo: relativo al grid, para que GSAP lo mida correctamente.
   GSAP lo sobreescribe a fullscreen en el init y lo anima de vuelta aquí. */
.showcase-scaler {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 3;
  border-radius: 16px;
  overflow: hidden;
  /* Ocupa la columna central del grid (1/5 del ancho) */
  width: calc((100% - (4 * clamp(10px, 5vw, 60px))) / 5);
  aspect-ratio: 4 / 5;
}

.showcase-scaler-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- GRID DE CAPAS ---- */
.showcase-grid {
  --gap: clamp(10px, 5vw, 60px);
  --container-width: 1400px;

  width: var(--container-width);
  max-width: calc(100% - 4rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--gap);
  margin: 0 auto;
  align-content: center;

  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 1;
}

/* Capas usan subgrid */
.showcase-layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;

  /* Estado inicial: invisible, GSAP las revela */
  opacity: 0;
  scale: 0;
}

/* ---- POSICIONAMIENTO DE CAPAS ---- */

/* Capa 1: columnas exteriores (1 y 5) */
.showcase-layer[data-layer="1"] div:nth-child(odd)  { grid-column: 1; }
.showcase-layer[data-layer="1"] div:nth-child(even) { grid-column: 5; }

/* Capa 2: columnas internas (2 y 4) */
.showcase-layer[data-layer="2"] div:nth-child(odd)  { grid-column: 2; }
.showcase-layer[data-layer="2"] div:nth-child(even) { grid-column: 4; }

/* Capa 3: columna central (3), arriba y abajo */
.showcase-layer[data-layer="3"] div:first-child {
  grid-column: 3;
  grid-row: 1;
}
.showcase-layer[data-layer="3"] div:last-child {
  grid-column: 3;
  grid-row: 3;
}

/* Imágenes del grid */
.showcase-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .showcase-scroll-space {
    min-height: 200vh;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(100% - 2rem);
  }

  /* En móvil ocultamos capa 1 (bordes exteriores) */
  .showcase-layer[data-layer="1"] { display: none; }

  .showcase-layer[data-layer="2"] div:nth-child(odd)  { grid-column: 1; }
  .showcase-layer[data-layer="2"] div:nth-child(even) { grid-column: 3; }

  .showcase-layer[data-layer="3"] div:first-child { grid-column: 2; }
  .showcase-layer[data-layer="3"] div:last-child  { grid-column: 2; }
}

/* =====================
   MANIFIESTO
===================== */
.manifesto {
  padding: 160px 60px;
  position: relative;
}

.manifesto-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ---- HEADER: 2 columnas ---- */
.manifesto-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

/* ---- COLUMNA IZQUIERDA ---- */
.manifesto-header-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Etiqueta "¿Por qué VIE?" */
.manifesto-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

/* Título — más compacto que el de servicios, diferente peso */
.manifesto-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--black-color);
  margin: 0;
}

/* Accent en Playfair pero display block para romper en línea propia */
.manifesto-title-accent {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--hero-accent);
  letter-spacing: -0.02em;
}

/* ---- COLUMNA DERECHA ---- */
.manifesto-header-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.manifesto-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-color);
  margin: 0;
}

.manifesto-desc strong {
  color: var(--black-color);
  font-weight: 700;
}

/* Placeholder para el elemento visual que viene */
.manifesto-visual-placeholder {
  width: 100%;
  min-height: 200px;
  border-radius: 20px;
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* IMPORTANTE */
  position: relative;
}

.manifesto-visual-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- DIVIDER ---- */
.manifesto-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin-bottom: 60px;
}

/* ---- VALORES: grid 4 columnas ---- */
.manifesto-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.manifesto-value {
  padding: 0 40px;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-value:first-child {
  padding-left: 0;
  border-left: none;
}

/* Número */
.manifesto-value-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--hero-accent);
  text-transform: uppercase;
}

/* Título valor */
.manifesto-value-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black-color);
  line-height: 1.1;
  margin: 0;
}

/* Descripción valor */
.manifesto-value-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-color);
  margin: 0;
}

/* =====================
   RESPONSIVE — MANIFIESTO
===================== */
@media (max-width: 991px) {

  .manifesto {
    padding: 100px 24px;
  }

  .manifesto-header {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 56px;
  }

  .manifesto-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 0;
  }

  .manifesto-value {
    padding: 0 28px;
  }

  .manifesto-value:first-child {
    padding-left: 0;
    border-left: none;
  }

  .manifesto-value:nth-child(2) {
    border-left: 1px solid var(--border-color);
  }

  .manifesto-value:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }

  .manifesto-value:nth-child(4) {
    border-left: 1px solid var(--border-color);
  }
}

@media (max-width: 600px) {

  .manifesto {
    padding: 80px 20px;
  }

  .manifesto-values {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .manifesto-value {
    padding: 0 0 0 24px;
    border-left: 2px solid var(--hero-accent);
  }

  .manifesto-value:first-child {
    padding-left: 24px;
    border-left: 2px solid var(--hero-accent);
  }
}

/* =====================
   SERVICIOS
===================== */
.services {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* ---- HEADER ---- */
.services-header {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.services-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.services-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black-color);
  margin: 0;
}

.services-title-accent {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--hero-accent);
}

/* ---- LISTA ---- */
.services-list {
  display: flex;
  flex-direction: column;
}

.services-item {
  position: relative;
  padding: 44px 60px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  cursor: none;
  transition: background 0.3s ease;
  z-index: 2;
}

.services-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

.services-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

html.dark-theme .services-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Index */
.services-index {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--border-color);
  min-width: 36px;
  transition: color 0.3s ease;
}

.services-item:hover .services-index {
  color: var(--hero-accent);
}

/* Info */
.services-info {
  flex: 1;
}

.services-name {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--black-color);
  text-transform: uppercase;
  transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.services-item:hover .services-name {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black-color);
}

html.dark-theme .services-item:hover .services-name {
  -webkit-text-stroke: 1.5px #ffffff;
}

.services-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.02em;
}

.services-sub strong {
  color: var(--black-color);
  font-weight: 700;
}

/* Flecha / CTA */
.services-arrow {
  font-size: 2rem;
  color: var(--black-color);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.services-item:hover .services-arrow {
  transform: rotate(-45deg);
  color: var(--hero-accent);
}

/* ---- IMAGEN FLOTANTE ---- */
.services-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 400px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: scale(0.85);
  border-radius: 12px;
  overflow: hidden;
}

.services-reveal-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.services-reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  display: block;
}

/* =====================
   RESPONSIVE — SERVICIOS
===================== */
@media (max-width: 1024px) {
  .services-header {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .services-item {
    padding: 36px 24px;
  }

  .services-reveal {
    display: none;
  }
}

@media (max-width: 600px) {
  .services {
    padding: 80px 0 60px;
  }

  .services-item {
    padding: 28px 20px;
    gap: 20px;
  }

  .services-name {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
}


/* =====================
   PROCESO INTEGRADO
===================== */
.process {
  padding: 140px 60px;
  position: relative;
}

.process-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ---- HEADER ---- */
.process-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.process-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

.process-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black-color);
  margin: 0;
}

.process-title-accent {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--hero-accent);
}

/* ---- GRID ASIMÉTRICO ---- */
/*
  Layout desktop (4 cols x 3 rows):
  [ 01 ][ 02 ][ 03* ][ 03* ]
  [ 04**][ 04**][ 03* ][ 05 ]
  [ 04**][ 04**][ -- ][ 06 ]
  * 03 Creatividad: col 3-4, row 1-2
  ** 04 Ejecución: col 1-2, row 2-3
*/
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Fila 1: tarjetas pequeñas 01 y 02
     Filas 2-3: mitades de 04, más 05 y 06 */
  grid-template-rows: 260px 260px 260px;
  gap: 16px;
}

/* ---- TARJETA BASE ---- */
.process-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
}

/* Posicionamiento explícito de cada tarjeta */
.process-card[data-step="01"] {
  grid-column: 1;
  grid-row: 1;
}
.process-card[data-step="02"] {
  grid-column: 2;
  grid-row: 1;
}
/* 03: grande — col 3-4, rows 1-2 */
.process-card[data-step="03"] {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
}
/* 04: ancha+alta — col 1-2, rows 2-3 */
.process-card[data-step="04"] {
  grid-column: 1 / span 2;
  grid-row: 2 / span 2;
}
/* 05: col 3, row 3 */
.process-card[data-step="05"] {
  grid-column: 3;
  grid-row: 3;
}
/* 06: col 4, row 3 */
.process-card[data-step="06"] {
  grid-column: 4;
  grid-row: 3;
}

/* Colores únicos por tarjeta */
.process-card[data-step="01"] { background-color: #012340; }
.process-card[data-step="02"] { background-color: #014d40; }
.process-card[data-step="03"] { background-color: #1a1a2e; }
.process-card[data-step="04"] { background-color: #2d1b00; }
.process-card[data-step="05"] { background-color: #1a0a2e; }
.process-card[data-step="06"] { background-color: #002d1a; }

/* Dark theme */
html.dark-theme .process-card[data-step="01"] { background-color: #013d6b; }
html.dark-theme .process-card[data-step="02"] { background-color: #015c4d; }
html.dark-theme .process-card[data-step="03"] { background-color: #16213e; }
html.dark-theme .process-card[data-step="04"] { background-color: #3d2600; }
html.dark-theme .process-card[data-step="05"] { background-color: #2a0f42; }
html.dark-theme .process-card[data-step="06"] { background-color: #004021; }

/* ---- SVG DECORATIVO DE FONDO ---- */
.process-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.2;
  pointer-events: none;
}

.process-card-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
}

/* ---- CONTENIDO ---- */
.process-card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  color: #ffffff;
}

/* Número */
.process-card-number {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

/* Título */
.process-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

.process-card--large .process-card-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

/* Descripción */
.process-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.process-card-desc strong {
  color: #ffffff;
  font-weight: 700;
}

.process-card--large .process-card-desc,
.process-card--wide .process-card-desc {
  font-size: 15px;
  max-width: 520px;
}

/* Hover: brillo sutil */
.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  border-radius: 24px;
  pointer-events: none;
}

.process-card:hover::after {
  background: rgba(255, 255, 255, 0.04);
}

/* =====================
   RESPONSIVE — PROCESO
===================== */
@media (max-width: 1024px) {
  .process {
    padding: 100px 24px;
  }

  /* 2 columnas en tablet — todo apilado en orden */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .process-card[data-step="01"] { grid-column: 1; grid-row: auto; }
  .process-card[data-step="02"] { grid-column: 2; grid-row: auto; }
  .process-card[data-step="03"] { grid-column: 1 / span 2; grid-row: auto; min-height: 320px; }
  .process-card[data-step="04"] { grid-column: 1 / span 2; grid-row: auto; min-height: 320px; }
  .process-card[data-step="05"] { grid-column: 1; grid-row: auto; }
  .process-card[data-step="06"] { grid-column: 2; grid-row: auto; }

  .process-card {
    min-height: 280px;
  }
}

@media (max-width: 600px) {
  .process {
    padding: 80px 20px;
  }

  /* 1 columna en móvil */
  .process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .process-card[data-step="01"],
  .process-card[data-step="02"],
  .process-card[data-step="03"],
  .process-card[data-step="04"],
  .process-card[data-step="05"],
  .process-card[data-step="06"] {
    grid-column: 1;
    grid-row: auto;
    min-height: 260px;
  }
}
/* =====================
   CASOS DE ÉXITO
===================== */

/* ---- INTRO BLOCK ---- */
.cases-intro-block {
  padding: 120px 60px 80px;
  background: var(--white-color);
}

.cases-intro-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cases-intro-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

.cases-intro-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--black-color);
  margin: 0;
}

.cases-intro-title strong {
  font-weight: 900;
}

.cases-intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.cases-intro-text strong {
  color: var(--black-color);
  font-weight: 700;
}

/* ---- PINNED WRAPPER — inmune al tema ---- */
.cases-pinned {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
  color-scheme: dark;
  cursor: grab;
}

.cases-pinned:active {
  cursor: grabbing;
}

/* Track horizontal */
.cases-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  will-change: transform;
}

/* ---- PANEL BASE ---- */
.cases-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  flex-shrink: 0;
}

/* ---- PANEL EDITORIAL: split imagen | copy ---- */
.panel-editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.panel-editorial--rev {
  grid-template-columns: 1fr 1.2fr;
}

/* Imagen ocupa toda la columna izquierda */
.cases-editorial-image {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

/* Copy columna derecha — siempre dark */
.cases-editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background: #111111;
  gap: 24px;
  z-index: 2;
  overflow-y: auto;
}

/* ---- PANEL FULL BACKGROUND ---- */
.panel-full {
  position: relative;
  display: flex;
  align-items: center;
}

.cases-full-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}

.cases-full-img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: brightness(0.5);
  will-change: transform;
}

.cases-full-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.1) 100%
  );
}

.cases-full-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 680px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---- IMAGEN CON PARALLAX ---- */
.cases-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cases-parallax {
  width: 110%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
  display: block;
}

/* ---- TEXTOS COMUNES — siempre sobre fondo dark ---- */
.cases-chapter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
}

.cases-brand-name {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffffff;
}

.cases-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.cases-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
}

/* ---- BLOQUES RETO / SOLUCIÓN ---- */
.cases-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cases-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cases-block-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-accent);
}

.cases-block p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.cases-block p strong {
  color: #ffffff;
  font-weight: 700;
}

/* ---- MÉTRICAS ---- */
.cases-metrics-row {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cases-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cases-metric-val {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
}

.cases-metric-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ---- NAVEGACIÓN ---- */
.cases-nav {
  position: absolute;
  bottom: 32px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.cases-nav-progress {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.cases-nav-fill {
  height: 100%;
  background: #ffffff;
  transform-origin: left;
  transform: scaleX(0.25);
  transition: transform 0.5s ease;
}

.cases-nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
}

.cases-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.cases-nav-btn svg {
  width: 16px;
  height: 16px;
}

.cases-nav-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.05);
}

.cases-nav-counter {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}

/* ---- OUTRO BLOCK ---- */
.cases-outro-block {
  padding: 80px 60px 120px;
  background: var(--white-color);
}

.cases-outro-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases-outro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.cases-outro-text strong {
  color: var(--black-color);
  font-weight: 700;
}

.cases-outro-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--black-color);
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.35s ease;
}

.cases-outro-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s ease;
}

.cases-outro-cta:hover {
  background: var(--hero-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.cases-outro-cta:hover svg {
  transform: translateX(5px);
}

/* =====================
   RESPONSIVE — CASOS
===================== */
@media (max-width: 1024px) {
  .cases-intro-block,
  .cases-outro-block {
    padding: 80px 24px 60px;
  }

  .panel-editorial,
  .panel-editorial--rev {
    grid-template-columns: 1fr;
    grid-template-rows: 45% 55%;
  }

  .cases-editorial-content {
    padding: 32px 24px;
    gap: 16px;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .cases-full-content {
    padding: 0 32px;
  }
}

@media (max-width: 600px) {
  .cases-intro-block,
  .cases-outro-block {
    padding: 60px 20px;
  }

  .cases-editorial-content {
    padding: 24px 20px;
  }

  .cases-full-content {
    padding: 0 20px;
  }

  .cases-metrics-row {
    gap: 20px;
  }

  .cases-brand-name {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
}

/* =====================
   NOSOTROS
===================== */

/* El wrapper que GSAP va a pinnear */
.about {
  position: relative;
  overflow: hidden;
}

/* El panel interno que se pinna — 100vh visible */
.about-pinned {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--black-color);
}

html.light-theme .about-pinned {
  background: #f0f0f0;
}

/* ---- GALERÍA: dentro del panel pinnado ---- */
.about-gallery {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

/* ---- HEADLINE: encima de la galería ---- */
.about-headline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  pointer-events: none;
  text-align: center;
  padding: 0 40px;
}

.about-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  mix-blend-mode: difference;
}

.about-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  mix-blend-mode: difference;
  pointer-events: none;
}

.about-title-accent {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.about-sub {
  font-size: 15px;
  line-height: 1.75;
  color: #ffffff;
  max-width: 560px;
  mix-blend-mode: difference;
  pointer-events: none;
}

.about-sub strong {
  font-weight: 700;
}

/* ---- COLUMNAS ---- */
.about-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  align-self: flex-start;
}

.about-col:nth-child(2) {
  align-self: flex-end;
}

/* ---- IMÁGENES ---- */
.about-image {
  width: 100%;
  padding: 0.75rem;
  filter: saturate(0);
  transition: filter 0.3s ease-out;
}

.about-image:hover {
  filter: saturate(1);
  z-index: 10;
  pointer-events: auto;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow:
    0 2.8px 2.2px rgba(0,0,0,0.034),
    0 6.7px 5.3px rgba(0,0,0,0.048),
    0 12.5px 10px rgba(0,0,0,0.06),
    0 22.3px 17.9px rgba(0,0,0,0.072),
    0 41.8px 33.4px rgba(0,0,0,0.086),
    0 100px 80px rgba(0,0,0,0.12);
}

/* =====================
   RESPONSIVE — NOSOTROS
===================== */
@media (max-width: 768px) {
  .about-gallery {
    width: 160%;
  }

  .about-title {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }
}

@media (max-width: 600px) {
  .about-headline {
    gap: 16px;
    padding: 0 20px;
  }

  .about-sub {
    font-size: 13px;
  }
}

/* =====================
   BLOG ENTRIES
===================== */
.blog {
  padding-bottom: 140px;
  overflow: hidden;
}

/* ---- MARQUEE ---- */
.blog-marquee {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 80px;
}

.blog-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  /* GSAP controla el transform */
  will-change: transform;
}

.blog-marquee-track span {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black-color);
  text-transform: uppercase;
  flex-shrink: 0;
}

.blog-marquee-dot {
  color: var(--hero-accent) !important;
  font-weight: 400 !important;
}

/* ---- INNER / HEADER ---- */
.blog-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
}

.blog-ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black-color);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}

.blog-ver-todos svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.blog-ver-todos:hover {
  color: var(--hero-accent);
  gap: 14px;
}

.blog-ver-todos:hover svg {
  transform: translateX(4px);
}

/* ---- GRID ASIMÉTRICO ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* Artículo destacado: ocupa 2 filas */
.blog-card--featured {
  grid-row: span 2;
}

/* ---- TARJETA BASE ---- */
.blog-card {
  /* Estado inicial para GSAP — cortina desde abajo */
  clip-path: inset(100% 0 0 0);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white-color);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

html.dark-theme .blog-card {
  background: #0a0a0a;
}

.blog-card:hover {
  border-color: var(--hero-accent);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ---- IMAGEN ---- */
.blog-card-image {
  width: 100%;
  overflow: hidden;
  /* Relación de aspecto según tamaño */
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.blog-card--featured .blog-card-image {
  aspect-ratio: 4 / 3;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Línea de acento al hover — borde inferior */
.blog-card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--hero-accent);
  transition: width 0.4s ease;
}

.blog-card:hover .blog-card-image::after {
  width: 100%;
}

.blog-card-image {
  position: relative;
}

/* ---- BODY ---- */
.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.blog-card--featured .blog-card-body {
  padding: 36px;
  gap: 20px;
}

/* Categoría */
.blog-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-accent);
}

/* Título */
.blog-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--black-color);
  margin: 0;
}

.blog-card--featured .blog-card-title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.blog-card-title strong {
  font-weight: 800;
  color: var(--black-color);
}

/* Excerpt — solo en featured */
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-color);
  margin: 0;
}

.blog-card-excerpt strong {
  color: var(--black-color);
  font-weight: 700;
}

/* Meta */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.blog-card-date,
.blog-card-read {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-color);
}

.blog-card-read::before {
  content: "·";
  margin-right: 16px;
  color: var(--border-color);
}

/* =====================
   RESPONSIVE — BLOG
===================== */
@media (max-width: 1024px) {
  .blog-inner {
    padding: 0 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .blog-card--featured {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .blog {
    padding-bottom: 80px;
  }

  .blog-marquee {
    margin-bottom: 48px;
  }

  .blog-inner {
    padding: 0 20px;
  }

  .blog-card-body {
    padding: 20px;
  }

  .blog-card--featured .blog-card-body {
    padding: 24px;
  }
}

/* =====================
   CTA FINAL
===================== */

/* Sección: 100vh, posición relativa para apilar capas */
/* INMUNE AL TEMA: siempre dark independientemente del toggle */
.cta {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050510;
  color-scheme: dark;
}

/* CAPA 1 — Spline: fondo completo, detrás de todo */
.cta-spline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-spline spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
}

/* CAPA 2 — Overlay: gradiente de legibilidad, sin bloquear eventos */
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(5, 5, 16, 0.88) 0%,
    rgba(5, 5, 16, 0.55) 45%,
    rgba(5, 5, 16, 0.0) 75%
  );
}



/* CAPA 3 — Contenido: encima del todo, alineado abajo-izquierda */
.cta-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 0 80px 80px;
  max-width: 640px;
  /* pointer-events none para que el mouse pase al Spline */
  pointer-events: none;
}

/* Solo el botón es clickeable */
.cta-btn {
  pointer-events: auto;
}

/* Tag */
.cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}



/* H2 */
.cta-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 5.5vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
}



.cta-title-accent {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}



/* Descripción */
.cta-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 480px;
}



.cta-desc strong {
  color: #ffffff;
  font-weight: 700;
}



/* Botón */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s ease;
  margin-top: 8px;
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: #000000;
  transition: transform 0.35s ease;
}

.cta-btn:hover {
  background: var(--hero-accent);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.cta-btn:hover svg {
  stroke: #ffffff;
  transform: translateX(5px);
}

/* =====================
   RESPONSIVE — CTA
===================== */
@media (max-width: 1024px) {
  .cta-content {
    padding: 0 40px 60px;
    max-width: 100%;
  }

  .cta-overlay {
    background: linear-gradient(
      to top,
      rgba(5, 5, 16, 0.9) 0%,
      rgba(5, 5, 16, 0.5) 50%,
      rgba(5, 5, 16, 0.0) 100%
    );
  }
}

@media (max-width: 600px) {
  .cta-content {
    padding: 0 20px 48px;
    gap: 20px;
  }

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

/* =====================
   ABOUT INTRO SECTION
===================== */
.about-intro {
  padding: 160px 40px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.dark-theme .about-intro {
  background: rgba(0, 0, 0, 0.25);
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 800;
  color: var(--black-color);
  letter-spacing: -0.03em;
}

.about-title .serif {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  margin-top: 16px;
}

.about-right p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  max-width: 520px;
}

.about-features {
  max-width: 1280px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
}

/* =====================
   GLASS FEATURE CARDS
===================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.feature-card {
  position: relative;
  padding: 36px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fffeec;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #00d553, #0068ff);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 0.85;
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

/* FIX: una sola definición de :hover, sin duplicado */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 250, 0.4);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.15),
    transparent 60%
  );
  transform: rotate(25deg);
  pointer-events: none;
}

/* =====================
   INTERACTIVE BACKGROUND
===================== */
.bg-interactive {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Se oculta cuando sections con fondo propio están en viewport */
  pointer-events: none;
  background:
    radial-gradient(600px at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 104, 255, 0.35),
      transparent 60%),
    radial-gradient(800px at calc(var(--mouse-x, 50%) + 200px) calc(var(--mouse-y, 50%) + 100px),
      rgba(1, 35, 64, 0.35),
      transparent 65%),
    #FFFEEC;
  transition: background 0.2s ease;
  filter: blur(calc(120px * var(--scroll-intensity)));
  opacity: calc(0.9 * var(--scroll-intensity) + 0.1);
}

html.dark-theme .bg-interactive {
  background:
    radial-gradient(600px at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 213, 83, 0.35),
      transparent 60%),
    radial-gradient(800px at calc(var(--mouse-x, 50%) + 200px) calc(var(--mouse-y, 50%) + 100px),
      rgba(2, 89, 57, 0.35),
      transparent 65%),
    #000000;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 991px) {

  /* Header */
  header {
    width: calc(100% - 24px);
    top: 12px;
  }

  /* Switch móvil: colapsa a círculo */
  .switch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
  }

  .switch span {
    display: none;
  }

  .switch::before {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    left: 0;
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero {
    padding: 120px 20px 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* H1 establish — reducir en móvil */
  .hero-establish-year {
    font-size: 18px;
  }

  .hero-establish-label {
    font-size: 9px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero derecha: sin borde superior, pegado al contenido izquierdo */
  .hero-right-inner {
    border-left: none;
    border-top: none;
    padding-left: 0;
    padding-top: 20px;
    gap: 20px;
  }

  .hero-stats-desc {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-kpis {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Video */
  .hero-media-row {
    margin-top: 40px;
  }

  .hero-video-card {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .hero-play-btn {
    width: 56px;
    height: 56px;
  }

  .hero-play-btn svg {
    width: 22px;
    height: 22px;
  }

  /* Logos */
  .hero-logos {
    margin-top: 40px;
    padding-top: 28px;
  }

  .hero-logos-track {
    gap: 24px;
  }

  /* Decorativo */
  .hero-deco-line {
    display: none;
  }

  /* About */
  .about-intro {
    padding: 100px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #000000;
  color: #ffffff;
  /* Inmune al tema — siempre dark */
  color-scheme: dark;
  padding: 0 60px;
  position: relative;
  z-index: 10;
  /* Aísla el stacking context para que el header fixed
     no se cuele visualmente dentro del footer */
  isolation: isolate;
}

/* ---- BLOQUE SUPERIOR ---- */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding: 80px 0 60px;
}

/* Columna brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Logo grande */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo-vie {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 1;
  /* Reveal desde abajo — GSAP lo anima */
  opacity: 0;
  transform: translateY(40px);
}

.footer-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hero-accent);
  align-self: flex-end;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Tagline */
.footer-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-tagline em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  display: block;
}

/* WhatsApp CTA */
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background: #25D366;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
}

.footer-whatsapp svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* Títulos de columna */
.footer-col-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

/* Links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Dirección */
.footer-address {
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-social-btn:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
  transform: translateY(-3px);
}

/* ---- DIVISOR ---- */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* ---- BLOQUE INFERIOR ---- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 20px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 0;
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-legal-sep {
  color: rgba(255,255,255,0.15);
  font-size: 12px;
}

/* =====================
   RESPONSIVE — FOOTER
===================== */
@media (max-width: 1024px) {
  .footer {
    padding: 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 0 48px;
  }

  .footer-brand {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }

  .footer-brand {
    grid-column: span 1;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ---- Ocultar bg-interactive bajo secciones con fondo propio ---- */
.footer { background: #000000; }
/* =====================
   NOSOTROS — HERO INTRO
===================== */
.about-hero {
  padding: 160px 60px 100px;
  position: relative;
  z-index: 1;
}

.about-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-hero-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

.about-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black-color);
  margin: 0;
  max-width: 900px;
}

.about-hero-title strong {
  font-weight: 900;
}

/* Dos columnas */
.about-hero-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.about-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0 0 20px;
}

.about-hero-desc:last-child { margin-bottom: 0; }

.about-hero-desc strong {
  color: var(--black-color);
  font-weight: 700;
}

/* Stats */
.about-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-stat-val {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--black-color);
  line-height: 1;
}

.about-stat-val sup {
  font-size: 0.5em;
  vertical-align: super;
}

.about-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color);
}

/* =====================
   GRID INTERACTIVO
===================== */
.about-grid-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  overflow: hidden;
}

/* Noise texture */
.about-grid-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent
    url("http://assets.iceable.com/img/noise-transparent.png") repeat 0 0;
  background-size: 300px 300px;
  animation: about-noise 0.3s steps(5) infinite;
  opacity: 0.45;
  will-change: transform;
  z-index: 50;
  pointer-events: none;
}

@keyframes about-noise {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-5%, 5%); }
  40%  { transform: translate(-10%, -5%); }
  60%  { transform: translate(5%, 10%); }
  80%  { transform: translate(-5%, -10%); }
  100% { transform: translate(5%, 0); }
}

:root {
  --ag-padding: 1.2rem;
  --ag-gutter: 0.8rem;
  /* 20% más grandes: reducimos divisor de 3 a 2.5 */
  --ag-card-size: min(
    calc((100vh - 6 * var(--ag-padding)) / 2.5),
    calc((100vw - 6 * var(--ag-padding)) / 3)
  );
}

.grid-container {
  width: calc(3 * var(--ag-card-size) + 2 * var(--ag-gutter));
  height: calc(3 * var(--ag-card-size) + 2 * var(--ag-gutter));
  position: relative;
  z-index: 10;
}

/* ---- CARDS ---- */
.card {
  position: absolute;
  width: var(--ag-card-size);
  height: var(--ag-card-size);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  visibility: hidden;
}

/* Tarjeta central — siempre visible */
.card-5 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  z-index: 10;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 1.4rem;
  color: #ffffff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card p {
  font-size: 0.7rem;
  color: var(--hero-accent);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- FLIP CARD ---- */
.card-7 { perspective: 1000px; }

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.01s;
  transform-style: preserve-3d;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.card-front { z-index: 2; }

.card-back {
  transform: rotateY(180deg);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.quote {
  color: #ffffff;
  text-align: left;
}

.quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

.author {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hero-accent);
  text-transform: uppercase;
}

/* ---- INTERACTIVE AREA ---- */
.interactive-area {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}

/* =====================
   RESPONSIVE — NOSOTROS
===================== */
@media (max-width: 1024px) {
  .about-hero {
    padding: 140px 24px 80px;
  }

  .about-hero-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: 120px 20px 60px;
  }

  .about-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================
   MÓVIL — GRID EQUIPO
   En móvil el grid es estático:
   3x3 sin efecto hover/expand
===================== */
@media (max-width: 768px) {

  /* La sección ya no es 100vh — crece con el contenido */
  .about-grid-section {
    height: auto;
    padding: 24px 16px 40px;
    align-items: flex-start;
  }

  /* El grid-container deja de ser relative/absolute
     y se convierte en un grid CSS normal */
  .grid-container {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
  }

  /* Todas las tarjetas visibles y en su posición natural */
  .card {
    position: static !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 120% !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    top: auto !important;
    left: auto !important;
    border-radius: 12px;
  }

  /* Card-5 también pierde su transform especial */
  .card-5 {
    transform: none !important;
  }

  /* La imagen se posiciona absolute dentro del padding-bottom trick */
  .card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Card inner del flip también */
  .card-7 .card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Contenido de texto dentro de la tarjeta */
  .card-content {
    padding: 0.7rem;
  }

  .card h2 {
    font-size: 0.7rem;
    margin-bottom: 2px;
    letter-spacing: 0;
  }

  .card p {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  /* Ocultar noise en móvil — performance */
  .about-grid-section::before {
    display: none;
  }
}

@media (max-width: 400px) {
  .card h2 { font-size: 0.62rem; }
  .card p  { font-size: 0.55rem; }
}

/* =====================
   MODAL DE PERFIL
===================== */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.profile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* Por encima de todo incluyendo el navbar */
  z-index: 99999;
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
  background: #000000;
  color: #ffffff;
  color-scheme: dark;
}

.profile-modal.is-open {
  pointer-events: auto;
}

/* Botón cerrar */
.profile-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.5);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: all 0.3s ease;
  opacity: 0;
}

.profile-modal-close svg {
  width: 18px;
  height: 18px;
}

.profile-modal-close:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

/* Layout interno: 2 columnas exactas */
.profile-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  height: 100vh;
}

/* Foto — columna izquierda completa */
.profile-photo-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.profile-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mostrar desde arriba para ver cara + cuerpo */
  object-position: center top;
  display: block;
}

/* Info — columna derecha */
.profile-info {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  gap: 20px;
  opacity: 0;
  overflow-y: auto;
  box-sizing: border-box;
}

.profile-area {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

.profile-name {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffffff;
  margin: 0;
}

.profile-role {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.profile-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 480px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.profile-cta svg {
  width: 16px;
  height: 16px;
  stroke: #000000;
  transition: transform 0.3s ease;
}

.profile-cta:hover {
  background: var(--hero-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.profile-cta:hover svg {
  stroke: #ffffff;
  transform: translateX(4px);
}

/* =====================
   RESPONSIVE — MODAL
===================== */
@media (max-width: 768px) {
  .profile-modal-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh auto;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
  }

  .profile-photo-wrap {
    width: 100%;
    height: 50vh;
  }

  .profile-info {
    height: auto;
    padding: 40px 24px 80px;
    gap: 16px;
    justify-content: flex-start;
  }

  .profile-modal-close {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 600px) {
  .profile-modal-inner {
    grid-template-rows: 45vh auto;
  }

  .profile-info {
    padding: 32px 20px 64px;
  }
}

/* =====================
   SEO GHOST HEADINGS
   Semánticamente correctos para Google,
   visualmente invisibles para el usuario.
   La técnica: font-size 0, height 0,
   overflow hidden — Google los indexa,
   el usuario no los ve.
===================== */
.seo-ghost {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  font-size: 0;
  opacity: 0;
  pointer-events: none;
}

/* =====================
   CÓMO TRABAJAMOS — SCROLL REVEAL
   Fondo transparente (interactúa con el tema)
   Palabra gigante + SVG path + pasos alternados
===================== */
.ct-scroll {
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
}

/* Palabra gigante de fondo */
.ct-bg-word {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.ct-bg-word span {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-color);
  opacity: 0.5;
}

/* Header */
.ct-scroll-header {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto 100px;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
}

.ct-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black-color);
  margin: 0;
}

.ct-title strong { font-weight: 900; }

.ct-title-accent {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--hero-accent);
}

.ct-desc {
  font-size: 16px;
  line-height: 1.75;
  padding-top: 15px;
  color: var(--text-color);
  margin: 0;
}

.ct-desc strong { color: var(--black-color); font-weight: 700; }

/* Contenedor proceso */
.ct-process-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
  z-index: 2;
}

/* SVG línea — ocupa todo el alto del contenedor */
.ct-svg-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100%;
  color: var(--hero-accent);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

#ctLinePath {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}

/* Pasos */
.ct-steps {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 200px;
  opacity: 0;
  transform: translateY(30px);
}

/* Punto en la línea */
.ct-step-dot {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  z-index: 3;
}

.ct-step-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--hero-accent);
  background: var(--white-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ct-step.is-visible .ct-step-dot span {
  transform: translate(-50%, -50%) scale(1);
}

/* Contenido del paso */
.ct-step-content {
  width: calc(50% - 40px);
  padding: 32px 0;
}

.ct-step-right {
  margin-left: auto;
  padding-left: 48px;
  text-align: left;
}

.ct-step-left {
  margin-right: auto;
  padding-right: 48px;
  text-align: right;
}

/* Número */
.ct-step-num {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--hero-accent);
  margin-bottom: 8px;
}

/* H3 título */
.ct-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--black-color);
  margin: 0 0 12px;
}

/* Descripción */
.ct-step-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.ct-step-desc strong { color: var(--black-color); font-weight: 700; }

/* Dark theme */
html.dark-theme .ct-bg-word span {
  -webkit-text-stroke-color: rgba(255,255,255,0.08);
}

html.dark-theme .ct-step-dot span {
  background: var(--black-color);
}

/* =====================
   RESPONSIVE — CT SCROLL
===================== */
@media (max-width: 1024px) {
  .ct-scroll-header,
  .ct-process-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .ct-scroll { padding: 100px 0 120px; }

  .ct-svg-line { display: none; }

  .ct-step {
    flex-direction: column;
    min-height: auto;
    margin-bottom: 48px;
  }

  .ct-step-dot {
    position: static;
    transform: none;
    margin-bottom: 12px;
  }

  .ct-step-content {
    width: 100%;
    padding: 0 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .ct-bg-word span {
    font-size: clamp(3rem, 18vw, 6rem);
  }
}

@media (max-width: 600px) {
  .ct-scroll-header,
  .ct-process-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =====================
   SEO INTRO — CARD CON EFECTO DESLIZANTE
===================== */
.about-seo-intro {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-seo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Card principal */
.seo-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icono decorativo */
.seo-card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--hero-accent);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.seo-card-icon svg {
  width: 60px;
  height: 60px;
}

/* Contenido */
.seo-card-content {
  padding: 48px 56px;
  position: relative;
  z-index: 2;
}

/* Badge */
.seo-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-accent);
  background: rgba(0, 213, 83, 0.1);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 213, 83, 0.2);
}

/* Títulos */
.seo-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--black-color);
  margin: 0 0 16px 0;
}

.seo-card-title strong {
  font-weight: 900;
  background: linear-gradient(135deg, var(--hero-accent), #0068ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.seo-card-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.seo-card-subtitle strong {
  color: var(--hero-accent);
  font-weight: 700;
}

/* Divisor */
.seo-card-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--hero-accent), transparent);
  margin: 20px 0 24px 0;
  border-radius: 3px;
}

/* Texto principal */
.seo-card-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-color);
  margin: 0 0 28px 0;
}

.seo-card-text strong {
  color: var(--black-color);
  font-weight: 700;
}

/* Métricas */
.seo-card-metrics {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.seo-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seo-metric-value {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black-color);
  line-height: 1;
}

.seo-metric-value::after {
  content: "+";
  font-size: 0.7em;
  color: var(--hero-accent);
  margin-left: 2px;
}

.seo-metric-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-color);
}

/* CTA */
.seo-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 0;
}

.seo-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.seo-card-cta:hover {
  gap: 15px;
  color: var(--hero-accent);
}

.seo-card-cta:hover svg {
  transform: translateX(4px);
}

/* Efecto hover */
.seo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 213, 83, 0.3);
}

/* Dark theme */
html.dark-theme .seo-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark-theme .seo-card-title strong {
  background: linear-gradient(135deg, #00d553, #4dffb8);
  background-clip: text;
  -webkit-background-clip: text;
}

html.dark-theme .seo-card-badge {
  background: rgba(0, 213, 83, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-seo-inner {
    padding: 0 24px;
  }
  
  .seo-card-content {
    padding: 36px 40px;
  }
  
  .seo-card-metrics {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .about-seo-intro {
    padding: 60px 0;
  }
  
  .seo-card-content {
    padding: 28px 24px;
  }
  
  .seo-card-metrics {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .seo-card-icon {
    display: none;
  }
  
  .seo-card-badge {
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  .about-seo-inner {
    padding: 0 16px;
  }
  
  .seo-card-content {
    padding: 24px 20px;
  }
  
  .seo-card-text {
    font-size: 14px;
  }
}

/* =====================
   RIBBON — ANCHO TOTAL
   Vive fuera del about-hero-inner,
   ocupa 100vw sin padding lateral
===================== */
.vie-ribbon-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  display: block;
  line-height: 0;
  font-size: 0;
  background: transparent;
}

#vie-ribbon-container {
  width: 100%;
  height: 260px;
  display: block;
  background: transparent;
}

#vie-ribbon-container canvas {
  display: block !important;
  width: 100% !important;
  height: 260px !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  .vie-ribbon-wrap,
  #vie-ribbon-container,
  #vie-ribbon-container canvas {
    height: 180px !important;
  }
}

@media (max-width: 600px) {
  .vie-ribbon-wrap,
  #vie-ribbon-container,
  #vie-ribbon-container canvas {
    height: 140px !important;
  }
}

/* =====================
   EQUIPO — GRID DRAGGABLE
   Adaptado del objeto FashionGallery
   sin controles de zoom ni sound
===================== */

/* Sección contenedora */
.team-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.team-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Viewport — el lienzo draggable */
/* =====================
   EQUIPO GRID — FIXES REALES (Móvil + Selección)
   Basado en el código actual con Draggable, Flip y GSAP
===================== */

/* =====================
   VIEWPORT PRINCIPAL
===================== */
.team-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  cursor: grab;
  z-index: 1; /* Debajo del header */
  isolation: isolate;
  background: var(--white-color);
  
  /* FIX: Touch */
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.team-viewport.dragging {
  cursor: grabbing;
}

/* =====================
   CANVAS WRAPPER (lo que se arrastra)
===================== */
.team-canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
  /* FIX: permitir interacción con cards */
  pointer-events: auto;
}

.team-grid-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =====================
   CARDS — FIX: Todas clickeables
===================== */
.team-card {
  position: absolute;
  width: 260px;
  height: 320px;
  background: var(--white-color);
  cursor: pointer;
  will-change: transform, opacity;
  border-radius: 12px;
  overflow: hidden;
  transition: opacity 0.3s ease;
  
  /* FIX: Permitir click/tap */
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
  
  /* FIX: Sombra para mejor visual */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.12);
  
  /* FIX: Transición suave al hover */
  transition: all 0.3s ease;
}

.team-card:hover,
.team-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-card.out-of-view {
  opacity: 0.15;
}

/* FIX: Cards interactivas destacadas */
.team-card--interactive {
  cursor: pointer;
}

/* =====================
   IMAGEN EN CARD
===================== */
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  user-select: none;
  /* FIX: No permitir arrastrar la imagen */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* =====================
   LABEL EN CARD
===================== */
.team-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 16px 16px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* FIX: Desktop — mostrar label en hover */
@media (hover: hover) {
  .team-card:hover .team-card-label,
  .team-card:focus-visible .team-card-label {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FIX: Móvil — label siempre visible */
@media (hover: none) {
  .team-card-label {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card-label h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
  color: #fff;
  line-height: 1.2;
}

.team-card-label p {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-accent);
  margin: 0;
}

/* =====================
   SPLIT SCREEN (MODAL)
===================== */

.team-split {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 9000; /* Alto pero no 99999 aún */
  opacity: 0;
  pointer-events: none;
  color-scheme: dark;
  background: rgba(0, 0, 0, 0);
  transition: opacity 0.3s ease;
}

.team-split.is-open {
  pointer-events: auto;
  z-index: 9000;
}

/* ---- LADO IZQUIERDO (IMAGEN) ---- */
.team-split-left {
  position: relative;
  width: 55%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  z-index: 9000;
}

.team-zoom-target {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-zoom-target img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* ---- LADO DERECHO (INFO) ---- */
.team-split-right {
  position: relative;
  width: 45%;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 9000;
}

/* ---- MIEMBRO INFO ---- */
.team-member-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  color: #ffffff;
  max-width: 500px;
}

.team-member-area {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 8px 16px;
  border: 1px solid var(--hero-accent);
  border-radius: 999px;
  width: fit-content;
  display: inline-block;
}

.team-member-name {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #ffffff;
  margin: 0;
}

.team-member-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: block;
}

.team-member-quote {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin: 0;
}

/* ---- CTA BOTÓN ---- */
.team-split-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.team-split-cta svg {
  width: 16px;
  height: 16px;
  stroke: #000;
  transition: transform 0.3s ease;
}

.team-split-cta:hover,
.team-split-cta:focus {
  background: var(--hero-accent);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.team-split-cta:hover svg,
.team-split-cta:focus svg {
  stroke: #fff;
  transform: translateX(4px);
}

/* ---- BOTÓN CERRAR ---- */
.team-close {
  position: fixed;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9002;
  opacity: 0;
  pointer-events: none;
  transition: background 0.3s ease;
  padding: 0;
}

.team-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.team-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.team-close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* =====================
   OVERLAY ESCALADO (cuando se abre modal)
===================== */
.team-scaling-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9001;
  will-change: transform;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.team-scaling-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* =====================
   HINT
===================== */
.team-hint {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.5;
}

/* =====================
   RESPONSIVE — TABLET (1024px)
===================== */
@media (max-width: 1024px) {
  .team-card {
    width: 240px;
    height: 300px;
  }

  .team-split-right {
    padding: 60px 40px;
  }

  .team-member-name {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }
}

/* =====================
   RESPONSIVE — MÓVIL (768px) — FIXES PRINCIPALES
===================== */
@media (max-width: 768px) {
  
  /* Viewport ajustado */
  .team-viewport {
    height: 75vh;
    min-height: 420px;
  }

  /* Cards más pequeñas */
  .team-card {
    width: 180px;
    height: 240px;
  }

  /* Split vertical en móvil */
  .team-split {
    flex-direction: column;
    z-index: 99999; /* Encima de TODO en móvil */
  }

  .team-split.is-open {
    z-index: 99999;
  }

  .team-split-left {
    width: 100%;
    height: 45vh;
    z-index: 99999;
  }

  .team-split-right {
    width: 100%;
    height: 55vh;
    padding: 28px 20px 40px;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .team-member-info {
    gap: 16px;
  }

  .team-member-name {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .team-close {
    top: 12px;
    right: 12px;
    z-index: 100000; /* Por encima del split en móvil */
    background: rgba(0, 0, 0, 0.7);
  }

  .team-card-label h3 {
    font-size: 0.8rem;
  }

  .team-card-label p {
    font-size: 0.65rem;
  }
}

/* =====================
   RESPONSIVE — MÓVIL PEQUEÑO (600px)
===================== */
@media (max-width: 600px) {
  
  .team-card {
    width: 160px;
    height: 220px;
  }

  .team-card-label {
    padding: 30px 12px 12px;
  }

  .team-card-label h3 {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }

  .team-card-label p {
    font-size: 0.6rem;
  }

  .team-split-right {
    padding: 20px 16px 32px;
  }

  .team-member-quote {
    font-size: 13px;
  }

  .team-close {
    width: 40px;
    height: 40px;
  }

  .team-close svg {
    width: 16px;
    height: 16px;
  }
}

/* =====================
   FIX UNIVERSAL: Anti-selección y tap highlight
===================== */
.team-viewport * {
  -webkit-tap-highlight-color: transparent;
}

/* FIX: Scrollbar en split screen */
.team-split-right::-webkit-scrollbar {
  width: 6px;
}

.team-split-right::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.team-split-right::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.team-split-right::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* FIX: Evitar zoom en inputs/focus en móvil */
@media (max-width: 768px) {
  .team-split-cta {
    font-size: 16px; /* Prevenir zoom en Safari */
  }
}/* =====================
   SEO CARD — CARRUSEL INFINITO
===================== */

.seo-carousel-wrapper {
  margin: 20px 0 24px;
}

.seo-carousel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 12px;
}

.seo-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.seo-carousel-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  will-change: transform;
}

.seo-carousel-item {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hero-accent);
  background: rgba(0, 213, 83, 0.1);
  padding: 8px 20px;
  border-radius: 60px;
  border: 1px solid rgba(0, 213, 83, 0.2);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.seo-carousel-item:hover {
  background: rgba(0, 213, 83, 0.25);
  transform: scale(1.02);
}

/* Dark theme */
html.dark-theme .seo-carousel-item {
  background: rgba(0, 213, 83, 0.08);
  border-color: rgba(0, 213, 83, 0.15);
}

/* Responsive */
@media (max-width: 600px) {
  .seo-carousel-item {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .seo-carousel-track {
    gap: 12px;
  }
}
/* Carrusel infinito con CSS puro */
.seo-carousel-container {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.seo-carousel-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: scrollCarousel 20s linear infinite;
}

.seo-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* =========================
   FAQ VIE
========================= */
.faq-vie {
  position: relative;
  background: var(--bg);
}

.faq-vie-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) 2rem;
}

/* Header */
.faq-vie-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Lista */
.faq-vie-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* Item */
.faq-vie-item {
  cursor: pointer;
  padding: 1.8rem 2rem;
  border-radius: 20px;
  color: var(--text-color);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: border 0.3s ease, transform 0.3s ease;
}

.faq-vie-item:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Top */
.faq-vie-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-vie-question {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.faq-vie-number {
  font-size: 0.85rem;
}

/* Icon */
.faq-vie-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.faq-vie-icon span {
  position: absolute;
  background: #fff;
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-vie-icon span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Content */
.faq-vie-content {
  height: 0;
  overflow: hidden;
}

.faq-vie-content p {
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 650px;
}

/* Línea */
.faq-vie-line {
  margin-top: 1rem;
  height: 1px;
  background: var(--border);
  position: relative;
}

.faq-vie-progress {
  position: absolute;
  height: 100%;
  width: 0%;
  left: 0;
  top: 0;
}

/* =====================
   REDES SOCIALES — SECCIÓN NUEVA
===================== */

.social-section {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
}

.social-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.social-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

/* Card de red social */
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--white-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Efecto hover base */
.social-link:hover {
  border-color: var(--hero-accent);
  transform: translateY(-4px);
}

/* Icono */
.social-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  will-change: transform;
}

.social-facebook .social-icon {
  background: rgba(59, 89, 152, 0.1);
  color: #3B5998;
}

.social-instagram .social-icon {
  background: linear-gradient(135deg, rgba(255, 0, 77, 0.1), rgba(245, 119, 85, 0.1));
  color: #E1306C;
}

.social-linkedin .social-icon {
  background: rgba(0, 119, 181, 0.1);
  color: #0077B5;
}

.social-tiktok .social-icon {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

.social-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Nombre de red */
.social-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black-color);
  text-align: center;
}

/* Dark theme */
html.dark-theme .social-link {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .social-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--hero-accent);
}

/* =====================
   CTA FINAL BANNER — ESTILO LANDINGGO HORIZONTAL
===================== */

.cta-final-banner {
  position: relative;
  padding: 60px;
  overflow: hidden;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor principal */
.cta-banner-container {
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Badge — Arriba a la izquierda (FUERA) */
.cta-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0, 213, 83, 0.15);
  border: 1.5px solid rgba(0, 213, 83, 0.3);
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00d553;
  text-transform: uppercase;
}

.cta-banner-badge svg {
  width: 14px;
  height: 14px;
  fill: #00d553;
}

/* Card Principal — Horizontal */
.cta-banner-card {
  background: linear-gradient(135deg, #00d553 0%, #0068ff 100%);
  border-radius: 30px;
  padding: 50px 60px;
  border: 6px solid #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 213, 83, 0.15);
  margin-bottom: 40px;
}

/* Sección Izquierda — Título + Descripción */
.cta-banner-left {
  flex: 1;
  color: #ffffff;
}

.cta-banner-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
}

.cta-banner-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.cta-banner-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Sección Derecha — Botones */
.cta-banner-buttons {
  display: flex;
  gap: 12px;
  flex-direction: column;
  min-width: max-content;
}

/* Botones */
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Botón Primario — White */
.cta-banner-btn-primary {
  background: #ffffff;
  color: #012340;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-banner-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.4);
}

.cta-banner-btn-primary svg {
  fill: #012340;
  transition: transform 0.3s ease;
}

.cta-banner-btn-primary:hover svg {
  transform: scale(1.1);
}

/* Botón Secundario — Outline */
.cta-banner-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.cta-banner-btn-secondary svg {
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

.cta-banner-btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Sección Abajo — Avatares + Social Proof */
.cta-banner-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 0;
}

/* Avatares Horizontales */
.cta-banner-avatars {
  display: flex;
  align-items: center;
  gap: -10px;
}

.cta-banner-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-banner-avatar:first-child {
  margin-left: 0;
}

.cta-banner-avatar:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* +N Avatar More */
.cta-banner-avatar-more {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-left: -10px;
}

/* Social Proof Text */
.cta-banner-proof {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  white-space: nowrap;
}

.cta-banner-proof strong {
  display: inline;
  font-weight: 700;
  color: #ffffff;
}

/* Shapes Decorativos */
.cta-banner-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  border-radius: 40%;
  background: rgba(255, 255, 255, 0.2);
  bottom: -80px;
  right: -50px;
}

.shape-3 {
  width: 280px;
  height: 280px;
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.15);
  top: 50%;
  right: 5%;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1200px) {
  .cta-banner-card {
    padding: 40px 50px;
    gap: 30px;
  }

  .cta-banner-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
}

@media (max-width: 1024px) {
  .cta-final-banner {
    padding: 50px 30px;
  }

  .cta-banner-card {
    grid-template-columns: 1fr;
    padding: 40px 40px;
    gap: 24px;
  }

  .cta-banner-buttons {
    flex-direction: row;
    gap: 16px;
  }

  .cta-banner-btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .cta-final-banner {
    padding: 40px 20px;
  }

  .cta-banner-badge {
    margin-bottom: 16px;
  }

  .cta-banner-card {
    padding: 32px 30px;
    border-radius: 24px;
    border-width: 5px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-banner-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 12px;
  }

  .cta-banner-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-banner-buttons {
    flex-direction: column;
    gap: 12px;
    order: 3;
  }

  .cta-banner-btn {
    width: 100%;
  }

  .cta-banner-bottom {
    flex-direction: column;
    gap: 12px;
    order: 2;
    padding-left: 0;
  }

  .cta-banner-avatars {
    width: 100%;
    justify-content: flex-start;
  }

  .cta-banner-avatar {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }

  .cta-banner-avatar-more {
    width: 44px;
    height: 44px;
    border-width: 2px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .cta-final-banner {
    padding: 30px 16px;
  }

  .cta-banner-card {
    padding: 28px 24px;
    border-radius: 20px;
    border-width: 4px;
  }

  .cta-banner-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .cta-banner-desc {
    font-size: 13px;
  }

  .cta-banner-btn {
    font-size: 13px;
    padding: 12px 20px;
  }

  .cta-banner-avatar {
    width: 40px;
    height: 40px;
    border-width: 2px;
    margin-left: -8px;
  }

  .cta-banner-avatar:first-child {
    margin-left: 0;
  }

  .cta-banner-avatar-more {
    width: 40px;
    height: 40px;
    border-width: 2px;
    margin-left: -8px;
    font-size: 10px;
  }

  .cta-banner-proof {
    font-size: 13px;
  }

  .shape-1, .shape-2, .shape-3 {
    display: none;
  }
}

/* =====================
   RESPONSIVE — REDES SOCIALES
===================== */

@media (max-width: 1024px) {
  .social-section {
    padding: 100px 24px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .social-link {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .social-section {
    padding: 80px 20px;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-header {
    margin-bottom: 48px;
  }
}


/* =====================
   REDES SOCIALES v2 — ESTILO SPECTACLEDCODER (HOVER ÉPICO)
===================== */

.social-section-v2 {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
}

.social-inner-v2 {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.social-header-v2 {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Contenedor de cards */
.social-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 60px;
  justify-items: center;
}

/* Card Base */
.social-card {
  display: flex;
  position: relative;
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  box-shadow: 5px 5px 60px rgba(235, 235, 235, 0.8), 
              -5px -5px 60px rgba(237, 237, 237, 0.8);
  border-radius: 15px;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  align-items: flex-start;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  padding: 16px;
}

/* Circle — Base (pequeño) */
.social-circle {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 0px 15px 0px 50px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* Icon — SVG */
.social-icon {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 100;
  transition: all 0.5s ease;
  fill: currentColor;
  stroke: currentColor;
}

/* Content Text */
.social-content {
  position: absolute;
  z-index: 100;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin: 0;
  transition: color 0.5s ease;
  text-transform: uppercase;
  text-align: center;
}

/* =====================
   TODAS LAS CARDS — ARQUITECTURA FACEBOOK (Esquina Derecha)
===================== */

/* Base — Todos usan esquina derecha */
.social-card-facebook,
.social-card-instagram,
.social-card-linkedin,
.social-card-tiktok {
  align-items: flex-start;
  justify-content: flex-end;
}

/* Circle — Base en esquina derecha */
.social-circle-facebook,
.social-circle-instagram,
.social-circle-linkedin,
.social-circle-tiktok {
  margin-right: 0px;
  margin-top: 0px;
  border-radius: 0px 15px 0px 50px;
}

/* Icon — Arriba derecha */
.social-card-facebook .social-icon,
.social-card-instagram .social-icon,
.social-card-linkedin .social-icon,
.social-card-tiktok .social-icon {
  padding-top: 8px;
  padding-right: 8px;
}

/* =====================
   FACEBOOK CARD — AZUL OFICIAL
===================== */

.social-circle-facebook {
  background-color: #1877f2;
}

.social-card-facebook .social-icon {
  color: #1877f2;
}

.social-card-facebook:hover {
  box-shadow: 0 10px 40px rgba(24, 119, 242, 0.3);
}

.social-card-facebook:hover .social-circle-facebook {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  background-color: #1877f2;
}

.social-card-facebook:hover .social-content {
  color: #ffffff;
}

.social-card-facebook:hover .social-icon {
  color: #ffffff;
}

/* =====================
   INSTAGRAM CARD — GRADIENTE OFICIAL
===================== */

.social-circle-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-card-instagram .social-icon {
  color: #e1306c;
}

.social-card-instagram:hover {
  box-shadow: 0 10px 40px rgba(225, 48, 108, 0.3);
}

.social-card-instagram:hover .social-circle-instagram {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-card-instagram:hover .social-content {
  color: #ffffff;
}

.social-card-instagram:hover .social-icon {
  color: #ffffff;
}

/* =====================
   LINKEDIN CARD — AZUL OFICIAL
===================== */

.social-circle-linkedin {
  background-color: #0a66c2;
}

.social-card-linkedin .social-icon {
  color: #0a66c2;
}

.social-card-linkedin:hover {
  box-shadow: 0 10px 40px rgba(10, 102, 194, 0.3);
}

.social-card-linkedin:hover .social-circle-linkedin {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  background-color: #0a66c2;
}

.social-card-linkedin:hover .social-content {
  color: #ffffff;
}

.social-card-linkedin:hover .social-icon {
  color: #ffffff;
}

/* =====================
   TIKTOK CARD — GRADIENTE RADIAL OFICIAL
   (#000000, #FFFFFF, #FE2C55, #25F4EE)
===================== */

.social-circle-tiktok {
  background: radial-gradient(circle at 30% 107%, #25F4EE 0%, #25F4EE 5%, #FE2C55 45%, #FFFFFF 60%, #000000 90%);
}

.social-card-tiktok .social-icon {
  color: #000000;
}

.social-card-tiktok:hover {
  box-shadow: 0 10px 40px rgba(254, 44, 85, 0.3);
}

.social-card-tiktok:hover .social-circle-tiktok {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  background: radial-gradient(circle at 30% 107%, #25F4EE 0%, #25F4EE 5%, #FE2C55 45%, #FFFFFF 60%, #000000 90%);
}

.social-card-tiktok:hover .social-content {
  color: #ffffff;
}

.social-card-tiktok:hover .social-icon {
  color: #ffffff;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .social-section-v2 {
    padding: 100px 24px;
  }

  .social-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .social-header-v2 {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .social-section-v2 {
    padding: 80px 20px;
  }

  .social-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .social-header-v2 {
    margin-bottom: 48px;
  }

  .social-card {
    width: 160px;
    height: 160px;
  }

  .social-circle {
    width: 40px;
    height: 40px;
  }

  .social-card:hover .social-circle {
    width: 160px;
    height: 160px;
  }

  .social-icon {
    width: 22px;
    height: 22px;
  }

  .social-content {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .social-section-v2 {
    padding: 60px 16px;
  }

  .social-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-card {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .social-circle {
    width: 45px;
    height: 45px;
  }

  .social-card:hover .social-circle {
    width: 180px;
    height: 180px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

  .social-content {
    font-size: 13px;
  }
}

/* =====================
   DARK THEME
===================== */

html.dark-theme .social-card {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 5px 5px 60px rgba(0, 0, 0, 0.2), 
              -5px -5px 60px rgba(0, 0, 0, 0.1);
}

html.dark-theme .social-content {
  color: #ffffff;
}