﻿/* === Custom Fonts === */
@font-face {
  font-family: 'Open Sauce One';
  src: url('../assets/fonts/OpenSauceOne-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sauce One';
  src: url('../assets/fonts/OpenSauceOne-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Recia';
  src: url('../assets/fonts/Recia-BoldItalic.woff2') format('woff2'),
    url('../assets/fonts/Recia-BoldItalic.woff') format('woff'),
    url('../assets/fonts/Recia-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Recia';
  src: url('../assets/fonts/Recia-Bold.woff2') format('woff2'),
    url('../assets/fonts/Recia-Bold.woff') format('woff'),
    url('../assets/fonts/Recia-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recia Variable';
  src: url('../assets/fonts/Recia-Variable.woff2') format('woff2'),
    url('../assets/fonts/Recia-Variable.woff') format('woff'),
    url('../assets/fonts/Recia-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recia Variable';
  src: url('../assets/fonts/Recia-VariableItalic.woff2') format('woff2'),
    url('../assets/fonts/Recia-VariableItalic.woff') format('woff'),
    url('../assets/fonts/Recia-VariableItalic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* === Paleta minimalista blanco/negro (estilo Notion/Apple) === */
  --light-bg: #ffffff;
  --light-bg-alt: #fafafa;
  --card-light: #ffffff;
  --card-stroke: rgba(0, 0, 0, 0.08);
  --text-dark: #111111;
  --text-muted: #6b6b6b;
  --text-light: #ffffff;

  /* Accent neutral (los colores vivos vienen del glow) */
  --accent: #111111;
  --accent-hover: #333333;

  /* Glow colors */
  --glow-1: #ff6b6b;
  --glow-2: #ffd93d;
  --glow-3: #6bcb77;
  --glow-4: #4d96ff;
  --glow-5: #9b59b6;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(0, 0, 0, 0.1);

  /* Spacing & radius */
  --radius: 16px;
  --radius-lg: 24px;
  --gap: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sauce One', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 83px;
  overflow-x: clip;
  /* Prevent horizontal scroll from grid overflow */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  background: var(--light-bg);
}

/* === Header (estilo Notion/Apple) === */

/* === Header "Floating Island" (Corregido: Centrado y Espacioso) === */

.header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  margin: 0 auto;

  width: 94%;
  max-width: 720px;
  height: 59px;
  z-index: 9999;

  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 1px 4px rgba(0, 0, 0, 0.06);

  transition: all 0.3s ease;

  /* CRÍTICO: Evita que el contenido se salga */
  overflow: visible;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  /* Aumentado para dar margen interno */
  width: 100%;
  max-width: 100%;
  /* Asegura que no exceda el contenedor */
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  /* Empuja el nav a la derecha */
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  /* Reducido para mejor ajuste */
  flex-wrap: nowrap;
  flex-shrink: 0;
  /* No se comprime */
  margin-left: 12px;
  /* Separación del logo */
}

.nav-link {
  color: #000000 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: transparent !important;
  padding: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-cta {
  background-color: #097fe8 !important;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(9, 127, 232, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: #0769c2 !important;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header {
    max-width: 650px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .nav {
    gap: 12px;
  }
}

@media (max-width: 750px) {
  .header {
    max-width: 550px;
  }

  .nav-link {
    display: none;
  }

  .nav {
    gap: 0;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .header {
    top: 16px;
    width: 90%;
    height: 60px;
    max-width: none;
  }

  .header__inner {
    padding: 0 12px;
  }

  .logo img {
    height: 40px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    top: 12px;
    width: 90%;
    height: 58px;
    max-width: none;
  }

  .header__inner {
    padding: 0 10px;
  }

  .logo img {
    height: 40px;
  }
}

/* === Sections base === */

.section {
  padding: 100px 0;
  position: relative;
}

.container {
  width: min(800px, 90vw);
  margin: 0 auto;
}

/* === Logo Band === */

.logo-band {
  padding: 24px 0;
  background: var(--light-bg);
  text-align: center;
  position: relative;
}

.logo-band__container {
  width: min(1100px, 90vw);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.logo-band__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.logo-band__track {
  display: flex;
  width: max-content;
  /* animation set dynamically by JS */
}

.logo-band__track:hover {
  animation-play-state: paused;
}

.logo-band__scroll {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
}

.logo-band__item {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.35s ease, filter 0.35s ease;
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-band__item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-band__item--wide {
  height: 32px;
  width: auto;
}

.logo-band__item svg,
.logo-band__item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* === Per-logo size normalization (uniform text height) === */
.logo-band__item[aria-label="CONTPAQi"] {
  height: 18px;
}

.logo-band__item[aria-label="Google Cloud"] {
  height: 26px;
}

.logo-band__item[aria-label="WhatsApp"] {
  height: 30px;
}

.logo-band__item[aria-label="Salesforce"] {
  height: 43px;
}

.logo-band__item[aria-label="HubSpot"] {
  height: 32px;
}

.logo-band__item[aria-label="Shopify"] {
  height: 30px;
}

.logo-band__item[aria-label="Odoo"] {
  height: 29px;
}

.logo-band__item[aria-label="Microsoft 365"] {
  height: 25px;
}

.logo-band__item[aria-label="Meta"] {
  height: 23px;
}

.logo-band__item[aria-label="Gmail"] {
  height: 25px;
}

/* Edge fade masks */
.logo-band__container::before,
.logo-band__container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-band__container::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg) 0%, transparent 100%);
}

.logo-band__container::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg) 0%, transparent 100%);
}

@keyframes logoBandScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-band__item--wide {
    height: 20px;
  }

  /* Scale down per-logo sizes for mobile */
  .logo-band__item[aria-label="CONTPAQi"] {
    height: 14px;
  }

  .logo-band__item[aria-label="Google Cloud"] {
    height: 16px;
  }

  .logo-band__item[aria-label="WhatsApp"] {
    height: 18px;
  }

  .logo-band__item[aria-label="Salesforce"] {
    height: 18px;
  }

  .logo-band__item[aria-label="HubSpot"] {
    height: 20px;
  }

  .logo-band__item[aria-label="Shopify"] {
    height: 18px;
  }

  .logo-band__item[aria-label="Odoo"] {
    height: 22px;
  }

  .logo-band__item[aria-label="Microsoft 365"] {
    height: 16px;
  }

  .logo-band__item[aria-label="Meta"] {
    height: 17px;
  }

  .logo-band__item[aria-label="Gmail"] {
    height: 16px;
  }

  .logo-band__scroll {
    gap: 40px;
    padding: 0 20px;
  }

  .logo-band__container::before,
  .logo-band__container::after {
    width: 60px;
  }
}

/* === Hero (estilo Notion centrado) === */



.hero {
  padding-top: 60px;
  padding-bottom: 100px;
  background: var(--light-bg);
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  /* Changed to allow grid to extend beyond hero */
}

.hero-main-illustration {
  display: block;
  max-width: 100%;
  width: 450px;
  /* Ajusta este valor según qué tan grande quieras el dibujo */
  height: auto;
  margin: -55px auto -50px auto;
  /* Centrado horizontal y margen inferior */
  mix-blend-mode: multiply;
  /* TRUCO: Ayuda a que el blanco del JPG se mezcle con el fondo si no es transparente */
}

.hero__bg {
  display: none;
  /* Eliminamos fondo con gradientes */
}

.hero--centered .hero__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Espacio para ilustraci�n */
.hero__illustration {
  width: 100%;
  max-width: 600px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hero__illustration-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--card-stroke);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Tags / pills */
.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.pill--accent {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.pill--ghost {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  background: transparent;
}

/* Eyebrow text */
.eyebrow {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Hero title */
.hero__content h1,
.hero-title {
  font-family: 'Open Sauce One', 'Inter', sans-serif;
  font-size: clamp(25px, 5.75vw, 55px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-dark);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Dynamic word animation  VIEJOS ESTILOS*/
.hero-dynamic-word {
  display: inline-block;
  color: var(--text-dark);
  min-width: 180px;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.hero-dynamic-word.is-changing {
  opacity: 0;
  filter: blur(8px);
}

/* ============================================
   FIX TITULO HERO (2 Líneas Estables)
   ============================================ */

/* Asegura que la línea 1 ocupe todo el ancho y fuerce el salto */
.title-line-1 {
  display: block;
  width: 100%;
  margin-bottom: 0.2em;


  /* Espacio entre renglones */
}

/* La línea 2 es mágica: usa Flexbox */
.title-line-2 {
  display: flex;
  align-items: center;
  /* Alinea verticalmente el texto con el botón */
  justify-content: center;
  /* Mantiene todo el bloque centrado en pantalla */
  gap: 12px;
  /* Espacio fijo entre "responde:" y la cápsula */
  flex-wrap: nowrap;
  /* IMPORTANTE: Prohíbe que baje al tercer renglón */
  width: 100%;
}

/* Ajustes a la cápsula para que se lleve bien con Flexbox */
.word-capsule {
  /* Reseteamos margenes que pusimos antes, Flexbox se encarga del espacio con 'gap' */
  margin-left: 0 !important;
  margin-bottom: 0 !important;

  /* Mantenemos la altura y estilos visuales previos */
  flex-shrink: 0;
  /* Evita que la cápsula se aplaste si falta espacio */
}

/* === RESPONSIVE (Móvil) === */
/* En celulares muy pequeños, la frase completa podría no caber en una línea.
   Aquí decidimos: ¿Reducimos letra o permitimos el salto solo en móvil?
   Opción recomendada: Reducir un poco la fuente en móvil para mantener 2 líneas. */

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(30px, 9vw, 45px);
    /* Ajustar tamaño para que quepa */
  }

  .title-line-2 {
    gap: 6px;
    flex-wrap: wrap;
    /* Permitir salto de línea en móvil pequeño */
  }

  .word-capsule {
    padding: 0 10px;
    font-size: 0.9em;
    /* Botón un poco más compacto */
  }
}

/* ============================================
   WORD CAPSULE (Texto dinámico estilo botón)
   ============================================ */

.word-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative;

  /* Estilo visual del botón (Tailwind translation) */
  background: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
  box-shadow:
    inset 0 -1px #d1d5db,
    inset 0 0 0 1px #d1d5db,
    0 4px 8px rgba(209, 213, 219, 0.5);
  /* #d1d5db con opacidad */

  border-radius: 8px;
  padding: 0 16px;
  height: 1.2em;
  /* Altura basada en el tamaño de fuente del H1 */
  margin-left: 8px;
  margin-bottom: 8px;
  /* Ajuste visual para alineación */

  /* Tipografía */
  font-family: 'Recia', 'Playfair Display', Georgia, serif;
  color: #111;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;

  /* Animación suave del ancho */
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: content-box;
  /* Importante para que el padding no afecte el cálculo de ancho */
}

/* Clases para las letras individuales */
.char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(4px);
  animation: charEnter 0.5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

@keyframes charEnter {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}








/* === 3D Icon Carousel === */
.icon-cards {
  position: relative;
  width: 360px;
  height: 220px;
  margin: 48px auto;
  perspective: 1200px;
  transform-origin: center;
}

.icon-cards__content {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: translateZ(-200px) rotateY(0deg);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.icon-cards__item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  box-shadow: var(--shadow-medium);
  border-radius: var(--radius-lg);
  transform-origin: center;
  backface-visibility: hidden;
}

.icon-cards__item:nth-child(1) {
  transform: rotateY(0deg) translateZ(220px);
}

.icon-cards__item:nth-child(2) {
  transform: rotateY(90deg) translateZ(220px);
}

.icon-cards__item:nth-child(3) {
  transform: rotateY(180deg) translateZ(220px);
}

.icon-cards__item:nth-child(4) {
  transform: rotateY(270deg) translateZ(220px);
}

.icon-cards__logo {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.icon-cards__label {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  max-width: 280px;
  line-height: 1.4;
  font-weight: 500;
}

/* Subtitle */
.hero__subtitle {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Benefits list */
.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: left;
  max-width: 500px;
}

.benefits li {
  color: var(--text-muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits li::before {
  content: "?";
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
}

/* CTA buttons container */
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* === Botones base === */

.btn {
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Glass button (secundario) */
.btn-ghost,
.glass-btn {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover,
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Primary button base (before glow) */
.btn-primary {
  background: var(--text-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* === Glow CTA (efecto glowing edges) === */

.glow-cta {
  position: relative;
  background: var(--text-dark);
  color: var(--text-light);
  border: none;
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  overflow: visible;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glow-cta::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: conic-gradient(from var(--glow-angle, 0deg),
      var(--glow-1),
      var(--glow-2),
      var(--glow-3),
      var(--glow-4),
      var(--glow-5),
      var(--glow-1));
  opacity: 0;
  z-index: -2;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.glow-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--text-dark);
  z-index: -1;
}

.glow-cta:hover::before {
  opacity: 1;
  animation: glowRotate 3s linear infinite;
}

.glow-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@keyframes glowRotate {
  from {
    --glow-angle: 0deg;
  }

  to {
    --glow-angle: 360deg;
  }
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* === Glass Card === */

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 0, 0, 0.1);
}

/* === Card base (legacy support) === */

.card {
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* === Hero Stats (m�tricas) === */

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 600px;
  margin-top: 32px;
}

.stat {
  padding: 20px 16px;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.stat__number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat__label {
  color: var(--text-muted);
  font-size: 13px;
}

/* === Section headers === */

.section__header {
  margin-bottom: 48px;
  text-align: center;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* === Grids === */

.grid {
  display: grid;
  gap: var(--gap);
}

.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.metrics__grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonials__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* === Service/Step/Metric/Testimonial cards === */

.service-card,
.step-card,
.metric-card,
.testimonial-card {
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.step-card:hover,
.metric-card:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.service-card h3,
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p,
.step-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.metric-card__number {
  font-size: 36px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.testimonial-card__text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

/* === Logos section === */

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.logo-box {
  border: 1px dashed var(--card-stroke);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* === Contact CTA section === */

.contact-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: var(--text-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-glow);
}

.contact-cta .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.contact-cta .section__title {
  color: var(--text-light);
  text-align: left;
}

.contact-cta .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  margin: 0;
}

.contact-cta__btn {
  justify-self: end;
  background: var(--text-light);
  color: var(--text-dark);
  min-width: 200px;
  text-align: center;
}

.contact-cta__btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* === Form styles === */

.form {
  display: grid;
  gap: 16px;
}

.form__header h3 {
  margin-bottom: 8px;
}

.form__header p {
  color: var(--text-muted);
}

.form__field {
  display: grid;
  gap: 6px;
}

.form__field span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--card-stroke);
  background: var(--card-light);
  color: var(--text-dark);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-message {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.form-message--visible {
  color: var(--text-dark);
}

/* === Footer === */

.footer {
  border-top: 1px solid var(--card-stroke);
  background: var(--light-bg-alt);
  padding: 48px 0;
  color: var(--text-muted);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer__text {
  font-size: 14px;
}

/* === Animations === */

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations for cards */
.grid>*:nth-child(1) {
  animation-delay: 0.1s;
}

.grid>*:nth-child(2) {
  animation-delay: 0.15s;
}

.grid>*:nth-child(3) {
  animation-delay: 0.2s;
}

.grid>*:nth-child(4) {
  animation-delay: 0.25s;
}

/* === Contact page (dark theme) === */

.contact-page {
  background: #0a0a0a;
  color: var(--text-light);
}

.contact-page main {
  padding: 120px 0;
  background: #0a0a0a;
}

.contact-page .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.contact-layout {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-hero {
  display: grid;
  gap: 16px;
  align-content: center;
}

.contact-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-hero .highlight {
  color: #888;
}

.contact-hero .eyebrow {
  color: #888;
  letter-spacing: 1.5px;
}

.contact-stepper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 20px;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.step-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.step-question {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
}

.progressive-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.progressive-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
}

.progressive-form input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--text-light);
  color: var(--text-dark);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arrow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: var(--text-light);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.step-hint {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.thanks {
  display: grid;
  gap: 12px;
  padding: 10px 0;
}

/* === Responsive === */

@media (max-width: 900px) {
  body {
    padding-top: 74px;
  }

  .header__inner {
    height: 74px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .contact-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px;
  }

  .contact-cta .section__title,
  .contact-cta .section__subtitle {
    text-align: center;
  }

  .contact-cta__btn {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
  }

  .hero__ctas .btn,
  .hero__ctas .glow-cta {
    width: auto;
  }

  .hero__ctas .animated-cta {
    width: auto;
  }

  .benefits {
    padding-left: 0;
  }

  .contact-page main {
    padding: 100px 0 80px;
  }

  .hero__subtitle {
    font-size: 15px;
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 64px;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .section {
    padding: 40px 0;
  }

  .section__title {
    font-size: clamp(20px, 6vw, 26px);
  }

  .section__subtitle {
    font-size: 14px;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .container {
    width: min(100%, 94vw);
  }

  /* Prevent horizontal overflow */
  main,
  section {
    overflow-x: clip;
  }
}

/* ====================================================
   Inicio: Secci�n de servicios estilo Duolingo
   ==================================================== */

.services-section {
  background: var(--light-bg);
}

.services-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--card-stroke);
}

.services-row:last-of-type {
  border-bottom: none;
}

/* Alternar orden: imagen a la izquierda */
.services-row--reverse {
  flex-direction: row-reverse;
}

/* Contenedor de texto */
.services-text {
  flex: 1;
  max-width: 480px;
}

.services-text h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.services-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Contenedor de imagen (enlace clickeable) */
.services-image-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.services-image-link img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-image-link:hover {
  transform: scale(1.02);
}

.services-image-link:hover img {
  box-shadow: var(--shadow-medium);
}

/* Responsive: servicios estilo Duolingo */
@media (max-width: 768px) {

  .services-row,
  .services-row--reverse {
    flex-direction: column;
    gap: 32px;
    padding: 48px 0;
    text-align: center;
  }

  .services-text {
    max-width: 100%;
  }

  .services-image-link {
    max-width: 280px;
  }
}

@media (max-width: 480px) {

  .services-row,
  .services-row--reverse {
    padding: 32px 0;
    gap: 24px;
  }

  .services-text h3 {
    font-size: 20px;
  }

  .services-text p {
    font-size: 14px;
  }

  .services-image-link {
    max-width: 200px;
  }
}



/* ============================================
   RAINBOW BUTTON 
   ============================================ */

.rainbow-btn {
  /* Variables locales para el gradiente HSL */

  /* Blue Colors */
  /* Rainbow Colors */
  --color-1: #4274ff;
  --color-2: hsla(229, 100%, 67%, 0.938);
  --color-3: hsl(210, 100%, 91%);
  --color-4: hsl(195 100% 63%);
  --color-5: hsl(90, 88%, 93%);
  --speed: 2s;
  --bg-dark: #097fe8;


  /* Rainbow Colors
  --color-1: hsl(0 100% 63%);
  --color-2: hsl(270 100% 63%);
  --color-3: hsl(210 100% 63%);
  --color-4: hsl(195 100% 63%);
  --color-5: hsl(90 100% 63%);
  --speed: 2s;
  --bg-dark: #097fe8; */

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  /* h-11 */
  padding: 0 32px;
  /* px-8 */

  border-radius: 12px;
  /* rounded-xl  radio de el cuadrado de el boton*/
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;

  /* Configuración del borde animado usando background-clip */
  border: 3px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  background-image:
    linear-gradient(var(--bg-dark), var(--bg-dark)),
    /* Fondo interior */
    linear-gradient(90deg, var(--color-1), var(--color-5), var(--color-3), var(--color-4), var(--color-2));
  /* Borde arcoíris */

  background-size: 200%;
  animation: rainbow var(--speed) infinite linear;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  z-index: 1;
}


/* El brillo (Glow) debajo del botón */
.rainbow-btn::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  width: 60%;
  height: 20%;
  transform: translateX(-50%);
  z-index: -1;

  /* El mismo gradiente que el borde */
  background: linear-gradient(90deg, var(--color-1), var(--color-5), var(--color-3), var(--color-4), var(--color-2));
  background-size: 200%;
  filter: blur(25px);
  /* Efecto difuminado */
  animation: rainbow var(--speed) infinite linear;
  opacity: 0.8;
}

/* Hover suave */
.rainbow-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  /* Asegura que el texto siga blanco */
}

/* Keyframes para mover el gradiente */
@keyframes rainbow {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 200%;
  }
}

/* ============================================
   ANIMATED CTA BUTTON (Inspira UI style)
   ============================================ */

.animated-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: 9999px;
  border: 2px solid rgba(9, 127, 232, 0.3);
  background-color: #097fe8;
  padding: 12px 24px;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animated-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 127, 232, 0.35);
}

/* Inner content wrapper */
.animated-cta__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* The expanding dot */
.animated-cta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  flex-shrink: 0;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.animated-cta:hover .animated-cta__dot {
  transform: scale(100);
}

/* Initial text (visible by default, hides on hover) */
.animated-cta__text {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.animated-cta:hover .animated-cta__text {
  transform: translateX(48px);
  opacity: 0;
}

/* Hover text + arrow (hidden by default, appears on hover) */
.animated-cta__hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #097fe8;
  /* Text color changes to blue on hover since dot becomes white background */
  transform: translateX(48px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.animated-cta:hover .animated-cta__hover {
  transform: translateX(0);
  opacity: 1;
}

.animated-cta__hover-text {
  white-space: nowrap;
  font-weight: 700;
}

.animated-cta__arrow {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Smaller variant for nav */
.animated-cta--small {
  padding: 7px 14px;
  font-size: 12px;
  border: 2px solid rgba(9, 127, 232, 0.3);
  box-shadow: 0 4px 12px rgba(9, 127, 232, 0.25);
}

.animated-cta--small .animated-cta__dot {
  width: 5px;
  height: 5px;
}

.animated-cta--small .animated-cta__arrow {
  width: 14px;
  height: 14px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .animated-cta {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
  }

  /* Disable hover expansion effect on mobile - use active state instead */
  .animated-cta:hover .animated-cta__dot {
    transform: scale(1);
  }

  .animated-cta:hover .animated-cta__text {
    transform: translateX(0);
    opacity: 1;
  }

  .animated-cta:hover .animated-cta__hover {
    opacity: 0;
    transform: translateX(48px);
  }

  .animated-cta:active {
    transform: scale(0.97);
    background-color: #0769c2;
  }

  .animated-cta--small {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .animated-cta {
    padding: 10px 16px;
    font-size: 13px;
  }

  .animated-cta--small {
    padding: 5px 10px;
    font-size: 10px;
  }

  .animated-cta--small .animated-cta__content {
    gap: 4px;
  }
}

/* ============================================
   INTERACTIVE GRID BACKGROUND - 3D PERSPECTIVE
   ============================================ */

.interactive-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto;

  /* 3D Perspective setup */
  perspective: 400px;
  perspective-origin: 50% 25%;

  /* Máscara para desvanecer suavemente - ahora empieza desde arriba */
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, black 50%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, black 0%, black 50%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

/* El SVG con transformación 3D */
.interactive-grid svg {
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(55deg) translateY(-30%) scale(2.5);
  transform-origin: center top;
}

/* Animación suave de movimiento hacia el frente para el grid */
@keyframes gridFloat {

  0%,
  100% {
    transform: rotateX(55deg) translateY(-30%) scale(2.5);
  }

  50% {
    transform: rotateX(55deg) translateY(-30%) scale(2.6);
  }
}

/* Estilos de cada cuadrito */
.grid-rect {
  fill: transparent;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 1;
  transition: fill 1s ease, stroke 1s ease;
}

/* Efecto Hover interactivo */
.grid-rect:hover {
  fill: rgba(0, 0, 0, 0.08);
  stroke: rgba(0, 0, 0, 0.15);
  transition: fill 0.1s ease, stroke 0.1s ease;
}

/* Pain Points Section with grid background */
.pain-points-section {
  position: relative;
  overflow: hidden;
}

.pain-points-section .container {
  position: relative;
  z-index: 2;
}

/* Flat interactive grid (no 3D perspective) for pain-points */
.interactive-grid--flat {
  perspective: none;
  perspective-origin: initial;
  top: -120px;
  height: calc(100% + 120px);
  /* No fade at top so grid shows behind nav bar */
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

/* Pain-points grid: fade at top AND bottom */
.pain-points-section .interactive-grid--flat {
  top: 0;
  height: 100%;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

.interactive-grid--flat svg {
  transform: none;
  transform-origin: center center;
}

/* ============================================
   BLACK HOLE BACKGROUND EFFECT
   ============================================ */

.black-hole-wrapper {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 160%;
  overflow: hidden;
  z-index: 0;
}

.black-hole-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.black-hole-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

/* Radial gradient mask - fades to white at edges */
.black-hole-mask {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 55%, transparent 10%, white 50%);
  pointer-events: none;
}

/* Purple/pink glow overlay */
.black-hole-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 70%, rgba(200, 100, 255, 0.35) 10%, transparent 60%);
  mix-blend-mode: overlay;
  z-index: 5;
  pointer-events: none;
}

/* Animated gradient beam from top */
.black-hole-beam {
  position: absolute;
  left: 50%;
  top: -71.5%;
  width: 35%;
  height: 140%;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50%;
  opacity: 0.65;
  mix-blend-mode: plus-lighter;
  filter: blur(48px);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(20deg,
      #00f8f1,
      rgba(168, 85, 247, 0.4) 16.5%,
      #fe848f 33%,
      rgba(200, 100, 255, 0.4) 49.5%,
      #00f8f1 66%,
      rgba(168, 85, 247, 0.5) 85.5%,
      #c084fc 100%);
  background-size: 100% 200%;
  background-position: 0% 100%;
  animation: beamMove 5s linear infinite;
}

@keyframes beamMove {
  0% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 300%;
  }
}

/* Asegurar que el contenido del hero esté POR ENCIMA del grid */
.hero__center {
  position: relative;
  z-index: 2;
  /* Mayor que el z-index 0 del grid */
  pointer-events: none;
  /* Dejar pasar clicks al grid donde no hay texto */
}

/* Reactivar eventos en botones y textos para que se puedan clicar/seleccionar */
.hero__center>* {
  pointer-events: auto;
}

/* ============================================
   CONTACT PAGE - LIGHT THEME
   (Matching index.html visual identity)
   ============================================ */

.contact-section {
  background: var(--light-bg);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: visible;
}

/* Limit the grid height in contact page to end at the form bottom edge */
.contact-section .interactive-grid {
  height: 100%;
  max-height: 58vh;
  top: 0;
  overflow: hidden;
  /* Fade out at the bottom edge */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 8%, black 65%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 8%, black 65%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Left side: Hero text - Hidden for centered form layout */
.contact-hero-light {
  display: none;
}

.contact-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.contact-title .highlight {
  color: #097fe8;
}

.contact-hero-light .eyebrow {
  color: var(--text-muted);
}

.contact-hero-light .section__subtitle {
  text-align: left;
  margin: 0;
  max-width: 100%;
}

.contact-hero-light .benefits {
  margin-top: 8px;
}

/* Right side: Form card */
.contact-form-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-lg);
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  box-shadow: var(--shadow-medium);
}

/* Step header */
.step-header-light {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step-pill-light {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--card-stroke);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.step-hint-light {
  color: var(--text-muted);
  font-size: 13px;
}

.step-question-light {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

/* Form styles */
.progressive-form-light {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Phone input wrapper - connects country selector with input */
.phone-input-wrapper {
  display: flex;
  flex: 1;
  align-items: stretch;
}

/* Ensure hidden attribute works (overrides display: flex) */
.phone-input-wrapper[hidden] {
  display: none !important;
}

#regular-input-group[hidden] {
  display: none !important;
}

.progressive-form-light input {
  flex: 1;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid var(--card-stroke);
  background: var(--light-bg-alt);
  color: var(--text-dark);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.progressive-form-light input::placeholder {
  color: var(--text-muted);
}

.progressive-form-light input:focus {
  outline: none;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Modern Forward Arrow Button */
.arrow-btn-modern {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--text-dark);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-btn-modern svg {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-btn-modern:hover {
  transform: scale(1.05);
  background: var(--accent-hover);
}

.arrow-btn-modern:hover svg {
  transform: translateX(3px);
}

.arrow-btn-modern:active {
  transform: scale(0.95);
}

/* Modern Back Button - Positioned above question */
.back-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  margin-left: -8px;
}

.back-btn-modern svg {
  transition: transform 0.2s ease;
}

.back-btn-modern:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.back-btn-modern:hover svg {
  transform: translateX(-3px);
}

.back-btn-modern[hidden] {
  display: none;
}

/* Progress bar */
.progress-light {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress__bar-light {
  height: 100%;
  width: 0%;
  background: var(--text-dark);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Thanks message */
.thanks-light {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  text-align: center;
}

.thanks-light h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.thanks-light p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.thanks-light .btn {
  margin-top: 8px;
  justify-self: center;
}

/* Responsive: Contact page light theme */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contact-hero-light {
    align-items: center;
  }

  .contact-hero-light .section__subtitle {
    text-align: center;
  }

  .contact-hero-light .benefits {
    text-align: left;
    margin: 0 auto;
  }

  .contact-form-card {
    padding: 32px;
    max-width: 480px;
    margin: 0 auto;
  }

  .step-header-light {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-form-card {
    padding: 24px;
  }

  .step-question-light {
    font-size: 20px;
  }

  .progressive-form-light {
    flex-direction: column;
  }

  .progressive-form-light input {
    width: 100%;
    font-size: 16px;
    /* Prevents iOS zoom on focus */
  }

  .arrow-btn-modern {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    min-height: 44px;
    /* Touch target */
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-form-card {
    padding: 20px 16px;
  }

  .step-question-light {
    font-size: 18px;
  }

  .step-header-light {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .step-pill-light {
    font-size: 12px;
    padding: 4px 10px;
  }

  .step-hint-light {
    font-size: 12px;
  }

  .inputGroup input {
    font-size: 16px;
    /* Prevents iOS zoom */
    padding: 14px 16px;
  }

  .back-btn-modern {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Shake animation for validation */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.shake {
  animation: shake 0.4s ease;
  border-color: #ff6b6b !important;
}

/* Validation Error Tooltip (Popup style) */
.validation-error {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #f0ad4e;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  animation: popupFadeIn 0.2s ease;
  max-width: 300px;
  white-space: nowrap;
}

/* Arrow pointing up */
.validation-error::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #e0e0e0;
}

.validation-error::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 17px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
}

.validation-error svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #f0ad4e;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Input error state */
.input-error {
  border-color: #f0ad4e !important;
}

/* Input valid state */
.input-valid {
  border-color: #27ae60 !important;
}

/* Ensure inputGroup has relative positioning for tooltip */
.inputGroup,
.phone-input-wrapper {
  position: relative;
}

/* ============================================
   INPUT GROUP - Floating Label Animation
   ============================================ */

.inputGroup {
  position: relative;
  flex: 1;
  width: 100%;
}

.inputGroup input {
  font-size: 15px;
  padding: 16px 18px;
  outline: none;
  border: 2px solid var(--card-stroke);
  background-color: var(--light-bg-alt);
  border-radius: 12px;
  width: 100%;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.inputGroup input::placeholder {
  color: transparent;
}

.inputGroup label {
  font-size: 15px;
  position: absolute;
  left: 0;
  top: 0;
  padding: 16px 18px;
  margin-left: 2px;
  pointer-events: none;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.inputGroup input:focus~label,
.inputGroup input:valid~label,
.inputGroup input.has-value~label {
  transform: translateY(-50%) scale(0.85);
  margin: 0;
  margin-left: 12px;
  padding: 2px 8px;
  background-color: var(--card-light);
  border-radius: 4px;
  color: #097fe8;
}

.inputGroup input:focus {
  border-color: #097fe8;
  box-shadow: 0 0 0 3px rgba(9, 127, 232, 0.15);
}

.inputGroup input:valid {
  border-color: rgba(9, 127, 232, 0.5);
}

/* ============================================
   COUNTRY CODE SELECTOR - Phone Input
   ============================================ */

/* Wrapper that contains both country selector and phone input */
.phone-input-wrapper {
  display: flex;
  flex: 1;
  align-items: stretch;
}

.country-selector {
  position: relative;
  flex-shrink: 0;
  display: flex;
}

.country-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  height: 54px;
  border-radius: 12px 0 0 12px;
  border: 2px solid var(--card-stroke);
  border-right: 1px solid var(--card-stroke);
  background: var(--light-bg-alt);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.country-dropdown-btn:hover {
  background: rgba(0, 0, 0, 0.02);
}

.country-dropdown-btn:focus {
  outline: none;
  border-color: #097fe8;
  background: var(--light-bg);
  z-index: 1;
}

.country-dropdown-btn[aria-expanded="true"] {
  border-color: #097fe8;
  background: var(--light-bg);
  z-index: 1;
}

.country-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Flag icons styling */
.country-dropdown-btn .fi,
.country-list .fi {
  width: 1.3em;
  height: 1em;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.country-code {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.dropdown-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Country List Dropdown */
.country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 220px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: 12px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 100;
  list-style: none;
  padding: 6px;
  margin: 0;

  /* Smooth entrance animation */
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.country-list:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.country-list li:hover {
  background: rgba(0, 0, 0, 0.04);
}

.country-list li:active {
  background: rgba(9, 127, 232, 0.08);
}

.country-list .country-flag {
  font-size: 20px;
}

.country-list .country-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.country-list .country-dial-code {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Custom scrollbar for country list */
.country-list::-webkit-scrollbar {
  width: 6px;
}

.country-list::-webkit-scrollbar-track {
  background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Phone input inside wrapper - seamless connection with country selector */
.inputGroup--phone {
  flex: 1;
}

.inputGroup--phone input {
  border-radius: 0 12px 12px 0 !important;
  border-left: none !important;
  height: 54px;
}

.inputGroup--phone label {
  left: 0;
}

/* Focus state coordination */
.phone-input-wrapper:focus-within .country-dropdown-btn {
  border-color: #097fe8;
}

.phone-input-wrapper:focus-within .inputGroup--phone input {
  border-color: #097fe8;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .phone-input-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .country-dropdown-btn {
    padding: 12px 10px;
    height: 50px;
    border-radius: 12px 12px 0 0;
    border-right: 2px solid var(--card-stroke);
    border-bottom: 1px solid var(--card-stroke);
    width: 100%;
    justify-content: center;
  }

  .country-selector {
    width: 100%;
  }

  .country-list {
    width: 100%;
    left: 0;
    right: 0;
  }

  .inputGroup--phone {
    width: 100%;
  }

  .inputGroup--phone input {
    border-radius: 0 0 12px 12px !important;
    border-left: 2px solid var(--card-stroke) !important;
    border-top: none !important;
    height: 50px;
  }
}

/* ================================================
   LUCIDE ICONS - Base Styles
   ================================================ */

[data-lucide] {
  width: 1.25em;
  height: 1.25em;
  stroke-width: 2;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Icon sizes */
.icon-sm {
  width: 1em;
  height: 1em;
}

.icon-md {
  width: 1.5em;
  height: 1.5em;
}

.icon-lg {
  width: 2em;
  height: 2em;
}

/* Icon spacing when used with text */
.icon-left {
  margin-right: 0.5em;
}

.icon-right {
  margin-left: 0.5em;
}

/* Icon colors - inherits from parent by default */
[data-lucide] {
  stroke: currentColor;
}

/* ================================================
   NUEVAS SECCIONES LANDING PAGE
   ================================================ */

/* === Shared Section Styles === */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   SECCIÓN 1: LOGO STRIP / TRUST BADGES
   ================================================ */

.logo-strip {
  padding: 80px 0;
  background: var(--light-bg);
  position: relative;
}

.logo-strip__title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

.logo-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Fade effect on edges */
.logo-strip__grid::before,
.logo-strip__grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 1;
}

.logo-strip__grid::before {
  left: -40px;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.logo-strip__grid::after {
  right: -40px;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.logo-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: transform 0.2s ease;
}

.logo-strip__item:hover {
  transform: scale(1.05);
}

.logo-strip__placeholder {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-strip__item:hover .logo-strip__placeholder {
  opacity: 1;
  filter: grayscale(0%);
}

/* ================================================
   SECCIÓN 2: CÓMO FUNCIONA
   ================================================ */

.how-it-works {
  padding: 100px 0;
  background: var(--light-bg);
}

.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.how-step:last-child {
  margin-bottom: 0;
}

/* Reverse layout for alternating steps */
.how-step--reverse {
  direction: rtl;
}

.how-step--reverse>* {
  direction: ltr;
}

.how-step__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.how-step__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--text-dark);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.how-step__description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* Device mockup placeholders */
.device-mockup {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 10;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.device-mockup--iphone {
  aspect-ratio: 9 / 16;
  max-width: 300px;
}

.device-mockup__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

.device-mockup__placeholder span {
  font-size: 16px;
  font-weight: 600;
}

.device-mockup__placeholder small {
  font-size: 13px;
  opacity: 0.7;
}

/* ================================================
   SECCIÓN 3: RESULTADOS / SOCIAL PROOF
   ================================================ */

.results {
  padding: 100px 0;
  background: var(--light-bg-alt);
  position: relative;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.metric-card {
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 0, 0, 0.12);
}

.metric-card__number {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.metric-card__label {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ================================================
   SECCIÓN 4: INTEGRACIONES GRID
   ================================================ */

.integrations {
  padding: 100px 0;
  background: var(--light-bg);
}

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.integration-icon {
  aspect-ratio: 1;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.integration-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 0, 0, 0.12);
}

.integration-icon__placeholder {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

/* Logo images in integration icons */
.integration-icon__logo {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.integration-icon:hover .integration-icon__logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Ghost slots for depth */
.integration-icon--ghost {
  aspect-ratio: 1;
  background: transparent;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  opacity: 0.4;
}

.integrations__cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.integrations__cta {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* ================================================
   SECCIÓN 5: FOOTER
   ================================================ */

.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 80px 0 32px 0;
  margin-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer__column-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--text-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--text-light);
}

/* ================================================
   RESPONSIVE - NUEVAS SECCIONES
   ================================================ */

@media (max-width: 1024px) {
  .how-step {
    gap: 48px;
  }

  .integrations__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* Logo Strip */
  .logo-strip__grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }

  .logo-strip__grid::before,
  .logo-strip__grid::after {
    display: none;
  }

  /* How It Works */
  .how-step {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }

  .how-step--reverse {
    direction: ltr;
  }

  .how-step__title {
    font-size: 24px;
  }

  .device-mockup {
    max-width: 100%;
  }

  .device-mockup--iphone {
    max-width: 240px;
    margin: 0 auto;
  }

  /* Results */
  .results__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }

  .metric-card {
    padding: 36px 24px;
  }

  .metric-card__number {
    font-size: clamp(40px, 10vw, 56px);
  }

  /* Integrations */
  .integrations__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  /* Logo Strip */
  .logo-strip {
    padding: 60px 0;
  }

  .logo-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .logo-strip__placeholder {
    height: 60px;
    font-size: 12px;
  }

  /* How It Works */
  .how-it-works {
    padding: 60px 0;
  }

  .how-step {
    margin-bottom: 48px;
  }

  .how-step__number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .how-step__title {
    font-size: 20px;
  }

  .how-step__description {
    font-size: 15px;
  }

  /* Results */
  .results {
    padding: 60px 0;
  }

  .results__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metric-card {
    padding: 32px 20px;
  }

  /* Integrations */
  .integrations {
    padding: 60px 0;
  }

  .integrations__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .integrations__cta {
    padding: 14px 24px;
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 24px 0;
    margin-top: 60px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer__social {
    gap: 16px;
  }

  .footer__copyright {
    font-size: 13px;
  }
}

/* ============================================
   ANIMATED BEAM SECTION
   ============================================ */

.beam-section {
  background: var(--light-bg);
  overflow: hidden;
}

.beam-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 30px;
  max-width: 800px;
  min-height: 480px;
  margin: 60px auto 0;
  padding: 40px;
}

.beam-icon {
  width: 80px;
  height: 80px;
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beam-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.beam-icon img {
  width: 55%;
  height: 55%;
  object-fit: contain;
}

.beam-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.beam-icon img,
.beam-icon svg {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.beam-icon--left {
  justify-self: start;
  align-self: center;
}

/* Left icons positioning using IDs */
#beamIcon1 {
  grid-row: 1;
  grid-column: 1;
  transform: translateX(40px);
}

#beamIcon2 {
  grid-row: 2;
  grid-column: 1;
}

#beamIcon3 {
  grid-row: 3;
  grid-column: 1;
}

#beamIcon7 {
  grid-row: 4;
  grid-column: 1;
  transform: translateX(40px);
}

.beam-icon--center {
  width: 140px;
  height: 140px;
  grid-row: 2 / 4;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  background: var(--card-light);
  border: 2px solid var(--card-stroke);
  box-shadow: var(--shadow-glow);
}

.beam-icon--center img {
  width: 75%;
  height: 75%;
}

.beam-icon--right {
  justify-self: end;
  align-self: center;
}

/* Right icons positioning using IDs */
#beamIcon4 {
  grid-row: 1;
  grid-column: 3;
  transform: translateX(-40px);
}

#beamIcon5 {
  grid-row: 2;
  grid-column: 3;
}

#beamIcon6 {
  grid-row: 3;
  grid-column: 3;
}

#beamIcon8 {
  grid-row: 4;
  grid-column: 3;
  transform: translateX(-40px);
}

.beam-icon__placeholder {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive beam section */
@media (max-width: 768px) {
  .beam-container {
    gap: 24px;
    padding: 24px;
    min-height: 300px;
  }

  .beam-icon {
    width: 60px;
    height: 60px;
  }

  .beam-icon--center {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .beam-container {
    gap: 16px;
    padding: 16px;
    min-height: 250px;
  }

  .beam-icon {
    width: 50px;
    height: 50px;
  }

  .beam-icon--center {
    width: 70px;
    height: 70px;
  }
}

/* ============================================
   3D INTERACTIVE CARDS - PUNTOS DE DOLOR
   ============================================ */

.pain-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 20px 0;
  justify-content: center;
  place-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contenedor con perspectiva */
.card-3d-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  perspective: 1000px;
}

/* Tarjeta principal con preserve-3d */
.card-3d {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-out;
  transform-style: preserve-3d;
  cursor: default;
}

.card-3d:hover {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Cuerpo de la tarjeta */
.card-3d__body {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform-style: preserve-3d;
}

/* Título de la tarjeta */
.card-3d__title {
  font-family: 'Recia', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  font-style: normal;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: transform 0.5s ease;
}

/* Descripción */
.card-3d__description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

/* Contenedor de imagen flotante */
.card-3d__image-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.card-3d__image {
  max-width: 140px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

/* Contenedor de botones */
.card-3d__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

/* Link de visita */
.card-3d__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.5s ease;
}

.card-3d__link:hover {
  opacity: 0.7;
}

/* Botón CTA */
.card-3d__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--text-dark);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.card-3d__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .pain-points__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-3d {
    max-width: 100%;
  }

  .card-3d__image-container {
    height: 160px;
  }

  .card-3d__image {
    max-width: 120px;
    max-height: 120px;
  }
}

/* ============================================
   SOCIAL PROOF MARQUEE
   ============================================ */

.social-proof {
  padding: 60px 0;
  overflow: hidden;
  background: var(--light-bg);
}

.social-proof__header {
  text-align: center;
  margin-bottom: 40px;
}

/* Marquee Container */
.marquee {
  --duration: 35s;
  --gap: 16px;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  padding: 12px 0;
  user-select: none;
}

.marquee--reverse .marquee__content {
  animation-direction: reverse;
}

/* Marquee Content (se repite 4 veces para loop infinito) */
.marquee__content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: marquee var(--duration) linear infinite;
}

/* Pausa en hover */
.marquee:hover .marquee__content {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* Testimonial Card */
.testimonial-review {
  position: relative;
  width: 336px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 19px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-review:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Header con avatar y nombre */
.testimonial-review__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Avatar placeholder con gradiente */
.testimonial-review__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  color: white;
}

.testimonial-review__info {
  display: flex;
  flex-direction: column;
}

.testimonial-review__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.testimonial-review__username {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Cuerpo del testimonio */
.testimonial-review__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Espaciado entre filas de marquee */
.marquee+.marquee {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .social-proof {
    padding: 40px 0;
  }

  .testimonial-review {
    width: 288px;
    padding: 19px;
  }

  .marquee {
    --duration: 25s;
  }
}

/* ============================================
   ACETERNITY CONTACT FORM
   ============================================ */

/* ==============================
   Cal.com Inline Booking Section
   ============================== */
.cal-inline-section {
  padding: 60px 0 0;
  background: var(--light-bg);
  scroll-margin-top: 2rem;
}

.cal-inline-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.cal-inline__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cal-inline__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cal-inline__embed {
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

/* Hide Cal.com branding label */
.cal-inline__embed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--light-bg);
  z-index: 10;
  pointer-events: none;
}

.aceternity-form-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.aceternity-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

.aceternity-form__header {
  margin-bottom: 32px;
}

.aceternity-form__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.aceternity-form__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Grid */
.aceternity-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.aceternity-form__grid--full {
  grid-template-columns: 1fr;
}

/* Form Group */
.aceternity-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

/* Label */
.aceternity-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Input Wrapper - con efecto BottomGradient */
.aceternity-input-wrapper {
  position: relative;
  border-radius: 8px;
  padding: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

/* BottomGradient effect - línea de gradiente inferior */
.aceternity-input-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #06b6d4, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.aceternity-input-wrapper::after {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #6366f1, transparent);
  opacity: 0;
  filter: blur(2px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.aceternity-input-wrapper:hover::before,
.aceternity-input-wrapper:focus-within::before,
.aceternity-input-wrapper:hover::after,
.aceternity-input-wrapper:focus-within::after {
  opacity: 1;
}

/* Input field */
.aceternity-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.2s ease;
  box-shadow:
    0px 2px 3px -1px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(25, 28, 33, 0.02),
    0px 0px 0px 1px rgba(25, 28, 33, 0.08);
}

.aceternity-input::placeholder {
  color: #9ca3af;
}

.aceternity-input:focus {
  box-shadow:
    0px 2px 3px -1px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(25, 28, 33, 0.02),
    0px 0px 0px 2px rgba(156, 163, 175, 0.5);
}

/* Textarea */
.aceternity-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: none;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  transition: box-shadow 0.2s ease;
  box-shadow:
    0px 2px 3px -1px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(25, 28, 33, 0.02),
    0px 0px 0px 1px rgba(25, 28, 33, 0.08);
}

.aceternity-textarea::placeholder {
  color: #9ca3af;
}

.aceternity-textarea:focus {
  box-shadow:
    0px 2px 3px -1px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(25, 28, 33, 0.02),
    0px 0px 0px 2px rgba(156, 163, 175, 0.5);
}

/* Submit Button */
.aceternity-submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(to bottom right, #262626, #171717);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aceternity-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.aceternity-submit:active {
  transform: translateY(0);
}

/* Divider */
.aceternity-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.aceternity-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* ============================================
   ACETERNITY PHONE INPUT WITH COUNTRY SELECTOR
   ============================================ */

.aceternity-phone-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 8px;
  overflow: visible;
}

.ace-country-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.ace-country-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  background: #f9fafb;
  border: none;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow:
    0px 2px 3px -1px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(25, 28, 33, 0.02),
    0px 0px 0px 1px rgba(25, 28, 33, 0.08);
}

.ace-country-dropdown-btn:hover {
  background: #f3f4f6;
}

.ace-country-dropdown-btn .fi {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ace-country-code {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  min-width: 36px;
}

.ace-dropdown-arrow {
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.ace-country-dropdown-btn[aria-expanded="true"] .ace-dropdown-arrow {
  transform: rotate(180deg);
}

/* Country List Dropdown */
.ace-country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  min-width: 240px;
  max-height: 280px;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 4px;
  margin: 0;
  list-style: none;
}

.ace-country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ace-country-list li:hover {
  background: #f3f4f6;
}

.ace-country-list li .fi {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ace-country-list .country-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
}

.ace-country-list .country-dial-code {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 500;
}

/* Phone input styling to connect with country selector */
.aceternity-input--phone {
  border-radius: 0 6px 6px 0 !important;
  flex: 1;
}

/* Responsive */
@media (max-width: 640px) {
  .aceternity-form-wrapper {
    padding: 24px;
    margin: 0 16px;
  }

  .aceternity-form__grid {
    grid-template-columns: 1fr;
  }

  .aceternity-form__title {
    font-size: 24px;
  }
}

/* ============================================
   MOBILE OPTIMIZATION ENHANCEMENTS
   ============================================ */

/* === 3D Cards - Mobile Optimization === */
@media (max-width: 640px) {
  .pain-points-section {
    padding: 40px 0;
  }

  .pain-points__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .card-3d-container {
    padding: 0;
  }

  .card-3d {
    max-width: 100%;
    padding: 20px;
    border-radius: 16px;
  }

  .card-3d__title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  /* Ocultar texto de hover que no aplica en móvil */
  .card-3d__description {
    display: none;
  }

  /* Reducir drásticamente el contenedor de imagen */
  .card-3d__image-container {
    height: 80px;
    margin-bottom: 16px;
  }

  .card-3d__image {
    max-width: 60px;
    max-height: 60px;
  }

  .card-3d__actions {
    flex-direction: column;
    gap: 10px;
  }

  .card-3d__link {
    display: none;
  }

  .card-3d__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* === Process Section - Mobile Optimization === */
@media (max-width: 640px) {
  #process {
    padding: 40px 0;
  }

  #process .section__header {
    margin-bottom: 24px;
  }

  .steps__grid {
    gap: 12px;
  }

  .step-card {
    padding: 16px 20px;
  }

  .step-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .step-card p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* === Beam Section - Mobile Optimization === */
@media (max-width: 640px) {
  .beam-section {
    padding: 40px 0;
  }

  .beam-section .section-title {
    font-size: 20px;
    padding: 0 16px;
  }

  .beam-section .section-subtitle {
    font-size: 14px;
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .beam-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    min-height: auto;
    padding: 16px;
  }

  .beam-icon {
    width: 48px;
    height: 48px;
    position: static;
    transform: none !important;
  }

  .beam-icon--left,
  .beam-icon--right {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }

  .beam-icon--center {
    width: 64px;
    height: 64px;
    grid-column: auto;
    grid-row: auto;
  }

  /* Ocultar los beams animados en móvil - simplificar visual */
  .beam-container svg.animated-beam {
    display: none !important;
  }
}

/* === Interactive Grid - Mobile Optimization === */
@media (max-width: 640px) {
  .interactive-grid {
    opacity: 0.5;
  }

  .interactive-grid svg {
    transform: rotateX(55deg) translateY(-30%) scale(2);
  }

  /* Reducir grid en pain points */
  .pain-points-grid {
    display: none;
  }
}

/* === Social Proof - Mobile Optimization === */
@media (max-width: 640px) {
  .social-proof {
    padding: 32px 0;
  }

  .social-proof__header {
    margin-bottom: 24px;
    padding: 0 16px;
  }

  .social-proof__header .section__title {
    font-size: 20px;
  }

  .social-proof__header .section__subtitle {
    font-size: 14px;
  }

  .testimonial-review {
    width: 200px;
    padding: 14px;
  }

  .testimonial-review__avatar-placeholder {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .testimonial-review__name {
    font-size: 13px;
  }

  .testimonial-review__username {
    font-size: 11px;
  }

  .testimonial-review__body {
    font-size: 12px;
    line-height: 1.5;
  }

  .marquee {
    --duration: 20s;
    --gap: 12px;
  }

  .marquee+.marquee {
    margin-top: 12px;
  }
}

/* === Testimonials Section - Mobile Optimization === */
@media (max-width: 640px) {
  #testimonials {
    padding: 40px 0;
  }

  .testimonials__grid {
    gap: 12px;
  }

  .testimonial-card {
    padding: 16px;
  }

  .testimonial-card__text {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .testimonial-card__author {
    font-size: 12px;
  }

  .logos {
    gap: 8px;
    margin-top: 20px;
  }

  .logo-box {
    padding: 12px;
    font-size: 12px;
  }
}

/* === Contact CTA - Mobile Optimization === */
@media (max-width: 640px) {
  #contact {
    padding: 40px 0;
  }

  .contact-cta {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .contact-cta .eyebrow {
    font-size: 11px;
  }

  .contact-cta .section__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .contact-cta .section__subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-cta__btn {
    width: 100%;
    min-width: auto;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* === Integrations Grid - Mobile Optimization === */
@media (max-width: 640px) {
  .integrations {
    padding: 40px 0;
  }

  .integrations .section-title {
    font-size: 20px;
    padding: 0 16px;
  }

  .integrations .section-subtitle {
    font-size: 14px;
    padding: 0 16px;
  }

  .integrations__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto 32px auto;
    padding: 0 16px;
  }

  .integration-icon {
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .integration-icon__logo {
    width: 50%;
    height: 50%;
  }

  /* Ocultar ghost slots en móvil para un grid más limpio */
  .integration-icon--ghost {
    display: none;
  }

  .integrations__cta-wrapper {
    margin-top: 24px;
    padding: 0 16px;
  }

  .integrations__cta {
    width: 100%;
    padding: 14px 24px;
  }
}

/* === Aceternity Form - Enhanced Mobile === */
@media (max-width: 480px) {
  .aceternity-form-section {
    padding: 40px 0;
  }

  .aceternity-form-wrapper {
    padding: 20px 16px;
    margin: 0 12px;
    border-radius: 16px;
  }

  .aceternity-form__header {
    margin-bottom: 20px;
  }

  .aceternity-form__title {
    font-size: 20px;
  }

  .aceternity-form__subtitle {
    font-size: 13px;
  }

  .aceternity-label {
    font-size: 13px;
  }

  .aceternity-input {
    height: 48px;
    font-size: 16px;
    /* Previene zoom en iOS */
  }

  .aceternity-textarea {
    min-height: 100px;
    font-size: 16px;
  }

  .aceternity-submit {
    height: 50px;
    font-size: 15px;
    margin-top: 16px;
  }

  .aceternity-divider {
    margin: 20px 0;
  }
}

/* === Footer - Mobile Optimization === */
@media (max-width: 640px) {
  .footer {
    padding: 40px 0 20px 0;
    margin-top: 40px;
  }

  .footer__inner {
    gap: 12px;
    text-align: center;
  }

  .footer__text {
    font-size: 12px;
  }
}

/* === General Mobile Touch Improvements === */
@media (max-width: 640px) {

  /* Ensure all buttons have touch-friendly sizes */
  .btn,
  .animated-cta,
  .glow-cta,
  .rainbow-btn {
    min-height: 44px;
  }

  /* Improve tap targets for links */
  .nav-link,
  .footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Reduce overall section padding for more content visibility */
  .section {
    padding: 48px 0;
  }

  /* Better container padding on mobile */
  .container {
    width: min(100%, 92vw);
    padding: 0 4px;
  }
}

/* === 3D Card Effect (Redesign) === */

.card-3d-container {
  /* box-sizing: border-box; (Already in *) */
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* Ensuring space for the 3d effect */
}

.card-3d {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22rem;
  height: 22rem;
  /* w-96 h-96 is 24rem (384px). Adjusting slightly to fit layout or use 24rem if space allows. 
     Let's use 22rem (~352px) to be safe on smaller screens, can grow. */
  max-width: 100%;

  transition: all 0.2s linear;
  /* duration-200 ease-linear */
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);

  /* Visual style of the card itself */
  background: var(--card-light);
  border: 1px solid var(--card-stroke);
  box-shadow: var(--shadow-medium);
}

@media (min-width: 768px) {
  .card-3d {
    width: 24rem;
    /* 384px */
    height: 24rem;
  }
}

.card-3d__body {
  /* This is the content container inside */
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 1rem;
}

.card-3d__title {
  font-family: 'Recia', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  transform: translateZ(50px);
  /* Default depth */
}

.card-3d__description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
  transform: translateZ(60px);
}

.card-3d__image-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1rem 0;
  transform-style: preserve-3d;
  /* data-translate-z will be handled by JS, but give it a base */
}

.card-3d__image {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  border-radius: var(--radius);
}

.card-3d__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateZ(40px);
  margin-top: auto;
}

.card-3d__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.card-3d__button {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card-3d__button:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* Grid layout update for pain points */
.pain-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  place-items: center;
  margin-top: 3rem;
}

/* ============================================
   TESTIMONIOS MASONRY GRID — Rediseño moderno
   ============================================ */

.testimonials-grid-section {
  background: var(--light-bg);
  padding: 100px 0 120px;
}

.testimonials-grid-container {
  width: min(1200px, 92vw);
}

.testimonials-grid__title {
  font-family: 'Recia', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 64px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  position: relative;
  max-height: 700px;
  overflow: hidden;
}

.testimonials-masonry::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, var(--light-bg) 100%);
  pointer-events: none;
  z-index: 2;
}

.testimonials-masonry__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card */
.masonry-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.masonry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

/* Large quote mark */
.masonry-card::before {
  content: '\201C';
  font-family: 'Recia', Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  color: #097fe8;
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 22px;
  pointer-events: none;
}

/* Quote text — comes first visually */
.masonry-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 20px;
  padding-top: 28px;
  /* space for the quote mark */
}

/* Footer with name/company */
.masonry-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  margin-bottom: 0;
}

/* Monochrome initial avatar */
.masonry-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: #374151 !important;
  flex-shrink: 0;
}

.masonry-card__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.masonry-card__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.3;
}

.masonry-card__company {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .testimonials-masonry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonials-grid__title {
    margin-bottom: 40px;
  }

  .testimonials-grid-section {
    padding: 60px 0 80px;
  }
}

/* ============================================
   CONTAINER SCROLL — iPad Mockup Section
   ============================================ */

.container-scroll-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 33rem;
  padding: 2rem;
  overflow: hidden;
}

@media (min-width: 769px) {
  .container-scroll-section {
    min-height: 80rem;
    padding: 5rem;
  }
}

/* Grid background fade — top AND bottom */
.container-scroll-section .interactive-grid--flat {
  top: 0;
  height: 100%;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

/* Inner wrapper with perspective */
.container-scroll__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
}

/* Title block */
.container-scroll__title-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0;
  padding-bottom: 0.1rem;
  will-change: transform;
}

.container-scroll__title {
  font-family: 'Recia', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.container-scroll__subtitle {
  font-family: 'Open Sauce One', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
}

/* iPad Card Frame */
.container-scroll__card {
  width: 60%;
  max-width: 1024px;
  margin: 0 auto 0;
  will-change: transform;

  /* iPad frame look */
  background: #222222;
  border: 4px solid #6C6C6C;
  border-radius: 30px;
  padding: 0.5rem;

  /* Dramatic shadow adjusted: tighter to iPad and 20% less opacity */
  box-shadow:
    0 0 rgba(0, 0, 0, 0.19),
    0 5px 10px rgba(0, 0, 0, 0.18),
    0 18px 18px rgba(0, 0, 0, 0.17),
    0 42px 25px rgba(0, 0, 0, 0.10),
    0 75px 30px rgba(0, 0, 0, 0.02),
    0 116px 32px rgba(0, 0, 0, 0.01);
}

@media (min-width: 769px) {
  .container-scroll__card {
    padding: 1.5rem;
  }
}

/* Inner screen area */
.container-scroll__card-inner {
  width: 100%;
  height: 30rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #f3f4f6;
}

@media (min-width: 769px) {
  .container-scroll__card-inner {
    height: 40rem;
    border-radius: 1rem;
  }
}

/* White placeholder (will be replaced with image) */
.container-scroll__placeholder {
  width: 100%;
  height: 100%;
  background: #ffffff;
}

/* Empezar button inside iPad — match header CTA color */
.container-scroll__card .card-3d__button {
  background: #097fe8;
  color: #ffffff;
}

.container-scroll__card .card-3d__button:hover {
  background: #0870cc;
}

/* Wrapper for card + floating image */
.container-scroll__card-wrapper {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

/* Floating image above iPad */
.container-scroll__floating-img {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 960px;
  z-index: 10;
  filter:
    drop-shadow(0 8px 32px rgba(0, 0, 0, 0.10)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container-scroll-section {
    padding: 1rem;
  }

  .container-scroll__inner {
    padding: 2rem 0 3rem;
  }

  .container-scroll__card {
    border-width: 3px;
    border-radius: 20px;
    padding: 0.35rem;
  }

  .container-scroll__card-inner {
    height: 22rem;
    border-radius: 0.75rem;
  }
}

/* ---- Side-by-side variant (text left, iPad right) ---- */

.container-scroll__inner--side {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
}

.container-scroll__title-block--side {
  text-align: left;
  margin: 0;
}

.container-scroll__title-block--side .container-scroll__subtitle {
  margin: 0;
}

@media (max-width: 768px) {
  .container-scroll__inner--side {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container-scroll__title-block--side {
    text-align: center;
  }

  .container-scroll__title-block--side .container-scroll__subtitle {
    margin: 0 auto;
  }
}

/* ---- iPhone mockup variant ---- */

.container-scroll__phone-wrapper {
  display: flex;
  justify-content: center;
}

.container-scroll__phone {
  width: 100%;
  max-width: 280px;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.container-scroll__phone-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.28)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.16));
}

@media (min-width: 769px) {
  .container-scroll__phone {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .container-scroll__phone {
    max-width: 220px;
  }
}

/* ---- Safari browser mockup variant ---- */

.container-scroll__safari-card {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  will-change: transform;
  border-radius: 12px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  box-shadow:
    0 0 rgba(0, 0, 0, 0.19),
    0 5px 10px rgba(0, 0, 0, 0.18),
    0 18px 18px rgba(0, 0, 0, 0.17),
    0 42px 25px rgba(0, 0, 0, 0.10),
    0 75px 30px rgba(0, 0, 0, 0.02),
    0 116px 32px rgba(0, 0, 0, 0.01);
}

.container-scroll__safari-svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .container-scroll__safari-card {
    border-radius: 8px;
  }
}

/* ============================================
   MODERN FOOTER — White theme (adapted from Juxtopposed)
   ============================================ */

.modern-footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 8rem 2vw 4rem;
  font-family: 'Inter', sans-serif;
  color: #374151;
  background: transparent;
  margin-top: 0;
}

.modern-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 15%,
      rgba(255, 255, 255, 0.6) 25%,
      rgba(255, 255, 255, 0.85) 35%,
      rgba(255, 255, 255, 1) 50%,
      rgb(255, 255, 255));
  z-index: -7;
}

.modern-footer__backdrop {
  z-index: -5;
  position: absolute;
  inset: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  mask-image: linear-gradient(rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.5) 10%,
      rgba(0, 0, 0, 0.8) 20%,
      rgba(0, 0, 0, 1) 30%,
      rgb(0, 0, 0));
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.5) 10%,
      rgba(0, 0, 0, 0.8) 20%,
      rgba(0, 0, 0, 1) 30%,
      rgb(0, 0, 0));
}

.modern-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
  width: 28%;
}

.modern-footer__col--brand {
  gap: 0.5rem;
}

.modern-footer__col--links {
  background-color: #f5f5f5;
  border-radius: 16px;
  gap: 0.25rem;
  padding: 1.2rem 1.5rem;
}

.modern-footer__brand {
  font-family: 'Recia', Georgia, serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin: 0;
}

.modern-footer__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.modern-footer__tagline {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.modern-footer__social {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.modern-footer__social-link {
  width: 36px;
  height: 36px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #374151;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.modern-footer__social-link:hover {
  background-color: #e0e0e0;
  color: #111;
}

.modern-footer__copyright {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0.5rem 0 0;
}

.modern-footer__link-item {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0;
  padding: 0.35rem 0;
  cursor: default;
  transition: color 0.2s ease;
}

.modern-footer__link-item:first-child {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.modern-footer__link-item:hover {
  color: var(--text-dark);
}

/* Footer responsive */
@media (max-width: 768px) {
  .modern-footer {
    flex-direction: column;
    padding: 5rem 8vw 3rem;
    gap: 1.5rem;
  }

  .modern-footer__col {
    width: 100%;
  }

  .modern-footer__col--brand {
    text-align: center;
    align-items: center;
  }

  .modern-footer__social {
    justify-content: center;
  }

  .modern-footer__copyright {
    text-align: center;
  }
}