/* Easy English with tea - site styles
   Palette and type pairing translated from the homepage design canvas. */

:root {
  --cream: #FBF4E9;
  --cream-2: #F4E9D8;
  --ink: #3A2A20;
  --ink-soft: #6B564A;
  --terracotta: #C1633B;
  --terracotta-dark: #A24F2E;
  --sage: #8FA07E;
  --sage-dark: #6F8060;
  --sage-tint: #EAF0E4;
  --yellow: #F2B85C;
  --yellow-tint: #FCEFD8;
  --coral: #F0876A;
  --coral-tint: #FBE7DF;
  --line: rgba(58, 42, 32, 0.10);
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
}

p { margin: 0; line-height: 1.6; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

ul { margin: 0; padding: 0; list-style: none; }

.ee-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow--sage { color: var(--sage-dark); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--terracotta); color: #FFF9F2; }
.btn-primary:hover { background: var(--terracotta-dark); color: #FFF9F2; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #FBF4E9; border-color: #FBF4E9; }
.btn-light { background: #FFF9F2; color: var(--terracotta-dark); }

/* --- Header --- */
.ee-header {
  width: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.ee-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}
.ee-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.ee-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ee-brand__name { font-family: 'Lora', serif; font-weight: 700; font-size: 19px; }
.ee-brand__tag { font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: var(--sage-dark); }
.ee-brand--small { gap: 10px; font-family: 'Lora', serif; font-weight: 700; font-size: 15px; }
.ee-brand--small em { font-style: italic; color: var(--sage-dark); font-weight: 500; }

.ee-nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 15px; }
.ee-nav a { color: var(--ink); }
.ee-nav--mobile { display: none; flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 24px 20px 24px; }
.ee-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* --- Hero --- */
.ee-hero { padding: 64px 0 56px 0; }
.ee-hero__grid { display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 48px; align-items: center; }
.ee-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ee-hero__copy h1 { font-size: 42px; }
.ee-lede { font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.ee-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.ee-check-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.ee-check-row span { display: flex; align-items: center; gap: 6px; }

.ee-hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.ee-hero__blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--sage-tint); }
.ee-hero__bubble {
  position: absolute; top: 6px; right: 4px;
  background: #FFF9F2; border-radius: 18px; padding: 10px 16px;
  box-shadow: 0 10px 24px -14px rgba(58,42,32,0.4);
  font-weight: 800; font-size: 14px; transform: rotate(-3deg);
}

/* --- Trust bar --- */
.ee-trustbar { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.ee-trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ee-trust-item { display: flex; align-items: center; gap: 12px; }
.ee-trust-item p { font-weight: 800; font-size: 14.5px; }

.ee-icon-badge {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ee-icon-badge--sage { background: var(--sage-tint); }
.ee-icon-badge--yellow { background: var(--yellow-tint); }
.ee-icon-badge--coral { background: var(--coral-tint); }

/* --- Sections / cards --- */
.ee-section { padding: 76px 0; }
.ee-section--tint { background: var(--sage-tint); }
.ee-section__heading { max-width: 620px; margin: 0 auto 44px auto; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ee-section__heading h2 { font-size: 32px; }
.ee-section__heading p { font-size: 16px; color: var(--ink-soft); }
.ee-empty-note { text-align: center; color: var(--ink-soft); font-style: italic; }

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 30px -18px rgba(58, 42, 32, 0.35);
}

.ee-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ee-course-card { display: flex; flex-direction: column; gap: 14px; }
.ee-course-card h3 { font-size: 20px; }
.ee-course-card p { color: var(--ink-soft); font-size: 15px; }

.pill-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 12px; width: fit-content; }

.ee-testimonial-card { display: flex; flex-direction: column; gap: 14px; }
.ee-quote { font-style: italic; color: var(--ink-soft); font-size: 15px; }
.ee-quote-author { font-weight: 800; font-size: 14px; margin-top: auto; }

/* --- Method section --- */
.ee-method__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.ee-method__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.ee-method__blob { position: absolute; width: 250px; height: 250px; border-radius: 44% 56% 58% 42% / 48% 44% 56% 52%; background: var(--yellow-tint); }
.ee-method__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ee-method__copy h2 { font-size: 30px; }
.ee-method__copy p { font-size: 16px; color: var(--ink-soft); }
.ee-check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.ee-check-list li { position: relative; padding-left: 30px; font-weight: 700; font-size: 15px; }
.ee-check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5 9.5 17 19 7' stroke='%236F8060' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- Summer banner --- */
.ee-summer-banner {
  background: var(--terracotta); border-radius: 30px; padding: 52px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.ee-summer-banner::after {
  content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,249,242,0.08);
}
.ee-summer-banner__eyebrow { color: #FCEFD8; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; position: relative; }
.ee-summer-banner h2 { font-size: 28px; color: #FFF9F2; max-width: 560px; position: relative; }
.ee-summer-banner p { color: #FCEFD8; font-size: 16px; max-width: 480px; position: relative; }
.ee-summer-banner .btn { position: relative; }

/* --- CTA / booking form --- */
.ee-cta { background: var(--ink); padding: 76px 0; }
.ee-cta__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.ee-cta__intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ee-cta__intro h2 { font-size: 30px; color: #FBF4E9; }
.ee-cta__intro p { color: #D9C9BB; font-size: 16px; }
.ee-cta__meta { color: #B7A798 !important; font-size: 14px; }

.ee-form { display: flex; flex-direction: column; gap: 16px; }
.ee-form__row { display: flex; flex-direction: column; gap: 6px; }
.ee-form__row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ee-form label { font-weight: 700; font-size: 14px; color: var(--ink); }
.ee-input {
  padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 15px; background: var(--cream);
}
.ee-input:focus { outline: none; border-color: var(--terracotta); }
.ee-form__error { color: #B3261E; font-size: 13px; font-weight: 700; }
.ee-form__summary ul { color: #B3261E; font-size: 13.5px; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.ee-form__submit { width: 100%; margin-top: 4px; }

/* --- Thank-you / error pages --- */
.ee-thankyou { display: flex; justify-content: center; }
.ee-thankyou__box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 480px; }
.ee-thankyou__box h1 { font-size: 28px; }
.ee-thankyou__box p { color: var(--ink-soft); font-size: 16px; }

/* --- Footer --- */
.ee-footer { background: var(--cream); padding: 40px 0 28px 0; }
.ee-footer__top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.ee-social-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
}
.ee-footer__bottom { margin-top: 20px; font-size: 13px; color: var(--ink-soft); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .ee-nav:not(.ee-nav--mobile) { display: none; }
  .ee-nav-toggle { display: inline-flex; }
  .ee-header__inner .btn { display: none; }
  .ee-nav--mobile.is-open { display: flex; }

  .ee-hero__grid,
  .ee-method__grid,
  .ee-cta__grid { grid-template-columns: 1fr; }
  .ee-hero__art { order: -1; }
  .ee-hero__copy h1 { font-size: 32px; }

  .ee-cards-grid { grid-template-columns: 1fr; }
  .ee-trustbar__grid { grid-template-columns: 1fr 1fr; }
  .ee-form__row-group { grid-template-columns: 1fr; }
  .ee-summer-banner { padding: 32px; }
}
