/* =========================================================
   TE HAGO LA TAREA - CSS COMPLETO REDISEÑADO EN COLORES
   PARTE 1 DE 6
   Desde el inicio hasta antes de FRANJA DE CONFIANZA
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --color-blue: #0cc0df;
  --color-green: #56d8b2;
  --color-yellow: #ffde59;
  --color-pink: #ff9b6a;
  --color-orange: #ffb347;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --color-white: #ffffff;
  --color-gray: #e2e8f0;
  --color-text: #172033;
  --color-muted: #48606c;

  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 60px rgba(12, 192, 223, 0.20);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 52px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-height: 92px;
  --header-offset-desktop: 118px;
  --header-offset-mobile: 92px;

  --transition-fast: 0.25s ease;
  --transition-medium: 0.4s ease;

  --page-gradient: linear-gradient(90deg, #0cc0df 0%, #ffde59 100%);
  --page-gradient-soft:
    linear-gradient(90deg, rgba(12, 192, 223, 0.92) 0%, rgba(255, 222, 89, 0.92) 100%);
  --glass-white: rgba(255, 255, 255, 0.68);
  --glass-white-strong: rgba(255, 255, 255, 0.82);
  --border-soft: rgba(255, 255, 255, 0.38);

  --hero-top-space-desktop: 15vh;
  --hero-top-space-tablet: 110px;
  --hero-top-space-mobile: 86px;


 --section-light-top: rgba(255,255,255,0.82);
--section-light-bottom: rgba(255,255,255,0.86);
--section-light-gradient: linear-gradient(
  180deg,
  var(--section-light-top) 0%,
  var(--section-light-bottom) 100%
);
}

/* =========================================================
   RESET
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: 'Figtree', sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  background: var(--page-gradient);
  background-attachment: fixed;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
a,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

/* =========================================================
   LAYOUT GENERAL
========================================================= */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-light {
  background: var(--section-light-gradient);
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #133247 100%);
  color: var(--color-white);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-muted);
}

.section-dark .section-heading p,
.section-dark p {
  color: rgba(255,255,255,0.86);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(90deg, rgba(12, 192, 223, 0.12), rgba(255, 222, 89, 0.16)),
    rgba(255,255,255,0.86);
  border: 1px solid rgba(12, 192, 223, 0.16);
  color: #08788f;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.section-dark .section-tag {
  background: rgba(255,255,255,0.12);
  color: var(--color-yellow);
  border-color: rgba(255,255,255,0.18);
}

/* =========================================================
   FONDO DECORATIVO GENERAL
========================================================= */
.site-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(255,255,255,0.14), transparent 16%),
    radial-gradient(circle at 18% 78%, rgba(255,255,255,0.12), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,0.10), transparent 18%);
  z-index: -2;
}

/* =========================================================
   TEXTURAS
========================================================= */
.textured-card,
.texture-cartoncito,
.texture-cuadro,
.texture-raya {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.texture-cartoncito {
  background-image:
    linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
    url('imgs/textura-cartoncito.webp');
}

.texture-cuadro {
  background-image:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)),
    url('imgs/textura-cuadro.webp');
}

.texture-raya {
  background-image:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    url('imgs/textura-raya.webp');
}

/* =========================================================
   BOTONES
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #25D366 0%, #1ebe5d 40%, #128C7E 100%);
  box-shadow:
    0 10px 20px rgba(37, 211, 102, 0.35),
    0 4px 10px rgba(0,0,0,0.1);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #2eea74 0%, #22c863 40%, #0f7f73 100%);
  box-shadow:
    0 14px 28px rgba(37, 211, 102, 0.45),
    0 6px 14px rgba(0,0,0,0.15);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  color: var(--color-dark);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
  box-shadow: 0 16px 35px rgba(255, 222, 89, 0.18);
}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */
.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: linear-gradient(135deg, #25D366, #14b85a);
  color: white;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.30);
  animation: floatBubble 2.6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.floating-whatsapp img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.floating-whatsapp span {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

.floating-whatsapp.footer-near {
  transform: translateY(-24px);
}

/* =========================================================
   HEADER
========================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  padding: 0;
  background: transparent;
}

.header-container {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 0 30px 30px;
}

.main-header.is-scrolled .header-container {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.brand-logo {
  width: 150px;
  max-width: 100%;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.main-nav a {
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--color-dark);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));
  transition: transform var(--transition-fast);
}

.main-nav a:hover {
  transform: translateY(-2px);
  color: #087a91;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

body.menu-open {
  overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--hero-top-space-desktop) + 160px);
  padding-bottom: 12%; /*con esto bajamos el wave*/
  overflow: visible;
  background: transparent;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.04) 32%,
    rgba(255,255,255,0) 62%
  );
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 48px;
}

/* BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(90deg, rgba(12, 192, 223, 0.18), rgba(255, 222, 89, 0.24)),
    rgba(255,255,255,0.82);
  border: 1px solid rgba(12, 192, 223, 0.20);
  box-shadow: 0 12px 28px rgba(12, 192, 223, 0.12);
}

.hero-badge span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--color-dark);
}

/* TITULO */
.hero-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  order: 2;
}

.hero-content h1 {
  margin: 0;
  line-height: 0.9;
}

.hero-content h1 span,
.hero-content h1 strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* TEXTO PRINCIPAL */
.hero-content h1 span {
  font-size: clamp(3.6rem, 7vw, 6.9rem);
  line-height: 0.92;
  color: #ffe888;
  -webkit-text-stroke: 7px #2b2218;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 rgba(255,255,255,0.22),
    0 4px 0 rgba(43, 34, 24, 0.22),
    0 10px 18px rgba(15, 23, 42, 0.14);
}

/* TEXTO SECUNDARIO */
.hero-content h1 strong {
  margin-top: 4px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  color: #a3e0ff;
  -webkit-text-stroke: 3px #2b2218;
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.18),
    0 3px 0 rgba(43, 34, 24, 0.18),
    0 8px 14px rgba(15, 23, 42, 0.10);
}

/* VISUAL */
.hero-main {
  width: 100%;
  order: 3;
}

.hero-visual-wrap {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-student-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-student-alone {
  width: min(100%, 1200px);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 34px 58px rgba(15, 23, 42, 0.16));
  animation: heroFloatCentered 3.8s ease-in-out infinite;
}

/* BURBUJAS */
.hero-bubble {
  position: absolute;
  z-index: 3;
  min-width: 148px;
  max-width: 228px;
  padding: 16px 18px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.10);
  animation: bubbleSoft 3.8s ease-in-out infinite;
}

.hero-bubble strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-dark);
}

.hero-bubble span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.28;
  color: #4c6170;
  font-weight: 700;
}

.bubble-top-left {
  top: 92px;
  left: 18px;
  background: linear-gradient(135deg, rgba(12,192,223,0.22), rgba(255,255,255,0.92));
}

.bubble-top-right {
  top: 92px;
  right: 18px;
  background: linear-gradient(135deg, rgba(255,222,89,0.24), rgba(255,255,255,0.92));
}

