@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* Shared logo treatment */
.brand {
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.footer-brand .brand-logo {
  background: rgba(255, 255, 255, .96);
}

.hero-logo {
  display: block;
  width: min(100%, 430px);
  max-height: 230px;
  margin: 0 auto 22px;
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

.hero-card {
  align-self: center;
  padding: 18px;
}

.hero-card .metric {
  border-radius: 14px;
}

/* 01 — vibrant, human and aspirational */
body.theme-1 {
  --color-navy: #3b217a;
  --color-ink: #241a3f;
  --color-muted: #685d7a;
  --color-coral: #ec0065;
  --color-teal: #04afd0;
  --color-gold: #f7c94b;
  --color-soft: #fff5fb;
  --radius: 22px;
  font-family: "DM Sans", sans-serif;
}

.theme-1 h1,
.theme-1 h2,
.theme-1 h3,
.theme-1 .brand-text strong {
  font-family: "Outfit", sans-serif;
}

.theme-1 .hero {
  background: linear-gradient(135deg, #28135e, #6b1c82 48%, #d60068);
}

.theme-1 .hero-bg {
  background:
    linear-gradient(90deg, rgba(40, 19, 94, .97), rgba(72, 23, 111, .84) 52%, rgba(236, 0, 101, .28)),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-1 .program-card,
.theme-1 .testimonial-card {
  border-radius: 30px 12px 30px 12px;
}

.theme-1 .whatsapp-float {
  background: #ec0065;
}

/* 02 — executive, bold and results-driven */
body.theme-2 {
  --color-navy: #071225;
  --color-ink: #0b1528;
  --color-muted: #566174;
  --color-coral: #ff6505;
  --color-teal: #1058ed;
  --color-gold: #ff9b24;
  --color-soft: #f2f6ff;
  --radius: 8px;
  font-family: "Manrope", sans-serif;
}

.theme-2 h1,
.theme-2 h2,
.theme-2 h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}

.theme-2 .hero {
  background: #071225;
}

.theme-2 .hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 18, 37, .98) 0%, rgba(7, 18, 37, .88) 55%, rgba(16, 88, 237, .24) 100%),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-2 .btn,
.theme-2 .card-icon {
  border-radius: 4px;
}

.theme-2 .program-card,
.theme-2 .process-step {
  border-top: 4px solid var(--color-teal);
}

.theme-2 .program-card.featured {
  border-top-color: var(--color-coral);
}

.theme-2 .whatsapp-float {
  background: #ff6505;
  box-shadow: 0 18px 44px rgba(255, 101, 5, .3);
}

/* 03 — premium achievement and institutional learning */
body.theme-3 {
  --color-navy: #10275a;
  --color-ink: #17213a;
  --color-muted: #667085;
  --color-coral: #e5242a;
  --color-teal: #1748b5;
  --color-gold: #f3b51b;
  --color-soft: #fffaf0;
  --radius: 18px;
  font-family: "DM Sans", sans-serif;
}

.theme-3 h1,
.theme-3 h2,
.theme-3 .hero-slogan {
  font-family: "Playfair Display", serif;
}

.theme-3 .hero {
  background: linear-gradient(135deg, #071b43, #153f8d);
}

.theme-3 .hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 27, 67, .98), rgba(16, 39, 90, .84) 58%, rgba(229, 36, 42, .22)),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-3 .eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
}

.theme-3 .cards-grid {
  counter-reset: program;
}

.theme-3 .program-card {
  border-bottom: 4px solid var(--color-gold);
}

.theme-3 .whatsapp-float {
  background: #e5242a;
  box-shadow: 0 18px 44px rgba(229, 36, 42, .3);
}

/* 04 — dynamic momentum and forward motion */
body.theme-4 {
  --color-navy: #091c4a;
  --color-ink: #101d39;
  --color-muted: #5c6678;
  --color-coral: #ff4b2b;
  --color-teal: #0a54ee;
  --color-gold: #ffbf22;
  --color-soft: #f4f7ff;
  --radius: 12px;
  font-family: "Outfit", sans-serif;
}

.theme-4 h1,
.theme-4 h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

