/* ═══════════════════════════════════════════
   KCES WEBSITE — SHARED STYLESHEET
   Edit colors here to change the whole site
═══════════════════════════════════════════ */

:root {
  --green:       #1a6b3c;
  --green-dark:  #134f2d;
  --green-mid:   #2d8a5a;
  --green-light: #e8f5ee;
  --gold:        #c8962a;
  --gold-light:  #fdf3dc;
  --text:        #1c1c1c;
  --muted:       #555;
  --border:      #dde5d8;
  --white:       #fff;
  --radius:      10px;
  --shadow:      0 2px 20px rgba(0,0,0,.09);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOP BAR ── */
.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  padding: 7px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: #fff; }

/* ── HEADER / NAVBAR ── */
header {
  background: #fff;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo-block { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.logo-circle {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  color: #fff; font-size: 20px; font-weight: 700;
  flex-shrink: 0;
  transition: background .2s;
}
.logo-block:hover .logo-circle { background: var(--green-dark); }
.logo-text .school-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--green-dark);
  line-height: 1.2;
}
.logo-text .school-board { font-size: 11px; color: var(--muted); margin-top: 1px; }
.logo-text .school-trust { font-size: 10px; color: var(--gold); font-weight: 600; }

/* ── NAV LINKS ── */
nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  padding: 8px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
  transition: background .2s, color .2s;
  user-select: none;
}
.nav-link:hover, .nav-link.active { background: var(--green-light); color: var(--green); }
.nav-link .arrow { font-size: 10px; opacity: .6; }

/* ── DROPDOWN ── */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 210px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 999;
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px; color: var(--text);
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--green-light); color: var(--green); }
.btn-apply {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 600; font-size: 14px;
  margin-left: 10px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-apply:hover { background: var(--green-dark) !important; transform: translateY(-1px); }

/* ── TICKER ── */
.ticker {
  background: var(--gold);
  color: #fff;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 40s linear infinite;
  padding-left: 100%;
}
.ticker-inner:hover { animation-play-state: paused; cursor: default; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ── CAMPUS PHOTO SLIDER ── */
.campus-slider {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #111;
}
.campus-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.campus-slider .slide.active { opacity: 1; }
.campus-slider img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Placeholder slides (shown when no image uploaded) */
.campus-slider .slide-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: rgba(255,255,255,.6);
  font-size: 15px;
}
.campus-slider .slide-placeholder .ph-icon { font-size: 48px; opacity: .4; }
.slider-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s, transform .3s;
}
.slider-dots .dot.active { background: #fff; transform: scale(1.3); }
.slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.4));
  pointer-events: none;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  padding: 52px 28px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 10px;
}
.page-hero .breadcrumb { font-size: 14px; opacity: .75; }
.page-hero .breadcrumb a { opacity: .8; }
.page-hero .breadcrumb a:hover { opacity: 1; }

/* ── MAIN HERO (Homepage) ── */
.main-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  color: #fff;
  padding: 80px 28px;
  text-align: center;
}
.main-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.2;
  margin-bottom: 18px;
}
.main-hero p { font-size: 18px; opacity: .9; max-width: 660px; margin: 0 auto 34px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--green-dark);
  padding: 13px 30px; border-radius: 8px;
  font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 13px 30px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s, background .2s;
}
.btn-outline:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.stats-row {
  display: flex; justify-content: center; gap: 56px;
  margin-top: 52px; flex-wrap: wrap;
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 46px; font-weight: 700; line-height: 1;
}
.stat .label { font-size: 13px; opacity: .75; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── SECTIONS ── */
.section { padding: 68px 28px; }
.section.alt { background: var(--green-light); }
.section.gold-bg { background: var(--gold-light); }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--green-light); color: var(--green);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.section-sub { color: var(--muted); font-size: 16px; margin-bottom: 40px; }

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-link { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 600; font-size: 14px; }

/* ── PROFILE ── */
.profile-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.profile-photo-box {
  background: var(--green-light);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 64px;
}
.profile-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--green-dark); }
.profile-title { font-size: 14px; color: var(--gold); font-weight: 600; margin: 4px 0 24px; }
.profile-msg { font-size: 15px; color: var(--muted); line-height: 1.85; }
.profile-msg p + p { margin-top: 14px; }
.profile-sig { margin-top: 24px; font-style: italic; color: var(--green-dark); font-weight: 500; }

/* ── QUOTE BLOCK ── */
.quote-section {
  background: var(--green-dark); color: #fff;
  padding: 60px 28px; text-align: center;
}
.quote-section blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic; line-height: 1.7;
  max-width: 780px; margin: 0 auto 20px;
}
.quote-section .attr { font-size: 14px; opacity: .7; }

