:root {
  --bg: #041329;
  --panel: rgba(5, 24, 52, 0.95);
  --panel-2: rgba(7, 33, 70, 0.92);
  --line: rgba(85, 157, 255, 0.55);
  --line-soft: rgba(85, 157, 255, 0.28);
  --text: #f4f8ff;
  --muted: #a9c0e8;
  --blue-1: #2e83ff;
  --blue-2: #69b5ff;
  --blue-3: #103c7e;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(58, 142, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #06162e 0%, #031021 100%);
  color: var(--text);
}

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

.page-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 14px;
}

.card-outline {
  background: linear-gradient(180deg, rgba(9, 30, 63, 0.94), rgba(4, 19, 41, 0.97));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(114, 175, 255, 0.08), 0 0 24px rgba(41, 131, 255, 0.12);
  border-radius: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 108px;
  padding: 14px 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(124, 184, 255, 0.16);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(11, 26, 51, 0.99), rgba(13, 29, 54, 0.99));
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 0 0 auto;
}
.brand-mini {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(78, 154, 255, 0.2));
}
.brand-texts { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-size: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f3f7ff;
  line-height: 1;
  white-space: nowrap;
}
.brand-name::before {
  content: 'Nova';
  font-size: 1.1rem;
  color: #f3f7ff;
}
.brand-name span {
  color: #53a6ff;
  font-size: 1.1rem;
}
.brand-tag { display: none; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-left: auto;
  padding-left: 22px;
}
.main-nav a {
  font-size: 0.99rem;
  font-weight: 500;
  color: rgba(236, 242, 255, 0.9);
  letter-spacing: -0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.main-nav a:hover {
  color: #ffffff;
  opacity: 1;
}
.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  min-width: 246px;
  border-radius: 16px;
  border: 1px solid rgba(98, 164, 255, 0.42);
  background: linear-gradient(180deg, #4591ff 0%, #2d72e7 100%);
  box-shadow: 0 14px 36px rgba(42, 111, 231, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-copy, .hero-side { min-width: 0; }
.hero-copy {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 33, 71, 0.72), rgba(5, 21, 44, 0.3));
}
.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #d5e7ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4.3vw, 4.5rem);
  line-height: 0.96;
  margin: 0 0 14px;
  letter-spacing: -0.05em;
}
.hero p {
  color: var(--muted);
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, #5aa9ff 0%, #2c73ea 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(40, 115, 234, 0.28);
}
.btn-secondary {
  background: rgba(10, 30, 61, 0.75);
  border-color: rgba(124, 184, 255, 0.42);
}
.hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-size: 1.35rem; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.hero-side {
  display: grid;
  gap: 14px;
}
.logo-panel {
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 14px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(102, 171, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(10, 31, 62, 0.98), rgba(6, 22, 45, 0.98));
}
.hero-logo {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.info-card {
  padding: 18px;
  min-height: 180px;
}
.info-card h3, .mode-card h3, .course-card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.info-card p, .mode-card p, .course-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.icon-circle, .mode-icon, .course-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(138, 192, 255, 0.45);
  background: linear-gradient(180deg, rgba(76, 145, 255, 0.12), rgba(14, 57, 124, 0.1));
  color: #dcebff;
  margin-bottom: 14px;
}

.learning, .courses-section { margin-bottom: 18px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}
.section-link {
  color: #9dcbff;
  font-size: 0.95rem;
  font-weight: 700;
}

.learning-grid, .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mode-card, .course-card { padding: 18px; }
.inline-link {
  display: inline-block;
  margin-top: 14px;
  color: #9dcbff;
  font-weight: 700;
}
.compact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 18px;
}
.feature-item {
  padding: 18px;
  border-right: 1px solid var(--line-soft);
}
.feature-item:last-child { border-right: 0; }
.feature-item strong { display: block; margin-bottom: 8px; }
.feature-item span { color: var(--muted); line-height: 1.45; }

