/* ===== Little Damien's Bilingual Workbooks — Brand Styles ===== */

:root {
  --navy: #1F4E79;
  --navy-dark: #163a5c;
  --orange: #F5A623;
  --orange-burnt: #D9772E;
  --cream: #F6D9B5;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #FFFBF4;
  --shadow: 0 10px 30px rgba(31, 78, 121, 0.12);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', 'Poppins', sans-serif;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', 'Fredoka', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}

p { margin: 0 0 1em 0; }

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

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

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

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo-link img {
  height: 44px;
  width: auto;
}

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

nav.main-nav a {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 8px 4px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

.nav-cta:hover { background: var(--orange-burnt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Baloo 2', 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  background: var(--orange-burnt);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 78, 121, 0.3);
}

.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 3px solid var(--navy);
}

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

/* ---------- Badge / Pill ---------- */
.pill {
  display: inline-block;
  background: #BEE3FF;
  color: var(--navy-dark);
  font-weight: 800;
  font-family: 'Baloo 2', 'Fredoka', sans-serif;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #EAF4FF 0%, var(--off-white) 70%);
  padding: 64px 0 40px;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

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

.hero p.lead {
  font-size: 1.15rem;
  color: #3a3a3a;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  text-align: center;
}

.hero-art img.hero-worksheet {
  max-width: 480px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(31,78,121,0.18));
  border-radius: 12px;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }

section.alt { background: var(--white); }

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

.section-head h2 { font-size: 2rem; }

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 2px solid #eef3f8;
}

.feature-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: #555; margin: 0; font-size: 0.97rem; }

.guide-card {
  display: block;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.guide-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.guide-card .text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 800;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.step {
  text-align: center;
  padding: 10px;
}

.step .num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.1rem;
}

/* ---------- Worksheet preview strip ---------- */
.preview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.preview-strip img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

/* ---------- Product card (Shop) ---------- */
.product-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 2px solid #eef3f8;
}

.product-media {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 20px;
}

.product-media img {
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.product-info {
  padding: 40px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 26px;
}

.price {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 1.2rem;
}

.checklist { list-style: none; padding: 0; margin: 0 0 26px; }

.checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.checklist li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
}

.coming-soon-card {
  background: var(--white);
  border: 3px dashed #cdd9e6;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: #6a7686;
  margin-top: 30px;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.testimonial .stars { color: var(--orange); margin-bottom: 10px; font-size: 1.1rem; }
.testimonial .name { font-weight: 800; color: var(--navy); margin-top: 14px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 0;
  background: var(--navy);
}

.trust-strip .item {
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.value-card {
  background: var(--off-white);
  border: 2px solid #eef3f8;
  border-radius: var(--radius);
  padding: 26px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  border-radius: 28px;
  padding: 50px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); }
.cta-band .btn-secondary { background: var(--navy); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #d8e6f3;
  padding: 50px 0 26px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

footer.site-footer h4 {
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  margin-bottom: 14px;
}

footer.site-footer a { color: #d8e6f3; opacity: 0.9; }
footer.site-footer a:hover { opacity: 1; text-decoration: underline; }

footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-hero, .grid-3, .steps, .testimonial-grid, .footer-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  .preview-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card { grid-template-columns: 1fr; }
  nav.main-nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .hero h1 { font-size: 2.1rem; }
  .product-info { padding: 30px; }
  .price-row, .hero-trust { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .logo-link img {
    height: 36px;
  }

  nav.main-nav {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }

  nav.main-nav a {
    font-size: 0.9rem;
    padding: 7px 8px;
  }

  .nav-cta {
    padding: 8px 14px;
  }

  .hero {
    padding: 34px 0 28px;
  }

  section {
    padding: 42px 0;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .hero-ctas, .hero-trust {
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 22px;
  }

  .badge {
    max-width: 100%;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 1.7rem;
  }

  .feature-card, .testimonial, .value-card {
    padding: 24px 20px;
  }

  .preview-strip, .product-media {
    grid-template-columns: 1fr;
  }

  .product-media {
    padding: 14px;
  }

  .product-info {
    padding: 26px 20px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .price {
    font-size: 2rem;
  }

  .checklist li {
    align-items: flex-start;
  }

  .coming-soon-card, .cta-band {
    border-radius: 20px;
    padding: 30px 20px;
  }

  .footer-grid {
    gap: 26px;
  }

  footer.site-footer {
    margin-top: 22px;
    padding-top: 38px;
  }
}

@media (max-width: 420px) {
  h1, h2, h3 {
    overflow-wrap: anywhere;
  }

  .pill {
    font-size: 0.76rem;
    padding: 7px 14px;
  }

  nav.main-nav a {
    font-size: 0.84rem;
  }
}

/* ===== Guide / article tables ===== */
article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: 'Nunito', sans-serif; }
article th, article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e6e8ec; }
article thead th { background: var(--navy); color: #fff; font-weight: 700; }
article tbody tr:nth-child(even) { background: #f6f8fa; }
article h2 { margin-top: 36px; }
article h3 { margin-top: 22px; }
article p { line-height: 1.7; }

@media (max-width: 680px) {
  article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  article th, article td {
    padding: 10px 12px;
  }
}