.bubble-left-middle {
  top: 390px;
  left: 0;
  background: linear-gradient(135deg, rgba(86,216,178,0.18), rgba(255,255,255,0.92));
}

.bubble-right-middle {
  top: 390px;
  right: 0;
  background: linear-gradient(135deg, rgba(255,179,71,0.18), rgba(255,255,255,0.94));
}

.bubble-bottom-left {
  bottom: 122px;
  left: 18px;
  background: linear-gradient(135deg, rgba(255,155,106,0.18), rgba(255,255,255,0.94));
}

.bubble-bottom-right {
  bottom: 122px;
  right: 18px;
  background: linear-gradient(135deg, rgba(12,192,223,0.16), rgba(255,222,89,0.18), rgba(255,255,255,0.94));
}

.bubble-facebook {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  padding: 13px 16px;
  background: linear-gradient(135deg, rgba(12,192,223,0.18), rgba(255,255,255,0.94));
}

.hero-bubble-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.hero-bubble-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-bubble-social span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  color: var(--color-dark);
}

/* BLOQUE INFERIOR */
.hero-bottom {
  order: 4;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.hero-text {
  max-width: 760px;
  margin: 6px auto 0;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #294956;
}

.hero-text-main {
  font-size: 1.16rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 16px 0 10px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-features li {
  position: relative;
  padding: 12px 18px 12px 40px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,255,255,0.80));
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--color-dark);
}

.hero-features li::before {
  content: '✦';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #08a9c4;
  font-size: 0.95rem;
}



/* =========================================================
   REVEAL
========================================================= */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================
   UTILIDADES
========================================================= */
.organic-corner {
  border-bottom-right-radius: 90px;
}

/* =========================================================
   ANIMACIONES
========================================================= */
@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bubbleSoft {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes heroFloatCentered {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes heroLibroFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-10px) rotate(-1.2deg) scale(1.015);
  }
}

/* =========================================================
   LIBROS FLOTANTES HERO - BASE
========================================================= */
.hero-libro {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transform-origin: center center;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.16));
  animation: heroLibroFloat 4.2s ease-in-out infinite;
  max-width: none;
  height: auto;
  display: block;
}

.hero-libro-izq {
  width: 35%;
  left: -24%;
  right: auto;
  top: -45%;
  bottom: auto;
  animation-delay: -5s;
}

.hero-libro-der {
  width: 36%;
  right: -25%;
  left: auto;
  top: -58%;
  bottom: auto;
  animation-delay: -5s;
}

/* =========================================================
   DESKTOP GRANDE
========================================================= */
@media (min-width: 1200px) {
  .hero-content h1 span {
    -webkit-text-stroke: 10px #2b2218;
    text-shadow:
      0 2px 0 rgba(255,255,255,0.24),
      0 5px 0 rgba(43, 34, 24, 0.24),
      0 12px 20px rgba(15, 23, 42, 0.16);
  }

  .hero-content h1 strong {
    -webkit-text-stroke: 2.5px #2b2218;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.18),
      0 4px 0 rgba(43, 34, 24, 0.18),
      0 9px 16px rgba(15, 23, 42, 0.12);
  }
}

/* =========================================================
   LAPTOPS Y DESKTOPS INTERMEDIOS - HERO
========================================================= */
@media (max-width: 1199px) {
  .hero-visual-wrap {
    min-height: 660px;
  }

  .hero-student-alone {
    width: min(100%, 1100px);
  }

  .hero-bubble {
    min-width: 130px;
    max-width: 185px;
    padding: 14px 15px;
  }

  .hero-content h1 span {
    font-size: clamp(3.2rem, 6vw, 5.7rem);
  }

  .hero-content h1 strong {
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  }

  .bubble-top-left,
  .bubble-top-right {
    top: 84px;
  }

  .bubble-left-middle,
  .bubble-right-middle {
    top: 338px;
  }

  .bubble-bottom-left,
  .bubble-bottom-right {
    bottom: 116px;
  }
}

/* =========================================================
   TABLET GENERAL - HERO
========================================================= */
@media (max-width: 991px) {
  .section {
    padding: 90px 0;
  }

  .header-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    padding: 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    z-index: 320;
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-badge {
    margin-bottom: 6px;
    padding: 12px 18px;
  }

  .hero-content h1 span {
    font-size: clamp(2.7rem, 8vw, 4.6rem);
    line-height: 0.94;
    -webkit-text-stroke: 3.7px #2b2218;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.18),
      0 3px 0 rgba(43, 34, 24, 0.18),
      0 8px 14px rgba(15, 23, 42, 0.12);
  }

  .hero-content h1 strong {
    margin-top: 8px;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
    -webkit-text-stroke: 1.6px #2b2218;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.16),
      0 2px 0 rgba(43, 34, 24, 0.14),
      0 6px 10px rgba(15, 23, 42, 0.10);
  }

  .hero-visual-wrap {
    min-height: 560px;
  }

  .hero-student-alone {
    width: min(100%, 830px);
  }

  .hero-bubble {
    min-width: 126px;
    max-width: 170px;
    padding: 12px 14px;
  }

  .hero-bubble strong {
    font-size: 1rem;
  }

  .hero-bubble span {
    font-size: 0.8rem;
  }

  .bubble-top-left,
  .bubble-top-right {
    top: 58px;
  }

  .bubble-left-middle,
  .bubble-right-middle {
    top: 255px;
  }

  .bubble-bottom-left,
  .bubble-bottom-right {
    bottom: 88px;
  }

  .bubble-facebook {
    bottom: 10px;
  }
}

/* =========================================================
   TABLETS - MÁS ESPACIO ARRIBA Y ABAJO
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    padding-top: 52px;
    padding-bottom: 0;
  }

  .hero-grid {
    gap: 0;
    padding-top: 0;
    padding-bottom: 12px;
  }

  .hero-badge {
    width: 100%;
    max-width: 430px;
    padding: 14px 20px;
    margin-top: 17vh;
    margin-bottom: 22px;
  }

  .hero-badge span {
    font-size: 1rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 13vh;
    padding-inline: 10px;
    text-align: center;
  }
}

/* iPad Mini / iPad 9.7 / iPad 10.2 */
@media screen and (min-width: 760px) and (max-width: 776px) and (min-height: 1014px) and (max-height: 1034px) {
  .hero {
    padding-top: 56px;
  }

  .hero-badge {
    margin-top: 30vh; /*espacio de tu apoyo academico de confianza*/
    margin-bottom: 24px; /*espacio de tu no te estreses yo te ayudo. debajo*/
  }

  .hero-content {
    margin-bottom: 14vh;
  }
}

/* iPad Air */
@media screen and (min-width: 816px) and (max-width: 824px) and (min-height: 1170px) and (max-height: 1190px) {
  .hero {
    padding-top: 54px;
  }

  .hero-badge {
    margin-top: 30vh;
    margin-bottom: 24px;
  }

  .hero-content {
    margin-bottom: 13vh;
  }
}