.theme-4 .hero {
  background: linear-gradient(115deg, #071838 0 58%, #0a54ee 58% 76%, #ff4b2b 76%);
}

.theme-4 .hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 24, 56, .98), rgba(7, 24, 56, .86) 55%, rgba(10, 84, 238, .2)),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-4 .program-card,
.theme-4 .process-step,
.theme-4 .benefit-list article {
  transform: skewY(-1deg);
}

.theme-4 .program-card:hover,
.theme-4 .process-step:hover,
.theme-4 .benefit-list article:hover {
  transform: skewY(-1deg) translateY(-6px);
}

.theme-4 .whatsapp-float {
  background: #ff4b2b;
  box-shadow: 0 18px 44px rgba(255, 75, 43, .3);
}

/* 05 — connection, strategy and sustainable growth */
body.theme-5 {
  --color-navy: #172033;
  --color-ink: #172033;
  --color-muted: #60706c;
  --color-coral: #ff6464;
  --color-teal: #087e89;
  --color-gold: #a9df18;
  --color-soft: #f3faef;
  --radius: 26px;
  font-family: "Manrope", sans-serif;
}

.theme-5 h1,
.theme-5 h2,
.theme-5 h3 {
  font-family: "DM Sans", sans-serif;
}

.theme-5 .hero {
  background: linear-gradient(135deg, #063e47, #087e89 55%, #73a912);
}

.theme-5 .hero-bg {
  background:
    linear-gradient(90deg, rgba(4, 59, 67, .98), rgba(8, 126, 137, .82) 55%, rgba(169, 223, 24, .2)),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-5 .card-icon,
.theme-5 .process-step > span {
  border-radius: 50%;
}

.theme-5 .program-card.featured {
  background: linear-gradient(145deg, #075f69, #172033);
}

.theme-5 .whatsapp-float {
  background: #087e89;
  box-shadow: 0 18px 44px rgba(8, 126, 137, .3);
}

/* 06 — dark technology and high contrast */
body.theme-6 {
  --color-navy: #080a0b;
  --color-ink: #161a1d;
  --color-muted: #65706f;
  --color-coral: #bafa16;
  --color-teal: #91cc00;
  --color-gold: #d3ff43;
  --color-soft: #f3f6ed;
  --radius: 2px;
  font-family: "Space Grotesk", sans-serif;
}

.theme-6 h1,
.theme-6 h2,
.theme-6 h3 {
  letter-spacing: -.04em;
}

.theme-6 .site-header {
  background: rgba(7, 8, 9, .94);
  border-bottom-color: rgba(186, 250, 22, .25);
}

.theme-6 .site-header .brand-text strong,
.theme-6 .site-header .brand-text small,
.theme-6 .site-header .nav-menu a:not(.nav-cta) {
  color: #fff;
}

.theme-6 .menu-toggle span {
  background: #fff;
}

.theme-6 .hero {
  background: #050606;
}

.theme-6 .hero-bg {
  background:
    linear-gradient(90deg, rgba(3, 4, 4, .99), rgba(3, 4, 4, .91) 58%, rgba(186, 250, 22, .12)),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
  filter: grayscale(1) contrast(1.1);
}

.theme-6 .hero-copy,
.theme-6 .hero-card {
  filter: none;
}

.theme-6 .program-card,
.theme-6 .testimonial-card,
.theme-6 .benefit-list article,
.theme-6 .process-step {
  border-left: 3px solid var(--color-coral);
}

.theme-6 .program-card.featured {
  background: #080a0b;
}

.theme-6 .btn-primary {
  color: #080a0b;
}

.theme-6 .whatsapp-float {
  color: #080a0b;
  background: #bafa16;
  box-shadow: 0 18px 44px rgba(186, 250, 22, .24);
}

/* 09 — identidad oficial SP: liderazgo, acción e innovación */
body.theme-9 {
  --color-navy: #071a3f;
  --color-ink: #10192e;
  --color-muted: #5d687d;
  --color-coral: #ff4c22;
  --color-teal: #0958e8;
  --color-gold: #95d51b;
  --color-soft: #f3f7ff;
  --radius: 16px;
  font-family: "Manrope", sans-serif;
}

.theme-9 h1,
.theme-9 h2,
.theme-9 h3,
.theme-9 .brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}

.theme-9 .brand-logo {
  width: 84px;
  height: 58px;
  padding: 2px 6px;
  border-color: rgba(9, 88, 232, .14);
  border-radius: 12px;
}

.theme-9 .hero {
  background: linear-gradient(125deg, #061631 0%, #0a2450 62%, #0958e8 100%);
}

.theme-9 .hero-bg {
  background:
    linear-gradient(90deg, rgba(6, 22, 49, .98) 0%, rgba(7, 26, 63, .91) 52%, rgba(9, 88, 232, .28) 100%),
    url("assets/hero-protagonistas.png") center right / cover no-repeat;
}

.theme-9 .hero::after {
  right: 2%;
  width: 320px;
  height: 320px;
  background: rgba(255, 76, 34, .24);
}

.theme-9 .hero-logo {
  width: min(100%, 470px);
  max-height: 245px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
}

.theme-9 .hero-card {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}

.theme-9 .hero-card .metric {
  background: rgba(255, 255, 255, .1);
}

.theme-9 .eyebrow {
  color: var(--color-teal);
  letter-spacing: .1em;
}

.theme-9 .hero .eyebrow {
  color: #72a7ff;
}

.theme-9 .hero-slogan {
  color: #b5ec43 !important;
}

.theme-9 .btn-primary,
.theme-9 .nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4c22, #f73513);
  box-shadow: 0 12px 28px rgba(255, 76, 34, .25);
}

.theme-9 .btn-primary:hover,
.theme-9 .nav-cta:hover {
  background: linear-gradient(135deg, #f73513, #dc2e0b);
}

.theme-9 .event-banner-inner {
  background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 55%, #f7ffe8 100%);
  border-color: rgba(149, 213, 27, .65);
}

.theme-9 .event-banner-inner span {
  color: var(--color-teal);
}

.theme-9 .impact-item {
  border-top: 4px solid var(--color-teal);
}

.theme-9 .impact-item:nth-child(2) {
  border-top-color: var(--color-coral);
}

.theme-9 .impact-item:nth-child(3) {
  border-top-color: var(--color-gold);
}

.theme-9 .cards-grid,
.theme-9 .process-grid {
  align-items: stretch;
}

.theme-9 .program-card,
.theme-9 .process-step,
.theme-9 .testimonial-card {
  position: relative;
  overflow: hidden;
}

.theme-9 .program-card::after,
.theme-9 .process-step::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 0 0 0 6px;
  content: "";
}

.theme-9 .program-card.featured {
  background: linear-gradient(145deg, #071a3f, #0b2d68);
}

.theme-9 .program-card.featured::after {
  background: var(--color-coral);
}

.theme-9 .card-icon,
.theme-9 .process-step > span {
  background: var(--color-teal);
  border-radius: 12px;
}

.theme-9 .benefit-list article::before {
  background: var(--color-gold);
  box-shadow: 0 0 0 7px rgba(149, 213, 27, .16);
}

.theme-9 .final-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(9, 88, 232, .38), transparent 32%),
    #071a3f;
}

.theme-9 .express-register {
  background:
    linear-gradient(135deg, rgba(9, 88, 232, .055), rgba(149, 213, 27, .07)),
    #ffffff;
}

.theme-9 .site-footer {
  background: #041027;
}

.theme-9 .whatsapp-float {
  color: #071a3f;
  background: #a6e22d;
  box-shadow: 0 18px 44px rgba(149, 213, 27, .3);
}

.theme-9 .whatsapp-float:hover {
  box-shadow: 0 22px 54px rgba(149, 213, 27, .4);
}

@media (max-width: 520px) {
  .theme-9 .brand-logo {
    width: 64px;
    height: 48px;
  }

  .theme-9 .hero-logo {
    max-height: 190px;
  }
}

@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: center;
  }

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

@media (max-width: 939px) {
  .theme-6 .nav-menu {
    background: #080a0b;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text small {
    font-size: .65rem;
  }

  .hero-logo {
    max-height: 175px;
    border-radius: 16px;
  }
}
