/* ===================== ROOT / RESET ===================== */
:root {
  --navy: #122A46;
  --navy-2: #0E2136;
  --blue: #2C67AC;
  --orange: #E87F25;
  --orange-dark: #CC6912;
  --ink: #1B2530;
  --gray: #5B6672;
  --white: #FFFFFF;
  --off-white: #F6F7F9;
  --border: #E4E7EC;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.accent-serif { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--orange); }
.accent { color: var(--orange); }

.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow-light { color: #FFB88A; }
.center { text-align: center; }
.section-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; color: var(--navy); }
.h2-light { color: var(--white); }

/* ===================== FADE UP ===================== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1.visible { transition-delay: 0.08s; }
.fade-up.delay-2.visible { transition-delay: 0.16s; }
.fade-up.delay-3.visible { transition-delay: 0.24s; }
.fade-up.delay-4.visible { transition-delay: 0.32s; }

/* ===================== ANNOUNCE BAR ===================== */
.announce-bar { background: var(--navy); color: var(--white); text-align: center; padding: 9px 20px; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.announce-bar .accent { font-weight: 700; }

/* ===================== NAVBAR ===================== */
#navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; max-width: 1240px; margin: 0 auto;
}
.nav-logo-img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--navy); transition: color var(--transition); }
.nav-links a:hover { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta {
  background: var(--orange); color: var(--white); padding: 12px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 700; transition: filter var(--transition), transform var(--transition);
}
.nav-cta:hover { filter: brightness(1.06); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transform: translateY(-100%); transition: transform 0.4s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: var(--white); font-size: 22px; font-weight: 600; }
.mobile-menu .btn-primary { background: var(--orange); padding: 14px 32px; border-radius: 50px; font-size: 16px; }
.mobile-menu-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--white); font-size: 22px; }

/* ===================== HERO ===================== */
#hero { padding: 40px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; color: var(--navy); margin-bottom: 22px; }
.hero-desc { font-size: 16px; color: var(--gray); max-width: 440px; margin-bottom: 34px; }
.hero-stats { display: flex; align-items: center; gap: 26px; }

.hero-stat-ring { position: relative; width: 92px; height: 92px; }
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--border); stroke-width: 7; }
.ring-progress { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 276; stroke-dashoffset: 5.5; }
.hero-stat-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-stat-num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; color: var(--navy); }
.hero-stat-label { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.03em; }

.hero-stat-pill {
  background: var(--off-white); border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 22px; display: flex; flex-direction: column;
}
.hero-stat-pill-num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 22px; color: var(--navy); }
.hero-stat-pill-label { font-size: 12px; color: var(--gray); }

.hero-right { display: grid; grid-template-columns: 0.62fr 1fr; gap: 16px; height: 460px; }
.hero-photo-col { display: flex; flex-direction: column; gap: 16px; }
.hero-photo-sm { border-radius: 20px; overflow: hidden; flex: 1; }
.hero-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-lg { position: relative; border-radius: 24px; overflow: hidden; }
.hero-photo-lg img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-cta {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: var(--white); color: var(--navy); text-align: center;
  padding: 15px; border-radius: 14px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--transition);
}
.hero-photo-cta:hover { transform: translateY(-2px); }

/* ===================== WHY AUTOMATIC ===================== */
#why-automatic { padding: 20px 0 100px; }
.automatic-box {
  background: var(--grad); border-radius: 32px; padding: 64px 64px 0;
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 40px; align-items: end;
  overflow: hidden;
}
.automatic-content { padding-bottom: 64px; }
.automatic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 46px; }
.automatic-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px; padding: 24px;
}
.automatic-icon {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(232,127,37,0.16);
  color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.automatic-title { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.automatic-desc { color: rgba(255,255,255,0.68); font-size: 13px; line-height: 1.55; }
.automatic-media { align-self: stretch; border-radius: 24px 24px 0 0; overflow: hidden; }
.automatic-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* ===================== JOURNEY / TIMELINE ===================== */
#journey { padding: 20px 0 110px; position: relative; }
.journey-header { max-width: 560px; margin: 0 auto 70px; }
.journey-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.journey-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--border); transform: translateX(-50%); }
.journey-item { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 0; margin-bottom: 56px; position: relative; }
.journey-item:last-child { margin-bottom: 0; }
.journey-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--orange); margin: 0 auto; z-index: 1; }
.journey-spacer { }
.journey-content { max-width: 340px; }
.journey-item--left .journey-content { justify-self: end; text-align: right; }
.journey-item--right .journey-content { justify-self: start; text-align: left; grid-column: 3; }
.journey-item--right .journey-spacer { grid-column: 1; }
.journey-item--right .journey-dot { grid-column: 2; }
.journey-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 6px; }
.journey-tag--accent { color: var(--orange); }
.journey-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.journey-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }
.journey-photo { margin-top: 16px; border-radius: 16px; overflow: hidden; width: 100%; max-width: 260px; }
.journey-item--left .journey-photo { margin-left: auto; }
.journey-photo img { width: 100%; height: 170px; object-fit: cover; }

