/* ==========================================================================
   Language Lab by Sebastian — stylesheet
   Palette: deep navy + brushed gold, inspired by the brand logo
   ========================================================================== */

:root {
  --navy: #0B1E36;
  --navy-2: #14283F;
  --navy-3: #1C3454;
  --gold: #C6A15B;
  --gold-light: #E4CB94;
  --gold-dark: #A6813F;
  --cream: #F8F4EA;
  --cream-2: #F1EADA;
  --white: #FFFFFF;
  --ink: #1B2430;
  --ink-soft: #57616F;
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --shadow: 0 14px 34px rgba(11, 30, 54, 0.10);
  --shadow-hover: 0 20px 44px rgba(11, 30, 54, 0.16);
  --shadow-navy: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 88px 0; }
.section--navy { background: var(--navy); }
.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--white); }

.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(248, 244, 234, 0.72); }

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.rule--left { margin: 0 0 20px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
  display: inline-block;
}

.section--navy .eyebrow { color: var(--gold-light); }
.section--navy .eyebrow::before { background: var(--gold-light); }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 44px;
  text-align: left;
}

.section-head p { font-size: 1.04rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(198, 161, 91, 0.35);
}
.btn--primary:hover { background: var(--gold-light); box-shadow: 0 14px 30px rgba(198, 161, 91, 0.45); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 30, 54, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-plate {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-navy);
}

.brand-plate img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text .lt-main {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-transform: uppercase;
}

.logo-text .lt-sub {
  font-family: 'Tangerine', cursive;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  border-color: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.lang-switch a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  border: 1px solid rgba(11,30,54,0.15);
}

.lang-switch a.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 10px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn--outline-navy { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 90px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(198,161,91,0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(198,161,91,0.10), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { color: var(--white); }

.hero-copy p {
  font-size: 1.12rem;
  max-width: 480px;
  color: rgba(248, 244, 234, 0.78);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--gold-light);
}

.hero-stat span {
  font-size: 0.86rem;
  color: rgba(248, 244, 234, 0.62);
  font-weight: 600;
}

.hero-art { position: relative; height: 400px; }

.hero-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-navy);
  padding: 30px;
  width: 300px;
  z-index: 2;
  border-top: 3px solid var(--gold);
}

.hero-card.hero-card--float {
  position: absolute;
  bottom: 0;
  right: 10px;
  width: 230px;
  padding: 22px;
  background: var(--navy-2);
  border-top: 3px solid var(--gold);
}

.hero-card.hero-card--float h3,
.hero-card.hero-card--float p { color: var(--white); }
.hero-card.hero-card--float p { color: rgba(248,244,234,0.7); }

/* ---------- Icon circles (replace emoji) ---------- */

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border: 1.5px solid var(--gold);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.icon-circle svg { width: 24px; height: 24px; stroke: var(--gold-dark); }

.icon-circle--navy { background: var(--navy-2); border-color: var(--gold); }
.icon-circle--navy svg { stroke: var(--gold-light); }

/* ---------- Cards / Grids ---------- */

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1000px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 320px; margin-top: 24px; }
}

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(11,30,54,0.06);
  border-bottom: 3px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--gold);
}

.tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--gold-dark);
  margin-bottom: 14px;
}

/* ---------- Feature list (checkmark bullets) ---------- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 6px; }

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* ---------- Testimonials / Pull quotes ---------- */

.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--navy); }
.testimonial-author span { font-size: 0.82rem; color: var(--ink-soft); }

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--white);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote span { color: var(--gold-light); font-style: normal; font-weight: 700; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198,161,91,0.35);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(198,161,91,0.14), transparent 50%);
}

.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(248,244,234,0.75); max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: rgba(248,244,234,0.62); padding: 70px 0 30px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--gold-light);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Lato', sans-serif;
  font-weight: 800;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: rgba(248,244,234,0.62); font-size: 0.92rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .logo-text .lt-main { color: var(--white); }
.footer-logo .logo-text .lt-sub { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(248,244,234,0.42);
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding: 60px 0 68px;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(198,161,91,0.16), transparent 45%);
}

.page-hero > * { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { justify-content: center; margin-bottom: 16px; color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--gold-light); }
.page-hero p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; color: rgba(248,244,234,0.72); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px;
  border-top: 3px solid var(--gold);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 7px; }

.field label {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.field input, .field select, .field textarea {
  border: 1.5px solid #E3DBC7;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 8px; }

.form-success {
  display: none;
  background: var(--cream-2);
  color: var(--gold-dark);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

/* ---------- Contact info list ---------- */

.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-item .icon-circle { margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.02rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display', serif;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
  font-family: 'Lato', sans-serif;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; margin-bottom: 0; }

/* ---------- Team ---------- */

.team-card { text-align: center; }

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--gold);
}

/* ---------- Values / rows ---------- */

.value-row { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; }
.value-row .icon-circle { margin-bottom: 0; flex-shrink: 0; }

/* ---------- Method / lesson sample block ---------- */

.sample-block {
  background: var(--navy-2);
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-navy);
  padding: 40px;
  border-top: 3px solid var(--gold);
}

.sample-block .tag { margin-bottom: 10px; }
.sample-block h3 { color: var(--white); }
.sample-block p { color: rgba(248, 244, 234, 0.72); }

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

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

.sample-chip {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--ink);
  border-left: 2px solid var(--gold);
}

/* ---------- Light-card contrast guards (always readable, regardless of section bg) ---------- */

.hero-card h3 { color: var(--navy); }
.hero-card p { color: var(--ink-soft); }
.card h3 { color: var(--navy); }
.card p { color: var(--ink-soft); }
.section--navy .feature-list li { color: rgba(248, 244, 234, 0.72); }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* Cookie notice */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  color: rgba(248, 244, 234, 0.85);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-navy);
}
.cookie-notice-text { max-width: 640px; text-align: center; }
.cookie-notice-text a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }
.cookie-notice-btn {
  flex-shrink: 0;
  background: var(--gold-dark);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.cookie-notice-btn:hover { opacity: 0.9; }
@media (max-width: 640px) {
  .cookie-notice { flex-direction: column; text-align: center; padding: 14px 18px; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  transition: bottom 0.2s ease, transform 0.18s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
body.has-cookie-notice .whatsapp-float { bottom: 104px; }
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  body.has-cookie-notice .whatsapp-float { bottom: 132px; }
}
