@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

:root {
  --teal: #38B5AD;
  --teal-dark: #2a8f89;
  --teal-deeper: #1a6b66;
  --navy: #1e2d3d;
  --text: #4b4f58;
  --text-light: #6b7280;
  --bg-light: #f0f8f7;
  --bg-warm: #f4f8f8;
  --white: #fff;
  --border: #e0e9e9;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.site-header .container {
  display: flex; align-items: center; gap: 16px;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.main-nav {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
}
.main-nav a {
  font-size: 14px; font-weight: 700;
  color: var(--navy); padding: 8px 12px;
  border-radius: 6px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  background: var(--bg-light); color: var(--teal-dark);
  text-decoration: none;
}
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #b0dfe4; color: var(--navy);
  padding: 10px 22px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  transition: background .2s;
  white-space: nowrap; flex-shrink: 0;
}
.header-cta:hover { background: #93d2d9; text-decoration: none; }
.header-cta svg { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 0;
  cursor: pointer; padding: 6px; flex-direction: column;
  gap: 5px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-wa { display: none; }
}

/* ── HERO ── */
.hero {
  padding: 60px 0 40px;
  text-align: left;
}
.hero .container { max-width: 1100px; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px; align-items: center;
}
.hero-text { max-width: 660px; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 300px; margin: 0 auto; }
}
.hero-eyebrow {
  display: inline-block;
  color: var(--teal-dark); font-weight: 700;
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  color: var(--navy); line-height: 1.25;
  margin-bottom: 20px;
}
.hero .hook {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--teal-dark); font-weight: 700;
  line-height: 1.4; margin-bottom: 20px;
}
.hero p { font-size: 17px; margin-bottom: 14px; }
.hero .quote-block {
  font-size: 19px; margin: 24px 0;
  border-left: 4px solid var(--teal);
  padding-left: 20px;
}
.hero .quote-block strong { font-size: 21px; }

.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 16px 40px; border-radius: 50px;
  font-weight: 700; font-size: 16px;
  border: 0; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); }

/* ── PAIN SECTION ── */
.pain-section {
  padding: 50px 0;
  background: var(--bg-warm);
}
.pain-section .container { max-width: 1100px; }
.pain-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px; align-items: center;
}
.pain-photo img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
@media (max-width: 768px) {
  .pain-layout { grid-template-columns: 1fr; }
  .pain-photo { max-width: 300px; margin: 0 auto; }
}
.pain-eyebrow {
  color: var(--teal-dark); font-weight: 700;
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.pain-section h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: var(--navy); line-height: 1.3;
  margin-bottom: 18px;
}
.pain-section .big-text {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 900; color: var(--navy);
  line-height: 1.2; margin-bottom: 20px;
}
.pain-section p { font-size: 17px; margin-bottom: 14px; }
.pain-section .emphasis {
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin: 24px 0 10px;
}
.pain-section .emphasis-sub {
  font-size: 18px; font-style: italic; color: var(--teal-dark);
}

/* ── DOCTOR QUOTE ── */
.doctor-section {
  padding: 60px 0;
  background: var(--white);
}
.doctor-section .container { max-width: 800px; }
.doctor-section h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-style: italic; font-weight: 900;
  color: var(--navy); margin-bottom: 24px;
  line-height: 1.3;
}
.doctor-section p { font-size: 17px; margin-bottom: 16px; }
.doctor-section .author {
  font-size: 14px; color: var(--text-light);
  margin-top: 24px; font-style: italic;
}
.doctor-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px; align-items: center;
}
.doctor-photo img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
@media (max-width: 768px) {
  .doctor-layout {
    grid-template-columns: 1fr;
  }
  .doctor-photo { order: -1; max-width: 280px; margin: 0 auto; }
}

/* ── THREE PILLARS ── */
.pillars-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.pillars-section .intro {
  text-align: center; max-width: 700px;
  margin: 0 auto 40px;
}
.pillars-section .intro h2 {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--teal); margin-bottom: 12px;
}
.pillars-section .intro p { font-size: 17px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border-top: 4px solid var(--teal);
}
.pillar-num {
  font-size: 36px; font-weight: 900;
  color: var(--teal); opacity: .3;
}
.pillar-card h3 {
  font-size: 20px; font-weight: 900;
  color: var(--navy); margin: 8px 0 4px;
  text-transform: uppercase;
}
.pillar-card .subtitle {
  font-size: 14px; font-style: italic;
  color: var(--teal-dark); margin-bottom: 12px;
}
.pillar-card p { font-size: 15px; line-height: 1.6; }