/* iPad Pro 11 */
@media screen and (min-width: 830px) and (max-width: 838px) and (min-height: 1188px) and (max-height: 1202px) {
  .hero {
    padding-top: 52px;
  }

  .hero-badge {
    margin-top: 17vh;
    margin-bottom: 24px;
  }

  .hero-content {
    margin-bottom: 12vh;
  }
}

/* iPad Pro 12.9 */
@media screen and (min-width: 1018px) and (max-width: 1030px) and (min-height: 1360px) and (max-height: 1372px) {
  .hero {
    padding-top: 44px;
  }

  .hero-badge {
    margin-top: 25vh;
    margin-bottom: 22px;
  }

  .hero-content {
    margin-bottom: 9vh;
  }
}

/* Tablet Android grande */
@media screen and (min-width: 796px) and (max-width: 806px) and (min-height: 1268px) and (max-height: 1292px) {
  .hero {
    padding-top: 56px;
  }

  .hero-badge {
    margin-top: 30vh;
    margin-bottom: 24px;
  }

  .hero-content {
    margin-bottom: 14vh;
  }
}

/* Samsung Galaxy Tab aprox */
@media screen and (min-width: 748px) and (max-width: 758px) and (min-height: 1028px) and (max-height: 1046px) {
  .hero {
    padding-top: 56px;
  }

  .hero-badge {
    margin-top: 19vh;
    margin-bottom: 22px;
  }

  .hero-content {
    margin-bottom: 14vh;
  }
}

/* =========================================================
   MOVIL - HERO
========================================================= */
@media (max-width: 767px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .header-container {
    min-height: 78px;
    padding: 12px 16px;
    border-radius: 0 0 22px 22px;
  }

  .brand-logo {
    width: 120px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .main-nav {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding-right: 14px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 0;
  }

  .hero-grid {
    gap: 0;
    padding-top: 0;
    padding-bottom: 10px;
  }

  .hero-badge {
    width: 100%;
    max-width: 350px;
    padding: 14px 18px;
    margin-top: 40vh;
    margin-bottom: 18px;
  }

  .hero-badge span {
    font-size: 0.98rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 20vh;
    padding-inline: 6px;
    text-align: center;
  }

  .hero-content h1 span {
    font-size: clamp(2.1rem, 10vw, 3.5rem);
    line-height: 0.95;
    -webkit-text-stroke: 3.6px #2b2218;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.14),
      0 2px 0 rgba(43, 34, 24, 0.12),
      0 5px 8px rgba(15, 23, 42, 0.08);
  }

  .hero-content h1 strong {
    margin-top: 7px;
    font-size: clamp(1.2rem, 5.4vw, 1.9rem);
    line-height: 1.06;
    -webkit-text-stroke: 1.6px #2b2218;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.12),
      0 2px 0 rgba(43, 34, 24, 0.10),
      0 4px 7px rgba(15, 23, 42, 0.07);
  }

  .hero-main {
    order: 3;
    margin-top: 0;
  }

  .hero-visual-wrap {
    min-height: 420px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
  }

  .hero-student-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .hero-student-alone {
    width: 155%;
    max-width: none;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .hero-text {
    max-width: 100%;
    padding-inline: 8px;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-top: 0;
  }

  .hero-actions {
    margin: 12px 0 8px;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-features li {
    padding: 10px 14px 10px 34px;
    font-size: 0.88rem;
  }

  .hero-features li::before {
    left: 13px;
    font-size: 0.85rem;
  }

  .hero-bubble {
    min-width: 110px;
    max-width: 136px;
    padding: 10px 10px;
    border-radius: 18px;
  }

  .hero-bubble strong {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .hero-bubble span {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .bubble-top-left {
    top: 6px;
    left: 10px;
  }

  .bubble-top-right {
    top: 6px;
    right: 10px;
  }

  .bubble-left-middle {
    top: 152px;
    left: 0;
  }

  .bubble-right-middle {
    top: 152px;
    right: 0;
  }

  .bubble-bottom-left {
    bottom: 72px;
    left: 8px;
  }

  .bubble-bottom-right {
    bottom: 72px;
    right: 8px;
  }

  .bubble-facebook {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    max-width: 150px;
    padding: 10px 12px;
  }

  .hero-bubble-social img {
    width: 22px;
    height: 22px;
  }

  .hero-bubble-social span {
    font-size: 0.82rem;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.75;
  }
}





/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   TE HAGO LA TAREA - CSS COMPLETO REDISEÑADO EN COLORES
   PARTE 2 DE 6
   Desde FRANJA DE CONFIANZA hasta RESEÑAS
========================================================= */

/* =========================================================
   FRANJA DE CONFIANZA
========================================================= */
.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding-top: 72px;
  padding-bottom: 56px;
  overflow: visible;
}

.trust-wave {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 130px;
  transform: translateY(-100%);
  line-height: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.trust-wave svg {
  display: block;
  width: 100%;
  height: 130px;
}

.trust-wave-top {
  fill: #0cc0df;
}

.trust-wave-bottom {
  fill: var(--section-light-bottom);
  transform: translateY(1px); /* micro-overlap */
}

.trust-strip > .container {
  position: relative;
  z-index: 3;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.trust-item {
  min-height: 118px;
  padding: 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.82));
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-medium);
}

.trust-item span {
  font-size: 1.8rem;
}

.trust-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

/* =========================================================
   SERVICIOS
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 36px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-medium);
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* =========================================================
   MARQUEE HORIZONTAL
========================================================= */
.marquee-section {
  position: relative;
  padding: 36px 0;
  overflow: hidden;
}

.marquee-row {
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.marquee-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.marquee-left .marquee-track {
  animation: marqueeLeft 28s linear infinite;
}

.marquee-right .marquee-track {
  animation: marqueeRight 30s linear infinite;
}

/* =========================================================
   SOBRE DAENNA
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
}

.photo-frame {
  width: min(100%, 370px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(12,192,223,0.22), rgba(255,222,89,0.22));
  box-shadow: var(--shadow-strong);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.92);
}

.about-content h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--color-muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-highlights li {
  position: relative;
  padding: 14px 18px 14px 48px;
  border-radius: 22px;
  background: rgba(255,255,255,0.90);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.about-highlights li::before {
  content: '✨';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   ACORDEÓN ÁREAS Y MATERIAS
========================================================= */
.accordion-list {
  display: grid;
  gap: 18px;
}

.accordion-item {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-soft);
}

.accordion-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: linear-gradient(
    90deg,
    rgba(12, 192, 223, 0.12),
    rgba(255, 222, 89, 0.16)
  );
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
}

.accordion-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 8px;
  background: rgba(255,255,255,0.86);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.accordion-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.88);
  font-size: 1.35rem;
  font-weight: 900;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(45deg);
  background: rgba(12, 192, 223, 0.14);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-medium);
}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-content > ul {
  overflow: hidden;
  padding: 0 22px;
}

.accordion-item.active .accordion-content > ul {
  padding: 0 22px 22px;
}