/* ===================== INSTRUCTOR ===================== */
#instructor { padding: 20px 0 110px; }
.instructor-inner { display: grid; grid-template-columns: 0.75fr 1fr; gap: 64px; align-items: center; }
.instructor-media { border-radius: 24px; overflow: hidden; }
.instructor-media img { width: 100%; object-fit: cover; }
.instructor-body { font-size: 15px; color: var(--gray); margin-top: 16px; line-height: 1.7; max-width: 480px; }
.instructor-stats { display: flex; gap: 40px; margin-top: 36px; }
.instructor-stat-num { display: block; font-family: 'Fraunces', serif; font-weight: 700; font-size: 30px; color: var(--navy); }
.instructor-stat-label { font-size: 12px; color: var(--gray); }

/* ===================== PRICING ===================== */
#pricing { padding: 20px 0 110px; }
.pricing-box { background: var(--navy); border-radius: 32px; padding: 64px; }
.pricing-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.pricing-lead { color: rgba(255,255,255,0.65); font-size: 15px; max-width: 340px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px; padding: 32px 28px; position: relative;
}
.pricing-card--featured { background: var(--white); transform: translateY(-16px); }
.pricing-badge {
  position: absolute; top: -14px; left: 28px; background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 14px; border-radius: 50px;
}
.pricing-tier { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.pricing-card--featured .pricing-tier { color: var(--gray); }
.pricing-amount { font-family: 'Fraunces', serif; font-weight: 700; font-size: 40px; color: var(--white); margin-bottom: 10px; }
.pricing-card--featured .pricing-amount { color: var(--navy); }
.pricing-note { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 22px; line-height: 1.55; min-height: 58px; }
.pricing-card--featured .pricing-note { color: var(--gray); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 13px; color: rgba(255,255,255,0.8); padding-left: 22px; position: relative; }
.pricing-card--featured .pricing-features li { color: var(--ink); }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.pricing-btn {
  display: block; text-align: center; padding: 13px; border-radius: 50px;
  background: rgba(255,255,255,0.08); color: var(--white); font-weight: 700; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.18); transition: filter var(--transition), transform var(--transition);
}
.pricing-btn:hover { transform: translateY(-2px); }
.pricing-btn--light { background: var(--orange); border-color: var(--orange); }

/* ===================== FAQ ===================== */
#faq { padding: 20px 0 110px; }
.faq-header { max-width: 560px; margin: 0 auto 50px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; cursor: pointer; }
.faq-question { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 16px; color: var(--navy); gap: 20px; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--off-white); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform var(--transition), background var(--transition), color var(--transition); }
.faq-item.active .faq-icon { background: var(--orange); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, margin 0.35s ease; font-size: 14px; color: var(--gray); line-height: 1.7; max-width: 660px; padding-right: 46px; }
.faq-item.active .faq-answer { max-height: 220px; margin-top: 14px; }

/* ===================== REVIEWS ===================== */
#reviews { padding: 20px 0 110px; }
.reviews-box { background: var(--navy); border-radius: 32px; padding: 64px; }
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 46px; }
.reviews-lead { color: rgba(255,255,255,0.65); font-size: 15px; max-width: 340px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 28px; }
.review-stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.65; margin-bottom: 22px; min-height: 88px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review-name { color: var(--white); font-weight: 700; font-size: 14px; }
.review-role { color: rgba(255,255,255,0.55); font-size: 12px; }
.reviews-badges { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.reviews-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); padding: 10px 20px; border-radius: 50px; }
.reviews-badge svg { color: var(--orange); }

