/* ============================================================
   TOEFL MÉXICO — Main Stylesheet
   Design: Clean, professional, ETS-inspired
   ============================================================ */

/* ---- Reset & Base ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* TOEFL iBT purple/indigo palette */
  --navy: #5a67a8;
  /* logo periwinkle */
  --navy-dark: #2d3270;
  /* deep indigo for hero/dark sections */
  --navy-mid: #6e7bbf;
  --blue-accent: #7c86d4;
  --blue-light: #eef0fa;
  --gray-50: #f8f8fc;
  --gray-100: #f1f1f8;
  --gray-200: #e2e2ef;
  --gray-400: #a8a8c8;
  --gray-500: #7070a0;
  --gray-600: #555582;
  --gray-700: #3c3c60;
  --gray-900: #1a1a35;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
  --whatsapp: #25D366;

  --shadow-sm: 0 1px 3px rgba(45, 50, 112, .07), 0 1px 2px rgba(45, 50, 112, .05);
  --shadow-md: 0 4px 16px rgba(45, 50, 112, .10);
  --shadow-lg: 0 12px 40px rgba(45, 50, 112, .14);
  --shadow-xl: 0 24px 64px rgba(45, 50, 112, .18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---- Reusable Containers ---------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ---- Interactive diagnostic teaser ------------------------ */
.diagnostic-teaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 134, 212, .22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f7ff 58%, #eef0fa 100%);
}

.diagnostic-teaser::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, #2f67ff, #6c38ed 38%, #cf178d 70%, #f06416);
}

.diagnostic-teaser__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(90, 103, 168, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(90, 103, 168, .05) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to right, #000, rgba(0, 0, 0, .75), transparent);
  mask-image: linear-gradient(to right, #000, rgba(0, 0, 0, .75), transparent);
}

.diagnostic-teaser__container {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.diagnostic-teaser__content { max-width: 610px; }

.diagnostic-teaser__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.diagnostic-teaser__eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f7b524;
  box-shadow: 0 0 0 5px rgba(247, 181, 36, .16);
}

.diagnostic-teaser h2 {
  max-width: 600px;
  margin: 14px 0 18px;
  color: var(--navy-dark);
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.diagnostic-teaser__content > p:not(.diagnostic-teaser__legal) {
  max-width: 570px;
  color: var(--gray-600);
  font-size: 1.06rem;
}

.diagnostic-teaser__skills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 22px 0 26px;
}

.diagnostic-teaser__skills span {
  position: relative;
  overflow: hidden;
  padding: .55rem .8rem .55rem .95rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--navy-dark);
  font-size: .82rem;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.diagnostic-teaser__skills span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.diagnostic-teaser__skills span:nth-child(1)::before { background: #2f67ff; }
.diagnostic-teaser__skills span:nth-child(2)::before { background: #6c38ed; }
.diagnostic-teaser__skills span:nth-child(3)::before { background: #cf178d; }
.diagnostic-teaser__skills span:nth-child(4)::before { background: #f06416; }

.diagnostic-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.diagnostic-teaser__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: .8rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(45, 50, 112, .22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.diagnostic-teaser__button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnostic-teaser__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 50, 112, .28);
}

.diagnostic-teaser__button:focus-visible {
  outline: 3px solid rgba(90, 103, 168, .32);
  outline-offset: 4px;
}

.diagnostic-teaser__note {
  color: var(--gray-600);
  font-size: .82rem;
  font-weight: 650;
}

.diagnostic-teaser__legal {
  max-width: 590px;
  margin-top: 20px;
  padding-left: .8rem;
  border-left: 3px solid #f7b524;
  color: var(--gray-500);
  font-size: .75rem;
}

.diagnostic-teaser__visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(90, 103, 168, .2);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-xl);
}

.diagnostic-teaser__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.diagnostic-teaser__visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(26, 26, 53, .87);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.diagnostic-teaser__visual figcaption strong { font-size: .88rem; }
.diagnostic-teaser__visual figcaption span { color: #dfe3ff; font-size: .75rem; }

@media (max-width: 900px) {
  .diagnostic-teaser__container { grid-template-columns: 1fr; }
  .diagnostic-teaser__content { max-width: 720px; }
  .diagnostic-teaser__visual { max-width: 720px; }
}

@media (max-width: 600px) {
  .diagnostic-teaser { padding: 58px 0; }
  .diagnostic-teaser__actions { display: grid; }
  .diagnostic-teaser__button { width: 100%; }
  .diagnostic-teaser__visual figcaption {
    position: static;
    border: 0;
    border-radius: 0;
    background: var(--navy-dark);
  }
}

/* Compact homepage placement: a teaser card, not a second hero */
.diagnostic-teaser {
  padding: 34px 0;
  background: var(--white);
}

.diagnostic-teaser::before { height: 3px; }
.diagnostic-teaser__grid { opacity: .28; }

.diagnostic-teaser__container {
  max-width: 920px;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  padding: 20px 20px 20px 26px;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 8%, rgba(124, 134, 212, .16), transparent 32%),
    linear-gradient(135deg, #ffffff, #f7f8ff);
  box-shadow: var(--shadow-lg);
}

.diagnostic-teaser__eyebrow { font-size: .68rem; }

.diagnostic-teaser h2 {
  max-width: 560px;
  margin: 8px 0 10px;
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  line-height: 1.08;
}

.diagnostic-teaser__content > p:not(.diagnostic-teaser__legal) {
  max-width: 600px;
  font-size: .92rem;
  line-height: 1.55;
}

.diagnostic-teaser__skills {
  gap: .4rem;
  margin: 14px 0 16px;
}

.diagnostic-teaser__skills span {
  padding: .4rem .65rem .4rem .75rem;
  font-size: .72rem;
}

.diagnostic-teaser__button {
  min-height: 44px;
  padding: .65rem .9rem;
  font-size: .86rem;
}

.diagnostic-teaser__note { font-size: .74rem; }
.diagnostic-teaser__legal { display: none; }

.diagnostic-teaser__visual {
  width: 100%;
  max-width: 280px;
  justify-self: end;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.diagnostic-teaser__visual img {
  height: 190px;
  aspect-ratio: auto;
  object-position: 62% 34%;
}

.diagnostic-teaser__visual figcaption {
  right: 9px;
  bottom: 9px;
  left: 9px;
  padding: .55rem .65rem;
  border-radius: 10px;
}

.diagnostic-teaser__visual figcaption strong { font-size: .7rem; }
.diagnostic-teaser__visual figcaption span { font-size: .62rem; }

@media (max-width: 900px) {
  .diagnostic-teaser__container {
    max-width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .diagnostic-teaser__visual { max-width: 260px; }
  .diagnostic-teaser__visual img { height: 210px; }
}

@media (max-width: 700px) {
  .diagnostic-teaser { padding: 24px 0; }
  .diagnostic-teaser__container {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .diagnostic-teaser__visual {
    width: 100%;
    max-width: none;
  }
  .diagnostic-teaser__visual img {
    width: 100%;
    height: 180px;
    object-position: 70% 35%;
  }
  .diagnostic-teaser__visual figcaption { display: none; }
}

/* Integrated placement inside the exam overview container */
#resumen-examen .diagnostic-teaser {
  margin-top: 36px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(90, 103, 168, .2);
  background: transparent;
  overflow: visible;
}

#resumen-examen .diagnostic-teaser::before,
#resumen-examen .diagnostic-teaser__grid { display: none; }

#resumen-examen .diagnostic-teaser__container {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#resumen-examen .diagnostic-teaser__content { max-width: 620px; }

#resumen-examen .diagnostic-teaser__eyebrow { color: #354078; }

#resumen-examen .diagnostic-teaser h2 {
  max-width: 610px;
  color: #1e2855;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

#resumen-examen .diagnostic-teaser__content > p:not(.diagnostic-teaser__legal) {
  color: #526078;
  font-size: .98rem;
}

#resumen-examen .diagnostic-teaser__skills span {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(90, 103, 168, .17);
}

#resumen-examen .diagnostic-teaser__note { color: #626d86; }

#resumen-examen .diagnostic-teaser__visual {
  width: 100%;
  max-width: 430px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

#resumen-examen .diagnostic-teaser__visual img {
  width: 100%;
  height: 270px;
  border-radius: 18px;
  object-position: 66% 35%;
}

@media (max-width: 900px) {
  #resumen-examen .diagnostic-teaser__container {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }
  #resumen-examen .diagnostic-teaser__visual { max-width: 310px; }
  #resumen-examen .diagnostic-teaser__visual img { height: 240px; }
}

@media (max-width: 700px) {
  #resumen-examen .diagnostic-teaser {
    margin-top: 28px;
    padding-top: 28px;
  }
  #resumen-examen .diagnostic-teaser__container { grid-template-columns: 1fr; }
  #resumen-examen .diagnostic-teaser__visual {
    max-width: none;
    justify-self: stretch;
  }
  #resumen-examen .diagnostic-teaser__visual img {
    height: 210px;
    object-position: 70% 34%;
  }
}

/* Subtle editorial grid carried through the full page */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(90, 103, 168, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(90, 103, 168, .045) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: .68;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-navy::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: .62;
}

.section-light {
  background: var(--gray-50);
}

.section-white {
  background: var(--white);
}

.section-navy {
  background: var(--navy-dark);
  color: var(--white);
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px; /* Reduced margin since title moved up */
}

/* ---- Section Banners ------------------------------------ */
.section-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-top: -50px;
  margin-bottom: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent base */
  border: 1px solid rgba(255, 255, 255, 0.12); /* Subtle glass edge */
  contain: paint;
}