.accordion-content li {
  padding: 12px 0 12px 24px;
  position: relative;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
  line-height: 1.7;
  color: #475569;
}

.accordion-content li:last-child {
  border-bottom: 0;
}

.accordion-content li::before {
  content: '•';
  position: absolute;
  left: 6px;
  top: 10px;
  color: #08a9c4;
  font-size: 1.2rem;
}

/* =========================================================
   NIVELES
========================================================= */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.level-card {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.level-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(12,192,223,0.22), rgba(12,192,223,0.06));
}

.level-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(86,216,178,0.22), rgba(86,216,178,0.06));
}

.level-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(255,222,89,0.22), rgba(255,222,89,0.06));
}

.level-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(255,179,71,0.22), rgba(255,179,71,0.08));
}

.level-card::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  right: -30px;
  top: -30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.34);
}

.level-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.level-card h3 {
  position: relative;
  z-index: 1;
  font-family: 'Balsamiq Sans', cursive;
  font-size: 1.8rem;
  margin: 0;
}

/* =========================================================
   PROCESO
========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-family: 'Balsamiq Sans', cursive;
  font-size: 1.4rem;
  color: white;
  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));
  box-shadow: 0 14px 28px rgba(12, 192, 223, 0.22);
}

.process-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.process-card p {
  margin-bottom: 0;
  line-height: 1.78;
  color: var(--color-muted);
}

/* =========================================================
   EVIDENCIAS
========================================================= */
.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(12,192,223,0.14), rgba(255,222,89,0.16));
  border: 2px dashed rgba(12,192,223,0.20);
  box-shadow: var(--shadow-soft);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--color-dark);
}

/* =========================================================
   TRABAJOS REALIZADOS
========================================================= */
.works-grid-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.works-content h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.works-content p {
  line-height: 1.85;
  color: var(--color-muted);
}

.vertical-marquee {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 620px;
  overflow: hidden;
}

.marquee-column {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.marquee-column-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}

.marquee-column.up .marquee-column-track {
  animation: verticalUp 24s linear infinite;
}

.marquee-column.down .marquee-column-track {
  animation: verticalDown 28s linear infinite;
}

.work-card {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--color-dark);
}

/* =========================================================
   RESEÑAS
========================================================= */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-medium);
}

.stars {
  color: #f4b400;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card p {
  line-height: 1.82;
  color: var(--color-muted);
  min-height: 120px;
}

.review-card strong {
  font-family: 'Outfit', sans-serif;
}

/* =========================================================
   ANIMACIONES EXTRA DE MARQUEE
========================================================= */
@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes verticalUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes verticalDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

/* =========================================================
   AJUSTES RESPONSIVE DE ESTA PARTE
========================================================= */
@media (max-width: 1199px) {
  .trust-grid,
  .services-grid,
  .levels-grid,
  .process-grid,
  .reviews-slider {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .works-grid-layout {
    grid-template-columns: 1fr;
  }

  .works-content,
  .about-content {
    text-align: center;
  }

  .about-highlights {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 991px) {
  .services-grid,
  .evidence-gallery,
  .levels-grid,
  .process-grid,
  .reviews-slider {
    grid-template-columns: 1fr 1fr;
  }

  .vertical-marquee {
    height: 520px;
  }
}

@media (max-width: 767px) {
  .trust-grid,
  .services-grid,
  .evidence-gallery,
  .levels-grid,
  .process-grid,
  .reviews-slider,
  .vertical-marquee {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 28px;
  }

  .photo-frame {
    max-width: 280px;
  }

  .accordion-trigger {
    padding: 16px;
    align-items: flex-start;
  }

  .accordion-title-wrap {
    font-size: 0.98rem;
    gap: 12px;
  }

  .accordion-icon {
    width: 44px;
    height: 44px;
  }

  .accordion-content > ul,
  .accordion-item.active .accordion-content > ul {
    padding-inline: 16px;
  }

  .level-card,
  .process-card,
  .service-card,
  .review-card,
  .gallery-placeholder,
  .work-card {
    border-radius: 26px;
  }

  .level-card {
    min-height: 180px;
  }

  .vertical-marquee {
    height: auto;
    overflow: visible;
  }

  .marquee-column {
    height: 420px;
  }

  .about-content p,
  .works-content p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* =========================================================
   TE HAGO LA TAREA - CSS COMPLETO REDISEÑADO EN COLORES
   PARTE 3 DE 6
   Desde GARANTÍA hasta FOOTER
========================================================= */

/* =========================================================
   GARANTÍA
========================================================= */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.guarantee-content h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.guarantee-content p {
  line-height: 1.85;
}

.guarantee-side {
  display: flex;
  justify-content: center;
}

.guarantee-badge {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.24), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,0.03),
    0 20px 50px rgba(0,0,0,0.18);
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--color-yellow);
}

.guarantee-badge span {
  display: block;
  margin-top: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.84);
}

/* =========================================================
   CONTACTO
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.contact-card h3 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--color-muted);
  margin-bottom: 18px;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(12,192,223,0.16), rgba(255,222,89,0.18));
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--color-dark);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.contact-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   PAGOS
========================================================= */
.payments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.payments-content h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.payments-content p {
  color: var(--color-muted);
  line-height: 1.85;
}

.payments-card {
  padding: 32px;
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.payments-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.payments-card ul {
  display: grid;
  gap: 12px;
}

.payments-card li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  line-height: 1.7;
}

.payments-card li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #09a9c4;
  font-weight: 900;
}

/* =========================================================
   CTA FINAL
========================================================= */
.final-cta {
  background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(255,255,255,0.78));
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.final-cta-content h2 {
  font-family: 'Balsamiq Sans', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.final-cta-content p {
  color: var(--color-muted);
  line-height: 1.85;
}

.final-cta-visual {
  display: flex;
  justify-content: center;
}

.final-cta-visual img {
  width: min(100%, 360px);
  filter: drop-shadow(0 18px 34px rgba(12, 192, 223, 0.20));
  animation: floatBubble 3s ease-in-out infinite;
}

/* =========================================================
   FOOTER
========================================================= */
.main-footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #133247 100%);
  color: white;
  overflow: hidden;
}

.footer-wave {
  line-height: 0;
  transform: translateY(-1px);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
  padding: 28px 0 44px;
}

.footer-logo {
  width: min(100%, 260px);
  margin-bottom: 14px;
}

