/* ============================================
   MeadowStrings — Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:    #1e3a2f;
  --green-mid:     #2d5a45;
  --green-light:   #4a8c6b;
  --green-pale:    #e8f0eb;
  --amber:         #c97c2e;
  --amber-light:   #e8a44a;
  --cream:         #faf7f2;
  --cream-dark:    #f0ebe0;
  --text-dark:     #1a1a1a;
  --text-mid:      #3d3d3d;
  --text-soft:     #666;
  --white:         #ffffff;
  --border:        #d8d0c4;

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body:    'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 4px 24px rgba(30,58,47,0.10);
  --shadow-card: 0 2px 16px rgba(30,58,47,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

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

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-soft); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav__logo span { color: var(--amber); }

.nav__cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: background 0.25s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.nav__cta:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  padding-top: 68px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--green-dark);
  overflow: hidden;
}

.hero__text {
  padding: 80px 60px 80px 120px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__title em {
  font-style: normal;
  color: var(--amber-light);
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,124,46,0.3);
}

.btn-ghost {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

.hero__image {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.88;
}
.hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--green-dark) 0%, transparent 30%);
  z-index: 1;
}

/* ---- SECTION SHARED ---- */
.section { padding: 90px 0; }
.section--alt { background: var(--cream-dark); }
.section--dark { background: var(--green-dark); color: var(--white); }

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
}
.section--dark .section__tag { color: var(--amber-light); }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--green-dark);
}
.section--dark .section__title { color: var(--white); }

.section__lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.75;
}
.section--dark .section__lead { color: rgba(255,255,255,0.7); }

.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section__lead { margin: 0 auto; }

/* ---- START BLOCK (problem/solution) ---- */
.start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.start__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.start__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.start__item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-mid);
  font-size: 1.1rem;
}

.start__item-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
  color: var(--green-dark);
}

.start__item-text span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.start__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.start__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---- OVERVIEW (what you get) ---- */
.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.overview__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.overview__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.overview__card-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--green-pale);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
  -webkit-text-stroke: 1.5px var(--green-light);
}

.overview__card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.overview__card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---- MODULES ---- */
.modules__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: modules;
}

.module {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
  counter-increment: modules;
}
.module:last-child { border-bottom: none; }

.module__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  padding-top: 4px;
  text-align: right;
}

.module__content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.module__content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ---- FORMAT ---- */
.format__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.format__item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.format__icon {
  width: 48px;
  height: 48px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.format__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.format__item p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---- TEACHER ---- */
.teacher {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

.teacher__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.teacher__photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
}

.teacher__name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.teacher__role {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.teacher__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.teacher__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.teacher__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.teacher__points li::before {
  content: '—';
  color: var(--amber);
  flex-shrink: 0;
  font-weight: 700;
}

/* ---- REASSURANCE ---- */
.reassure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reassure__card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.reassure__card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.reassure__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.reassure__card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ---- FAQ ---- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--green-light); }

.faq__arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq__item.open .faq__arrow {
  transform: rotate(180deg);
  background: var(--green-dark);
  color: var(--white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq__answer-inner {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.75;
  padding-bottom: 20px;
}

.faq__item.open .faq__answer {
  max-height: 400px;
}

/* ---- LEAD FORM ---- */
.form-section {
  background: var(--green-dark);
  color: var(--white);
}

.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-wrap .section__title { color: var(--white); }
.form-wrap .section__lead { color: rgba(255,255,255,0.7); margin: 0 auto 40px; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--amber-light);
  background: rgba(255,255,255,0.1);
}

.lead-form textarea { resize: vertical; min-height: 90px; }

.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lead-form__submit {
  background: var(--amber);
  color: var(--white);
  padding: 18px 40px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.25s, transform 0.15s;
  margin-top: 6px;
}
.lead-form__submit:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
}

.lead-form__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  line-height: 1.5;
}
.lead-form__note a { color: rgba(255,255,255,0.6); text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: #0f1f19;
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.footer__brand-name span { color: var(--amber); }

.footer__brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 6px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  display: block;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  font-size: 0.88rem;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy { font-size: 0.8rem; }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #0f1f19;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }

.cookie-banner__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  line-height: 1.5;
}
.cookie-banner__text a { color: var(--amber-light); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

.cookie-accept {
  background: var(--amber);
  color: var(--white);
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--amber-light); }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }

/* ---- SUCCESS PAGE ---- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  padding: 40px 24px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  max-width: 540px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  color: var(--green-mid);
}

.success-card h1 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.success-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.success-card a {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.success-card a:hover { background: var(--green-mid); }

/* ---- LEGAL PAGES ---- */
.legal-page {
  padding-top: 68px;
  min-height: 100vh;
}

.legal-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 60px 0 50px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 10px;
}

.legal-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.legal-content {
  padding: 60px 0 80px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin: 36px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--green-mid);
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding: 60px 40px; order: 2; }
  .hero__image { order: 1; min-height: 380px; }
  .hero__image::before { background: linear-gradient(to bottom, var(--green-dark) 0%, transparent 40%); }
  .start { grid-template-columns: 1fr; gap: 48px; }
  .start__image { order: -1; }
  .teacher { grid-template-columns: 1fr; gap: 48px; }
  .teacher__photo img { height: 380px; }
  .overview__grid { grid-template-columns: 1fr 1fr; }
  .reassure__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero__text { padding: 48px 24px; }
  .overview__grid { grid-template-columns: 1fr; }
  .format__grid { grid-template-columns: 1fr; }
  .reassure__grid { grid-template-columns: 1fr; }
  .lead-form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .module { grid-template-columns: 48px 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .nav__cta { padding: 8px 16px; font-size: 0.85rem; }
  .success-card { padding: 40px 28px; }
}