.section:nth-of-type(odd) .section-banner {
  border-radius: 28px 12px 28px 12px;
}

.section:nth-of-type(even) .section-banner {
  border-radius: 12px 28px 12px 28px;
}

.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82; /* Professional transparency */
  filter: brightness(0.65) contrast(1.1);
  transform: translate3d(0, var(--banner-shift, 0px), 0) scale(1.04);
  will-change: transform;
}

#quienes-somos .section-banner img {
  object-position: center 38%;
}

/* Zoom effect removed as per user request */

.section-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(45, 50, 112, 0.75), transparent 90%);
  display: flex;
  align-items: center;
  padding: 0 4rem;
  pointer-events: none;
}

.section:nth-of-type(even) .section-banner .banner-overlay {
  background: linear-gradient(to left, rgba(45, 50, 112, 0.76), transparent 90%);
  justify-content: flex-end;
  text-align: right;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 600px;
}

.banner-content .section-title {
  color: var(--white);
  margin-bottom: 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5); /* Stronger shadow for glass contrast */
  letter-spacing: 0;
}

.section-banner .banner-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
}

@media (max-width: 768px) {
  .section-banner {
    height: 140px;
    margin-top: -30px;
    margin-bottom: 3rem;
  }
}


.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-light);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-navy .section-tag {
  display: none;
  /* hidden, use .light version below */
}

.section-tag.light {
  display: inline-block;
  color: var(--white);
  background: rgba(255, 255, 255, .15);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-navy .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-navy .section-desc {
  color: rgba(255, 255, 255, .7);
}

/* ---- Buttons --------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .875rem 2rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 48, 135, .3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

/* ---- Navbar ---------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  transition: var(--transition);
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), #7dd3fc, #c4b5fd);
  transform: scaleX(var(--scroll-progress, 0)) translateZ(0);
  transform-origin: left center;
  will-change: transform;
}

.navbar.scrolled {
  border-bottom-color: rgba(90, 103, 168, .14);
  box-shadow: 0 16px 40px rgba(45, 50, 112, .11);
  background: rgba(255, 255, 255, .94);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}

/* Navbar image logo */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* logo is light purple on white; filter to match dark context if needed */
}

.quintill-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
}

/* Footer logo image (white context) */
.footer-logo .logo-img {
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer-logo .quintill-logo {
  filter: none;
  opacity: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
}

.logo-sub {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
  padding: .28rem;
  background: rgba(248, 248, 252, .72);
  border: 1px solid rgba(90, 103, 168, .13);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 10px 24px rgba(45, 50, 112, .07);
}

.nav-link {
  font-size: .82rem;
  font-weight: 750;
  color: var(--gray-600);
  padding: .54rem .76rem;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-dark);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(90, 103, 168, .12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  margin-left: 0;
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .65rem 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #7c86d4 56%, #8b5cf6);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(90, 103, 168, .26);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-contact-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(90, 103, 168, .32);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  background: var(--whatsapp);
  color: var(--white);
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 99px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ------------------------------------------------ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(26, 26, 53, 0.97) 0%, rgba(45, 50, 112, 0.95) 44%, rgba(90, 103, 168, 0.9) 100%),
    var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background:
    linear-gradient(to bottom, transparent, rgba(255,255,255,.055)),
    linear-gradient(90deg, transparent, rgba(125,211,252,.18), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  height: 220px;
  border-radius: 28px;
  opacity: .16;
  transform: rotate(-12deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}

.hero-shape-1 {
  width: 720px;
  top: 2%;
  right: -180px;
}

.hero-shape-2 {
  width: 560px;
  bottom: 1%;
  left: -170px;
  opacity: .12;
  transform: rotate(14deg);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.hero-content {
  max-width: 640px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 4%;
  bottom: 7%;
  height: 72%;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045)),
    linear-gradient(45deg, transparent 0 35%, rgba(255,255,255,.08) 35% 36%, transparent 36% 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.26);
  transform: rotate(-2deg);
}

.hero-image-wrapper {
  position: relative;
  width: min(620px, 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  overflow: visible;
}

.hero-image-glow {
  position: absolute;
  left: 9%;
  right: 8%;
  bottom: 5%;
  height: 52%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(196,181,253,.18), rgba(125,211,252,.12));
}

.hero-img {
  position: relative;
  width: 112%;
  max-width: none;
  transform: scale(1.06);
  transform-origin: bottom center;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: bottom center;
}
.hero-floating-card {
  position: absolute;
  z-index: 3;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,.22);
}
.hero-floating-card-score {
  left: 0;
  bottom: 19%;
  width: 190px;
  padding: 1rem 1.1rem;
  
}

.hero-card-kicker {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.hero-floating-card-score strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
  margin-bottom: .25rem;
}
.hero-floating-card-score span:last-child {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  line-height: 1.35;
}
.hero-floating-card-support {
  right: 1.25rem;
  top: 23%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .95rem;
  font-size: .86rem;
  font-weight: 700;
  
}

.hero-card-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #d9e3ff;
  background: rgba(255,255,255,.14);
}

.hero-card-icon svg {
  width: 18px;
  height: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  padding: .4rem 1.125rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-highlight {
  background: linear-gradient(100deg, #a5b4fc, #7dd3fc, #c4b5fd, #a5b4fc);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1.35rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.2rem;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: .44rem .78rem;
  font-size: .78rem;
  font-weight: 700;
}

.hero-trust-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  max-width: 500px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 3;
  width: 32px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  padding-top: .55rem;
  opacity: .78;
  transition: var(--transition);
}

.hero-scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.hero-scroll-cue span {
  width: 5px;
  height: 9px;
  border-radius: 99px;
  background: var(--white);
  animation: scrollCue 1.45s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(12px); opacity: 1; }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 100px;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0;
}

.stat-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  text-align: center;
  margin-top: .25rem;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .15);
}

/* ---- About / Quienes Somos ------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.about-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, .18);
}

.about-text {
  color: var(--gray-700);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-bullets {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--gray-700);
}

.bullet-icon {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  flex-shrink: 0;
  margin-top: .15em;
}

.about-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proof-stat {
  position: relative;
  padding: 1.15rem .9rem;
  background: #ffffff;
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(45, 50, 112, .08);
  text-align: center;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.proof-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), #7dd3fc);
}

.proof-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 18px 40px rgba(45, 50, 112, .14);
}

.proof-icon {
  width: 22px;
  height: 22px;
  margin-bottom: .6rem;
  color: var(--navy);
}

.proof-stat strong {
  display: block;
  background: linear-gradient(135deg, var(--navy-dark), #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.5rem;
  line-height: 1.05;
  margin-bottom: .3rem;
}

.proof-stat span {
  display: block;
  color: var(--gray-500);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .about-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-visual {
  position: relative;
  min-height: 430px;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 0 11%;
  background: linear-gradient(135deg, rgba(90,103,168,.18), rgba(125,211,252,.12));
  border-radius: 30px;
  transform: rotate(3deg);
}

.about-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 380px;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 26px 70px rgba(45, 50, 112, .18);
  background: var(--navy-dark);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.04);
}

.about-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(26, 26, 53, .78), rgba(26, 26, 53, .08) 58%),
    linear-gradient(135deg, rgba(90, 103, 168, .38), transparent 55%);
}

.about-photo-overlay {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: var(--white);
}

.about-photo-overlay span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.about-photo-overlay strong {
  display: block;
  max-width: 420px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.about-experience-seal {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .45);
  padding: .65rem;
}

.about-experience-seal svg {
  width: 20px;
  height: 20px;
  margin-bottom: .2rem;
}

.about-experience-seal span {
  display: block;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-seal strong {
  display: block;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .9;
  margin-top: .2rem;
  line-height: 1.15;
  max-width: none;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.about-card {
  padding: 1.55rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), #7dd3fc);
}

.about-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-card-icon {
  font-size: 1.875rem;
  margin-bottom: .875rem;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.about-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- Services ------------------------------------------- */
/* ---- TPO Feature (Simulacros) --------------------------- */
.service-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.service-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .85rem;
  row-gap: .2rem;
  align-items: center;
  padding: 1.1rem;
  background: linear-gradient(180deg, var(--white), #fbfbff);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(45, 50, 112, .07);
}

.service-highlight-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--blue-light);
  border-radius: 12px;
}

.service-highlight-icon svg {
  width: 21px;
  height: 21px;
}

.service-highlight strong {
  color: var(--gray-900);
  font-size: .95rem;
  line-height: 1.25;
}

.service-highlight span:last-child {
  color: var(--gray-500);
  font-size: .82rem;
  line-height: 1.35;
}

.tpo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2.8rem;
  align-items: stretch;
  position: relative;
  background:
    radial-gradient(circle at 8% 10%, rgba(125, 211, 252, .18), transparent 30%),
    linear-gradient(135deg, #fbfbff, var(--gray-50));
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 24px;
  padding: 3.25rem;
  box-shadow: 0 24px 70px rgba(45, 50, 112, .12);
  margin-top: 2rem;
  overflow: hidden;
}

.tpo-feature::before {
  content: "";
  position: absolute;
  inset: 1.25rem auto auto 1.25rem;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(90, 103, 168, .12);
  border-radius: 28px;
  transform: rotate(12deg);
  pointer-events: none;
}

.tpo-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 62px rgba(45, 50, 112, .18);
  transform: rotate(-1.2deg);
  transition: var(--transition);
  isolation: isolate;
  min-height: 100%;
}

.tpo-image:hover {
  transform: rotate(0) scale(1.02);
}