/* ── TABS ── */
.tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 36px; flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 22px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; background: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  font-family: 'DM Sans', sans-serif;
}
.tab-btn:hover { color: var(--green); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── TABLE ── */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.tbl th { background: var(--green-dark); color: #fff; padding: 13px 16px; text-align: left; font-weight: 500; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #f8fbf8; }
.tbl .upcoming-row td { background: var(--gold-light); }
.badge-upcoming {
  display: inline-block;
  background: var(--gold-light); color: var(--gold);
  padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 700;
}

/* ── ACCORDION ── */
.acc-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.acc-head {
  padding: 16px 20px; font-weight: 600; font-size: 15px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: #fff; transition: background .2s;
  user-select: none;
}
.acc-head:hover { background: var(--green-light); }
.acc-icon { font-size: 20px; color: var(--green); line-height: 1; transition: transform .3s; }
.acc-head.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  font-size: 14px; color: var(--muted);
  background: #fafafa; border-top: 0px solid var(--border);
  padding: 0 20px;
}
.acc-body.open {
  max-height: 400px; padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req { color: #e53; margin-left: 2px; }
input, select, textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: auto;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,60,.1);
}
textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.prev-school-box {
  background: var(--green-light);
  border-radius: 10px; padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(26,107,60,.2);
  display: none;
}
.prev-school-box p { font-size: 13px; color: var(--green-dark); font-weight: 600; margin-bottom: 14px; }
.btn-submit {
  background: var(--green); color: #fff;
  padding: 13px 34px; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step { text-align: center; padding: 24px; }
.step-num {
  width: 52px; height: 52px; background: var(--green);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; margin: 0 auto 16px;
}
.step h4 { font-weight: 600; margin-bottom: 8px; color: var(--green-dark); }
.step p { font-size: 14px; color: var(--muted); }

/* ── ABOUT GRID ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  background: var(--green-light);
  border: 2px dashed rgba(26,107,60,.3);
  border-radius: 14px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green); gap: 10px;
  font-size: 14px; font-weight: 500;
  text-align: center; padding: 20px;
}
.img-placeholder .ph-emoji { font-size: 40px; opacity: .6; }
.img-placeholder span { opacity: .6; font-size: 12px; }

/* ── BADGES ── */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  background: var(--green-light); color: var(--green-dark);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
}
.badge.gold { background: var(--gold-light); color: #7a5c00; }

/* ── NEWS CARDS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-img { height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-badge {
  display: inline-block; margin: 16px 16px 0;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 12px;
  text-transform: uppercase; letter-spacing: .5px;
}
.news-card h4 { font-size: 16px; font-weight: 600; padding: 10px 16px 6px; }
.news-card p { font-size: 13px; color: var(--muted); padding: 0 16px 10px; }
.news-date { font-size: 12px; color: var(--muted); padding: 0 16px 16px; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; position: relative;
  background: var(--green-light);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green); gap: 8px; font-size: 13px;
}
.gallery-ph .g-icon { font-size: 32px; opacity: .5; }

/* ── DOWNLOADS ── */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.dl-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border: 1px solid var(--border);
  border-radius: 9px; background: #fff;
  transition: box-shadow .2s;
}
.dl-item:hover { box-shadow: var(--shadow); }
.dl-icon { font-size: 28px; flex-shrink: 0; }
.dl-info .dl-title { font-weight: 600; font-size: 14px; }
.dl-info .dl-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dl-btn {
  margin-left: auto; background: var(--green); color: #fff;
  padding: 7px 15px; border-radius: 7px;
  font-size: 13px; font-weight: 600;
  transition: background .2s; white-space: nowrap;
}
.dl-btn:hover { background: var(--green-dark); }

/* ── FACILITY CARDS ── */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.fac-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: box-shadow .25s, transform .25s; }
.fac-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.fac-icon { font-size: 32px; margin-bottom: 12px; }
.fac-card h4 { font-weight: 700; margin-bottom: 7px; color: var(--green-dark); }
.fac-card p { font-size: 14px; color: var(--muted); }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.testi p { font-size: 14px; color: var(--muted); margin-bottom: 16px; font-style: italic; }
.testi .t-name { font-weight: 700; font-size: 14px; }
.testi .t-role { font-size: 12px; color: var(--muted); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.ci-val { font-size: 15px; font-weight: 500; margin-top: 2px; }

/* ── MAP PLACEHOLDER ── */
.map-box {
  background: var(--green-light);
  border: 2px dashed rgba(26,107,60,.3);
  border-radius: 12px; height: 220px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green); gap: 8px; margin-top: 24px;
  font-size: 14px;
}
.map-box .map-icon { font-size: 36px; opacity: .5; }
/* When map is added, replace .map-box with: */
/* <iframe src="YOUR_GOOGLE_MAPS_EMBED" ...></iframe> */

/* ── THANK YOU ── */
.thankyou-section { text-align: center; padding: 80px 28px; }
.thankyou-section .ty-icon { font-size: 72px; margin-bottom: 20px; }
.thankyou-section h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--green-dark); margin-bottom: 12px; }
.thankyou-section p { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto 32px; }

/* ── FOOTER ── */
footer { background: var(--green-dark); color: #fff; padding: 52px 28px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .fb-name { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; opacity: .65; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; opacity: .85; }
.footer-col a { display: block; font-size: 13px; opacity: .6; margin-bottom: 9px; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1100px; margin: 36px auto 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px; font-size: 12px; opacity: .45; text-align: center;
}

/* ── MOBILE HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; display: block; }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: #fff;
  z-index: 9999; overflow-y: auto; padding: 80px 24px 40px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute; top: 18px; right: 20px;
  font-size: 28px; cursor: pointer; color: var(--text);
}
.mobile-menu a {
  display: block; padding: 12px 16px; font-size: 16px;
  border-radius: 8px; font-weight: 500;
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--green-light); color: var(--green); }
.mobile-section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); padding: 14px 16px 4px; font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-grid, .contact-grid, .profile-wrap, .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-row { gap: 28px; }
  .section { padding: 48px 20px; }
  .topbar { font-size: 12px; }
}
