:root {
  --bg: #fff7ee;
  --cream: #ffefd8;
  --violet: #a96f9e;
  --violet-dark: #47243f;
  --gold: #c89128;
  --soft: #f7e6f2;
  --text: #2e2330;
  --muted: #766778;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(
    circle at top left,
    #fff,
    #fff7ee 45%,
    #f7e6f2 100%
  );
  color: var(--text);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(#c89128 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: -2;
  animation: float 12s ease-in-out infinite;
}
.orb-a {
  width: 340px;
  height: 340px;
  background: #edc7df;
  left: -100px;
  top: 120px;
}
.orb-b {
  width: 420px;
  height: 420px;
  background: #d7b0d1;
  right: -140px;
  top: 360px;
  animation-delay: -4s;
}
@keyframes float {
  50% {
    transform: translate(35px, 30px);
  }
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 250, 244, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(169, 111, 158, 0.16);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 10px 30px rgba(71, 36, 63, 0.14);
}
.brand b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 0.9;
  color: var(--violet-dark);
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav a,
.ghost {
  font-size: 14px;
  font-weight: 700;
  color: #67566a;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-btn {
  display: none;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--violet-dark);
  font-size: 21px;
}
.primary,
.secondary,
.course button,
.dashboard button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  transition: 0.25s;
}
.primary,
.course button,
.dashboard button {
  background: var(--violet-dark);
  color: white;
  box-shadow: 0 18px 38px rgba(71, 36, 63, 0.18);
}
.primary:hover,
.course button:hover,
.dashboard button:hover {
  transform: translateY(-3px);
  background: #361a30;
}
.small {
  padding: 10px 16px;
  font-size: 14px;
}
.secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--violet-dark);
  border: 1px solid rgba(169, 111, 158, 0.22);
}
.section {
  padding: 110px clamp(18px, 4vw, 64px);
  max-width: 1280px;
  margin: auto;
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  padding-top: 145px;
}
.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(169, 111, 158, 0.22);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 0.03em;
}
.hero h1,
.section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 25px 0 20px;
  color: var(--violet-dark);
}
.hero p,
.section-head p,
.split p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-logo {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.logo-glow {
  width: min(450px, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 18px;
  background: linear-gradient(135deg, #fff, #ffe7bd, #d7a4cb);
  box-shadow: 0 35px 80px rgba(71, 36, 63, 0.18);
  animation: pulse 4s ease-in-out infinite;
}
.logo-glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 9px solid #fff;
}
@keyframes pulse {
  50% {
    transform: scale(1.025);
  }
}
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(71, 36, 63, 0.12);
  padding: 16px 20px;
  border-radius: 22px;
  font-weight: 800;
  color: var(--violet-dark);
}
.floating-card.top {
  right: 5%;
  top: 18%;
}
.floating-card.bottom {
  left: 2%;
  bottom: 20%;
}
.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 25px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  margin: 18px 0;
}
.centered {
  text-align: center;
  display: block;
}
.centered p {
  margin: auto;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course {
  min-height: 360px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(169, 111, 158, 0.16);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 22px 55px rgba(71, 36, 63, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.25s;
}
.course:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(71, 36, 63, 0.12);
}
.pill {
  background: #f4deef;
  color: var(--violet-dark);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.course h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  line-height: 1;
  margin: 24px 0 10px;
  color: var(--violet-dark);
}
.course p {
  color: var(--muted);
  line-height: 1.65;
}
.course strong {
  font-size: 20px;
  margin: auto 0 18px;
  color: var(--gold);
}
.course button {
  width: 100%;
}
.soft {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42),
    rgba(247, 230, 242, 0.75)
  );
  border-radius: 44px;
}
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.services div,
.services article {
  background: #fff;
  border: 1px solid rgba(169, 111, 158, 0.14);
  border-radius: 24px;
  padding: 24px;
  font-weight: 900;
  color: var(--violet-dark);
  box-shadow: 0 16px 36px rgba(71, 36, 63, 0.06);
}

.detailed-services {
  align-items: stretch;
}

.detailed-services article {
  display: grid;
  gap: 12px;
}

.detailed-services span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--soft);
  color: var(--violet);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.detailed-services h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--violet-dark);
}