/* ── CURRICULUM ACCORDION ── */
.curriculum-section {
  padding: 60px 0;
  background: var(--white);
}
.curriculum-section h2 {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy); margin-bottom: 24px;
  text-align: center;
}
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-btn {
  width: 100%; padding: 18px 24px;
  background: var(--white);
  border: 0; cursor: pointer;
  display: flex; justify-content: space-between;
  align-items: center; font: inherit;
  font-size: 16px; font-weight: 700;
  color: var(--navy); text-align: left;
}
.accordion-btn:hover { background: var(--bg-warm); }
.accordion-btn::after {
  content: '+'; font-size: 22px; color: var(--teal);
  transition: transform .2s;
}
.accordion-item.open .accordion-btn::after { content: '−'; }
.accordion-body {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px; line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body ul { padding-left: 20px; }
.accordion-body li { margin-bottom: 6px; }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 60px 0;
  background: var(--bg-warm);
}
.how-section h2 {
  text-align: center; font-size: clamp(22px, 4vw, 30px);
  color: var(--navy); margin-bottom: 8px;
}
.how-section .how-sub {
  text-align: center; font-size: 17px;
  color: var(--text-light); margin-bottom: 40px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.how-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.how-card .how-label {
  display: inline-block;
  background: var(--teal); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 14px;
}
.how-card h3 {
  font-size: 17px; color: var(--navy); margin-bottom: 10px;
}
.how-card p { font-size: 14px; line-height: 1.6; }

/* ── STATS ── */
.stats-section {
  padding: 40px 0;
  background: var(--teal);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.stat-item .stat-num {
  font-size: 28px; font-weight: 900;
}
.stat-item .stat-label {
  font-size: 13px; opacity: .85; margin-top: 4px;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 60px 0;
  background: var(--white);
}
.testimonials-section h2 {
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy); margin-bottom: 10px;
}
.testimonials-section .testi-sub {
  text-align: center; font-size: 17px;
  color: var(--teal-dark); margin-bottom: 36px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 28px;
  font-size: 15px; line-height: 1.7;
  font-style: italic;
  position: relative;
}
.testi-card::before {
  content: '"'; font-size: 60px;
  color: var(--teal); opacity: .3;
  position: absolute; top: 10px; left: 16px;
  line-height: 1; font-family: Georgia, serif;
}
.testi-card blockquote { margin-bottom: 16px; padding-top: 20px; }
.testi-author {
  font-style: normal; font-weight: 700;
  color: var(--navy); font-size: 14px;
}
.testi-country {
  font-style: normal; font-size: 12px;
  color: var(--teal-dark); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}

/* ── VIDEO TESTIMONIALS ── */
.testi-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 36px;
}
.video-wrap {
  position: relative;
  padding-bottom: 166%; /* vertical ~5:3 */
  height: 0; overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
@media (max-width: 768px) {
  .testi-videos { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ── COORDINATORS ── */
.team-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.team-section h2 {
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy); margin-bottom: 8px;
}
.team-section .team-sub {
  text-align: center; font-size: 16px;
  color: var(--text-light); margin-bottom: 36px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover; object-position: top;
  margin: 0 auto 14px;
  border: 3px solid var(--teal);
}
.team-card h3 {
  font-size: 16px; color: var(--navy); margin-bottom: 4px;
}
.team-card .team-role {
  font-size: 13px; font-style: italic; color: var(--text-light);
  margin-bottom: 8px;
}
.team-card .team-phone {
  font-size: 14px; font-weight: 700; color: var(--teal-dark);
}

/* ── SEDES ── */
.sedes-section {
  padding: 60px 0;
  background: var(--white);
}
.sedes-section h2 {
  font-size: clamp(28px, 5vw, 40px);
  color: var(--navy); margin-bottom: 8px;
}
.sedes-section h2 span { color: var(--teal); }
.sedes-section .sedes-sub {
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 32px;
  line-height: 1.6;
}
.sedes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sede-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--teal);
}
.sede-card h3 {
  font-size: 18px; color: var(--navy); margin-bottom: 2px;
}
.sede-card .edition {
  font-size: 13px; color: var(--teal-dark); font-weight: 700;
  margin-bottom: 4px;
}
.sede-card .venue {
  font-size: 14px; color: var(--text-light); margin-bottom: 14px;
}
.sede-date {
  display: inline-block;
  background: var(--teal-deeper); color: var(--white);
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}
.sede-date small {
  display: block; font-size: 11px;
  font-weight: 400; text-transform: uppercase;
  letter-spacing: .05em; opacity: .8;
}
.sede-blocks { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ── INVESTMENT ── */
.investment-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.investment-box {
  max-width: 600px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px; text-align: center;
  box-shadow: 0 8px 30px rgba(36, 78, 78, .08);
}
.investment-label {
  font-size: 13px; font-weight: 700;
  color: var(--teal-dark); text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 8px;
}
.investment-price {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 300; color: var(--teal);
  line-height: 1.1; margin-bottom: 12px;
}
.investment-note {
  font-size: 14px; color: var(--text-light);
  margin-bottom: 20px; line-height: 1.6;
}
.investment-installments {
  font-size: 18px; font-weight: 900;
  color: var(--navy); margin-bottom: 8px;
}
.investment-installments-note {
  font-size: 14px; color: var(--text-light); margin-bottom: 24px;
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal) 100%);
  color: var(--white); text-align: center;
}
.cta-banner p {
  font-size: 17px; max-width: 600px;
  margin: 0 auto 8px; opacity: .9;
}
.cta-banner .cta-headline {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900; font-style: italic;
  margin-bottom: 8px; opacity: 1;
}
.cta-banner .cta-sub {
  font-size: 16px; margin-bottom: 24px; opacity: .9;
}
.btn-white {
  display: inline-block;
  background: var(--white); color: var(--teal-deeper);
  padding: 16px 40px; border-radius: 50px;
  font-weight: 700; font-size: 16px;
  transition: transform .15s;
}
.btn-white:hover { text-decoration: none; transform: translateY(-1px); }

