/* ============================================================
   SK Handwriting Academy — Stylesheet
   Brand palette: saffron, chalkboard green, navy, red, white
   ============================================================ */

:root {
  --saffron: #F4B14E;
  --saffron-soft: #FBE2B4;
  --saffron-deep: #E89A2C;
  --green: #2C7A57;
  --green-dark: #1F5C40;
  --green-deep: #16402C;
  --navy: #0E1A3C;
  --red: #E8261C;
  --ink: #1c2230;
  --muted: #5c6473;
  --paper: #ffffff;
  --cream: #FFF8EC;
  --line: #ece3d3;
  --shadow: 0 12px 34px rgba(14, 26, 60, .12);
  --shadow-sm: 0 6px 18px rgba(14, 26, 60, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; font-weight: 700; }

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

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

.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

section { padding: 76px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: .6rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); }
.section-head p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #16264f; }
.btn-saffron { background: var(--saffron-deep); color: #fff; }
.btn-saffron:hover { background: #d4881f; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb958; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 248, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 48px; height: 48px; }
.brand-text strong { font-family: var(--head); color: var(--navy); font-size: 1.02rem; display: block; line-height: 1.1; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; color: var(--muted); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav-links a {
  font-family: var(--head); font-weight: 500; font-size: .92rem;
  padding: .5rem .7rem; border-radius: 8px; color: var(--ink); transition: .18s;
}
.nav-links a:hover { background: var(--saffron-soft); color: var(--navy); }
.nav-cta { display: flex; gap: .5rem; align-items: center; }
.nav-cta .btn { padding: .6rem 1.1rem; font-size: .9rem; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(244,177,78,.55), transparent 60%),
    linear-gradient(180deg, #FFF8EC 0%, #FBE9C9 100%);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 70px 0 84px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; font-size: .82rem; font-weight: 600; color: var(--green-dark);
  box-shadow: var(--shadow-sm); margin-bottom: 1.2rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--navy); }
.hero h1 .accent { color: var(--saffron-deep); }
.hero .tagline { font-style: italic; font-family: var(--head); color: var(--green-dark); font-size: 1.25rem; margin: .6rem 0 1rem; }
.hero p.lead { color: #45506a; font-size: 1.08rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust div strong { font-family: var(--head); font-size: 1.5rem; color: var(--navy); display: block; }
.hero-trust div span { font-size: .82rem; color: var(--muted); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-card {
  background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow);
  width: 100%; max-width: 380px; text-align: center; position: relative;
}
.hero-card img.logo { width: 150px; height: 150px; margin: 0 auto 10px; }
.hero-card h3 { color: var(--navy); font-size: 1.4rem; letter-spacing: .03em; }
.hero-card .sub { color: var(--muted); font-style: italic; font-size: .95rem; }
.hero-card .script {
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line);
  font-family: "Dancing Script", cursive; font-size: 2.1rem; color: var(--green-dark);
}
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: .6rem .9rem;
  box-shadow: var(--shadow); font-family: var(--head); font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; gap: .5rem;
}
.float-chip .ic { font-size: 1.2rem; }
.chip-1 { top: 6%; left: -6%; color: var(--green-dark); }
.chip-2 { bottom: 4%; right: -4%; color: var(--saffron-deep); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-chip { animation: floaty 4s ease-in-out infinite; }
.chip-2 { animation-delay: 1.5s; }

/* ============================================================
   Marquee strip
   ============================================================ */
.strip { background: var(--green-dark); color: #fff; padding: 14px 0; overflow: hidden; }
.strip-track { display: flex; gap: 3rem; white-space: nowrap; animation: scroll 24s linear infinite; font-family: var(--head); font-weight: 500; }
.strip-track span { display: inline-flex; align-items: center; gap: .6rem; opacity: .92; }
.strip-track span::before { content: "✦"; color: var(--saffron); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   Why handwriting matters
   ============================================================ */
.why { background: var(--cream); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: .2s; position: relative; overflow: hidden;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--saffron); }
.benefit .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--saffron-soft); color: var(--saffron-deep); font-size: 1.5rem; margin-bottom: 16px;
}
.benefit h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: .4rem; }
.benefit p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   Services / Courses
   ============================================================ */
.services { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.course {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: .2s;
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course .top { padding: 26px 26px 0; }
.course .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 6px;
  background: var(--green); color: #fff; margin-bottom: 12px;
}
.course .tag.alt { background: var(--saffron-deep); }
.course .tag.blue { background: var(--navy); }
.course h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem; }
.course p { color: var(--muted); font-size: .95rem; padding: 0 26px; }
.course ul { list-style: none; padding: 16px 26px 8px; }
.course ul li { font-size: .92rem; color: #41495b; padding: 5px 0 5px 26px; position: relative; }
.course ul li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-size: .85rem; }
.course .foot { margin-top: auto; padding: 18px 26px 26px; }

/* ============================================================
   Stats
   ============================================================ */