.tpo-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.tpo-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 53, .44), transparent 56%);
  pointer-events: none;
}

.tpo-image-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  min-width: 132px;
  padding: .78rem .9rem;
  color: var(--white);
  background: rgba(26, 26, 53, .64);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.tpo-image-badge span {
  display: block;
  color: rgba(255,255,255,.66);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tpo-image-badge strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.tpo-kicker {
  display: inline-flex;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 999px;
  padding: .36rem .76rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tpo-content h3 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.tpo-content p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  margin-bottom: 1.1rem;
  line-height: 1.7;
}

.tpo-list {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.75rem;
  padding: 0;
}

.tpo-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: .75rem .85rem;
  border-radius: 12px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(90, 103, 168, .1);
}

.tpo-list li svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: .15rem;
}

.tpo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.tpo-actions .btn-primary,
.tpo-actions .btn-outline {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: .875rem 1.5rem;
  transition: var(--transition);
  cursor: pointer;
  color: var(--navy);
  border: 2px solid rgba(90, 103, 168, .34);
  background: rgba(255,255,255,.52);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-step {
  position: relative;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.service-step span {
  display: inline-flex;
  color: var(--navy);
  background: var(--blue-light);
  border-radius: 999px;
  padding: .22rem .55rem;
  font-size: .74rem;
  font-weight: 900;
  margin-bottom: .75rem;
}

.service-step strong {
  display: block;
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: .35rem;
}

.service-step p {
  color: var(--gray-500);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}


/* ---- Exam Structure ------------------------------------- */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.exam-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.exam-card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

.exam-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .25);
}

.exam-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.exam-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-icon.reading {
  background: rgba(37, 99, 235, .3);
}

.exam-icon.listening {
  background: rgba(22, 163, 74, .3);
}

.exam-icon.speaking {
  background: rgba(217, 119, 6, .3);
}

.exam-icon.writing {
  background: rgba(147, 51, 234, .3);
}

.exam-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.exam-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.exam-time {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.exam-card p {
  font-size: .9125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.exam-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
}

.score-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .5);
}

.score-value {
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
}

.total-score-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  gap: 1.5rem;
}

.total-score-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.total-score-info p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
}

.total-score-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---- Hero ------------------------------------------------ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* ---- Why Us --------------------------------------------- */
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.why-card {
  flex: 1 1 300px;
  max-width: 348px;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Seasonal Offer Banner */
.seasonal-offer {
  position: relative;
  background: linear-gradient(135deg, rgba(238, 240, 250, 0.95), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(90, 103, 168, 0.24);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 3rem;
  max-width: 720px;
  box-shadow: 0 14px 36px rgba(45, 50, 112, 0.1);
  overflow: hidden;
}

.seasonal-offer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--navy), var(--blue-accent));
}

.seasonal-offer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.code-highlight {
  background: var(--navy);
  color: white;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 1rem;
  margin: 0 0.2rem;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.2);
}

.offer-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, 0.18);
  box-shadow: var(--shadow-sm);
}

.offer-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .seasonal-offer {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    margin-bottom: 2rem;
  }
}

.btn-pricing.added {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: white !important;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .625rem;
}

.why-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- Benefits / Beneficios ------------------------------ */
#beneficios {
  background:
    radial-gradient(circle at 8% 28%, rgba(34, 211, 238, .1), transparent 28%),
    linear-gradient(180deg, #f7f9ff, var(--gray-50));
}

.benefits-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 2rem;
  align-items: center;
  margin: 2.25rem 0 2rem;
  padding: 2.25rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 103, 168, .14);
  background:
    radial-gradient(circle at 88% 18%, rgba(125, 211, 252, .22), transparent 30%),
    linear-gradient(135deg, var(--white), #f6f8ff);
  box-shadow: 0 22px 60px rgba(45, 50, 112, .1);
  overflow: hidden;
}

.benefits-kicker {
  display: inline-flex;
  padding: .38rem .75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.benefits-showcase h3 {
  max-width: 680px;
  color: var(--gray-900);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.06;
  margin-bottom: 1rem;
}

.benefits-showcase p {
  max-width: 630px;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

.benefits-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.benefits-pill-row span {
  display: inline-flex;
  padding: .62rem .85rem;
  border-radius: 999px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(90, 103, 168, .14);
  font-size: .86rem;
  font-weight: 800;
}

.benefits-showcase-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(26, 26, 53, .88), rgba(90, 103, 168, .72)),
    url('images/banner-beneficios-2026.webp') center/cover;
  overflow: hidden;
}

.benefits-showcase-visual img {
  width: min(72%, 260px);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .24));
  transition: transform .4s ease;
}

.benefits-showcase:hover .benefits-showcase-visual img {
  transform: translateY(-6px) scale(1.04);
}

.benefits-visual-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  min-width: 124px;
  padding: .9rem 1rem;
  color: var(--white);
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
}

.benefits-visual-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.benefits-visual-card span {
  display: block;
  margin-top: .35rem;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.benefit-card {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.65rem;
  background: linear-gradient(180deg, var(--white), #fbfbff);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(45, 50, 112, .08);
  transition: var(--transition);
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #be185d, #7e22ce, #2563eb);
  opacity: .72;
}

.benefit-card:hover {
  border-color: rgba(90, 103, 168, .34);
  box-shadow: 0 20px 44px rgba(45, 50, 112, .13);
  transform: translateY(-3px);
}

.benefit-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), #7e22ce);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.benefit-content h3 {
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.benefit-content p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.benefit-card-accent {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(34, 211, 238, .18), transparent 30%),
    linear-gradient(135deg, var(--navy), #1a1a35);
  border-color: rgba(255, 255, 255, .16);
}

.benefit-card-accent::before {
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
}

.benefit-card-accent .benefit-num {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
}

.benefit-card-accent h3 {
  color: var(--white);
}

.benefit-card-accent p {
  color: rgba(255, 255, 255, .72);
}

/* ---- Pricing -------------------------------------------- */
#costos {
  background:
    radial-gradient(circle at 90% 18%, rgba(125, 211, 252, .12), transparent 28%),
    linear-gradient(180deg, var(--white), #f7f9ff 54%, var(--white));
}

.pricing-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr);
  gap: 1.5rem;
  align-items: center;
  margin: 2.25rem 0 1.5rem;
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 103, 168, .14);
  background:
    radial-gradient(circle at 94% 12%, rgba(34, 211, 238, .16), transparent 30%),
    linear-gradient(135deg, #ffffff, #f6f8ff);
  box-shadow: 0 18px 52px rgba(45, 50, 112, .1);
}