/* ===================== CTA + CONTACT ===================== */
#contact { padding: 20px 0 110px; }
.cta-card { border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; box-shadow: 0 30px 70px rgba(18,42,70,0.16); }
.cta-left { position: relative; padding: 56px; display: flex; align-items: flex-end; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url('../images/cta-photo.jpg') center / cover no-repeat; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,42,70,0.55) 0%, rgba(14,33,54,0.92) 100%); }
.cta-content { position: relative; z-index: 1; }
.cta-h2 { font-size: clamp(30px, 3.4vw, 42px); color: var(--white); line-height: 1.12; margin-bottom: 30px; }
.cta-meta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.cta-meta-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 14px; }
.cta-meta-item svg { color: var(--orange); flex-shrink: 0; }
.cta-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: var(--white); padding: 14px 26px; border-radius: 50px; font-weight: 700; font-size: 14px; transition: filter var(--transition), transform var(--transition); }
.cta-whatsapp:hover { filter: brightness(1.06); transform: translateY(-2px); }

.cta-right { background: var(--white); padding: 56px; }
.cta-form-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.cta-form-title { font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.cta-form-sub { font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field-group { margin-bottom: 16px; }
.field-label { display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field-input {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink); background: var(--off-white);
  transition: border-color var(--transition);
}
.field-input:focus { outline: none; border-color: var(--orange); }
.field-textarea { resize: vertical; min-height: 90px; }
.cta-form-submit {
  width: 100%; background: var(--navy); color: var(--white); border: none; border-radius: 50px;
  padding: 15px; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter var(--transition), transform var(--transition);
}
.cta-form-submit:hover { filter: brightness(1.15); transform: translateY(-2px); }
.cta-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cta-form-msg { font-size: 13px; margin-top: 12px; text-align: center; opacity: 0; max-height: 0; overflow: hidden; transition: opacity var(--transition); }
.cta-form-msg.show { opacity: 1; max-height: 40px; }
.cta-form-msg.success { color: #1a8a4a; }
.cta-form-msg.error { color: #c0392b; }

/* ===================== FOOTER ===================== */
footer { background: var(--navy-2); padding-top: 70px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.65; max-width: 320px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.social-btn:hover { background: var(--orange); }
.footer-col h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col ul a { color: inherit; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-legal a:hover { color: var(--orange); }

.footer-wordmark {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(70px, 11vw, 170px);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12);
  text-align: center; white-space: nowrap; line-height: 1; padding: 10px 0 0;
  letter-spacing: -0.01em; user-select: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { height: 380px; }
  .automatic-box { grid-template-columns: 1fr; padding: 48px 40px 0; }
  .automatic-media img { min-height: 300px; }
  .instructor-inner { grid-template-columns: 1fr; }
  .instructor-media img { max-height: 420px; }
  .pricing-grid, .reviews-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .cta-card { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .journey-item, .journey-item--right .journey-content, .journey-item--left .journey-content { grid-template-columns: 40px 1fr; }
  .journey-item { grid-template-columns: 40px 1fr; gap: 20px; }
  .journey-line { left: 20px; }
  .journey-item--left .journey-content, .journey-item--right .journey-content { grid-column: 2; justify-self: start; text-align: left; }
  .journey-item--left .journey-photo { margin-left: 0; }
  .journey-item--right .journey-dot, .journey-item--left .journey-dot { grid-column: 1; }
  .journey-item--right .journey-spacer, .journey-item--left .journey-spacer { display: none; }
  .pricing-header, .reviews-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section-inner { padding: 0 20px; }
  #navbar { padding: 16px 20px; }
  .hero-h1 { font-size: 34px; }
  .hero-right { grid-template-columns: 1fr; height: auto; }
  .hero-photo-col { flex-direction: row; height: 140px; }
  .automatic-box, .pricing-box, .reviews-box { padding: 36px 24px 0; border-radius: 22px; }
  .pricing-box, .reviews-box { padding: 36px 24px; }
  .automatic-grid { grid-template-columns: 1fr; }
  .cta-left, .cta-right { padding: 34px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