.detailed-services p,
.detailed-services small {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.detailed-services small {
  color: #9a6a90;
  font-weight: 800;
}
.dashboard {
  display: grid;
  grid-template-columns: 310px 1fr;
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(71, 36, 63, 0.12);
  border: 1px solid rgba(169, 111, 158, 0.16);
}
.dashboard aside {
  background: linear-gradient(160deg, var(--violet-dark), #7e4e75);
  color: white;
  padding: 32px;
}
.dashboard aside img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 20px;
}
.dashboard aside p {
  color: #f4deef;
}
.lessons {
  padding: 28px;
  display: grid;
  gap: 14px;
}
.lesson {
  border-radius: 24px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.lesson b {
  color: var(--violet-dark);
}
.lesson span {
  font-size: 13px;
  font-weight: 800;
}
.unlocked {
  background: #fff7e6;
  border: 1px solid #f2d18a;
}
.unlocked span {
  color: #9a6b10;
}
.locked {
  background: #f8edf6;
  border: 1px solid #e9cce2;
}
.locked span {
  color: #9a6a90;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps div {
  background: #fff;
  border-radius: 30px;
  padding: 26px;
  border: 1px solid rgba(169, 111, 158, 0.14);
  box-shadow: 0 18px 42px rgba(71, 36, 63, 0.06);
}
.steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--violet-dark);
  color: #fff;
}
.steps h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--violet-dark);
}
.steps p {
  color: var(--muted);
  line-height: 1.6;
}
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}
.contact-card,
.contact-links {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(169, 111, 158, 0.16);
  border-radius: 36px;
  padding: 32px;
  box-shadow: 0 22px 55px rgba(71, 36, 63, 0.08);
}
.contact-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  box-shadow: 0 20px 45px rgba(71, 36, 63, 0.14);
}
.contact-links {
  display: grid;
  gap: 14px;
}
.contact-links a {
  display: flex;
  align-items: center;
  background: #fff7ee;
  border-radius: 20px;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--violet-dark);
  border: 1px solid rgba(169, 111, 158, 0.12);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(169, 111, 158, 0.14);
  color: var(--muted);
}
footer b {
  color: var(--violet-dark);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(32, 18, 36, 0.46);
  backdrop-filter: blur(9px);
  display: none;
  place-items: center;
  padding: 18px;
}
.modal.open {
  display: grid;
}
.modal-card {
  position: relative;
  width: min(480px, 100%);
  background: white;
  border-radius: 34px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}
.close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: #f4deef;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
}
.modal h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  color: var(--violet-dark);
  margin: 8px 0;
}
.modal p {
  color: var(--muted);
  line-height: 1.6;
}
.modal input,
.modal select {
  width: 100%;
  border: 1px solid #ead1e5;
  background: #fff9f3;
  border-radius: 18px;
  padding: 14px;
  margin: 6px 0;
  outline: none;
}
.modal .primary {
  width: 100%;
  margin-top: 12px;
}
.modal small {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
}
.modal small button {
  border: 0;
  background: transparent;
  color: var(--violet);
  font-weight: 900;
  cursor: pointer;
}
.pay-box {
  background: #fff7e6;
  border: 1px solid #f0d095;
  border-radius: 18px;
  padding: 17px;
  margin: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.whatsapp-pay {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-weight: 900;
  color: var(--violet);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.28s;
}
@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }
  .nav {
    position: fixed;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 25px 70px rgba(71, 36, 63, 0.18);
  }
  .nav.open {
    display: flex;
  }
  .nav a,
  .ghost {
    text-align: left;
    padding: 13px 10px;
  }
  .hero,
  .split,
  .dashboard,
  .contact,
  .section-head {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 25px;
  }
  .hero-logo {
    min-height: 420px;
  }
  .course-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    flex-direction: column;
  }
  .floating-card {
    display: none;
  }
}
@media (max-width: 620px) {
  .section {
    padding: 86px 18px;
  }
  .hero {
    padding-top: 120px;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand b {
    font-size: 21px;
  }
  .course-grid,
  .steps,
  .services {
    grid-template-columns: 1fr;
  }
  .dashboard aside,
  .lessons {
    padding: 22px;
  }
  .lesson {
    display: block;
  }
  .logo-glow {
    padding: 10px;
  }
  .logo-glow img {
    border-width: 6px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .section h2 {
    font-size: 40px;
  }
  .actions a {
    width: 100%;
  }
}

.hidden {
  display: none !important;
}
.form-msg {
  min-height: 22px;
  margin: 10px 0 0 !important;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.form-msg.error {
  color: #a63a68;
}
.form-msg.ok {
  color: #327c46;
}
.course-img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 16px;
  border: 1px solid rgba(169, 111, 158, 0.14);
}
.course button:disabled,
.primary:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}
.logout-btn {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.14) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}
.auth-form {
  display: block;
}
.account-section .dashboard aside button + button {
  width: 100%;
}
.lesson {
  min-height: 78px;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(120, 70, 140, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: #5d3b68;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.account-link {
  text-decoration: none;
}

.google-btn {
  width: 100%;
  border: 1px solid rgba(70, 45, 80, 0.14);
  background: #fff;
  color: #3b2545;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(60, 28, 72, 0.08);
}

.google-btn span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #f4e8ff;
  color: #3b2545;
  font-weight: 900;
}