/* ── CHECKOUT FORM (preserved) ── */
.checkout-section {
  padding: 60px 0;
  background: var(--bg-warm);
}
.checkout-section .section-head {
  text-align: center; margin-bottom: 36px;
}
.checkout-section .section-head h2 {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--navy); margin-bottom: 4px;
}
.checkout-section .section-head .hashtag {
  color: var(--teal); font-weight: 700; font-size: 18px;
}

.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; margin: 18px 0;
  box-shadow: 0 5px 24px rgba(36, 78, 78, .04);
}
h2.card-title { font-size: 20px; margin: 0 0 22px; color: var(--navy); }
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid label {
  font-size: 14px; font-weight: 600;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--navy);
}
input:not([type=checkbox]):not([type=radio]), select {
  width: 100%; padding: 13px;
  border: 1px solid #bdcece; border-radius: 8px;
  background: var(--white);
  font: inherit; color: inherit;
}
input:focus, select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.methods { display: grid; gap: 12px; }
.methods label {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid #d5e4e4; border-radius: 10px;
  padding: 16px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.methods label:has(input:checked) {
  border-color: var(--teal-dark);
  background: #f0faf8;
}
.methods span { flex: 1; }
.methods small { display: block; color: var(--text-light); margin-top: 4px; }
.methods b { white-space: nowrap; }
.notice { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  line-height: 1.5; font-size: 14px;
}

button#start {
  width: 100%; margin: 22px 0 8px;
  background: var(--teal); color: white;
  border: 0; padding: 16px; border-radius: 50px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .15s;
}
button#start:hover { background: var(--teal-dark); transform: translateY(-1px); }
button:disabled { opacity: .6; cursor: wait; }
#message { font-weight: 600; line-height: 1.6; }

#coupon-area { margin-top: 18px; font-size: 14px; font-weight: 600; }
#coupon-area.hidden { display: none; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
#coupon-input { flex: 1; max-width: 220px; text-transform: uppercase; }
#coupon-btn {
  padding: 13px 20px;
  background: var(--teal-dark); color: var(--white);
  border: 0; border-radius: 8px;
  font: inherit; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
#coupon-btn:disabled { opacity: .6; cursor: wait; }
#coupon-msg { margin-top: 8px; font-weight: 600; }
.coupon-ok { color: var(--teal-dark); }
.coupon-err { color: #a33; }
.honeypot { position: absolute; left: -9999px; }

/* ── FAQ ── */
.faq-section {
  padding: 60px 0;
  background: var(--white);
}
.faq-section h2 {
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy); margin-bottom: 8px;
}
.faq-section .faq-sub {
  text-align: center; font-size: 16px;
  color: var(--text-light); margin-bottom: 32px;
}

/* ── CONTACT FOOTER ── */
.contact-section {
  padding: 40px 0;
  background: var(--bg-warm);
}
.contact-section h3 {
  text-align: center; font-size: 20px;
  color: var(--navy); margin-bottom: 24px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.contact-card {
  text-align: center; font-size: 14px;
}
.contact-card strong { display: block; font-size: 15px; color: var(--navy); }
.contact-card .contact-role { font-style: italic; color: var(--text-light); font-size: 13px; }
.contact-card .contact-phone { font-weight: 700; color: var(--teal-dark); margin-top: 4px; }
.contact-card .contact-email { color: var(--text-light); font-size: 13px; }

/* ── SITE FOOTER ── */
.site-footer {
  text-align: center; color: var(--text-light);
  font-size: 12px; padding: 24px; background: var(--white);
  border-top: 1px solid var(--border);
}

/* ── THANK YOU & ERROR (preserved) ── */
.thankyou, .error-page { text-align: center; }
.thankyou h2 { color: var(--teal-dark); }
.error-page h2 { color: #a33; }
.thankyou p, .error-page p { color: var(--text-light); line-height: 1.7; }
.btn-back {
  display: inline-block; margin-top: 18px;
  padding: 14px 28px; background: var(--teal);
  color: var(--white); border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.btn-back:hover { background: var(--teal-dark); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .investment-box { padding: 28px 20px; }
  .methods label { flex-wrap: wrap; }
  .methods b { margin-left: auto; }
}

@media (max-width: 480px) {
  .sedes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
