/* ==========================================================================
   Keep Speaking — shared stylesheet
   ========================================================================== */

:root{
  --c-cyan: #2DC6E7;
  --c-teal: #14A9C7;
  --c-green: #1B6E4C;
  --c-green-dark: #145939;
  --c-navy: #123247;
  --c-text: #3A5568;
  --c-bg-1: #EAF9FC;
  --c-bg-2: #F5FCFE;
  --c-bg-3: #F9FDFE;
  --c-border: #E3F2F6;
  --c-ref-card: #D8F2F8;
  --c-badge-bg: #E4F3EC;
  --c-badge-text: #1B6E4C;
  --c-white: #ffffff;
  --max-w: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'David Libre', serif;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration: none; color: inherit; }

img{ max-width: 100%; display: block; }

h1, h2, h3{ margin: 0; color: var(--c-navy); }

p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section{
  padding: 64px 0;
}

.section-tight{
  padding: 40px 0;
}

.eyebrow{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-teal);
  text-transform: uppercase;
}

.center{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lead{
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
}

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

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  padding: 14px 30px;
  white-space: nowrap;
}

.btn-primary{
  background: var(--c-green);
  color: var(--c-white);
  transition: background .15s ease;
}
.btn-primary:hover{ background: var(--c-green-dark); }