.social-panel {
  align-content: start;
}

.social-link {
  gap: 16px;
  transition: 0.25s ease;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(71, 36, 63, 0.1);
}

.social-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4deef, #fff7e6);
  color: var(--violet-dark);
  font-weight: 900;
  font-size: 20px;
  border: 1px solid rgba(169, 111, 158, 0.18);
}

.social-link span:last-child {
  display: grid;
  gap: 4px;
}

.social-link b {
  color: var(--violet-dark);
  font-size: 15px;
}

.social-link small {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  word-break: break-word;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: block;
  padding: 0;
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(169, 111, 158, 0.14);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 64px);
}

.footer-main b {
  display: block;
  color: var(--violet-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.footer-main span {
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a,
.footer-bottom a {
  font-weight: 800;
  color: var(--violet-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(169, 111, 158, 0.12);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
.lesson-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.lesson-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--violet-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.payment-result-card {
  width: min(560px, 100%);
  text-align: center;
}

.payment-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.payment-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================
   NUEVO INDEX: CURSOS + REDES
========================= */

.social-title {
  padding: 10px 4px 2px;
}

.social-title b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
  color: var(--violet-dark);
}

.social-title small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

/* =========================
   SOBRE MÍ
========================= */

.about-page {
  padding-top: 150px;
}

.about-hero {
  max-width: 980px;
  margin-bottom: 42px;
}

.about-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 8vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--violet-dark);
  margin: 24px 0;
}

.about-hero p {
  max-width: 880px;
  font-size: 20px;
  line-height: 1.85;
  color: var(--muted);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.about-card,
.about-side {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(169, 111, 158, 0.16);
  border-radius: 38px;
  box-shadow: 0 24px 64px rgba(71, 36, 63, 0.08);
}

.about-card {
  padding: clamp(24px, 4vw, 46px);
}

.about-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--violet-dark);
  margin: 22px 0;
}

.about-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.88;
  margin: 0 0 18px;
}

.about-highlight {
  margin: 28px 0 8px;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff7e6, #f8edf6);
  border: 1px solid rgba(200, 145, 40, 0.22);
}

.about-highlight b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1;
  color: var(--violet-dark);
  margin-bottom: 8px;
}

.about-highlight span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 800;
}

.about-side {
  padding: 26px;
  position: sticky;
  top: 112px;
}

.about-logo-card {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.about-logo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
  border: 8px solid #fff;
  box-shadow: 0 20px 50px rgba(71, 36, 63, 0.14);
}

.about-logo-card b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  color: var(--violet-dark);
  line-height: 1;
}

.about-logo-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points div {
  padding: 18px;
  border-radius: 24px;
  background: #fff7ee;
  border: 1px solid rgba(169, 111, 158, 0.13);
}

.about-points strong {
  display: block;
  color: var(--violet-dark);
  font-size: 15px;
  margin-bottom: 6px;
}

.about-points span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

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

  .about-side {
    position: static;
  }

  .about-logo-card {
    grid-template-columns: 160px 1fr;
    align-items: center;
  }

  .about-logo-card img {
    border-radius: 28px;
  }
}

@media (max-width: 620px) {
  .about-page {
    padding-top: 120px;
  }

  .about-hero h1 {
    font-size: 52px;
  }

  .about-hero p {
    font-size: 17px;
  }

  .about-card,
  .about-side {
    border-radius: 30px;
  }

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

  .about-logo-card img {
    max-width: 260px;
  }
}
/* =========================
   FIX FINAL: CARDS DE CURSOS PROLIJAS
   Pegar al final de styles.css si no reemplazás el archivo completo.
========================= */