.footer-brand p,
.footer-contact a,
.footer-links a {
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Outfit', sans-serif;
  color: white;
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* =========================================================
   RESPONSIVE - BLOQUES FINALES
========================================================= */
@media (max-width: 1199px) {
  .guarantee-grid,
  .payments-grid,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .payments-content,
  .final-cta-content,
  .guarantee-content {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .contact-grid,
  .footer-content,
  .payments-grid,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .payments-card {
    border-radius: 26px;
  }

  .payments-content p,
  .final-cta-content p,
  .guarantee-content p {
    font-size: 1rem;
    line-height: 1.75;
  }
}
/* =========================================================
   AJUSTE RESPONSIVE SOLO PARA LIBROS FLOTANTES HERO
   PEGAR AL FINAL DE TODO TU CSS
========================================================= */

/* Base más fluida */
.hero-libro {
  width: clamp(180px, 26vw, 430px);
  height: auto;
}

.hero-libro-izq {
  left: clamp(-26%, -18vw, -12%);
  top: clamp(-48%, -20vw, -24%);
}

.hero-libro-der {
  right: clamp(-27%, -19vw, -13%);
  top: clamp(-60%, -23vw, -30%);
}

/* =========================================================
   DESKTOPS PEQUEÑAS / LAPTOPS
========================================================= */
@media (min-width: 1024px) and (max-width: 1440px) {
  .hero-libro {
    width: clamp(170px, 22vw, 320px);
  }

  .hero-libro-izq {
    left: clamp(-22%, -14vw, -10%);
    top: clamp(-34%, -13vw, -18%);
  }

  .hero-libro-der {
    right: clamp(-23%, -15vw, -11%);
    top: clamp(-44%, -16vw, -24%);
  }
}

/* laptops bajitas */
@media (min-width: 1024px) and (max-width: 1440px) and (max-height: 900px) {
  .hero-libro {
    width: clamp(150px, 19vw, 270px);
  }

  .hero-libro-izq {
    left: clamp(-18%, -11vw, -8%);
    top: clamp(-24%, -9vw, -12%);
  }

  .hero-libro-der {
    right: clamp(-19%, -12vw, -9%);
    top: clamp(-31%, -11vw, -16%);
  }
}

/* =========================================================
   DESKTOPS MUY GRANDES
========================================================= */
@media (min-width: 1441px) {
  .hero-libro {
    width: clamp(240px, 24vw, 420px);
  }

  .hero-libro-izq {
    left: clamp(-24%, -15vw, -14%);
    top: clamp(-42%, -16vw, -22%);
  }

  .hero-libro-der {
    right: clamp(-25%, -16vw, -15%);
    top: clamp(-54%, -20vw, -28%);
  }
}

/* =========================================================
   TABLETS
========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-libro-izq {
    left: -6%;
    top: -37%;
    width: 250px;
  }

  .hero-libro-der {
    right: -10%;
    top: -107%;
    width: 270px;
  }
}

/* tablet alta */
@media (min-width: 768px) and (max-width: 1023px) and (min-height: 1100px) {
  .hero-libro-izq {
    left: -6%;
    top: -37%;
    width: 250px;
  }

  .hero-libro-der {
    right: -10%;
    top: -107%;
    width: 270px;
  }
}

/* =========================================================
   TABLETS 768 A 1023
   iPad, iPad Mini, iPad Air, Galaxy Tab medianas
========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-libro-izq {
    left: -6%;
    top: -37%;
    width: 250px;
  }

  .hero-libro-der {
    right: -10%;
    top: -107%;
    width: 270px;
  }
}

/* =========================================================
   TABLETS ALTAS 768 A 1023
   iPad Air / tablets altas Android
========================================================= */
@media (min-width: 768px) and (max-width: 1023px) and (min-height: 1100px) {
  .hero-libro-izq {
    left: -6%;
    top: -37%;
    width: 250px;
  }

  .hero-libro-der {
    right: -10%;
    top: -107%;
    width: 270px;
  }
}

/* =========================================================
   iPAD PRO Y TABLETS GRANDES
   1024 A 1199
========================================================= */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-libro-izq {
    left: -6%;
    top: -37%;
    width: 250px;
  }

  .hero-libro-der {
    right: -10%;
    top: -107%;
    width: 270px;
  }
}

/* =========================================================
   iPAD PRO ALTAS / 1024x1366 / 1152x1536 aprox
========================================================= */
@media (min-width: 1024px) and (max-width: 1199px) and (min-height: 1300px) {
  .hero-libro-izq {
    left: -10%;
    top: -39%;
    width: 290px;
  }

  .hero-libro-der {
    right: -10%;
    top: -50%;
    width: 320px;
  }
}

/* =========================================================
   GALAXY TAB S4 / TABLETS ANDROID 712 A 767
   porque algunas se quedan antes de 768
========================================================= */
@media (min-width: 700px) and (max-width: 767px) {
  .hero-libro-izq {
    left: -6%;
    top: -40%;
    width: 250px;
  }

  .hero-libro-der {
    right: -4%;
    top: -120%;
    width: 270px;
  }
}



/* =========================================================
   MOVILES GRANDES
========================================================= */
@media (min-width: 430px) and (max-width: 699px) {
  .hero-libro {
    width: clamp(110px, 28vw, 180px);
  }

  .hero-libro-izq {
    left: clamp(-6%, -5vw, 0%);
    top: clamp(2%, 4vw, 8%);
  }

  .hero-libro-der {
    right: clamp(-6%, -5vw, 0%);
    top: clamp(-2%, 2vw, 6%);
  }
}

/* =========================================================
   MOVILES MEDIOS
========================================================= */
@media (min-width: 390px) and (max-width: 429px) {
 
  
.hero-libro-izq {
  left: -10%;   /* lo metes más a la derecha */
  top: -39%;    /* lo subes */
  width: 180px; 
}

  .hero-libro-der {
     left: 60%;   /* lo metes más a la derecha */
  top: -132%;  
  width: 196px;  
  }
}

/* =========================================================
   MOVILES ESTANDAR
========================================================= */
@media (min-width: 360px) and (max-width: 389px) {
  
.hero-libro-izq {
  left: -10%;   /* lo metes más a la derecha */
  top: -39%;    /* lo subes */
  width: 180px; 
}

  .hero-libro-der {
     left: 60%;   /* lo metes más a la derecha */
  top: -132%;  
  width: 196px;  
  }
}

/* =========================================================
   MOVILES PEQUEÑOS
========================================================= */
@media (max-width: 359px) {
  .hero-libro {
    width: clamp(84px, 24vw, 125px);
  }

  .hero-libro-izq {
    left: 2%;
    top: 10%;
  }

  .hero-libro-der {
    right: 2%;
    top: 6%;
  }
}

@media (min-width: 420px) and (max-width: 429px) {

  .hero-libro-izq {
    left: -12%;
    top: -45%;
    width: 195px;
  }

  .hero-libro-der {
    left: 62%;
    top: -140%;
    width: 210px;
  }

}

@media (min-width: 430px) and (max-width: 480px) {

  .hero-libro-izq {
    left: -14%;
    top: -48%;
    width: 205px;
  }

  .hero-libro-der {
    left: 64%;
    top: -150%;
    width: 220px;
  }

}

/* Pixel 8 / Galaxy S24 Ultra */
@media (min-width: 410px) and (max-width: 419px) {

  .hero-libro-der {
    top: -145%;  /* súbelo (antes probablemente -132% o similar) */
  }

}


/* =========================================================
   LAPTOP 1366x768
========================================================= */
@media (min-width: 1360px) and (max-width: 1370px) and (min-height: 760px) and (max-height: 775px) {
  .hero-libro-izq {
    left: -13%;
    top: -36%;
    width: 330px;
  }

  .hero-libro-der {
    right: -10%;
    top: -43%;
    width: 340px;
  }
}

/* =========================================================
   MACBOOK AIR / PRO 1440x900
========================================================= */
@media (min-width: 1435px) and (max-width: 1445px) and (min-height: 895px) and (max-height: 905px) {
  .hero-libro-izq {
    left: -16%;
    top: -39%;
    width: 350px;
  }

  .hero-libro-der {
    right: -14%;
    top: -46%;
    width: 370px;
  }
}

/* =========================================================
   LAPTOPS MEDIAS (1340 - 1460 aprox)
   Ajuste: más arriba + más grandes
========================================================= */
@media (min-width: 1340px) and (max-width: 1460px) and (max-height: 920px) {

  .hero-libro-izq {
    left: -13%;
    top: -40%;     /* MÁS ARRIBA */
    width: 320px;  /* MÁS GRANDE */
  }

  .hero-libro-der {
    right: -12%;
    top: -46%;     /* MÁS ARRIBA */
    width: 350px;  /* MÁS GRANDE */
  }

}
/* =========================================================
   LAPTOP GRANDE 1536x864
   MÁS GRANDE + MÁS ARRIBA
========================================================= */
@media (min-width: 1500px) and (max-width: 1600px) and (max-height: 900px) {

  .hero-libro-izq {
    left: -18%;
    top: -40%;     /* MÁS ARRIBA */
    width: 370px;  /* MÁS GRANDE */
  }

  .hero-libro-der {
    right: -20%;
    top: -52%;    /* MÁS ARRIBA */
    width: 412px;  /* MÁS GRANDE */
  }

}
/* =========================================================
   MOVIL MUY PEQUEÑO (320px - Galaxy S9+)
   Ajuste: más arriba + mejor tamaño
========================================================= */
@media (max-width: 340px) {

  .hero-libro-izq {
    left: -15%;
    top: -32%;     /* súbelo */
    width: 160px;  /* más pequeño para que no estorbe */
  }

  .hero-libro-der {
    right: -10%;
    top: -110%;     /* súbelo bastante */
    width: 150px;
  }

}

/* =========================================================
   iPhone 14 Pro - 393x852
========================================================= */
@media (min-width: 390px) and (max-width: 409px) {
  .hero-libro-izq {
    left: -11%;
    top: -40%;
    width: 186px;
  }

  .hero-libro-der {
    left: 61%;
    top: -138%;
    width: 202px;
  }
}

/* =========================================================
   iPhone 16 Plus - 430x932
========================================================= */
@media (min-width: 430px) and (max-width: 439px) {
  .hero-libro-izq {
    left: -15%;
    top: -44%;
    width: 214px;
  }

  .hero-libro-der {
    left: 64%;
    top: -156%;
    width: 232px;
  }
}

/* =========================================================
   POCO F7 Ultra
   Aproximado como Android premium ~412px
========================================================= */
@media (min-width: 410px) and (max-width: 419px) {
  .hero-libro-izq {
    left: -11%;
    top: -43%;
    width: 188px;
  }

  .hero-libro-der {
    left: 61%;
    top: -148%;
    width: 204px;
  }
}
/* =========================================================
   MOVIL EXTRA GRANDE (500px - 540px)
   Ej: 518x955
========================================================= */
@media (min-width: 500px) and (max-width: 540px) {

  .hero-libro-izq {
    left: -26%;
    top: -52%;     /* más arriba */
    width: 230px;  /* más grande */
  }

  .hero-libro-der {
    left: 66%;
    top: -146%;    /* más arriba */
    width: 250px;  /* más grande */
  }

}

.section-light {
  background: var(--section-light-gradient);
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding-top: 72px;
  padding-bottom: 56px;
  overflow: visible;
}

.trust-wave {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 130px;
  transform: translateY(-100%);
  line-height: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.trust-wave svg {
  display: block;
  width: 100%;
  height: 130px;
}

.trust-wave-top {
  fill: #0cc0df;
}

.trust-wave-bottom {
  fill: var(--section-light-top);
}

.trust-strip > .container {
  position: relative;
  z-index: 3;
}

/* =========================================================
   AJUSTE WAVE HERO -> TRUST STRIP
   TABLET Y MOVIL
========================================================= */
/* =========================================================
   FIX WAVE SIN LÍNEA (RESPONSIVE EN %)
========================================================= */



/* TABLET */
@media (max-width: 1024px) {
  .hero {
    padding-bottom: 14%;
  }

  .hero-grid {
    padding-bottom: 6%;
  }

  .trust-strip {
    margin-top: -8%;     /* 🔥 sube la sección para cubrir línea */
    padding-top: 14%;
  }

  .trust-wave,
  .trust-wave svg {
    height: 16vw;
  }
}


/* MOVIL */
@media (max-width: 767px) {
  .hero {
    padding-bottom: 16%;
  }

  .hero-grid {
    padding-bottom: 30%;
  }

  .trust-strip {
    margin-top: -10%;   /* 🔥 más overlap = cero línea */
    padding-top: 18%;
  }

  .trust-wave,
  .trust-wave svg {
    height: 20vw;
  }
}


/* MOVILES PEQUEÑOS */
@media (max-width: 480px) {
  .hero {
    padding-bottom: 22%;
  }

  .trust-strip {
    margin-top: -12%;
    padding-top: 20%;
  }

  .trust-wave,
  .trust-wave svg {
    height: 24vw;
  }
}

/* =========================================================
   TITULO AREAS - ESTILO SIMILAR AL HERO
========================================================= */
.areas .section-heading h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;

  color: #f9fdcb;
  -webkit-text-stroke: 2px #2b2218;
  paint-order: stroke fill;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.20),
    0 3px 0 rgba(43, 34, 24, 0.16),
    0 8px 16px rgba(15, 23, 42, 0.10);
}

