/* =====================================================================
   Fluenta — styles.css
   Theme: "spotlight / voice" — deep indigo + persimmon + amber
   Display: Manrope · Body: Inter · Signature: soundwave equalizer
   ===================================================================== */

:root {
  --ink:        #1B1340;   /* deep indigo — dark sections & headings   */
  --ink-2:      #2C2168;   /* lifted indigo — cards on dark            */
  --paper:      #F5F2FA;   /* soft lilac-white — main background       */
  --white:      #FFFFFF;
  --coral:      #FF5A3C;   /* persimmon — primary accent / CTA         */
  --coral-dk:   #E5421F;
  --amber:      #FFC15E;   /* warm amber — secondary highlight         */
  --muted:      #6B6685;   /* muted text on light                      */
  --muted-dk:   #B7B2D6;   /* muted text on dark                       */
  --line:       #E3DEF1;   /* hairlines on light                       */
  --line-dk:    rgba(255,255,255,.12);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-pill: 999px;

  --shadow:     0 18px 50px -24px rgba(27,19,64,.45);
  --shadow-sm:  0 8px 24px -16px rgba(27,19,64,.5);

  --maxw:       1140px;
  --pad:        clamp(20px, 5vw, 64px);

  --ff-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ff-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --t: 240ms cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--coral);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 46px); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 28px -12px rgba(255,90,60,.7); }
.btn-primary:hover { background: var(--coral-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-on-dark { background: transparent; color: var(--white); border-color: var(--line-dk); }
.btn-on-dark:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- soundwave signature ---------- */
.soundwave { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.soundwave span {
  width: 5px; border-radius: 4px; background: var(--amber);
  animation: eq 1.4s ease-in-out infinite;
  transform-origin: bottom;
}
.soundwave span:nth-child(odd) { background: var(--coral); }
.soundwave span:nth-child(1) { height: 30%; animation-delay: -.2s; }
.soundwave span:nth-child(2) { height: 70%; animation-delay: -.6s; }
.soundwave span:nth-child(3) { height: 100%; animation-delay: -.1s; }
.soundwave span:nth-child(4) { height: 55%; animation-delay: -.9s; }
.soundwave span:nth-child(5) { height: 85%; animation-delay: -.4s; }
.soundwave span:nth-child(6) { height: 40%; animation-delay: -.7s; }
.soundwave span:nth-child(7) { height: 65%; animation-delay: -.3s; }
@keyframes eq { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,250,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--coral); transition: width var(--t);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 14px; font-weight: 700; font-size: 14px; color: var(--ink);
  transition: border-color var(--t);
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle svg { width: 16px; height: 16px; }
.lang-toggle .chev { transition: transform var(--t); }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; display: none; flex-direction: column;
}
.lang-menu.is-open { display: flex; }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; border-radius: 8px; padding: 9px 11px;
  font-size: 14px; color: var(--ink); text-align: left; transition: background var(--t);
}
.lang-option:hover { background: var(--paper); }
.lang-option .lang-code {
  font-family: var(--ff-display); font-weight: 800; font-size: 12px;
  background: var(--ink); color: var(--white); border-radius: 6px; padding: 3px 7px; min-width: 34px; text-align: center;
}
.lang-option.is-active { background: var(--paper); }
.lang-option.is-active .lang-code { background: var(--coral); }

/* burger */
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%); transition: var(--t);
}
.nav-toggle span::before { transform: translate(-50%,-7px); }
.nav-toggle span::after  { transform: translate(-50%,5px); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  background: radial-gradient(120% 120% at 85% 0%, #2C2168 0%, var(--ink) 55%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 90% 110%, rgba(255,90,60,.22), transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(56px, 8vw, 96px); position: relative; z-index: 1;
}
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 18px 0 20px; }
.hero h1 .accent { color: var(--amber); }
.hero-sub { color: var(--muted-dk); font-size: clamp(17px, 2.2vw, 20px); max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 100%; max-height: 460px; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--white); color: var(--ink); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.hero-badge .soundwave { height: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line-dk); position: relative; z-index: 1;
}
.hero-stats .stat { padding: 26px 4px 40px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line-dk); padding-left: 22px; }
.stat-num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); color: var(--amber); }
.stat-label { color: var(--muted-dk); font-size: 14px; margin-top: 4px; }

/* =====================================================================
   PROGRAMS
   ===================================================================== */
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.program-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.program-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--amber)); color: var(--white);
}
.program-ico svg { width: 26px; height: 26px; }
.program-card h3 { font-size: 22px; }
.program-card p { color: var(--muted); }
.program-feats { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.program-feats li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink); }
.program-feats li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1340' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.program-link {
  margin-top: auto; padding-top: 8px; font-family: var(--ff-display); font-weight: 700;
  font-size: 15px; color: var(--coral); display: inline-flex; align-items: center; gap: 7px;
}
.program-link::after { content: "→"; transition: transform var(--t); }
.program-card:hover .program-link::after { transform: translateX(4px); }