.pricing-kicker {
  display: inline-flex;
  padding: .36rem .75rem;
  margin-bottom: .8rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-showcase h3 {
  color: var(--gray-900);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  margin-bottom: .75rem;
}

.pricing-showcase p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.pricing-showcase-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.pricing-step {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(45, 50, 112, .15);
}

.pricing-step:nth-child(1) { background: linear-gradient(180deg, #be185d, #8b1d6b); }
.pricing-step:nth-child(2) { background: linear-gradient(180deg, #7e22ce, #4f46e5); }
.pricing-step:nth-child(3) { background: linear-gradient(180deg, #2563eb, var(--navy)); }

.pricing-step span {
  color: rgba(255, 255, 255, .66);
  font-size: .78rem;
  font-weight: 900;
}

.pricing-step strong {
  font-size: .98rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  margin-bottom: 2.25rem;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes heroGradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-shape,
.hero-floating-card {
    animation: none;
  }
}

.pricing-card {
  position: relative;
  border: 1px solid rgba(90, 103, 168, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), #fbfbff);
  background-clip: padding-box; /* Fix para evitar sangrado blanco en bordes redondeados */
  box-shadow: 0 12px 34px rgba(45, 50, 112, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  z-index: 2;
  background: linear-gradient(90deg, #be185d, #7e22ce, #2563eb);
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pricing-card:hover {
  border-color: rgba(90, 103, 168, 0.42);
  box-shadow: 0 22px 52px rgba(45, 50, 112, 0.16);
  transform: translateY(-5px);
}

.pricing-card:nth-child(1) {
  background:
    radial-gradient(circle at 95% 8%, rgba(34, 211, 238, .18), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.pricing-card:nth-child(2) {
  background:
    radial-gradient(circle at 92% 8%, rgba(190, 24, 93, .12), transparent 30%),
    linear-gradient(180deg, #ffffff, #fff8fc);
}

.pricing-card:nth-child(3) {
  background:
    radial-gradient(circle at 92% 8%, rgba(126, 34, 206, .14), transparent 30%),
    linear-gradient(180deg, #ffffff, #faf7ff);
}

.pricing-card:nth-child(4) {
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, .14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7f9ff);
}

.pricing-card:nth-child(1)::before { background: linear-gradient(90deg, #06b6d4, #2563eb); }
.pricing-card:nth-child(2)::before { background: linear-gradient(90deg, #be185d, #a21caf); }
.pricing-card:nth-child(3)::before { background: linear-gradient(90deg, #7e22ce, #4f46e5); }
.pricing-card:nth-child(4)::before { background: linear-gradient(90deg, #2563eb, var(--navy)); }

.pricing-card.featured {
  border-color: rgba(90, 103, 168, 0.28);
  box-shadow: 0 14px 38px rgba(45, 50, 112, 0.12);
}

.pricing-card .pricing-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1; /* Para quedar detrás del texto del header */
  transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-header::before {
  opacity: 0.28;
}

.pricing-card:nth-child(1) .pricing-header::before {
  background-image: url('images/bg_mock.webp');
}

.pricing-card:nth-child(2) .pricing-header::before {
  background-image: url('images/bg_ebook.webp');
}

.pricing-card:nth-child(3) .pricing-header::before {
  background-image: url('images/bg_course.webp');
}

.pricing-card:nth-child(4) .pricing-header::before {
  background-image: url('images/bg_official.webp');
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-popular {
  background: rgba(255, 255, 255, .72);
  color: var(--navy);
  text-align: center;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .8rem .6rem .55rem;
  border-bottom: 1px solid rgba(90, 103, 168, .12);
}

.pricing-header {
  min-height: 188px;
  padding: 1.75rem 1.65rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .375rem;
}

.pricing-header p {
  font-size: .875rem;
  color: var(--gray-500);
}

.pricing-price-panel {
  margin: 0 1.35rem 1.25rem;
  padding: 1.35rem 1rem !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(238, 240, 250, .72));
  border: 1px solid rgba(90, 103, 168, 0.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
}

.pricing-price-label {
  color: var(--gray-600) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.08em !important;
}

.pricing-price-value {
  color: var(--navy-dark) !important;
  letter-spacing: 0;
  text-shadow: 0 10px 24px rgba(45, 50, 112, .1);
}

.pricing-price-value span {
  color: var(--gray-500) !important;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  padding: 1.5rem 2rem 0;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  align-self: flex-start;
  margin-top: .3rem;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: 0;
  line-height: 1;
}

.period {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
}

.pricing-features {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}

.pricing-features li.included {
  color: var(--gray-700);
}

.pricing-features li.not-included {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
}

.pricing-features li.included::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-features li.not-included::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 1.35rem 1.5rem;
}

.btn-pricing {
  flex: 1;
  text-align: center;
  padding: 0.875rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--navy);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-pricing.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(90, 103, 168, .26);
}

.btn-pricing.secondary:hover {
  background: var(--blue-light);
}

.btn-pricing.buy-now {
  background: var(--navy);
  color: var(--white);
}

.btn-pricing.add-to-cart {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #7e22ce);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(90, 103, 168, 0.25);
}

.btn-pricing.add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(90, 103, 168, 0.34);
}

.btn-pricing.buy-now:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90, 103, 168, 0.3);
}

.pricing-note {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-500);
  max-width: 860px;
  margin: 2.25rem auto 0;
  line-height: 1.65;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(90, 103, 168, .12);
}

/* ---- Quantity Selector & Cart Summary --------------------- */
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  margin: 0 auto 1.25rem;
  padding: 0.35rem;
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(45, 50, 112, 0.04);
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: var(--blue-light);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  user-select: none;
  position: relative; /* Habilitado para posicionamiento del pseudo-elemento táctil */
}

/* Incrementa el área táctil a 48px sin alterar la visualización o tamaño del botón */
.qty-btn::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.qty-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.qty-btn:active {
  transform: scale(0.9);
}

.qty-input {
  width: 42px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-summary {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 90%;
  max-width: 520px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.34s cubic-bezier(.2, .8, .2, 1);
}

.cart-summary.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cart-coupon {
  padding: 1.25rem 0;
  margin: 0.5rem 0;
  border-top: 1px dashed rgba(45, 50, 112, 0.1);
}

.cart-coupon label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.coupon-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.coupon-input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  pointer-events: none;
  transition: all 0.3s;
}

.cart-coupon input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.cart-coupon input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.cart-coupon input:focus + svg {
  color: var(--navy);
}

.cart-coupon input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

/* Estado de éxito del cupón */
.cart-coupon.valid input {
  border-color: var(--green);
  background: #f0fdf4;
  color: #15803d;
}

.cart-coupon.valid svg {
  color: var(--green);
}

.cart-coupon-feedback {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.45rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cart-coupon-feedback.success {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cart-coupon-feedback.error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* Australia Launch Promo Banner */
.aus-promo-banner {
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.04) 0%, rgba(13, 148, 136, 0.09) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-left: 4px solid #0d9488;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.15rem 0 1rem 0;
  box-shadow: 0 4px 14px rgba(0, 48, 135, 0.03);
  transition: all 0.3s ease;
}

.aus-promo-banner:hover {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.08);
}

.aus-promo-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.aus-promo-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d9488;
}

.aus-promo-pill {
  background: #0d9488;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.aus-promo-desc {
  font-size: 0.9rem !important;
  color: var(--gray-700) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.aus-promo-code {
  display: inline-block;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border: 1px dashed #0d9488;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  user-select: all;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.aus-promo-code:hover {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  transform: translateY(-1px);
}

.aus-promo-code.copied {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
}

.cart-instructions {
  padding: 1rem;
  background: rgba(45, 50, 112, 0.03);
  border-radius: 12px;
  margin: 0.5rem 0 1rem;
  text-align: center;
}

.inst-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.inst-text {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.inst-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.inst-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  transition: all 0.3s;
}

.inst-link svg {
  width: 14px;
  height: 14px;
}

.inst-link:hover {
  border-color: var(--navy);
  background: var(--blue-light);
  transform: translateY(-2px);
}

.inst-link.wa:hover {
  border-color: var(--whatsapp);
  background: #e7f9ee;
  color: var(--whatsapp);
}

.cart-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 50, 112, 0.1);
}
.cart-content {
  background: #ffffff;
  border: 1px solid rgba(90, 103, 168, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(25, 28, 70, 0.24);
  padding: 1.5rem;
  overflow: hidden;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(45, 50, 112, 0.1);
}

.cart-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid rgba(90, 103, 168, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cart-clear-all:hover {
  color: var(--red);
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.3);
}

.cart-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
}

.cart-close:hover {
  color: var(--red);
  background: #fff1f2;
}

.cart-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.5rem;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 10px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(45, 50, 112, 0.07);
  gap: 1rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cart-item-details {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.cart-item-price {
  font-weight: 700;
  color: var(--navy);
  margin-left: 1rem;
  white-space: nowrap;
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-500);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cart-item-remove:hover {
  color: var(--red);
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.3);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  padding-top: 0.5rem;
  gap: 1rem;
}

#cart-total-value {
  font-size: 1.25rem;
  color: var(--navy);
}

/* Animations */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cart-bubble {
  position: fixed;
  bottom: 8.25rem;
  right: 2rem;
  z-index: 1002;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: white;
  padding: 0.72rem 1.15rem;
  border-radius: 50px;
  box-shadow: 0 16px 34px rgba(45, 50, 112, 0.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.bubble-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bubble-action {
  margin-left: 0.25rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-bubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-bubble:hover {
  transform: scale(1.05) translateY(-5px);
  background: var(--navy-mid);
}

.bubble-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
}

.bubble-icon svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .cart-bubble {
    bottom: 7.75rem;
    right: 50%;
    transform: translateX(50%) translateY(20px);
    width: auto;
    white-space: nowrap;
    padding: 0.7rem 1rem;
  }
  .cart-bubble.active {
    transform: translateX(50%) translateY(0);
  }
  .cart-bubble:hover {
    transform: translateX(50%) scale(1.05) translateY(-5px);
  }
}


/* ---- Contact -------------------------------------------- */
#contacto {
  background:
    radial-gradient(circle at 10% 22%, rgba(34, 211, 238, .1), transparent 28%),
    linear-gradient(180deg, var(--white), #f7f9ff);
}

.contact-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 1.5rem;
  align-items: center;
  margin: 2.25rem 0 2rem;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 103, 168, .14);
  background:
    radial-gradient(circle at 88% 14%, rgba(125, 211, 252, .2), transparent 30%),
    linear-gradient(135deg, #ffffff, #f6f8ff);
  box-shadow: 0 20px 56px rgba(45, 50, 112, .1);
}

.contact-kicker {
  display: inline-flex;
  padding: .36rem .75rem;
  margin-bottom: .85rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-showcase h3 {
  color: var(--gray-900);
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  line-height: 1.08;
  margin-bottom: .85rem;
}

.contact-showcase p {
  max-width: 620px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.contact-quick-actions a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(45, 50, 112, .15);
}

.contact-quick-actions a:nth-child(1) { background: linear-gradient(180deg, #16a34a, #0f8f54); }
.contact-quick-actions a:nth-child(2) { background: linear-gradient(180deg, #7e22ce, #4f46e5); }
.contact-quick-actions a:nth-child(3) { background: linear-gradient(180deg, #2563eb, var(--navy)); }

.contact-quick-actions span {
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-quick-actions strong {
  font-size: .98rem;
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
  padding: 1.15rem;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(45, 50, 112, .07);
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #7e22ce, #2563eb);
  opacity: .7;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), #7e22ce);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.contact-item h4 {
  font-size: .92rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .3rem;
}

.contact-item p,
.contact-item a {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-placeholder {
  margin-top: 0;
  padding: .55rem;
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(45, 50, 112, .08);
  overflow: hidden;
}

.map-placeholder iframe {
  display: block;
  min-height: 250px;
}

/* Form */
.contact-form-wrap {
  position: relative;
  background:
    radial-gradient(circle at 94% 8%, rgba(34, 211, 238, .14), transparent 28%),
    linear-gradient(180deg, var(--white), #fbfbff);
  border: 1px solid rgba(90, 103, 168, .16);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 22px 58px rgba(45, 50, 112, .12);
  overflow: hidden;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #16a34a, #7e22ce, #2563eb);
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: .85rem;
  font-weight: 800;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8125rem 1rem;
  border: 1.5px solid rgba(90, 103, 168, .16);
  border-radius: 14px;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #7e22ce;
  box-shadow: 0 0 0 4px rgba(126, 34, 206, .1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy), #7e22ce);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--navy-mid), #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(90, 103, 168, .28);
}

.btn-submit .btn-icon {
  width: 18px;
  height: 18px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: .9rem;
  font-weight: 500;
}

.form-success svg {
  width: 18px;
  height: 18px;
  stroke: #15803d;
  flex-shrink: 0;
}

/* ---- Footer --------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(125, 211, 252, .16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(196, 181, 253, .2), transparent 30%),
    linear-gradient(135deg, #171735 0%, #242a63 54%, #505da0 100%);
  color: var(--white);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 78px 78px;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.25rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(170px, .8fr) minmax(170px, .75fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
  min-width: 0;
}

.footer-logo {
  margin-bottom: 1.25rem;
  align-items: center;
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: var(--gray-400);
}

.footer-brand-desc {
  max-width: 420px;
  font-size: .94rem;
  color: rgba(255, 255, 255, .74);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-cta {
  display: grid;
  gap: .15rem;
  width: min(100%, 310px);
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06)),
    linear-gradient(135deg, rgba(37, 211, 102, .18), transparent);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  transition: var(--transition);
}

.footer-cta span {
  color: rgba(255, 255, 255, .62);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-cta strong {
  font-size: 1rem;
  line-height: 1.25;
}

.footer-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, .42);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .24);
}

.footer-social {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.whatsapp:hover {
  background: var(--whatsapp);
}

.social-link.facebook:hover {
  background: #1877f2;
}

.social-link.instagram:hover {
  background: #e1306c;
}

.social-link.linkedin:hover {
  background: #0077b5;
}

.footer-links,
.footer-contact {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: .82rem;
  font-weight: 850;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .91rem;
  color: rgba(255, 255, 255, .68);
  transition: var(--transition);
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(125, 211, 252, .75);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, .09);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .15em;
  color: #a5b4fc;
}

.footer-contact a {
  color: rgba(255, 255, 255, .74);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.75rem 0;
  background: rgba(8, 10, 30, .16);
}

.footer-bottom .footer-container {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .58);
}

.footer-disclaimer {
  text-align: right;
}

/* ---- Floating WhatsApp ---------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 64px;
  height: 64px;
  padding: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f3fff8 100%);
  border: 1px solid rgba(37, 211, 102, .32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18), 0 8px 26px rgba(37, 211, 102, .24);
  transition: var(--transition);
  animation: bounceIn .6s cubic-bezier(.175, .885, .32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, .58);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .22), 0 12px 34px rgba(37, 211, 102, .32);
}

.whatsapp-float__text {
  position: absolute;
  right: 76px;
  bottom: 4px;
  display: grid;
  gap: .15rem;
  width: max-content;
  max-width: 280px;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(37, 211, 102, .24);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__text,
.whatsapp-float:focus-visible .whatsapp-float__text {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float__text span {
  color: var(--gray-700);
  font-size: .86rem;
  font-weight: 600;
}

.whatsapp-float__text strong {
  color: var(--navy-dark);
  font-size: .98rem;
  font-weight: 800;
}

.whatsapp-float__icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  background: var(--whatsapp);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .38);
}

.whatsapp-float__icon::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(37, 211, 102, .24);
  border-radius: inherit;
  animation: whatsappPulse 1.9s ease-out infinite;
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: .8;
    transform: scale(.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: .85rem;
    bottom: .85rem;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float__text {
    display: none;
  }

  .whatsapp-float__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* ---- Reveal animations ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s cubic-bezier(.4, 0, .2, 1), transform .45s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- Score Tables ---------------------------------------- */
#escala {
  background:
    linear-gradient(180deg, var(--white), #f7f9ff 48%, var(--white));
}

.score-guide {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin: 2.2rem 0 2rem;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(90, 103, 168, .14);
  background:
    radial-gradient(circle at 92% 8%, rgba(34, 211, 238, .16), transparent 28%),
    linear-gradient(135deg, #ffffff, #f5f7ff);
  box-shadow: 0 22px 60px rgba(45, 50, 112, .1);
  overflow: hidden;
}

.score-guide-kicker {
  display: inline-flex;
  padding: .38rem .75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid rgba(90, 103, 168, .14);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.score-guide h3 {
  max-width: 560px;
  color: var(--gray-900);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.score-guide p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.score-scale-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  align-items: end;
  min-height: 220px;
}

.score-scale-level {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: space-between;
  padding: .9rem .75rem;
  border-radius: 16px;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(45, 50, 112, .16);
}

.score-scale-level span {
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.score-scale-level strong {
  font-size: .92rem;
  line-height: 1.1;
}

.score-scale-level.a1 { min-height: 92px; background: linear-gradient(180deg, #be185d, #9d174d); }
.score-scale-level.a2 { min-height: 112px; background: linear-gradient(180deg, #a21caf, #86198f); }
.score-scale-level.b1 { min-height: 132px; background: linear-gradient(180deg, #7e22ce, #6b21a8); }
.score-scale-level.b2 { min-height: 152px; background: linear-gradient(180deg, #6d28d9, #5b21b6); }
.score-scale-level.c1 { min-height: 174px; background: linear-gradient(180deg, #4f46e5, #3730a3); }
.score-scale-level.c2 { min-height: 198px; background: linear-gradient(180deg, #2563eb, #1e40af); }

.scores-table-container {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, .14);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 56px rgba(45, 50, 112, .1);
  padding: 2.5rem;
  overflow: hidden;
}

.scores-table-container::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #be185d, #a21caf, #7e22ce, #4f46e5, #2563eb);
  z-index: 1;
}


.scores-table-container > * {
  position: relative;
  z-index: 1;
}

.scores-table-container h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.table-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(90, 103, 168, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  position: relative;
  /* Habilita scroll fluido en iOS */
  -webkit-overflow-scrolling: touch;
}

/* Indicador visual de desplazamiento horizontal para móviles (scroll indicator cue) */
@media (max-width: 768px) {
  .table-wrapper::after {
    content: "⟶";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    animation: blinkScrollIndicator 2.5s infinite;
  }
}

@keyframes blinkScrollIndicator {
  0%, 100% { opacity: 0.15; transform: translateY(-50%) translateX(0); }
  50% { opacity: 0.85; transform: translateY(-50%) translateX(4px); }
}

.scores-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  white-space: nowrap;
}

.scores-table th,
.scores-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.scores-table th {
  background: #f6f8ff;
  font-weight: 800;
  color: var(--gray-700);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scores-table th.highlight {
  background: #eaf0ff;
  color: var(--navy);
}

.scores-table tbody tr {
  transition: background .25s ease, transform .25s ease;
}

.scores-table tbody tr:hover {
  background: rgba(90, 103, 168, .04);
}

.scores-table tbody tr:nth-child(1) td:first-child { box-shadow: inset 5px 0 0 #2563eb; }
.scores-table tbody tr:nth-child(2) td:first-child { box-shadow: inset 5px 0 0 #4f46e5; }
.scores-table tbody tr:nth-child(3) td:first-child { box-shadow: inset 5px 0 0 #6d28d9; }
.scores-table tbody tr:nth-child(4) td:first-child { box-shadow: inset 5px 0 0 #7e22ce; }
.scores-table tbody tr:nth-child(5) td:first-child { box-shadow: inset 5px 0 0 #a21caf; }
.scores-table tbody tr:nth-child(6) td:first-child { box-shadow: inset 5px 0 0 #be185d; }
.scores-table tbody tr:nth-child(7) td:first-child { box-shadow: inset 5px 0 0 #e11d48; }
.scores-table tbody tr:nth-child(8) td:first-child { box-shadow: inset 5px 0 0 #dc2626; }
.scores-table tbody tr:nth-child(9) td:first-child { box-shadow: inset 5px 0 0 #ea580c; }
.scores-table tbody tr:nth-child(10) td:first-child { box-shadow: inset 5px 0 0 #d97706; }

.scores-table tbody tr:last-child td {
  border-bottom: none;
}

.scores-table td {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.scores-table td.highlight {
  background: rgba(0, 48, 135, 0.03);
}

.scores-table td.strong {
  font-weight: 700;
  color: var(--navy);
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
}

.level-badge.c2 { background: #dbeafe; color: #1e40af; }
.level-badge.c1 { background: #e0e7ff; color: #3730a3; }
.level-badge.b2 { background: #ede9fe; color: #5b21b6; }
.level-badge.b1 { background: #f3e8ff; color: #6b21a8; }
.level-badge.a2 { background: #fae8ff; color: #86198f; }
.level-badge.a1 { background: #fce7f3; color: #9d174d; }

.score-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.score-note-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(90, 103, 168, .14);
  box-shadow: var(--shadow-sm);
}

.score-note-card span {
  display: inline-flex;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .65rem;
}

.score-note-card strong {
  display: block;
  color: var(--gray-900);
  margin-bottom: .4rem;
}

.score-note-card p {
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ---- Test Overview Cards --------------------------------- */
.exam-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 12%, rgba(125, 211, 252, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.exam-eyebrow {
  display: inline-flex;
  padding: .35rem .7rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.exam-snapshot h3 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.exam-snapshot p {
  max-width: 620px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.04rem;
  line-height: 1.7;
}

.exam-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.5rem;
}

.exam-metric {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.exam-metric strong {
  display: block;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.exam-metric span {
  display: block;
  margin-top: .45rem;
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
  font-weight: 700;
}

.exam-map {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
    radial-gradient(circle at center, rgba(125, 211, 252, .16), transparent 48%);
  border: 1px solid rgba(255, 255, 255, .14);
}

.exam-map::before,
.exam-map::after {
  content: "";
  position: absolute;
  inset: 50% 13%;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}

.exam-map::after {
  transform: rotate(90deg);
}

.exam-map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: var(--white);
  background: rgba(13, 18, 48, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.exam-map-center span {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.exam-map-center strong {
  margin-top: -.8rem;
  font-size: 2rem;
  line-height: 1;
}

.exam-map-item {
  position: absolute;
  z-index: 1;
  width: 150px;
  padding: .95rem;
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.exam-map-item span {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: .74rem;
  font-weight: 800;
  margin-bottom: .35rem;
}

.exam-map-item strong {
  display: block;
  font-size: 1rem;
}

.exam-map-item.reading { top: 1.1rem; left: 1.1rem; }
.exam-map-item.listening { top: 1.1rem; right: 1.1rem; }
.exam-map-item.writing { bottom: 1.1rem; left: 1.1rem; }
.exam-map-item.speaking { bottom: 1.1rem; right: 1.1rem; }

.overview-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#resumen-examen .overview-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.overview-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

#resumen-examen .overview-card {
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: 22px;
}

#resumen-examen .overview-card-info {
  padding: .25rem .25rem 0;
}

#resumen-examen .overview-card-info h4 {
  font-size: 1.35rem;
}

#resumen-examen .overview-card-tasks {
  margin-top: .35rem;
}

#resumen-examen .overview-card-tasks li {
  min-height: 68px;
  border-radius: 14px;
}

.overview-card-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.overview-card-info p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.4;
}

.overview-card-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overview-card-tasks li {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.task-name {
  font-weight: 700;
  color: var(--gray-900);
  flex: 1;
}

.task-stats {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---- Custom Dark Backgrounds for Overview Cards in Navy Section ---- */
.section-navy .overview-card {
  position: relative;
  overflow: hidden;
  background: rgba(25, 28, 65, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section-navy .overview-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.section-navy .overview-card:hover::before {
  opacity: 1;
}

/* Make sure content is above the background */
.section-navy .overview-card > * {
  position: relative;
  z-index: 1;
}

/* Card 1: Lectura - Blue/Purple Academic vibe */
.section-navy .overview-card:nth-child(1)::before {
  background: 
    linear-gradient(rgba(18, 22, 55, .38), rgba(18, 22, 55, .52)),
    url('images/Reading-2026.webp');
  background-size: cover;
  background-position: center;
}

/* Card 2: Escucha - Cyan/Blue Soundwave vibe */
.section-navy .overview-card:nth-child(2)::before {
  background: 
    linear-gradient(rgba(18, 22, 55, .38), rgba(18, 22, 55, .52)),
    url('images/Listening-2026.webp');
  background-size: cover;
  background-position: center;
}

/* Card 3: Escritura - Purple/Pink Creativity vibe */
.section-navy .overview-card:nth-child(3)::before {
  background: 
    linear-gradient(rgba(18, 22, 55, .38), rgba(18, 22, 55, .52)),
    url('images/Writing-2026.webp');
  background-size: cover;
  background-position: center;
}

/* Card 4: Habla - Amber/Orange Voice vibe */
.section-navy .overview-card:nth-child(4)::before {
  background: 
    linear-gradient(rgba(18, 22, 55, .38), rgba(18, 22, 55, .52)),
    url('images/Speaking-2026.webp');
  background-size: cover;
  background-position: center;
}

/* Adjust the inner tasks list to look better on dark background */
.section-navy .overview-card-info h4 {
  color: var(--white);
}

.section-navy .overview-card-info p {
  color: rgba(255, 255, 255, 0.7);
}

.section-navy .overview-card-tasks li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-navy .overview-card-tasks li .task-name {
  color: var(--white);
}

.section-navy .overview-card-tasks li .task-stats {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .score-guide {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .score-scale-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: auto;
  }

  .score-scale-level,
  .score-scale-level.a1,
  .score-scale-level.a2,
  .score-scale-level.b1,
  .score-scale-level.b2,
  .score-scale-level.c1,
  .score-scale-level.c2 {
    min-height: 104px;
  }

  .scores-table-container {
    padding: 1.25rem;
  }

  .score-note-grid {
    grid-template-columns: 1fr;
  }

  .exam-snapshot {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    margin-top: 2rem;
  }
  .exam-metrics {
    grid-template-columns: 1fr;
  }
  .exam-map {
    min-height: 430px;
  }
  .exam-map::before,
  .exam-map::after {
    display: none;
  }
  .exam-map-center {
    top: 50%;
  }
  .exam-map-item {
    width: calc(50% - 1.5rem);
  }
  #resumen-examen .overview-card-list {
    grid-template-columns: 1fr;
  }
  .overview-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .overview-card-tasks li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .task-stats {
    text-align: left;
  }
}

/* ---- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    min-height: 380px;
  }

  .about-photo-card,
  .about-photo-card img {
    min-height: 340px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-bottom .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Navbar mobile */
  .navbar {
    height: auto;
    min-height: 64px;
  }

  .nav-container {
    height: auto;
    min-height: 64px;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .nav-logo {
    gap: 0.4rem;
    flex-shrink: 1;
    min-width: 0;
    align-items: center;
    overflow: hidden;
  }

  .nav-logo .logo-img {
    height: 28px !important;
    width: auto !important;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
  }

  .nav-logo .quintill-logo {
    height: 28px !important;
    width: auto !important;
    max-width: 90px;
    flex-shrink: 1;
    object-fit: contain;
  }

  .nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav-contact-link {
    display: none;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: .75rem 1rem;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .btn-whatsapp span {
    display: none;
  }

  .btn-whatsapp {
    gap: 0;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 96px 0 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: .98rem;
    margin-bottom: 1.2rem;
  }

  .hero-trust-row {
    justify-content: center;
    margin-bottom: 1.45rem;
    gap: .5rem;
  }

  .hero-trust-row span {
    font-size: .74rem;
    padding: .38rem .62rem;
  }

  .hero-image-wrapper {
    width: 100%;
    margin-top: 0;
  }

  .hero-visual {
    min-height: 340px;
    width: 100%;
    align-items: flex-end;
    margin-top: -3.8rem;
  }

  .hero-visual::before {
    left: 4%;
    right: 4%;
    bottom: 4%;
    height: 72%;
    border-radius: 22px;
  }

  .hero-img {
    width: 112%;
    transform: scale(1);
    max-height: 340px;
  }
.hero-floating-card {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    display: none;
  }

  .hero-scroll-cue {
    display: none;
  }

  .stat-divider {
    height: 1px;
    width: 100%;
  }

  /* Grids */
  .why-grid,
  .benefits-grid,
  .pricing-grid,
  .services-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .benefits-showcase {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .benefits-showcase-visual {
    min-height: 260px;
  }

  .benefits-pill-row span {
    flex: 1 1 calc(50% - .65rem);
    justify-content: center;
  }

  .pricing-showcase {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .pricing-showcase-steps {
    grid-template-columns: 1fr;
  }

  .pricing-step {
    min-height: 96px;
  }

  .contact-showcase {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .contact-quick-actions {
    grid-template-columns: 1fr;
  }

  .contact-quick-actions a {
    min-height: 92px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .total-score-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 1.125rem;
  }

  .pricing-card {
    font-size: .95rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .about-proof-strip {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: auto;
  }

  .about-visual::before {
    inset: 12% 4% 8%;
  }

  .about-photo-card,
  .about-photo-card img {
    min-height: 280px;
  }
}

/* ---- TPO Feature Responsive ----------------------------- */
@media (max-width: 1024px) {
  .service-highlights,
  .service-flow {
    grid-template-columns: 1fr;
  }

  .tpo-feature {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .tpo-feature {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .tpo-feature .section-title {
    text-align: center !important;
  }
  .tpo-kicker {
    align-self: center;
  }
  .tpo-list {
    justify-items: center;
  }
  .tpo-list li {
    text-align: left;
  }
  .tpo-actions {
    flex-direction: column;
  }
  .tpo-actions a {
    width: 100%;
  }
}

/* ---- Exam Overview (Resumen) on Navy -------------------- */
.section-navy .overview-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}

.section-navy .overview-card h4 {
  color: var(--white);
}

.section-navy .overview-card-info p {
  color: rgba(255, 255, 255, .7);
}

.section-navy .overview-card-tasks li {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .1);
}

.section-navy .task-name {
  color: var(--white);
}

.section-navy .task-stats {
  color: rgba(255, 255, 255, .4);
}

.section-navy .overview-card-tasks li:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
}

.section-navy .total-score-banner {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
}

.section-navy .total-score-info h3 {
  color: var(--white);
}

.section-navy .total-score-info p {
  color: rgba(255, 255, 255, .7);
}

/* Light academic treatment for the exam overview section */
#resumen-examen {
  color: #1e2855;
  background:
    radial-gradient(circle at 14% 12%, rgba(125, 211, 252, .2), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(196, 181, 253, .22), transparent 30%),
    linear-gradient(180deg, #f4f7fc 0%, #eaf0f8 54%, #f7f9fc 100%);
}

#resumen-examen::before {
  background:
    linear-gradient(90deg, rgba(45, 50, 112, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 50, 112, .05) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: .62;
}

#resumen-examen .section-header .section-desc {
  color: #526078;
}

#resumen-examen .exam-snapshot {
  background:
    radial-gradient(circle at 88% 12%, rgba(125, 211, 252, .18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(245, 247, 255, .9));
  border-color: rgba(90, 103, 168, .18);
  box-shadow: 0 24px 70px rgba(45, 50, 112, .13);
}

#resumen-examen .exam-eyebrow {
  color: #354078;
  background: rgba(90, 103, 168, .1);
  border-color: rgba(90, 103, 168, .16);
}

#resumen-examen .exam-snapshot h3,
#resumen-examen .exam-metric strong {
  color: #1e2855;
}

#resumen-examen .exam-snapshot p,
#resumen-examen .exam-metric span {
  color: #526078;
}

#resumen-examen .exam-metric {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(90, 103, 168, .17);
  box-shadow: 0 10px 24px rgba(45, 50, 112, .07);
}

#resumen-examen .exam-map {
  background:
    linear-gradient(135deg, rgba(90, 103, 168, .1), rgba(125, 211, 252, .09)),
    rgba(255, 255, 255, .72);
  border-color: rgba(90, 103, 168, .18);
}

#resumen-examen .exam-map::before,
#resumen-examen .exam-map::after {
  background: rgba(45, 50, 112, .16);
}

#resumen-examen .exam-map-item {
  color: #1e2855;
  background: rgba(255, 255, 255, .76);
  border-color: rgba(90, 103, 168, .18);
  box-shadow: 0 14px 34px rgba(45, 50, 112, .1);
}

#resumen-examen .exam-map-item span {
  color: #6b7590;
}

#resumen-examen .overview-card {
  background: #151a3d;
  border-color: rgba(90, 103, 168, .3);
  box-shadow: 0 22px 52px rgba(30, 40, 85, .2);
  backdrop-filter: none;
}

#resumen-examen .overview-card::before,
#resumen-examen .overview-card:hover::before {
  opacity: 1;
}

#resumen-examen .total-score-banner {
  background: rgba(255, 255, 255, .86);
  border-color: rgba(90, 103, 168, .18);
  box-shadow: 0 18px 44px rgba(45, 50, 112, .1);
}

#resumen-examen .total-score-info h3,
#resumen-examen .total-score-value {
  color: #1e2855;
}

#resumen-examen .total-score-info p {
  color: #526078;
}

#resumen-examen > .container > p[style] {
  color: #6b7590 !important;
}

/* ---- Legal Page Styles ----------------------------------- */
.legal-content {
  padding: 120px 0 100px;
  background: var(--gray-50);
  min-height: 100vh;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
}

.legal-card h1 {
  color: var(--navy-dark);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 800;
}

.legal-card h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.legal-card p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ---- Legal Page Styles ----------------------------------- */
.legal-content {
  padding: 120px 0 100px;
  background: var(--gray-50);
  min-height: 100vh;
  min-height: 100svh;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
}

.legal-card h1 {
  color: var(--navy-dark);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 800;
}

.legal-card h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.legal-card p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.back-home:hover {
  transform: translateX(-5px);
}

/* ============================================================
   MOBILE OPTIMIZATION (Media Queries Adicionales)
   ============================================================ */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling without breaking root compositor scrolling in Chrome Mobile */
  html {
    overflow-x: clip;
  }
  body {
    overflow-x: clip;
    width: 100%;
  }

  /* Adjust scroll-padding for the smaller mobile navbar (64px) */
  html {
    scroll-padding-top: 68px;
  }

  /* Hero compensates for smaller navbar height */
  .hero {
    padding-top: 80px !important;
  }

  /* Adjust general spacing for smaller screens */
  .section {
    padding: 60px 0 !important;
  }
  .container {
    padding: 0 1.25rem !important;
  }

  /* Scale down large headings */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }

  /* Force grids to single column on mobile if they aren't already */
  .about-cards,
  .service-highlights,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Ensure all images scale properly and don't overflow */
  img, svg, video, iframe {
    max-width: 100% !important;
  }
  /* Exclude logo images from height:auto override (they use explicit heights) */
  img:not(.logo-img), svg, video, iframe {
    height: auto !important;
  }

  /* Adjust hero visual constraints */
  .hero-visual {
    margin-top: 2rem !important;
  }
  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Fix absolute positioned floating cards on mobile */
  .hero-floating-card {
    position: relative !important;
    inset: auto !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    transform: none !important;
  }

  /* OPTIMIZE GPU RENDERING (Prevent iOS/Android Layer Exhaustion) */
  .navbar,
  .hero-floating-card,
  .hero-stats,
  .exam-snapshot,
  .scores-table-container,
  .pricing-card,
  .contact-showcase,
  .overview-card,
  .section-navy .overview-card,
  .glass-panel,
  .tpo-image-badge,
  .tpo-content,
  .benefits-visual-card,
  .cart-summary,
  .hero-card-icon,
  .tpo-modal-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  /* En móviles, el contenido aparece inmediatamente sin retraso ni pantallas en blanco */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  /* Fix mobile menu deploying incomplete and layout breaking */
  .nav-menu {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 64px) !important;
    margin: 0 !important;
    padding: 2rem 1.5rem 100px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important; /* TRAP SCROLL TO FIX WHITE SCREEN */
    -webkit-overflow-scrolling: touch !important; /* Smooth scroll on iOS */
    z-index: 1001 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: var(--white) !important;
  }
}

/* ============================================================
   CONSOLIDATED SECTION & MODAL STYLES (Extracted from HTML)
   ============================================================ */

/* --- Australia Showcase --- */
.pricing-showcase-australia {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 4rem auto 2.25rem auto;
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(1, 33, 105, 0.15);
  background:
    radial-gradient(circle at 94% 12%, rgba(228, 0, 43, 0.08), transparent 30%),
    linear-gradient(135deg, #ffffff, #f0f4f8);
  box-shadow: 0 18px 52px rgba(1, 33, 105, 0.08);
  max-width: 1050px;
}

.pricing-showcase-australia h3 {
  color: #012169;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  margin-bottom: .75rem;
}

.pricing-showcase-australia p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .pricing-showcase-australia {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

/* --- Pricing 3-Grid --- */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 1050px;
  margin: 0 auto 2.25rem auto;
}

@media (max-width: 1100px) {
  .pricing-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Custom Backgrounds for Australia Products */
.pricing-card.bg-mock .pricing-header::before {
  background-image: url('images/bg_mock.webp') !important;
}

.pricing-card.bg-ebook .pricing-header::before {
  background-image: url('images/bg_ebook.webp') !important;
}

.pricing-card.bg-course .pricing-header::before {
  background-image: url('images/bg_course.webp') !important;
}

.pricing-card.bg-official .pricing-header::before {
  background-image: url('images/bg_official.webp') !important;
}

/* Guide Button Styling */
.btn-aus-guide {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #012169;
  border: 1.5px solid rgba(1, 33, 105, 0.22);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(1, 33, 105, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-aus-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(228, 0, 43, 0.1);
  color: #E4002B;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 0, 43, 0.25);
  position: relative;
}

.btn-aus-pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E4002B;
}

.btn-aus-pulse-dot::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #E4002B;
  opacity: 0.75;
  animation: aus-pulse-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes aus-pulse-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.btn-aus-guide-text {
  color: #012169;
  font-weight: 700;
  transition: color 0.25s ease;
}

.btn-aus-guide-arrow {
  color: #012169;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.btn-aus-guide:hover {
  background: #ffffff;
  border-color: #E4002B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 0, 43, 0.2), 0 2px 6px rgba(1, 33, 105, 0.08);
}

.btn-aus-guide:hover .btn-aus-guide-text {
  color: #E4002B;
}

.btn-aus-guide:hover .btn-aus-guide-arrow {
  color: #E4002B;
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .btn-aus-guide {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    gap: 0.45rem;
    flex-wrap: wrap;
  }
}

/* --- TPO Modals & Overlays --- */
.tpo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tpo-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.tpo-modal-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.tpo-modal-overlay.active .tpo-modal-content {
  transform: translateY(0);
}

.tpo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: color 0.2s;
  line-height: 1;
}

.tpo-modal-close:hover {
  color: var(--navy);
}

.tpo-modal-content h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.tpo-modal-content p,
.tpo-modal-content ul {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tpo-modal-content ul {
  padding-left: 1.5rem;
}

.tpo-modal-content li {
  margin-bottom: 0.5rem;
}

.tpo-modal-content .highlight {
  font-weight: 700;
  color: var(--navy);
}

/* --- Australia Guide Modal --- */
.aus-guide-modal-content {
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.2rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(1, 33, 105, 0.25);
}

.aus-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(1, 33, 105, 0.08);
  color: #012169;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.aus-guide-badge img {
  display: block;
  width: auto;
  height: 1.1em;
  min-width: 0;
  border-radius: 2px;
}

.aus-guide-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #012169;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.aus-guide-subtitle {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.aus-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.aus-step-card {
  display: flex;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.2rem;
  transition: all 0.2s ease;
}

.aus-step-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.aus-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #012169, #00123D);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.aus-step-body {
  flex: 1;
}

.aus-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.aus-step-body p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.aus-step-body p:last-child {
  margin-bottom: 0;
}

.aus-step-img-wrap {
  margin-top: 0.6rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  display: inline-block;
  max-width: 100%;
}

.aus-step-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.aus-guide-alert {
  display: flex;
  gap: 0.85rem;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.5;
}

.aus-alert-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.aus-guide-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-aus-close {
  background: #012169;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-aus-close:hover {
  background: #00123D;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .aus-guide-modal-content {
    padding: 1.5rem 1.1rem;
  }

  .aus-step-card {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* ============================================================
   CRO: Market Switcher MX / Australia
   ============================================================ */
.market-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 2.5rem auto 2rem;
  padding: 0.4rem;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(90, 103, 168, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(45, 50, 112, 0.1);
}

.market-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.market-tab .tab-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.market-tab .tab-flag img {
  display: block;
  width: auto;
  height: 1.15em;
  min-width: 0;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(45, 50, 112, 0.35);
}

.market-tab:hover {
  color: var(--navy);
}

.market-tab.active {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 50, 112, 0.28);
}

.market-panel {
  display: none;
}

.market-panel.active {
  display: block;
  animation: marketFadeIn 0.35s ease;
}

@keyframes marketFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .market-switcher {
    flex-direction: column;
    border-radius: 18px;
    max-width: 420px;
  }
  .market-tab {
    border-radius: 12px;
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   CRO: 3 Rutas de Preparación (México)
   ============================================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.5rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 103, 168, 0.18);
  background: linear-gradient(180deg, #ffffff, #fbfbff);
  box-shadow: 0 12px 34px rgba(45, 50, 112, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.route-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 103, 168, 0.42);
  box-shadow: 0 22px 52px rgba(45, 50, 112, 0.16);
}

/* Imagen de fondo del producto (igual que las cards anteriores) */
.route-card::before {
  content: "";
  position: absolute;
  inset: 7px 0 62% 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.route-card:hover::before {
  opacity: 0.26;
}

/* Barra superior coloreada (igual que las cards anteriores) */
.route-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  z-index: 2;
  background: linear-gradient(90deg, #be185d, #7e22ce, #2563eb);
  border-radius: 22px 22px 0 0;
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card:nth-child(1)::before { background-image: url('images/bg_mock.webp'); }
.route-card:nth-child(2)::before { background-image: url('images/bg_course.webp'); }
.route-card:nth-child(3)::before { background-image: url('images/bg_official.webp'); }

.route-card:nth-child(1)::after { background: linear-gradient(90deg, #06b6d4, #2563eb); }
.route-card:nth-child(2)::after { background: linear-gradient(90deg, #7e22ce, #4f46e5); }
.route-card:nth-child(3)::after { background: linear-gradient(90deg, #2563eb, var(--navy)); }

.route-number {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(90, 103, 168, 0.1);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.route-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
  line-height: 1.15;
}

.route-subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.route-benefits {
  flex: 1;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.route-benefits li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.route-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.route-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.4rem 0 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(238, 240, 250, 0.72));
  border: 1px solid rgba(90, 103, 168, 0.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.route-price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
  letter-spacing: 0;
}

.route-price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
}

.route-card .quantity-selector {
  margin-bottom: 1rem;
}

/* Ruta destacada (MÁS POPULAR) */
.route-featured {
  border: 2px solid rgba(190, 24, 93, 0.5);
  background:
    radial-gradient(circle at 95% 4%, rgba(190, 24, 93, 0.14), transparent 34%),
    radial-gradient(circle at 6% 8%, rgba(245, 158, 11, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff, #fff7fb);
  box-shadow: 0 18px 50px rgba(190, 24, 93, 0.14);
}

.route-featured:hover {
  border-color: rgba(190, 24, 93, 0.9);
  box-shadow: 0 26px 60px rgba(190, 24, 93, 0.2);
}

.route-featured .route-price {
  border-color: rgba(190, 24, 93, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 244, 0.6));
}

.route-popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
  white-space: nowrap;
  z-index: 3;
}

/* Badge "Examen Oficial" (Ruta 3) */
.route-exam-badge {
  position: absolute;
  top: -15px;
  right: 1.1rem;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45);
  white-space: nowrap;
  z-index: 3;
}

@media (max-width: 1100px) {
  .routes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .routes-grid {
    grid-template-columns: 1fr;
  }
}

/* Materiales individuales secundarios */
.secondary-materials {
  margin: 1.9rem auto 0;
  max-width: 660px;
}

.secondary-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 1.05rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(45, 50, 112, 0.28);
  list-style: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secondary-toggle::-webkit-details-marker {
  display: none;
}

.secondary-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(45, 50, 112, 0.34);
}

.secondary-toggle svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease, color 0.3s ease;
}

.secondary-materials[open] .secondary-toggle svg {
  transform: rotate(180deg);
  color: var(--blue-accent);
}

.secondary-content {
  padding: 1.25rem 0 0;
  animation: marketFadeIn 0.3s ease;
}

.secondary-card {
  position: relative;
  border: 1px solid rgba(90, 103, 168, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  box-shadow: 0 10px 26px rgba(45, 50, 112, 0.08);
  overflow: hidden;
}

.secondary-card::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #be185d, #7e22ce, #2563eb);
}

.secondary-card::after {
  content: '';
  position: absolute;
  inset: 6px 0 0 0;
  height: 42%;
  background-image: url('images/bg_ebook.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.secondary-card-inner {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.secondary-card-inner h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.secondary-card-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.secondary-benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  text-align: left;
  width: 100%;
  max-width: 520px;
}

.secondary-benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--gray-700);
}

.secondary-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.secondary-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.secondary-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
}

@media (max-width: 600px) {
  .secondary-benefits {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Secondary Grid Tiles (materiales individuales)
   ============================================================ */
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.secondary-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.4rem 1.5rem;
  border: 1px solid rgba(90, 103, 168, 0.18);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfbff);
  box-shadow: 0 12px 34px rgba(45, 50, 112, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.secondary-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 103, 168, 0.42);
  box-shadow: 0 22px 52px rgba(45, 50, 112, 0.16);
}

/* Imagen de fondo del producto (igual que las rutas y cards originales) */
.secondary-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.secondary-tile:hover::before {
  opacity: 0.26;
}

/* Barra superior coloreada (igual que las cards originales) */
.secondary-tile::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  z-index: 2;
  background: linear-gradient(90deg, #be185d, #7e22ce, #2563eb);
}

.secondary-tile > * {
  position: relative;
  z-index: 1;
}

/* Mapeo de imágenes y barras por producto */
.secondary-grid > .secondary-tile:nth-child(1)::before {
  background-image: url('images/bg_course.webp');
}
.secondary-grid > .secondary-tile:nth-child(2)::before,
.secondary-grid > .secondary-tile:nth-child(3)::before,
.secondary-grid > .secondary-tile:nth-child(4)::before {
  background-image: url('images/bg_mock.webp');
}
.secondary-grid > .secondary-tile:nth-child(5)::before,
.secondary-grid > .secondary-tile:nth-child(6)::before,
.secondary-grid > .secondary-tile:nth-child(7)::before,
.secondary-grid > .secondary-tile:nth-child(8)::before {
  background-image: url('images/bg_ebook.webp');
}

.secondary-grid > .secondary-tile:nth-child(1)::after {
  background: linear-gradient(90deg, #7e22ce, #4f46e5);
}
.secondary-grid > .secondary-tile:nth-child(2)::after,
.secondary-grid > .secondary-tile:nth-child(3)::after,
.secondary-grid > .secondary-tile:nth-child(4)::after {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
}
.secondary-grid > .secondary-tile:nth-child(5)::after,
.secondary-grid > .secondary-tile:nth-child(6)::after,
.secondary-grid > .secondary-tile:nth-child(7)::after,
.secondary-grid > .secondary-tile:nth-child(8)::after {
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
}

.secondary-tile h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 0.3rem;
  line-height: 1.25;
}

.tile-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
}

.tile-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0.35rem 0 1rem;
}

.tile-price span {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 600;
}

.secondary-tile .quantity-selector {
  margin-bottom: 0.9rem;
}

.secondary-tile .pricing-actions {
  flex-direction: column;
  gap: 0.45rem;
}

.secondary-tile .pricing-actions .btn-pricing {
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
}

@media (max-width: 1100px) {
  .secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CRO: Acordeón MCER (Progressive Disclosure)
   ============================================================ */
.mcer-accordion {
  margin-top: 2rem;
  border-top: 1px solid rgba(90, 103, 168, 0.18);
  padding-top: 1rem;
}

.mcer-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  background: rgba(90, 103, 168, 0.06);
  border: 1px solid rgba(90, 103, 168, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mcer-accordion-toggle:hover {
  background: rgba(90, 103, 168, 0.12);
  border-color: rgba(90, 103, 168, 0.4);
}

.mcer-accordion-toggle svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

.mcer-accordion.open .mcer-accordion-toggle svg {
  transform: rotate(180deg);
}

.mcer-panels {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.5s cubic-bezier(.4, 0, .2, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.5s;
}

.mcer-accordion.open .mcer-panels {
  max-height: 1400px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mcer-accordion.open .mcer-panels > .scores-table-container:first-child {
  margin-top: 1.5rem;
}

/* ============================================================
   CRO: Trust Signals en Carrito
   ============================================================ */
.cart-trust-signals {
  margin: 0.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(45, 50, 112, 0.12);
}

.trust-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.showcase-payments {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(90, 103, 168, 0.14);
}

.showcase-payments .trust-badges {
  gap: 0.45rem;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 36px;
  padding: 0;
  border-radius: 7px;
  border: 1px solid rgba(45, 50, 112, 0.16);
  background: #fff;
  overflow: hidden;
}

.pay-badge img {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 42px;
  max-height: 24px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .pay-badge {
    width: 46px;
    height: 28px;
    border-radius: 6px;
  }

  .pay-badge img {
    max-width: 30px;
    max-height: 17px;
  }

  .trust-badges {
    gap: 0.35rem;
  }
}

.trust-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-ssl,
.trust-authority {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
}

.trust-ssl svg,
.trust-authority svg {
  flex-shrink: 0;
  color: var(--green);
}

.cart-currency-note {
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  background: rgba(90, 103, 168, 0.07);
  border: 1px solid rgba(90, 103, 168, 0.16);
  border-radius: 8px;
}