/* =========================================================
   ICONOS MÁS GRANDES - ACORDEÓN ÁREAS
   PEGAR AL FINAL
========================================================= */
.areas .accordion-title-wrap {
  gap: 20px;
}

.areas .accordion-icon {
  width: 72px;
  height: 72px;
  padding: 10px;
  border-radius: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

/* texto un poquito mejor alineado con icono grande */
.areas .accordion-title-wrap span:last-child {
  line-height: 1.25;
}

/* TABLET */
@media (max-width: 991px) {
  .areas .accordion-title-wrap {
    gap: 16px;
  }

  .areas .accordion-icon {
    width: 64px;
    height: 64px;
    padding: 9px;
    border-radius: 18px;
  }
}

/* MOVIL */
@media (max-width: 767px) {
  .areas .accordion-icon {
    width: 58px;
    height: 58px;
    padding: 8px;
    border-radius: 16px;
  }

  .areas .accordion-title-wrap {
    gap: 14px;
  }
}

/* MOVILES PEQUEÑOS */
@media (max-width: 480px) {
  .areas .accordion-icon {
    width: 54px;
    height: 54px;
    padding: 7px;
  }
}

/* =========================================================
   MARQUEE SUPER COLORIDO / MÁS BRILLANTE / TEXTO MÁS GRANDE
   PEGAR AL FINAL DEL CSS
========================================================= */

.marquee-section {
  position: relative;
  padding: 62px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.14), transparent 18%),
    radial-gradient(circle at 86% 20%, rgba(255,255,255,0.10), transparent 16%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08), transparent 14%),
    linear-gradient(135deg, #14384d 0%, #0f172a 100%);
}

