:root {
  --teal: #0F766E;
  --mint: #5EEAD4;
  --tint: #ECFEFF;
  --ink: #16302C;
  --muted: #5B7570;
  --white: #FFFFFF;
  --border: #DCEDEA;
  --shadow-md: 0 8px 24px rgba(15,118,110,.08);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Demo badge */
.demo-badge { background: var(--teal); padding: 14px 0; }
.demo-badge__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.demo-badge__back { color: #B6F5EA; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.demo-badge__mark { display: flex; align-items: center; }

/* Nav */
.nav__utility { background: var(--ink); }
.nav__utility-inner { max-width: 1140px; margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav__utility-inner a { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #B9CFCB; }
.nav__utility-inner a:hover { color: var(--mint); }
.nav { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--white); z-index: 50; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.nav__logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--teal); }
.nav__logo span { color: #14B8A6; }
.nav__links { display: flex; gap: 26px; font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--teal); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 8px; cursor: pointer; transition: opacity .2s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--outline { border: 1.5px solid var(--teal); color: var(--teal); }
.btn--wa { background: #25D366; color: var(--white); padding: 10px 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #F0FDFA 0%, #F8FAFC 60%, var(--tint) 100%); border-bottom: 1px solid var(--border); padding: 90px 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero__badge { display: inline-block; background: var(--tint); color: var(--teal); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 30px; margin-bottom: 22px; }
.hero__h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--ink); }
.hero__h1 .hl { color: var(--teal); }
.hero__sub { font-size: 17px; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__panel { position: relative; width: 100%; aspect-ratio: 4 / 5; max-width: 380px; border-radius: 32px; overflow: hidden; background: var(--teal); box-shadow: var(--shadow-md); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }

/* Sections */
.section { padding: 80px 0; }
.section--light { background: #F6FBFA; }
.sec-eyebrow { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.sec-title { font-size: 32px; font-weight: 800; margin-bottom: 18px; max-width: 640px; color: var(--ink); }
.sec-desc { color: var(--muted); font-size: 16px; max-width: 640px; }

/* Cifras */
.stats { background: var(--teal); padding: 48px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 24px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: var(--white); }
.stat__label { font-size: 13px; color: #D5F7F0; margin-top: 6px; }

/* Especialidades: tarjetas horizontales (icono + texto) */
.especialidades__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.esp-item { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: transform .2s, box-shadow .2s; }
.esp-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.esp-item__icon { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; background: var(--tint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.esp-item h4 { font-size: 16px; margin-bottom: 8px; }
.esp-item p { font-size: 14px; color: var(--muted); }

/* Especialidades: nube de etiquetas */
.specialty-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.specialty-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--border); color: var(--ink); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 30px; transition: border-color .2s, color .2s, background .2s; }
.specialty-tag i { color: var(--teal); font-size: 16px; }
.specialty-tag:hover { border-color: var(--teal); background: var(--tint); color: var(--teal); }

/* Sedes: fichas verticales compactas */
.sede__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.sede-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px 22px; }
.sede-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; }
.sede-card h4 { font-size: 16px; margin-bottom: 8px; }
.sede-card p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.sede-card__hours { display: inline-block; font-size: 12px; font-weight: 700; color: var(--teal); background: var(--tint); padding: 4px 12px; border-radius: 20px; }

/* Testimonios: quote carousel */
.quote-carousel { display: flex; align-items: center; gap: 20px; margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto; }
.quote-nav { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--teal); font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s; }
.quote-nav:hover { background: var(--tint); border-color: var(--teal); }
.quote-card { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 40px; text-align: center; }
.quote-card__stars { color: #F5B700; margin-bottom: 16px; font-size: 18px; }
.quote-card__text { font-size: 18px; color: var(--ink); font-style: italic; margin-bottom: 22px; line-height: 1.5; }
.quote-card__author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.quote-card__name { font-weight: 700; font-size: 14px; text-align: left; }
.quote-card__role { font-size: 12px; color: var(--muted); text-align: left; }
.quote-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.quote-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
.quote-dot.is-active { background: var(--teal); }

/* Equipo */
.equipo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; max-width: 760px; }
.equipo-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 20px; }
.equipo-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: var(--shadow-md); }
.equipo-card h4 { font-size: 16px; margin-bottom: 4px; }
.equipo-card p { font-size: 13px; color: var(--muted); }

/* Planes */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.plan-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; text-align: center; display: flex; flex-direction: column; }
.plan-card--featured { border-color: var(--teal); box-shadow: var(--shadow-md); transform: scale(1.03); }
.plan-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.plan-card__name { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.plan-card__price { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--teal); margin-bottom: 4px; }
.plan-card__price span { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-card__features { list-style: none; text-align: left; margin: 22px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted); }
.plan-card__features li i { color: var(--teal); font-size: 16px; margin-top: 2px; }
.plan-card .btn { justify-content: center; }

/* FAQ */
.faq__list { max-width: 780px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 0 22px; }
.faq-item summary { padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--teal); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Contacto */
.contacto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; max-width: 900px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: center; }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.contact-card__cta { font-weight: 700; color: var(--teal); font-size: 14px; }
.demo-note { margin-top: 36px; font-size: 13px; color: var(--muted); }
.demo-note a { color: var(--teal); font-weight: 600; }

/* Footer */
.footer { background: var(--teal); color: #D5F7F0; padding: 48px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__logo { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.footer__logo span { color: var(--mint); }
.footer p { font-size: 13px; margin-bottom: 8px; }
.footer__link { font-weight: 600; color: var(--mint); }
.footer__col h5 { font-family: var(--font-head); color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer__col p { display: flex; align-items: center; gap: 8px; }
.footer__col p i { color: var(--mint); }

@media (max-width: 980px) {
  .contacto__grid { grid-template-columns: repeat(2, 1fr); }
  .plans__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .plan-card--featured { transform: none; }
  .sede__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__btns { justify-content: center; }
  .hero__visual { margin-top: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__utility-inner a:last-child { display: none; }
  .hero__h1 { font-size: 32px; }
  .especialidades__list { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .equipo__grid { grid-template-columns: 1fr; }
  .sede__grid { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
  .quote-carousel { gap: 10px; }
  .quote-card { padding: 24px; }
  .quote-card__text { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col p { justify-content: center; }
}
