/* ==========================================================================
   Pinnacle Academy — Montessori Landing Page
   Pure CSS, zero JavaScript
   ========================================================================== */

:root {
  /* Color system: 1 primary + accent + neutrals */
  --teal: #0d6e63;
  --teal-dark: #0a544c;
  --teal-soft: #e6f2f0;
  --amber: #f0a017;
  --amber-dark: #d68a08;
  --cream: #fbf7ef;
  --white: #ffffff;
  --ink: #1f2a2e;
  --muted: #5b6b6f;
  --line: #e7e0d3;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 110, 99, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 110, 99, 0.16);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

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

.eyebrow {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }
.surface-white { background: var(--white); }
.muted-copy { color: var(--muted); margin-top: 14px; }
.action-gap { margin-top: 26px; }
.centered-cta { margin-top: 40px; text-align: center; }
.narrow-container { max-width: 820px; }
.eyebrow-on-dark { background: rgba(240, 160, 23, 0.18); color: #ffd27a; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--amber); color: #3a2a02; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--teal); color: var(--white); }
.btn-secondary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--teal-dark);
  color: #d9ece9;
  font-size: 0.9rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-name span { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }
.main-nav { display: none; gap: 26px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 500; font-size: 0.98rem; }
.main-nav a:hover { color: var(--teal); }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--cream) 100%);
  padding: 64px 0 76px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.hero h1 .hl { color: var(--teal); }
.hero-lead { font-size: 1.18rem; color: var(--muted); margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.hero-trust div { display: flex; align-items: baseline; gap: 8px; }
.hero-trust b { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.5rem; color: var(--teal); }
.hero-trust span { font-size: 0.9rem; color: var(--muted); }
.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.hero-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.hero-badge b { display: block; color: var(--teal); font-size: 1.05rem; }
.hero-badge small { color: var(--muted); }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid #fff; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pill-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; }
.pill-list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  margin-top: 2px;
}
.pill-list b { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.pill-list p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Values ---------- */
.values { background: linear-gradient(180deg, var(--cream), var(--teal-soft)); }
.values-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 18px; }
.value {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  text-align: center;
}
.value .letter {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--amber-dark);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
  margin: 0 auto 14px;
}
.value h4 { font-size: 1.05rem; }
.value p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Tuition / affordability ---------- */
.afford {
  background: var(--teal-dark);
  color: #eaf5f3;
  border-radius: 22px;
  padding: 44px 34px;
  display: grid;
  gap: 26px;
  align-items: center;
}
.afford h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.afford p { color: #c6e0dc; margin-top: 12px; }
.afford ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.afford li { display: flex; gap: 10px; align-items: center; color: #eaf5f3; }
.afford li::before { content: "✓"; color: var(--amber); font-weight: 700; }
.afford .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 22px;
  margin-bottom: 14px;
}
.faq summary {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 90px 0;
  background:
    linear-gradient(rgba(10, 84, 76, 0.88), rgba(10, 84, 76, 0.92)),
    url("images/students-outdoor.webp") center / cover no-repeat;
}
.final-cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.final-cta p { color: #d3e9e5; max-width: 620px; margin: 18px auto 32px; font-size: 1.12rem; }
.final-cta .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 30px; }
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--teal-soft); color: var(--teal); display: grid; place-items: center;
}
.contact-list b { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; display: block; }
.contact-list a { color: var(--teal); }
.contact-list span { color: var(--muted); font-size: 0.95rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d0d1; padding: 54px 0 30px; }
.footer-top { display: grid; gap: 30px; }
.footer-brand .brand-name, .footer-brand .brand-name span { color: #fff; }
.footer-brand p { color: #9aa8aa; margin-top: 14px; font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #33403f;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.85rem; color: #8b9899;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: 2; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(5, 1fr); }
  .afford { grid-template-columns: 1.2fr 0.8fr; padding: 56px 48px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