.course-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.course {
  min-height: 430px;
  max-height: 470px;
  height: 100%;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-img {
  height: 132px;
  flex: 0 0 132px;
  margin-bottom: 14px;
}

.course .pill {
  flex: 0 0 auto;
  padding: 7px 11px;
  font-size: 11px;
}

.course h3 {
  margin: 18px 0 10px;
  font-size: clamp(25px, 2vw, 30px);
  line-height: 0.98;
  letter-spacing: -0.02em;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(118, 103, 120, 0.92);

  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course strong {
  display: block;
  margin: auto 0 14px;
  padding-top: 18px;
  font-size: 17px;
  line-height: 1;
}

.course button {
  min-height: 42px;
  padding: 12px 18px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

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

  .course {
    min-height: auto;
    max-height: none;
  }

  .course p {
    -webkit-line-clamp: 6;
  }
}


/* =========================
   MODAL DE DETALLE / TEMARIO DE CURSOS
========================= */

.course .course-actions {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.course .course-actions button {
  width: 100%;
}

.course .course-actions .secondary {
  min-height: 42px;
  padding: 12px 18px;
  font-size: 13px;
  box-shadow: none;
}

.course-detail-modal {
  align-items: center;
}

.course-detail-card {
  width: min(920px, calc(100vw - 28px));
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
}

.course-detail-card::-webkit-scrollbar {
  width: 10px;
}

.course-detail-card::-webkit-scrollbar-track {
  background: #fff7ee;
  border-radius: 999px;
}

.course-detail-card::-webkit-scrollbar-thumb {
  background: rgba(169, 111, 158, .42);
  border-radius: 999px;
}

.course-detail-hero {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff7e6, #f8edf6);
  border: 1px solid rgba(169, 111, 158, .16);
  margin-bottom: 18px;
}

.course-detail-hero h2 {
  max-width: 760px;
  margin: 18px 0 12px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .9;
}

.course-detail-hero p {
  max-width: 780px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.course-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.course-detail-meta div {
  padding: 18px;
  border-radius: 24px;
  background: #fff9f3;
  border: 1px solid rgba(169, 111, 158, .14);
}

.course-detail-meta small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.course-detail-meta b {
  display: block;
  color: var(--violet-dark);
  font-size: 16px;
}

.course-detail-section {
  margin-top: 22px;
}

.course-detail-section h3 {
  margin: 0 0 14px;
  color: var(--violet-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1;
}

.course-detail-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.course-detail-section li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 18px;
  background: rgba(255, 247, 238, .78);
  border: 1px solid rgba(169, 111, 158, .12);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.course-detail-section li::before {
  content: "✦";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--gold);
}

.course-program-list {
  display: grid;
  gap: 12px;
}

.course-program-item {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(169, 111, 158, .14);
  box-shadow: 0 14px 34px rgba(71, 36, 63, .05);
}

.course-program-item b {
  display: block;
  color: var(--violet-dark);
  font-size: 17px;
  margin-bottom: 8px;
}

.course-program-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.course-detail-actions {
  position: sticky;
  bottom: -42px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px -42px -42px;
  padding: 18px 42px;
  background: rgba(255, 255, 255, .88);
  border-top: 1px solid rgba(169, 111, 158, .14);
  backdrop-filter: blur(14px);
}

.course-detail-actions .primary,
.course-detail-actions .secondary {
  min-width: 190px;
}

@media (max-width: 680px) {
  .course-detail-card {
    max-height: 92vh;
    border-radius: 28px;
  }

  .course-detail-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .course-detail-meta {
    grid-template-columns: 1fr;
  }

  .course-detail-actions {
    position: static;
    display: grid;
    margin: 24px 0 0;
    padding: 0;
    background: transparent;
    border-top: 0;
    backdrop-filter: none;
  }

  .course-detail-actions .primary,
  .course-detail-actions .secondary {
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   FIX CARDS CURSOS - TÍTULOS COMPLETOS
========================= */

.course {
  min-height: 470px;
  max-height: none;
  overflow: visible;
}

.course h3 {
  font-size: clamp(27px, 2vw, 32px);
  line-height: 1.03;
  margin: 22px 0 12px;
  letter-spacing: -0.025em;

  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.course p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course strong {
  margin-top: auto;
  margin-bottom: 20px;
}

.course-actions {
  width: 100%;
  display: grid;
  gap: 10px;
}

.course-actions button {
  width: 100%;
}

/* =========================
   FOTOS VIVIANA · FEEDBACK CLIENTE
========================= */

.hero-visual {
  isolation: isolate;
}

.hero-portrait-card {
  position: relative;
  width: min(430px, 86vw);
  aspect-ratio: 0.78;
  overflow: hidden;
  border-radius: 42px;
  border: 10px solid rgba(255, 255, 255, 0.78);
  background: #fff;
  box-shadow: 0 35px 80px rgba(71, 36, 63, 0.18);
}

.hero-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 26px;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(71, 36, 63, 0.13);
}

.hero-portrait-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-portrait-card b {
  display: block;
  margin-top: 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 0.95;
}

.hero-logo-mini {
  position: absolute;
  right: 2%;
  top: 8%;
  z-index: 2;
  width: 118px;
  height: 118px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #ffe7bd, #f8edf6);
  box-shadow: 0 22px 50px rgba(71, 36, 63, 0.16);
}

.hero-logo-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
}

.about-photo-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(140px, 0.88fr);
  grid-template-rows: 190px 190px;
  gap: 14px;
  margin-bottom: 22px;
}

.about-photo-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(71, 36, 63, 0.14);
}

.about-photo-collage .collage-main {
  grid-row: 1 / 3;
  min-height: 394px;
  border-radius: 34px;
  object-position: center 44%;
}

.about-photo-collage .collage-small-a {
  object-position: 68% 44%;
}

.about-photo-collage .collage-small-b {
  object-position: 56% 72%;
}

.about-logo-card-compact {
  grid-template-columns: 86px 1fr;
  align-items: center;
  padding: 16px;
  border-radius: 26px;
  background: #fff7ee;
  border: 1px solid rgba(169, 111, 158, 0.13);
}

.about-logo-card-compact img {
  border-width: 4px;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(71, 36, 63, 0.11);
}

.about-logo-card-compact b {
  font-size: 31px;
}

@media (max-width: 980px) {
  .about-photo-collage {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.82fr);
    grid-template-rows: 170px 170px;
  }

  .about-photo-collage .collage-main {
    min-height: 354px;
  }
}

@media (max-width: 620px) {
  .hero-portrait-card {
    width: min(340px, 92vw);
    border-radius: 34px;
    border-width: 8px;
  }

  .hero-logo-mini {
    width: 92px;
    height: 92px;
    right: 0;
    top: 2%;
  }

  .about-photo-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 190px;
    gap: 12px;
  }

  .about-photo-collage img {
    border-width: 6px;
    border-radius: 24px;
  }

  .about-photo-collage .collage-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    height: 320px;
  }

  .about-photo-collage .collage-small-a,
  .about-photo-collage .collage-small-b {
    height: 190px;
  }

  .about-logo-card-compact {
    grid-template-columns: 76px 1fr;
  }

  .about-logo-card-compact img {
    max-width: none;
  }
}