.marquee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,192,223,0.10), transparent 18%, transparent 82%, rgba(255,105,140,0.10));
  z-index: 0;
}

.marquee-row {
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  will-change: transform;
}

.marquee-row span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 18px 34px;
  border: 2px solid rgba(255,255,255,0.28);
  white-space: nowrap;

  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  text-align: center;

  box-shadow:
    0 16px 30px rgba(0,0,0,0.22),
    inset 0 2px 0 rgba(255,255,255,0.24);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.marquee-row span:hover {
  transform: translateY(-6px) scale(1.08) rotate(-1deg);
  box-shadow:
    0 20px 36px rgba(0,0,0,0.24),
    inset 0 2px 0 rgba(255,255,255,0.28);
  filter: saturate(1.12);
}

.marquee-row span::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 16px;
  width: 36%;
  height: 28%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
  pointer-events: none;
}

/* =========================================================
   TIPOGRAFIAS DISTINTAS
========================================================= */
.marquee-row span:nth-child(3n+1) {
  font-family: 'Outfit', sans-serif;
}

.marquee-row span:nth-child(3n+2) {
  font-family: 'Balsamiq Sans', cursive;
}

.marquee-row span:nth-child(3n) {
  font-family: 'Figtree', sans-serif;
}

/* =========================================================
   FILA 1
========================================================= */
.marquee-row:nth-child(1) span:nth-child(6n+1) {
  background: linear-gradient(135deg, #00cfff 0%, #7deeff 100%);
  color: #083746;
  border-radius: 999px;
  transform: rotate(-2deg);
}

.marquee-row:nth-child(1) span:nth-child(6n+2) {
  background: linear-gradient(135deg, #47f3c3 0%, #a8ffe8 100%);
  color: #0f4134;
  border-radius: 24px;
  transform: rotate(2deg);
}

.marquee-row:nth-child(1) span:nth-child(6n+3) {
  background: linear-gradient(135deg, #ffe44d 0%, #fff6a8 100%);
  color: #5a4800;
  border-radius: 20px 38px 20px 38px;
  transform: rotate(-1.4deg);
}

.marquee-row:nth-child(1) span:nth-child(6n+4) {
  background: linear-gradient(135deg, #ff79b0 0%, #ffc3dc 100%);
  color: #5c1e3d;
  border-radius: 999px 22px 999px 22px;
  transform: rotate(1.8deg);
}

.marquee-row:nth-child(1) span:nth-child(6n+5) {
  background: linear-gradient(135deg, #ffb347 0%, #ffe0ad 100%);
  color: #5a3300;
  border-radius: 32px 18px 32px 18px;
  transform: rotate(-1deg);
}

.marquee-row:nth-child(1) span:nth-child(6n) {
  background: linear-gradient(135deg, #8dff5f 0%, #d7ffb8 100%);
  color: #315100;
  border-radius: 22px;
  transform: rotate(2deg);
}

/* =========================================================
   FILA 2
========================================================= */
.marquee-row:nth-child(2) span:nth-child(6n+1) {
  background: linear-gradient(135deg, #ff5fa2 0%, #ffd0e5 100%);
  color: #5b1635;
  border-radius: 999px;
  transform: rotate(1.5deg);
}

.marquee-row:nth-child(2) span:nth-child(6n+2) {
  background: linear-gradient(135deg, #52e1ff 0%, #b8f5ff 100%);
  color: #0a3d49;
  border-radius: 22px 36px 22px 36px;
  transform: rotate(-2deg);
}

.marquee-row:nth-child(2) span:nth-child(6n+3) {
  background: linear-gradient(135deg, #ffd93d 0%, #fff3a0 100%);
  color: #5c4700;
  border-radius: 999px 999px 24px 24px;
  transform: rotate(2deg);
}

.marquee-row:nth-child(2) span:nth-child(6n+4) {
  background: linear-gradient(135deg, #39f0a3 0%, #b4ffe0 100%);
  color: #12402d;
  border-radius: 18px 32px 18px 32px;
  transform: rotate(-1.4deg);
}

.marquee-row:nth-child(2) span:nth-child(6n+5) {
  background: linear-gradient(135deg, #ffa861 0%, #ffd8bd 100%);
  color: #5c2f11;
  border-radius: 999px 24px 999px 24px;
  transform: rotate(1deg);
}

.marquee-row:nth-child(2) span:nth-child(6n) {
  background: linear-gradient(135deg, #d96dff 0%, #f2c4ff 100%);
  color: #4c1660;
  border-radius: 28px;
  transform: rotate(-2deg);
}

/* =========================================================
   FILA 3
========================================================= */
.marquee-row:nth-child(3) span:nth-child(6n+1) {
  background: linear-gradient(135deg, #22d3ff 0%, #52f7b8 100%);
  color: #113944;
  border-radius: 999px 26px 999px 26px;
  transform: rotate(-1.5deg);
}

.marquee-row:nth-child(3) span:nth-child(6n+2) {
  background: linear-gradient(135deg, #fff05a 0%, #fff8bf 100%);
  color: #5c4d00;
  border-radius: 24px;
  transform: rotate(1.8deg);
}

.marquee-row:nth-child(3) span:nth-child(6n+3) {
  background: linear-gradient(135deg, #ff7f8f 0%, #ffd0d6 100%);
  color: #601e2e;
  border-radius: 32px 18px 32px 18px;
  transform: rotate(-2deg);
}

.marquee-row:nth-child(3) span:nth-child(6n+4) {
  background: linear-gradient(135deg, #63ff7a 0%, #d1ffd7 100%);
  color: #255b18;
  border-radius: 999px;
  transform: rotate(1deg);
}

.marquee-row:nth-child(3) span:nth-child(6n+5) {
  background: linear-gradient(135deg, #ffbd4a 0%, #ffe7b5 100%);
  color: #5a3600;
  border-radius: 20px 36px 20px 36px;
  transform: rotate(-1deg);
}

.marquee-row:nth-child(3) span:nth-child(6n) {
  background: linear-gradient(135deg, #ff58c8 0%, #ffc9ef 100%);
  color: #611945;
  border-radius: 999px 22px 999px 22px;
  transform: rotate(2deg);
}

/* =========================================================
   TAMAÑOS MÁS VARIADOS
========================================================= */
.marquee-row span:nth-child(3n) {
  min-height: 78px;
  padding: 20px 38px;
  font-size: 1.28rem;
}

.marquee-row span:nth-child(4n) {
  min-height: 64px;
  padding: 15px 28px;
  font-size: 1.05rem;
}

.marquee-row span:nth-child(5n) {
  min-height: 82px;
  padding: 21px 42px;
  font-size: 1.35rem;
}

.marquee-row span:nth-child(7n) {
  border-radius: 22px;
}

.marquee-row span:nth-child(8n) {
  border-radius: 40px 20px 40px 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
  .marquee-section {
    padding: 48px 0;
  }

  .marquee-track {
    gap: 18px;
  }

  .marquee-row span {
    min-height: 60px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .marquee-row span:nth-child(3n) {
    min-height: 66px;
    padding: 16px 28px;
    font-size: 1.08rem;
  }

  .marquee-row span:nth-child(5n) {
    min-height: 68px;
    padding: 17px 30px;
    font-size: 1.12rem;
  }
}

@media (max-width: 767px) {
  .marquee-section {
    padding: 38px 0;
  }

  .marquee-row {
    padding: 12px 0;
  }

  .marquee-track {
    gap: 14px;
  }

  .marquee-row span {
    min-height: 52px;
    padding: 11px 18px;
    font-size: 0.9rem;
    border-width: 1.5px;
  }

  .marquee-row span:nth-child(3n),
  .marquee-row span:nth-child(5n) {
    min-height: 56px;
    padding: 12px 20px;
    font-size: 0.96rem;
  }
}


/* =========================================================
   EVIDENCIAS - IMÁGENES + BOTÓN VER MÁS
========================================================= */

.evidence-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evidence-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* hover bonito */
.evidence-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

/* ocultas */
.hidden-evidence {
  display: none;
}

/* contenedor botón */
.evidence-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* =========================================================
   WORKS - AJUSTE NUEVO CON MARCO DEGRADADO Y MÁS TAMAÑO
========================================================= */

/* la sección completa un poco más alta */
.works {
  padding-top: 90px;
  padding-bottom: 90px;
}

.works-grid-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

/* columna derecha más grande y aprovechando más la sección */
.vertical-marquee {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  height: 920px;
  width: 100%;
  overflow: hidden;
  align-self: stretch;
}

.marquee-column {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
}

.marquee-column-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  will-change: transform;
}

/* tarjeta con borde degradado */
.work-card {
  position: relative;
  min-height: 290px;
  height: 290px;
  padding: 8px; /* grosor del marco */
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0cc0df 0%,
    #56d8b2 22%,
    #ffde59 50%,
    #ff9b6a 76%,
    #ffb347 100%
  );
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

/* capa interna blanca para que se note el marco */
.work-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  z-index: 0;
}

/* imagen */
.work-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1024px) {
  .works-grid-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .works-content {
    text-align: center;
  }

  .vertical-marquee {
    height: 760px;
    gap: 18px;
  }

  .marquee-column-track {
    gap: 18px;
  }

  .work-card {
    min-height: 240px;
    height: 240px;
    padding: 7px;
    border-radius: 26px;
  }

  .work-card::before {
    inset: 7px;
    border-radius: 20px;
  }

  .work-card img {
    border-radius: 18px;
  }
}

/* =========================================================
   MOVIL
========================================================= */
@media (max-width: 767px) {
  .works {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .works-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vertical-marquee {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    height: 520px;
    gap: 0;
    margin: 0;
  }

  .vertical-marquee .marquee-column.down {
    display: none;
  }

  .marquee-column {
    width: 100%;
    border-radius: 26px;
  }

  .marquee-column-track {
    gap: 16px;
  }

  .work-card {
    width: 100%;
    min-height: 250px;
    height: 250px;
    padding: 6px;
    border-radius: 22px;
  }

  .work-card::before {
    inset: 6px;
    border-radius: 17px;
  }

  .work-card img {
    border-radius: 15px;
  }
}

/* =========================================================
   MOVILES MUY PEQUEÑOS
========================================================= */
@media (max-width: 480px) {
  .vertical-marquee {
    height: 470px;
  }

  .work-card {
    min-height: 220px;
    height: 220px;
  }
}

/* =========================================================
   PAYMENTS - ICONOS BBVA / PAYPAL / MÉXICO
========================================================= */

.payments-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ITEM COMPLETO */
.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

/* TEXTO */
.payment-item span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1f2937;
  text-align: center;
}

/* LOGOS */
.payment-logo {
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.16));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* TAMAÑOS */
.payment-logo-bbva {
  width: clamp(120px, 14vw, 170px);
}

.payment-logo-paypal {
  width: clamp(120px, 14vw, 165px);
}

.payment-logo-mexico {
  width: clamp(90px, 10vw, 120px);
}

/* HOVER */
.payment-item:hover {
  transform: translateY(-6px) scale(1.06);
}

.payment-item:hover .payment-logo {
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.22));
}

/* MÉXICO DESTACADO */
.payment-mexico span {
  color: #0cc0df;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1024px) {

  .payments-logos {
    justify-content: center;
    gap: 28px;
  }

  .payment-logo-bbva,
  .payment-logo-paypal {
    width: clamp(110px, 20vw, 150px);
  }

  .payment-logo-mexico {
    width: clamp(85px, 16vw, 110px);
  }
}

/* =========================================================
   MOVIL
========================================================= */
@media (max-width: 767px) {

  .payments-logos {
    justify-content: center;
    gap: 22px;
  }

  .payment-item span {
    font-size: 0.85rem;
  }

  .payment-logo-bbva,
  .payment-logo-paypal {
    width: clamp(95px, 32vw, 125px);
  }

  .payment-logo-mexico {
    width: clamp(75px, 28vw, 95px);
  }

  .payment-item:hover {
    transform: translateY(-4px) scale(1.03);
  }
}
/* =========================================================
   FOOTER NUEVO RECTO Y MODERNO
========================================================= */

.main-footer {
  position: relative;
  background:
    linear-gradient(135deg, #0f172a 0%, #13263a 45%, #17364e 100%);
  color: #ffffff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* quitamos la wave anterior por si sigue en css */
.footer-wave {
  display: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 42px;
  padding: 64px 0 38px;
  align-items: start;
}

/* BLOQUE MARCA */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  width: min(100%, 260px);
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.22));
}

.footer-brand p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  font-size: 1rem;
}

/* TITULOS */
.footer-links h4,
.footer-contact h4 {
  margin: 0 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

/* COLUMNAS */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: rgba(255,255,255,0.76);
  line-height: 1.75;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-location {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

/* PARTE INFERIOR */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 20px;
  flex-wrap: wrap;
}

.footer-bottom-content p {
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    padding: 56px 0 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .footer-bottom-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 28px;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .footer-links a,
  .footer-contact a {
    width: auto;
    justify-content: center;
  }

  .footer-links a:hover,
  .footer-contact a:hover {
    transform: none;
  }

  .footer-location {
    margin-inline: auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 18px;
  }
}