/* =====================================================================
   METHOD
   ===================================================================== */
.method { background: var(--ink); color: var(--white); }
.method .section-head h2 { color: var(--white); }
.method .section-head p { color: var(--muted-dk); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--ink-2); border: 1px solid var(--line-dk); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
}
.step-num { font-family: var(--ff-display); font-weight: 800; font-size: 15px; color: var(--amber); letter-spacing: .08em; }
.step h3 { font-size: 20px; margin: 14px 0 10px; color: var(--white); }
.step p { color: var(--muted-dk); font-size: 15px; }
.step::after {
  content: ""; position: absolute; top: 38px; right: -12px; width: 22px; height: 2px; background: var(--line-dk);
}
.step:last-child::after { display: none; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-list li { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; }
.about-list li svg { width: 22px; height: 22px; color: var(--coral); flex-shrink: 0; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 5/4; }
.about-media .soundwave {
  position: absolute; right: 22px; bottom: -18px; background: var(--white);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); height: 30px; box-sizing: content-box;
}

/* =====================================================================
   COACHES
   ===================================================================== */
.coaches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coach {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--t), box-shadow var(--t);
}
.coach:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coach img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.coach-body { padding: 22px 24px 26px; }
.coach-body h3 { font-size: 20px; }
.coach-role { color: var(--coral); font-weight: 700; font-size: 14px; margin: 4px 0 10px; font-family: var(--ff-display); }
.coach-body p { color: var(--muted); font-size: 15px; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews { background: linear-gradient(180deg, var(--paper), #EFE9FA); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.review-quote { color: var(--ink); font-size: 17px; line-height: 1.55; }
.review-quote::before { content: "“"; font-family: var(--ff-display); font-size: 42px; color: var(--amber); line-height: 0; display: block; height: 22px; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-name { font-family: var(--ff-display); font-weight: 700; font-size: 15px; }
.review-role { color: var(--muted); font-size: 13px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; font-family: var(--ff-display); font-weight: 700; font-size: clamp(17px, 2vw, 20px); color: var(--ink);
}
.faq-q .icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq-q .icon::before, .faq-q .icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--coral); border-radius: 2px; transition: var(--t);
}
.faq-q .icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .icon::after  { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item.is-open .faq-q .icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a-inner { padding: 0 4px 22px; color: var(--muted); max-width: 70ch; }
.faq-item.is-open .faq-a { max-height: 320px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--ink); color: var(--white); }
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: var(--muted-dk); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 52px); align-items: start; }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color var(--t), background var(--t);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); background: var(--white); outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); background: #FFF4F1; }
.field-error { color: var(--coral-dk); font-size: 13px; margin-top: 6px; min-height: 1px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent { display: flex; align-items: flex-start; gap: 11px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--coral); }
.consent label { font-family: var(--ff-body); font-weight: 500; font-size: 14px; color: var(--muted); margin: 0; }

.form-success {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); text-align: center;
}
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--coral), var(--amber)); display: grid; place-items: center;
}
.form-success .check svg { width: 32px; height: 32px; color: var(--white); }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info h3 { color: var(--white); font-size: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--line-dk); color: var(--amber);
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-label { font-family: var(--ff-display); font-weight: 700; font-size: 13px; color: var(--muted-dk); text-transform: uppercase; letter-spacing: .08em; }
.info-val { color: var(--white); font-size: 16px; margin-top: 2px; }
.info-val a:hover { color: var(--amber); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #15102E; color: var(--muted-dk); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 32ch; font-size: 15px; }
.footer-col h4 { font-family: var(--ff-display); font-size: 14px; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 15px; transition: color var(--t); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dk);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 14px;
}

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.legal { padding-block: clamp(48px, 7vw, 90px); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: block; }
.legal-body h2 { font-size: 22px; margin: 30px 0 10px; }
.legal-body p { color: var(--muted); margin-bottom: 14px; }
.legal-back { display: inline-flex; margin-top: 32px; font-weight: 700; color: var(--coral); font-family: var(--ff-display); }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 360px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .coaches-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 18px var(--pad) 28px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--t);
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .programs-grid { grid-template-columns: 1fr; }
  .coaches-grid, .reviews-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats .stat + .stat { border-left: 0; padding-left: 4px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat { padding-block: 16px; border-top: 1px solid var(--line-dk); }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .soundwave span { transform: scaleY(.7); }
}