.btn-outline{
  background: transparent;
  border: 2px solid var(--c-navy);
  color: var(--c-navy);
  padding: 12px 28px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.btn-outline:hover{ background: var(--c-navy); color: var(--c-white); }

.btn-white{
  background: var(--c-white);
  color: var(--c-navy);
  transition: background .15s ease;
}
.btn-white:hover{ background: var(--c-bg-1); }

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

.site-header{
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo img{ height: 42px; width: auto; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-link{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease;
}
.nav-link:hover{ color: var(--c-teal); }
.nav-link.active{ color: var(--c-teal); border-bottom-color: var(--c-cyan); }

.nav-cta{
  font-size: 13px;
  padding: 11px 22px;
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.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); }

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

.hero{
  background: var(--c-cyan);
  padding: 56px 0;
}

.hero .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-photos{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.hero-photos-row{
  display: flex;
  align-items: flex-end;
}

.hero-photos-row img{
  width: 190px;
  height: auto;
}
.hero-photos-row img + img{
  margin-left: -24px;
}

.hero-photos-name{
  font-size: 30px;
  font-weight: 700;
  color: var(--c-white);
}

.hero-content{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.hero-content .eyebrow{ color: #E9FBFF; }

.hero-content h1{
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-white);
}

.hero-content .sub{
  font-size: 19px;
  color: #F3FCFE;
  font-weight: 500;
}

.hero-quote{
  position: relative;
  background: var(--c-white);
  border-radius: 20px;
  padding: 18px 24px;
  max-width: 440px;
  margin-top: 4px;
  font-size: 17px;
  color: var(--c-navy);
  font-weight: 600;
}
.hero-quote::before{
  content: "";
  position: absolute;
  left: 32px;
  top: -9px;
  width: 18px;
  height: 18px;
  background: var(--c-white);
  transform: rotate(45deg);
}

/* Highlight / feature cards ------------------------------------------------ */

.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.feat-card{
  background: var(--c-bg-2);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-box{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-box.cyan{ background: var(--c-cyan); }
.icon-box.green{ background: var(--c-green); }

.feat-card h3{ font-size: 17px; font-weight: 700; }
.feat-card p{ font-size: 14px; line-height: 1.55; }

/* Chips ---------------------------------------------------------------- */

.chip-row{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
}

.chip{
  background: var(--c-white);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  box-shadow: 0 4px 14px rgba(18,50,71,0.08);
}
.chip.small{
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
}

.bg-tint{ background: var(--c-bg-1); }
.bg-tint-2{ background: var(--c-bg-3); }

/* Testimonial highlight -------------------------------------------------- */

.testimonial-card{
  background: var(--c-ref-card);
  border-radius: 24px;
  padding: 32px 40px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card p{
  font-size: 17px;
  color: var(--c-navy);
  line-height: 1.65;
}
.testimonial-card .who{
  font-size: 14px;
  font-weight: 700;
  color: var(--c-teal);
}

/* Cookie banner ---------------------------------------------------------- */

.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-white);
  box-shadow: 0 -6px 24px rgba(18,50,71,0.14);
  z-index: 200;
  display: none;
}
.cookie-banner.visible{ display: block; }
.cookie-banner .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.cookie-banner p{
  font-size: 13.5px;
  color: var(--c-text);
  max-width: 720px;
  line-height: 1.5;
}
.cookie-actions{ display: flex; gap: 10px; flex: none; }
.cookie-actions .btn{ padding: 10px 20px; font-size: 13px; }

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

.site-footer{ width: 100%; }

.footer-cta{
  background: var(--c-cyan);
  padding: 56px 0;
  text-align: center;
}
.footer-cta h2{
  font-size: 32px;
  font-weight: 700;
  color: var(--c-white);
  max-width: 640px;
  margin: 0 auto 18px;
}
.footer-cta p{
  font-size: 16px;
  color: #F3FCFE;
  max-width: 560px;
  margin: 0 auto 26px;
}

.footer-main{
  background: var(--c-navy);
  padding: 48px 0 28px;
}

.footer-cols{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer-brand img{ height: 40px; width: auto; }
.footer-brand p{ font-size: 14px; color: #9FC7D6; line-height: 1.6; }

.footer-social{ display: flex; gap: 12px; margin-top: 4px; }
.social-btn{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.social-btn:hover{ background: rgba(255,255,255,0.22); }

.footer-col{ display: flex; flex-direction: column; gap: 12px; }
.footer-col-title{
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: 0.06em;
}
.footer-link{ font-size: 14px; color: #CFE9F1; transition: color .15s ease; }
.footer-link:hover{ color: var(--c-white); }

.footer-divider{
  height: 1px;
  background: rgba(255,255,255,0.12);
  width: 100%;
  margin-bottom: 20px;
}

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal{ font-size: 11.5px; color: #6F98AC; line-height: 1.5; max-width: 720px; }
.footer-copy{ font-size: 12.5px; color: #83AABB; margin-top: 4px; display: block; }
.footer-cookies{
  font-size: 12.5px;
  color: #83AABB;
  text-decoration: underline;
  white-space: nowrap;
}

/* Page hero banners (About / Lessons / Worksheets / References / Contact) - */

.page-banner{
  background: var(--c-bg-1);
  padding: 56px 0;
}
.page-banner h1{
  font-size: 36px;
  font-weight: 700;
  margin-top: 10px;
}
.page-banner p{
  font-size: 16px;
  max-width: 640px;
  margin-top: 14px;
  line-height: 1.6;
}

/* About page --------------------------------------------------------------- */

.about-intro .container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.about-intro-text{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.about-intro-text h1{ font-size: 38px; line-height: 1.2; }
.about-intro-text p{ font-size: 16px; line-height: 1.6; }

.about-photos{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.about-photos-title{ font-size: 26px; font-weight: 700; color: var(--c-navy); }
.about-photos-row{ display: flex; gap: 18px; }
.about-photo{ display: flex; flex-direction: column; align-items: center; gap: 8px; }
.about-photo img{ width: 130px; height: auto; }
.about-photo span{ font-size: 14px; font-weight: 600; color: var(--c-navy); }

.about-bio{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.about-bio p{ font-size: 16px; line-height: 1.75; }

.values-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.value-card{
  background: var(--c-bg-2);
  border-radius: 18px;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 300px;
}
.check-circle{
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--c-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card span{ font-size: 15px; font-weight: 600; color: var(--c-navy); }

/* Lessons page --------------------------------------------------------- */

.mode-grid{
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.mode-card{
  background: var(--c-bg-2);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 340px;
  max-width: 100%;
}
.mode-card h3{ font-size: 18px; font-weight: 700; }
.mode-card p{ font-size: 14px; line-height: 1.6; }

.price-grid{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.price-card{
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: 22px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
  max-width: 100%;
  align-items: center;
  text-align: center;
}
.price-card.featured{
  border-color: var(--c-cyan);
  box-shadow: 0 14px 34px rgba(45,198,231,0.22);
}
.price-card .label{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-teal);
}
.price-card .price{ font-size: 32px; font-weight: 700; color: var(--c-navy); }
.price-card .price .unit{ font-size: 15px; font-weight: 500; color: var(--c-text); }
.price-card .note{ font-size: 13px; color: var(--c-text); }

.bubble-grid{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.bubble-card{
  position: relative;
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  margin-top: 12px;
}
.bubble-tail{
  position: absolute;
  top: -11px;
  left: 36px;
  width: 20px;
  height: 20px;
  background: var(--c-white);
  border-left: 2px solid var(--c-border);
  border-top: 2px solid var(--c-border);
  transform: rotate(45deg);
}
.bubble-badge{
  background: var(--c-badge-bg);
  color: var(--c-badge-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}
.bubble-card .title{ font-size: 17px; font-weight: 700; color: var(--c-green); }
.bubble-card .subtitle{ font-size: 13px; font-weight: 600; color: var(--c-navy); }
.bubble-list{ margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.bubble-list li{ font-size: 13px; color: var(--c-text); line-height: 1.45; }

/* Worksheets page -------------------------------------------------------- */

.worksheets-hero{
  background: var(--c-bg-1);
  padding: 80px 0;
  text-align: center;
}
.worksheets-hero .center{ gap: 20px; align-items: center; }
.worksheets-icon{
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: var(--c-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.worksheets-hero h1{ font-size: 38px; font-weight: 700; }
.worksheets-hero p{ font-size: 16px; max-width: 540px; line-height: 1.6; }

/* References page -------------------------------------------------------- */

.ref-featured{
  background: var(--c-cyan);
  border-radius: 26px;
  padding: 36px 48px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ref-featured p{ font-size: 18px; color: var(--c-white); line-height: 1.7; }
.ref-featured .who{ font-size: 15px; font-weight: 700; color: var(--c-navy); }
.ref-icon-white{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ref-card{
  background: var(--c-ref-card);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ref-card .name{ font-size: 15px; font-weight: 700; color: var(--c-navy); }
.ref-card p{ font-size: 13px; color: var(--c-navy); line-height: 1.55; }

/* Contact page ------------------------------------------------------------ */

.contact-wrap{
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-info{
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
}
.contact-info p{ font-size: 15px; line-height: 1.7; }
.contact-row{ display: flex; align-items: center; gap: 14px; }
.contact-icon{
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--c-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-row a{ font-size: 17px; font-weight: 600; color: var(--c-navy); }
.contact-socials{ display: flex; gap: 12px; margin-top: 4px; }
.contact-icon-light{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form{
  background: var(--c-bg-2);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 400px;
  max-width: 100%;
}
.form-field{ display: flex; flex-direction: column; gap: 6px; }
.form-field label{ font-size: 13px; font-weight: 600; color: var(--c-navy); }
.form-field input,
.form-field textarea{
  border: 2px solid var(--c-border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-navy);
  background: var(--c-white);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--c-cyan);
}
.contact-form .btn{ width: 100%; border: none; }
.form-status{
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
}
.form-status.visible{ display: block; }
.form-status.ok{ color: var(--c-green); }
.form-status.err{ color: #B3261E; }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1024px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .ref-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero .container{ flex-direction: column; text-align: center; }
  .hero-content{ align-items: center; text-align: center; max-width: 640px; }
  .hero-quote{ margin-left: auto; margin-right: auto; }
  .about-intro .container{ justify-content: center; text-align: center; }
  .about-intro-text{ align-items: center; }
  .about-photos{ align-items: center; }
}

@media (max-width: 860px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }

  .main-nav.mobile-open{
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 12px 24px rgba(18,50,71,0.08);
    padding: 20px 24px 28px;
  }
  .main-nav.mobile-open .nav-links{
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }
  .main-nav.mobile-open .nav-cta{ margin-top: 6px; }

  .footer-cols{ flex-direction: column; gap: 32px; }
  .footer-bottom{ flex-direction: column; }
}

@media (max-width: 640px){
  .section{ padding: 44px 0; }
  .grid-4{ grid-template-columns: 1fr; }
  .ref-grid{ grid-template-columns: 1fr; }
  .hero-photos-row img{ width: 140px; }
  .hero-content h1{ font-size: 32px; }
  .page-banner h1{ font-size: 28px; }
  .footer-cta h2{ font-size: 26px; }
  .about-photos-row img{ width: 100px; }
  .contact-wrap{ gap: 32px; }
}