.course-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.course-card.featured {
  background: linear-gradient(180deg, rgba(10, 37, 77, 1), rgba(6, 24, 49, 0.98));
}
.pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  font-size: 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 184, 255, 0.42);
  color: #d7eaff;
  background: rgba(27, 97, 191, 0.28);
  font-weight: 800;
}
.pill-alt {
  background: rgba(11, 58, 118, 0.4);
}
.course-meta {
  margin-top: auto;
  padding-top: 16px;
  color: #7fb0ef;
  font-size: 0.92rem;
}
.course-btn {
  margin-top: 14px;
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid rgba(124, 184, 255, 0.42);
  background: rgba(10, 30, 61, 0.75);
}

.cta-band {
  margin: 10px 0 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 2.15rem); }
.cta-band p { margin: 0; color: var(--muted); max-width: 720px; }

.footer {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; max-width: 440px; }
.footer-logo { width: 74px; height: 74px; object-fit: contain; }
.footer-brand p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.footer-cols { display: flex; gap: 40px; }
.footer-cols h4 { margin: 0 0 10px; }
.footer-cols a { display: block; margin: 7px 0; color: var(--muted); }

@media (max-width: 980px) {
  .hero,
  .learning-grid,
  .courses-grid,
  .compact-strip,
  .footer,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero { gap: 14px; }
  .logo-panel { min-height: 300px; }
  .hero-logo { min-height: 270px; object-position: center top; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer { gap: 18px; }
  .footer-cols { gap: 22px; }
}

@media (max-width: 720px) {
  .page-shell { padding: 10px; }
  .topbar {
    padding: 14px 16px;
    gap: 14px;
    min-height: auto;
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 4px;
    margin-left: 0;
  }
  .main-nav a { font-size: 0.92rem; white-space: nowrap; }
  .brand-mini { width: 58px; height: 58px; }
  .logo-panel { min-height: 250px; padding: 10px; }
  .hero-logo { min-height: 230px; object-position: center top; }
  .brand-name::before,
  .brand-name span { font-size: 0.9rem; }
  .top-cta {
    min-height: 46px;
    min-width: auto;
    padding: 0 16px;
    font-size: 0.84rem;
    border-radius: 13px;
  }
  .hero-copy { padding: 18px; }
  .hero h1 { font-size: 2.35rem; }
  .hero p { font-size: 0.94rem; }
  .logo-panel { min-height: 210px; }
  .hero-logo { max-height: 230px; }
  .info-grid,
  .learning-grid,
  .courses-grid,
  .compact-strip,
  .footer,
  .cta-band {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-stats { gap: 16px; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .feature-item:last-child { border-bottom: 0; }
  .footer-brand { align-items: flex-start; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}


.contact-panel {
  margin: 22px 0 18px;
  padding: 42px 44px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(circle at 72% 50%, rgba(87, 150, 255, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(10, 34, 72, 0.99), rgba(20, 47, 89, 0.98));
}

.contact-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 720px;
}

.contact-copy p {
  margin: 0;
  max-width: 760px;
  color: #d4e5ff;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-eyebrow {
  display: inline-block;
  color: #2f85ff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.contact-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 335px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  box-shadow: 0 18px 36px rgba(14, 33, 66, 0.28);
}

.contact-btn-whatsapp {
  background: linear-gradient(180deg, #31d25f 0%, #25c756 100%);
  color: #ffffff;
}

.contact-btn-phone {
  background: linear-gradient(180deg, #4692ff 0%, #2d72e7 100%);
  color: #ffffff;
}

@media (max-width: 980px) {
  .contact-panel {
    grid-template-columns: 1fr;
    padding: 34px 28px;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .contact-panel {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .contact-copy h2 {
    font-size: 2.2rem;
    max-width: none;
  }
  .contact-btn {
    min-width: 100%;
    width: 100%;
    padding: 0 18px;
    justify-content: center;
  }
  .contact-actions {
    width: 100%;
  }
}


/* v6 harmony adjustment after removing learning section */
.hero {
  margin-bottom: 26px;
}


/* v7 contact refinement */
.contact-panel {
  margin: 18px 0 18px;
  padding: 32px 36px;
  border-radius: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px);
  gap: 28px;
}

.contact-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3vw, 3.5rem);
  line-height: 0.98;
  max-width: 640px;
}

.contact-copy p {
  max-width: 680px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-actions {
  gap: 14px;
  align-self: center;
}

.contact-btn {
  min-height: 52px;
  min-width: 100%;
  width: 100%;
  padding: 0 18px;
  border-radius: 15px;
  font-size: 0.95rem;
  gap: 12px;
}

.wa-icon,
.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 22px;
}

.contact-btn-whatsapp {
  background: linear-gradient(180deg, #31d25f 0%, #25c756 100%);
}

@media (max-width: 980px) {
  .contact-panel {
    padding: 26px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-copy h2 {
    font-size: clamp(1.85rem, 6vw, 2.8rem);
    max-width: none;
  }
}

@media (max-width: 720px) {
  .contact-panel {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .contact-eyebrow {
    font-size: 0.9rem;
  }

  .contact-copy h2 {
    margin: 6px 0 10px;
    font-size: 2rem;
    line-height: 1.02;
  }

  .contact-copy p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .contact-btn {
    min-height: 50px;
    font-size: 0.94rem;
    padding: 0 16px;
  }
}


/* v8 course cards with image without increasing card height */
.course-card {
  min-height: 348px;
  padding: 14px;
  overflow: hidden;
}

.course-media {
  position: relative;
  height: 118px;
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 184, 255, 0.2);
  background: linear-gradient(180deg, rgba(12, 35, 71, 0.95), rgba(7, 24, 49, 0.98));
}

.course-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.course-content {
  display: flex;
  flex-direction: column;
  min-height: calc(348px - 118px - 28px);
}

.course-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card p {
  font-size: 0.95rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.course-btn {
  margin-top: 12px;
}

@media (max-width: 720px) {
  .course-card {
    min-height: 330px;
    padding: 12px;
  }

  .course-media {
    height: 110px;
    margin-bottom: 12px;
  }

  .course-content {
    min-height: calc(330px - 110px - 24px);
  }

  .course-card h3 {
    font-size: 1rem;
  }

  .course-card p {
    font-size: 0.93rem;
  }
}


/* v9 tighter course cards: keep image area, reduce text block height */
.course-card {
  min-height: 310px;
}

.course-content {
  min-height: calc(310px - 118px - 28px);
}

.course-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.18;
}

.course-card p {
  font-size: 0.93rem;
  line-height: 1.38;
  -webkit-line-clamp: 3;
}

.course-btn {
  margin-top: auto;
  padding: 10px 15px;
}

@media (max-width: 720px) {
  .course-card {
    min-height: 300px;
  }

  .course-content {
    min-height: calc(300px - 110px - 24px);
  }
}


/* v10 header, course section head, and contact panel refinements */
.main-nav {
  gap: 38px;
}

.section-head {
  margin: 0 0 14px;
}

.section-head h2 {
  margin: 0;
}

.contact-copy h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
  line-height: 1.02;
  max-width: 560px;
}

.contact-copy p {
  max-width: 620px;
}

.contact-btn {
  justify-content: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  font-size: 1rem;
  line-height: 1;
}

.wa-icon {
  font-size: 1.05rem;
}

.phone-icon {
  font-size: 1.02rem;
}

@media (max-width: 980px) {
  .main-nav {
    gap: 28px;
  }
  .contact-copy h2 {
    font-size: clamp(1.55rem, 5vw, 2.25rem);
    max-width: none;
  }
}

@media (max-width: 720px) {
  .main-nav {
    justify-content: flex-start;
    gap: 22px;
  }

  .contact-copy h2 {
    font-size: 1.72rem;
    line-height: 1.06;
  }

  .contact-btn {
    min-height: 48px;
    font-size: 0.92rem;
    gap: 10px;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}


/* v11 hero stats claim refinement */
.hero-stats .hero-stat-claim strong {
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-stats .hero-stat-claim span {
  max-width: 120px;
}

@media (max-width: 720px) {
  .hero-stats .hero-stat-claim strong {
    font-size: 1rem;
    line-height: 1.08;
  }
}


/* v12: proper aligned attractive contact icons */
.contact-btn {
  justify-content: center;
  gap: 12px;
}

.contact-icon-svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.svg-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.svg-whatsapp path:first-child {
  fill: #ffffff;
  opacity: 0.18;
}
.svg-whatsapp path:last-child {
  fill: #ffffff;
}

.svg-phone path {
  fill: #ffffff;
}

.contact-btn-whatsapp {
  box-shadow: 0 18px 36px rgba(28, 164, 77, 0.28);
}

.contact-btn-phone {
  box-shadow: 0 18px 36px rgba(42, 111, 231, 0.26);
}

@media (max-width: 720px) {
  .contact-btn {
    gap: 10px;
  }
  .contact-icon-svg,
  .svg-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}


/* v13: whatsapp badge like reference and strict icon alignment */
.contact-actions {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-btn > span:last-child {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.contact-icon-wa-badge {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.svg-wa-badge {
  width: 28px;
  height: 28px;
  display: block;
}

.wa-bg {
  fill: #39d463;
}

.wa-ring,
.wa-phone {
  fill: #ffffff;
}

.contact-icon-svg,
.svg-phone {
  width: 24px;
  height: 24px;
  display: block;
}

.svg-phone path {
  fill: #ffffff;
}

.contact-btn-whatsapp,
.contact-btn-phone {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 720px) {
  .contact-btn {
    gap: 10px;
  }
  .contact-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .contact-icon-wa-badge,
  .svg-wa-badge {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}


/* v14 mandatory alignment fix for contact icons */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-btn .contact-icon {
  margin: 0;
  transform: none;
}

.contact-icon-wa-badge {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.svg-wa-badge {
  width: 32px;
  height: 32px;
}

.contact-icon-svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.svg-phone {
  width: 24px;
  height: 24px;
}

.contact-btn > span:last-child {
  min-width: 0;
}

@media (max-width: 720px) {
  .contact-icon-wa-badge {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .svg-wa-badge {
    width: 30px;
    height: 30px;
  }

  .contact-icon-svg {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .svg-phone {
    width: 22px;
    height: 22px;
  }
}


/* v15 final fix: strict shared alignment for WhatsApp and phone buttons */
.contact-btn {
  display: inline-grid;
  grid-template-columns: 32px auto;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
}

.contact-btn .contact-icon,
.contact-btn .contact-icon-wa-badge,
.contact-btn .contact-icon-svg {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: none;
}

.contact-btn .contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.svg-wa-badge {
  width: 32px;
  height: 32px;
  display: block;
}

.svg-phone {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-btn-whatsapp .contact-label,
.contact-btn-phone .contact-label {
  position: relative;
  top: 0;
}

@media (max-width: 720px) {
  .contact-btn {
    grid-template-columns: 30px auto;
    column-gap: 12px;
  }

  .contact-btn .contact-icon,
  .contact-btn .contact-icon-wa-badge,
  .contact-btn .contact-icon-svg,
  .svg-wa-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .svg-phone {
    width: 21px;
    height: 21px;
  }
}


/* v16 definitive contact-button alignment fix
   Root cause addressed:
   1) multiple accumulated rules were competing,
   2) the WhatsApp SVG artwork was not optically centered in its own viewBox,
   3) icon and label were not sharing one normalized inner layout.
*/
.contact-actions .contact-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 22px !important;
  gap: 0 !important;
}

.contact-actions .contact-btn .contact-btn-inner {
  display: inline-grid !important;
  grid-template-columns: 34px auto !important;
  align-items: center !important;
  column-gap: 14px !important;
  min-height: 34px !important;
}

.contact-actions .contact-btn .contact-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transform: none !important;
}

.contact-actions .contact-btn .contact-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  position: static !important;
}

.contact-actions .contact-btn .svg-wa {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
}

.contact-actions .contact-btn .wa-circle {
  fill: #39d463;
}

.contact-actions .contact-btn .wa-stroke,
.contact-actions .contact-btn .wa-phone-glyph {
  fill: #ffffff;
}

.contact-actions .contact-btn .svg-phone-clean {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.contact-actions .contact-btn .svg-phone-clean path {
  fill: #ffffff;
}

@media (max-width: 720px) {
  .contact-actions .contact-btn {
    padding: 0 18px !important;
  }

  .contact-actions .contact-btn .contact-btn-inner {
    grid-template-columns: 32px auto !important;
    column-gap: 12px !important;
    min-height: 32px !important;
  }

  .contact-actions .contact-btn .contact-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .contact-actions .contact-btn .svg-wa {
    width: 32px !important;
    height: 32px !important;
  }

  .contact-actions .contact-btn .svg-phone-clean {
    width: 19px !important;
    height: 19px !important;
  }
}


/* v17 definitive structural fix for button/icon alignment */
.contact-actions .contact-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.contact-actions .contact-btn .contact-btn-inner {
  width: 272px !important;              /* same content width on both buttons */
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  align-items: center !important;
  column-gap: 14px !important;
  margin: 0 auto !important;
}

.contact-actions .contact-btn .contact-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact-actions .contact-btn .contact-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1 !important;
}

.contact-actions .contact-btn .svg-wa {
  width: 34px !important;
  height: 34px !important;
}

.contact-actions .contact-btn .svg-phone-clean {
  width: 20px !important;
  height: 20px !important;
  transform: translateY(0.5px) !important; /* optical centering */
}

@media (max-width: 720px) {
  .contact-actions .contact-btn .contact-btn-inner {
    width: 240px !important;
    grid-template-columns: 32px 1fr !important;
    column-gap: 12px !important;
  }

  .contact-actions .contact-btn .contact-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .contact-actions .contact-btn .svg-wa {
    width: 32px !important;
    height: 32px !important;
  }

  .contact-actions .contact-btn .svg-phone-clean {
    width: 19px !important;
    height: 19px !important;
    transform: translateY(0.5px) !important;
  }
}


/* v18 hero phone button correction */
.btn-phone-hero {
  gap: 10px;
  background: linear-gradient(180deg, rgba(34, 93, 183, 0.96), rgba(19, 63, 134, 0.96));
  border-color: rgba(116, 177, 255, 0.44);
  color: #f5f9ff;
  box-shadow: 0 16px 30px rgba(19, 63, 134, 0.26);
}

.btn-phone-hero:hover {
  filter: brightness(1.04);
}

.btn-phone-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.btn-phone-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-phone-svg path {
  fill: #ffffff;
}

@media (max-width: 720px) {
  .btn-phone-hero {
    gap: 8px;
  }

  .btn-phone-icon,
  .btn-phone-svg {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}


/* v20 footer redesign inspired by provided references */
.footer {
  padding: 20px 24px 18px;
  display: grid;
  gap: 18px;
}

.footer-top {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-social h4 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.social-list {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(97, 165, 255, 0.34);
  background: linear-gradient(180deg, rgba(11, 34, 68, 0.88), rgba(7, 24, 49, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(5, 17, 37, 0.22);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon path {
  fill: #7fb7ff;
}

.footer-bottom {
  border-top: 1px solid rgba(97, 165, 255, 0.18);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: #7fb7ff;
  font-size: 0.92rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .footer {
    padding: 18px 16px 16px;
    gap: 16px;
  }

  .footer-social h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-bottom p,
  .footer-bottom span {
    font-size: 0.86rem;
  }
}


/* v21 footer closer to provided reference */
.footer {
  padding: 0 24px 18px;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.95fr;
  gap: 40px;
  padding: 28px 4px 26px;
  border-top: 1px solid rgba(97, 165, 255, 0.14);
}

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

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(41,131,255,0.18));
}

.footer-brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f4f8ff;
  line-height: 1;
}

.footer-brand-name span {
  color: #5da8ff;
}

.footer-brand-copy {
  margin: 0 0 12px;
  color: #8ebeff;
  line-height: 1.5;
}

.footer-contact-link {
  display: block;
  color: #8ebeff;
  line-height: 1.65;
  margin: 0 0 2px;
}

.footer-links-col h4,
.footer-social-block h4 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.footer-links-col a {
  display: block;
  margin: 0 0 8px;
  color: #7fb7ff;
  line-height: 1.45;
}

.footer-company-col {
  display: flex;
  flex-direction: column;
}

.footer-social-block {
  margin-top: 18px;
}

.social-list {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(97, 165, 255, 0.34);
  background: linear-gradient(180deg, rgba(11, 34, 68, 0.88), rgba(7, 24, 49, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(5, 17, 37, 0.22);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon path {
  fill: #7fb7ff;
}

.footer-bottom {
  border-top: 1px solid rgba(97, 165, 255, 0.14);
  padding: 16px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: #7fb7ff;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-company-col {
    grid-column: 1 / -1;
  }
}

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 0 20px;
  }

  .footer-links-col h4,
  .footer-social-block h4 {
    font-size: 1.12rem;
    margin-bottom: 12px;
  }

  .footer-brand-name {
    font-size: 1rem;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
  }

  .footer-bottom p,
  .footer-bottom span {
    font-size: 0.84rem;
  }
}


/* v22 footer rebalance + centered social icons like reference */
.footer {
  padding: 0 28px 18px;
}

.footer-main {
  grid-template-columns: minmax(240px, 1.1fr) minmax(180px, 0.85fr) minmax(220px, 0.95fr);
  align-items: start;
  justify-content: space-between;
  gap: 56px;
  padding: 30px 8px 26px;
}

.footer-brand-col {
  max-width: 290px;
}

.footer-courses-col,
.footer-company-col {
  justify-self: center;
}

.footer-company-col {
  min-width: 230px;
}

.footer-links-col a,
.footer-contact-link {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links-col a:hover,
.footer-contact-link:hover {
  color: #d8eaff;
}

.footer-social-block {
  margin-top: 28px;
}

.social-list {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border: 1px solid rgba(89, 157, 255, 0.38);
  background: linear-gradient(180deg, rgba(10, 30, 61, 0.92), rgba(6, 22, 45, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.social-btn-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 191, 255, 0.72);
  background: linear-gradient(180deg, rgba(18, 49, 95, 0.98), rgba(9, 31, 63, 0.99));
  box-shadow: 0 0 0 1px rgba(120, 184, 255, 0.1), 0 0 18px rgba(65, 141, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.07);
}

.social-btn:hover .social-icon path {
  fill: #d7ebff;
}

.footer-bottom {
  padding: 16px 8px 0;
}

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .footer-brand-col,
  .footer-courses-col,
  .footer-company-col {
    justify-self: start;
    max-width: none;
  }

  .footer-company-col {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .footer-social-block {
    margin-top: 22px;
  }
}

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 0 20px;
  }

  .footer-brand-col,
  .footer-courses-col,
  .footer-company-col {
    justify-self: start;
  }

  .footer-social-block {
    margin-top: 20px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }
}


/* v23 footer distribution refinement
   Root cause:
   1) footer content was spanning the full card width without a centered inner container,
   2) the first column had too much elastic width, pulling the visual center to the left,
   3) the lower copyright row lacked a clear structural divider.
*/
.footer {
  padding: 0 24px 18px;
}

.footer-inner {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 10px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(180px, 220px) minmax(180px, 220px);
  justify-content: center;
  align-items: start;
  column-gap: clamp(48px, 7vw, 120px);
  row-gap: 28px;
  padding: 30px 0 26px;
  border-top: 1px solid rgba(115, 180, 255, 0.12);
}

.footer-brand-col {
  max-width: 430px;
  justify-self: start;
}

.footer-courses-col,
.footer-company-col {
  justify-self: center;
  width: 100%;
  max-width: 220px;
}

.footer-company-col {
  align-self: start;
}

.footer-brand-row {
  margin-bottom: 14px;
}

.footer-brand-copy {
  max-width: 420px;
  margin: 0 0 12px;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0 0;
  margin-top: 8px;
  border-top: 1px solid rgba(115, 180, 255, 0.14);
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(84, 153, 255, 0), rgba(84, 153, 255, 0.18), rgba(84, 153, 255, 0));
  pointer-events: none;
}

.footer-bottom p,
.footer-bottom span {
  color: #84bbff;
}

@media (max-width: 1120px) {
  .footer-inner {
    width: min(100%, 1040px);
  }

  .footer-main {
    grid-template-columns: minmax(280px, 1fr) minmax(170px, 210px) minmax(170px, 210px);
    column-gap: 40px;
  }
}

@media (max-width: 820px) {
  .footer {
    padding: 0 18px 16px;
  }

  .footer-inner {
    padding: 0 4px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 24px;
    padding: 24px 0 20px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: start;
  }

  .footer-courses-col,
  .footer-company-col {
    justify-self: start;
    max-width: 240px;
  }

  .footer-bottom {
    padding-top: 14px;
  }
}

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

  .footer-inner {
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 22px;
  }

  .footer-brand-col,
  .footer-courses-col,
  .footer-company-col {
    max-width: none;
    width: 100%;
    justify-self: start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
  }
}


/* v24 footer courses descriptors */
.footer-features-col {
  align-self: start;
}

.footer-feature-item {
  display: block;
  margin: 0 0 12px;
  color: #7fb7ff;
  line-height: 1.45;
  font-size: 0.98rem;
}

.footer-feature-item:last-child {
  margin-bottom: 0;
}

.footer-courses-col h4,
.footer-company-col h4 {
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .footer-feature-item {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }
}


/* v25 footer brand and icon refinements */
.footer-logo {
  width: 50px;
  height: 50px;
}

.footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-brand-name .brand-white {
  color: #f4f8ff;
}

.footer-brand-name .brand-blue {
  color: #5da8ff;
}

@media (max-width: 720px) {
  .footer-logo {
    width: 46px;
    height: 46px;
  }
}


/* v28 footer logo/icon size increase without affecting layout balance */
.footer-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.footer-brand-row {
  align-items: center;
  gap: 16px;
}

@media (max-width: 720px) {
  .footer-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}


/* v31 highlight adjustments */
.hero-highlight {
  background: linear-gradient(180deg, #8fc2ff 0%, #6ea9ff 55%, #5c96f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.footer-bottom span {
  color: #ffffff;
  font-weight: 800;
}


/* v32 footer tagline blue soft gradient bold */
.footer-bottom span {
  background: linear-gradient(180deg, #9ac9ff 0%, #74afff 55%, #5f9bf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  display: inline-block;
}


/* v42 requested adjustments */
.contact-btn-static {
  cursor: default;
}

.contact-btn-static:hover {
  filter: none;
}

.contact-btn-email {
  background: linear-gradient(180deg, #173f7d 0%, #0f2f61 100%);
  color: #ffffff;
  border: 1px solid rgba(116, 177, 255, 0.32);
  box-shadow: 0 18px 36px rgba(16, 47, 97, 0.24);
}

.contact-actions .contact-btn .svg-email-clean {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.contact-actions .contact-btn .svg-email-clean path {
  fill: #ffffff;
}

@media (max-width: 720px) {
  .contact-actions .contact-btn .svg-email-clean {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Página Política de Privacidad - ajustes sobre línea visual de referencia */
body#top {
  background:
    radial-gradient(circle at top, rgba(58, 142, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #06162e 0%, #031021 100%);
}

.topbar .brand-inline {
  text-decoration: none;
}

.policy-hero {
  margin: 0 0 18px;
  padding: clamp(26px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(92, 166, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(9, 30, 63, 0.94), rgba(4, 19, 41, 0.97));
}

.policy-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #f4f8ff;
}

.policy-hero p {
  margin: 0;
  max-width: 780px;
  color: #d4e5ff;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.6;
}

.policy-hero-card {
  border: 1px solid rgba(124, 184, 255, 0.32);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 34, 72, 0.78), rgba(6, 22, 45, 0.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 38px rgba(0, 0, 0, 0.24);
}

.policy-hero-card span {
  display: block;
  margin-bottom: 6px;
  color: #74afff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-hero-card strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 1.08rem;
}

.policy-hero-card p {
  font-size: 0.96rem;
  color: #d4e5ff;
  overflow-wrap: anywhere;
}

.hero-divider {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(90deg, rgba(124, 184, 255, 0), rgba(124, 184, 255, 0.32), rgba(124, 184, 255, 0));
}

.policy-content {
  margin: 0 0 18px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 16% 0%, rgba(79, 155, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 30, 63, 0.94), rgba(4, 19, 41, 0.97));
}

.policy-content .intro-text {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 184, 255, 0.24);
  border-radius: 18px;
  background: rgba(10, 30, 61, 0.58);
  color: #d4e5ff;
  font-size: 1.02rem;
  line-height: 1.62;
}

.policy-block {
  padding: 26px 0;
  border-top: 1px solid rgba(97, 165, 255, 0.16);
}

.policy-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-block h2 {
  margin: 0 0 12px;
  color: #f4f8ff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.policy-block p,
.policy-block li {
  color: #b9cdec;
  font-size: 1rem;
  line-height: 1.7;
}

.policy-block p {
  margin: 0 0 12px;
}

.policy-block ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}

.policy-block li {
  margin: 0 0 8px;
}

.contact-box {
  display: grid;
  gap: 5px;
  margin: 14px 0 4px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 184, 255, 0.28);
  border-radius: 18px;
  background: rgba(10, 30, 61, 0.58);
  color: #d4e5ff;
}

.contact-box strong {
  color: #ffffff;
}

.contact-box span {
  color: #b9cdec;
  overflow-wrap: anywhere;
}

.policy-contact-actions {
  width: min(100%, 430px);
  margin: 16px 0 18px;
}

.policy-contact-actions .contact-btn {
  width: 100% !important;
  min-width: 0 !important;
  pointer-events: auto;
  user-select: text;
}

.policy-contact-actions .contact-btn .contact-btn-inner {
  width: auto !important;
  min-width: 0 !important;
}

.policy-contact-actions .contact-label {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.updated-text {
  color: #84bbff !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  .policy-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .policy-hero,
  .policy-content {
    border-radius: 18px;
  }

  .policy-block {
    padding: 22px 0;
  }

  .policy-block p,
  .policy-block li {
    font-size: 0.95rem;
  }

  .policy-contact-actions {
    width: 100%;
  }
}

/* v43 ajuste solicitado: botón de correo más discreto en política */
.policy-contact-actions {
  width: auto;
  max-width: none;
  display: inline-block;
  margin: 14px 0 18px;
}

.policy-contact-actions .contact-btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  background: linear-gradient(180deg, rgba(18, 62, 123, 0.72) 0%, rgba(12, 45, 93, 0.76) 100%) !important;
  border: 1px solid rgba(116, 177, 255, 0.24) !important;
  box-shadow: 0 10px 22px rgba(8, 24, 52, 0.18) !important;
}

.policy-contact-actions .contact-btn .contact-btn-inner {
  width: auto !important;
  min-width: 0 !important;
  grid-template-columns: 22px auto !important;
  column-gap: 10px !important;
  min-height: 22px !important;
}

.policy-contact-actions .contact-btn .contact-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
}

.policy-contact-actions .contact-btn .svg-email-clean {
  width: 16px !important;
  height: 16px !important;
}

.policy-contact-actions .contact-label {
  font-size: 0.88rem !important;
  line-height: 1.1 !important;
}

@media (max-width: 520px) {
  .policy-contact-actions {
    display: block;
    width: 100%;
  }

  .policy-contact-actions .contact-btn {
    width: 100% !important;
    padding: 0 14px !important;
  }

  .policy-contact-actions .contact-label {
    font-size: 0.82rem !important;
  }
}

/* Ajuste exclusivo móvil: navegación en modo hamburguesa */
.nav-toggle-mobile { display: none; }
@media (max-width: 640px) {
  .topbar {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .topbar .brand-inline {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .topbar .nav-toggle-mobile {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer !important;
  }
  .topbar .nav-toggle-mobile span {
    width: 28px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #9fc9ff !important;
    display: block !important;
  }
  .topbar .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    overflow: visible !important;
    background: rgba(4, 15, 34, 0.97) !important;
    border: 1px solid rgba(124, 184, 255, 0.28) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22) !important;
  }
  .topbar .main-nav.open {
    display: flex !important;
  }
  .topbar .main-nav a {
    width: 100% !important;
    text-align: left !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}