/* Novedades / vivos gratuitos */
.hero-with-news {
  align-items: stretch;
}

.home-news-card {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(169, 111, 158, 0.18);
  border-radius: 34px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(71, 36, 63, 0.1);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-news-head h2 {
  margin: 14px 0 8px;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 0.98;
}

.home-news-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-news-list {
  display: grid;
  gap: 12px;
}

.home-news-item {
  background: #fff9f3;
  border: 1px solid rgba(169, 111, 158, 0.16);
  border-radius: 24px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.home-news-item.muted {
  background: #f8edf6;
}

.news-pill {
  width: fit-content;
  background: #f4deef;
  color: var(--violet-dark);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
}

.home-news-item b {
  color: var(--violet-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 1;
}

.home-news-item p,
.home-news-item span,
.home-news-item small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-news-item small {
  font-weight: 800;
  color: #9a6a90;
}

.news-action {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--violet-dark);
  color: #fff;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(71, 36, 63, 0.16);
}

.news-action:hover {
  transform: translateY(-2px);
  background: #35182f;
}

.account-extra {
  margin-top: 34px;
}

.compact-head {
  margin-bottom: 20px;
}

.compact-head h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.account-news-list {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(169, 111, 158, 0.16);
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(71, 36, 63, 0.07);
}

.account-news-item {
  align-items: flex-start;
}

@media (min-width: 1180px) {
  .hero-with-news {
    grid-template-columns: minmax(430px, 0.96fr) minmax(300px, 0.74fr) minmax(270px, 0.56fr);
    gap: clamp(24px, 2.6vw, 42px);
  }

  .hero-with-news .hero-copy,
  .hero-with-news .hero-logo,
  .hero-with-news .home-news-card {
    min-width: 0;
  }

  .hero-with-news .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(58px, 5.3vw, 74px);
  }

  .hero-with-news .hero-copy p {
    max-width: 540px;
  }

  .hero-with-news .hero-portrait-card {
    width: min(390px, 100%);
  }
}

@media (min-width: 1180px) and (max-width: 1320px) {
  .hero-with-news {
    grid-template-columns: minmax(390px, 0.94fr) minmax(270px, 0.68fr) minmax(252px, 0.56fr);
    gap: 22px;
  }

  .hero-with-news .hero-copy h1 {
    font-size: clamp(52px, 4.9vw, 64px);
  }

  .hero-with-news .hero-portrait-card {
    width: min(350px, 100%);
  }
}

@media (max-width: 1179px) {
  .home-news-card {
    grid-column: 1 / -1;
  }
}


/* Ajuste feedback: evita que la etiqueta inferior se superponga con la placa de la foto en el hero */
.hero-with-news .floating-card.bottom {
  display: none;
}