.stats { background: var(--green-dark); color: #fff; position: relative; }
.stats::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.stats .wrap { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--saffron); }
.stat .lbl { font-size: .95rem; opacity: .9; margin-top: .2rem; }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--navy); margin-bottom: 1rem; }
.about-text p { color: #45506a; margin-bottom: 1rem; }
.mv { display: grid; gap: 14px; margin-top: 1.5rem; }
.mv .box { background: #fff; border-left: 4px solid var(--saffron-deep); border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.mv .box.green { border-left-color: var(--green); }
.mv .box h4 { color: var(--navy); margin-bottom: .2rem; }
.mv .box p { margin: 0; font-size: .94rem; color: var(--muted); }
.about-list { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px; }
.about-list h3 { color: var(--saffron); margin-bottom: 1.2rem; font-size: 1.3rem; }
.about-list ul { list-style: none; display: grid; gap: 14px; }
.about-list li { padding-left: 34px; position: relative; font-size: .98rem; }
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--saffron-deep);
  color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ============================================================
   School programs
   ============================================================ */
.school { background: var(--cream); }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.prog { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--green); box-shadow: var(--shadow-sm); }
.prog:nth-child(2) { border-top-color: var(--saffron-deep); }
.prog:nth-child(3) { border-top-color: var(--navy); }
.prog h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: .8rem; }
.prog ul { list-style: none; display: grid; gap: 8px; }
.prog li { font-size: .94rem; color: #41495b; padding-left: 22px; position: relative; }
.prog li::before { content: "›"; position: absolute; left: 0; color: var(--saffron-deep); font-weight: 700; }
.prog .pill { display: inline-block; margin-top: 14px; background: var(--saffron-soft); color: var(--green-deep); font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { background: linear-gradient(180deg, var(--cream), #fff); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 14px; }
.gtile {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  display: grid; place-items: center; text-align: center; color: #fff;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s;
}
.gtile:hover { transform: translateY(-4px) scale(1.01); }
.gtile.wide { grid-column: span 2; }
.gtile.tall { grid-row: span 2; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gtile .ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.gtile:nth-child(3n) .ph { background: linear-gradient(135deg, var(--saffron-deep), #d4881f); }
.gtile:nth-child(3n+1) .ph { background: linear-gradient(135deg, var(--navy), #1d2f5c); }
.gtile .label {
  position: relative; z-index: 2; padding: 10px 14px;
  font-family: var(--head); font-weight: 600; font-size: .95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.gtile .ic { display: block; font-size: 1.8rem; margin-bottom: 6px; }
.gtile::after { content: ""; position: absolute; inset: 0; background: rgba(14,26,60,.18); z-index: 1; opacity: 0; transition: .25s; }
.gtile:hover::after { opacity: 1; }
.gallery-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* ============================================================
   Blog
   ============================================================ */
.blog { background: var(--cream); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: .2s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .thumb { height: 160px; position: relative; display: grid; place-items: center; color: #fff; }
.post:nth-child(1) .thumb { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.post:nth-child(2) .thumb { background: linear-gradient(135deg, var(--saffron-deep), #d4881f); }
.post:nth-child(3) .thumb { background: linear-gradient(135deg, var(--navy), #1d2f5c); }
.post .thumb .ic { font-size: 2.4rem; }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-deep); }
.post h3 { color: var(--navy); font-size: 1.12rem; margin: .5rem 0; }
.post p { color: var(--muted); font-size: .93rem; flex: 1; }
.post .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.post .meta a { font-family: var(--head); font-weight: 600; color: var(--green-dark); }
.post .meta a:hover { color: var(--saffron-deep); }

/* ============================================================
   Testimonials
   ============================================================ */
.testi { background: linear-gradient(180deg, #fff, var(--cream)); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }
.quote p { color: #3a4256; font-style: italic; margin-bottom: 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.quote .who strong { display: block; color: var(--navy); font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 22px; font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .sign { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); display: grid; place-items: center; font-size: 1.2rem; transition: .25s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); background: var(--saffron-deep); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--muted); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--green-dark); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.info-card .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--saffron-deep); display: grid; place-items: center; font-size: 1.2rem; }
.info-card h4 { font-size: .95rem; margin-bottom: .15rem; }
.info-card p, .info-card a { font-size: .92rem; color: rgba(255,255,255,.85); }
.info-card a:hover { color: #fff; text-decoration: underline; }
.map-embed { margin-top: 6px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; filter: saturate(.9); }

.form-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); color: var(--ink); }
.form-card h3 { color: var(--navy); margin-bottom: .3rem; }
.form-card .hint { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: #3a4256; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: .95rem; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron-deep); box-shadow: 0 0 0 3px rgba(232,154,44,.18); }
.field textarea { resize: vertical; min-height: 90px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: rgba(255,255,255,.6); }
.footer p { font-size: .92rem; margin-top: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { font-size: .92rem; color: rgba(255,255,255,.72); }
.footer ul a:hover { color: var(--saffron); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--saffron-deep); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .85rem; }
.footer-bottom a { color: var(--saffron); }

/* ============================================================
   Floating WhatsApp + scroll-up
   ============================================================ */
.fab-wa {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px;
    gap: 4px; transform: translateY(-150%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-cta .btn.enroll-desktop { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 520px) {
  section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gtile.wide { grid-column: span 2; }
  .blog-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .hero-trust { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
