/* Addis Academy — public school website. Mobile-first, premium warm design.
   NOTE: no scroll-reveal / no opacity gates — content always visible. */
:root {
  --navy: #17263f; --navy-d: #0f1a2e;
  --gold: #c9a227; --gold-d: #a8871f; --gold-l: #f7efd8;
  --ink: #232d3d; --mut: #64748b;
  --bg: #faf7f1; --card: #ffffff; --line: #e8e0d0;
  --wa: #25d366; --tg: #229ed9; --radius: 16px;
  --shadow: 0 10px 30px rgba(23, 38, 63, .09);
  --shadow-lg: 0 18px 50px rgba(23, 38, 63, .15);
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nyala", "Abyssinica SIL", "Noto Sans Ethiopic", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mut); }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
img { display: block; max-width: 100%; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
  font-weight: 800; color: var(--gold-d); margin-bottom: 10px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,241,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.95); border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(23,38,63,.08); }
.header-in { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.08rem;
  color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--navy-d));
  color: var(--gold-l); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  box-shadow: inset 0 0 0 1.5px rgba(201,162,39,.55); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .93rem; transition: background .2s; }
.nav a:hover { background: var(--gold-l); }
.header-act { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.nav + .header-act { margin-left: 0; }
.menu-btn { display: none; }
.lang-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 15px;
  font-weight: 800; cursor: pointer; font-size: .88rem; font-family: inherit; }

/* ---------- buttons ---------- */
.btn { border: 0; border-radius: 999px; padding: 13px 28px; font-size: 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-block; font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--navy-d)); color: #fff;
  box-shadow: 0 6px 18px rgba(23,38,63,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(23,38,63,.36); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 36px; font-size: 1.08rem; }
.btn-block { width: 100%; border-radius: 12px; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-telegram { background: var(--tg); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,26,46,.62) 0%, rgba(15,26,46,.36) 45%, rgba(15,26,46,.72) 100%),
    url("images/hero.jpg") center 60% / cover no-repeat, #16263f; }
.hero-in { position: relative; padding: 90px 20px 80px; text-align: center; max-width: 820px; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: .45em; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero p { font-size: clamp(1.02rem, 2.2vw, 1.25rem); opacity: .95; margin: 0 0 1.6em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-badge { display: inline-block; background: var(--gold); color: #2e2404; font-weight: 800;
  border-radius: 999px; padding: 8px 20px; margin-bottom: 20px; font-size: .9rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-date { margin-top: 22px; opacity: .88; font-size: .95rem; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .75; font-size: 1.6rem; text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 420px; object-fit: cover; transition: transform .6s ease; }
.split-img:hover img { transform: scale(1.04); }
.split-txt p { color: var(--mut); font-size: 1.05rem; }
.stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.stat-n { display: block; font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.stat-l { font-size: .88rem; color: var(--mut); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; }
.acard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acard .art { height: 190px; overflow: hidden; background: var(--gold-l); }
.acard .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.acard:hover .art img { transform: scale(1.06); }
.acard .body { padding: 22px; }
.acard .body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.acard .body p { color: var(--mut); font-size: .95rem; margin: 0 0 10px; }
.acard .tag { display: inline-block; background: var(--gold-l); color: var(--gold-d); font-weight: 800;
  font-size: .8rem; border-radius: 999px; padding: 4px 14px; }
.news-date { font-size: .82rem; color: var(--mut); font-weight: 700; margin-bottom: 8px; }

/* ---------- admissions steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 28px 0 34px; }
.step3 { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.step3 .n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-l);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.step3 h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step3 p { color: var(--mut); font-size: .92rem; margin: 0; }

/* ---------- form ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.form-card { max-width: 720px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .92rem; }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; font-size: 1rem; font-family: inherit; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: #b3261e; font-weight: 700; margin: 8px 0; }
.success { text-align: center; padding: 26px 10px; }
.success .big { font-size: 3rem; color: #15803d; }
.refcode { font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; color: var(--navy);
  background: var(--gold-l); border-radius: 12px; padding: 12px; margin: 14px 0; display: inline-block; }

/* ---------- gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.gal-grid .g { position: relative; border-radius: 14px; overflow: hidden; height: 190px; box-shadow: var(--shadow); }
.gal-grid .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal-grid .g:hover img { transform: scale(1.07); }
.gal-grid .g span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(15,26,46,.8)); color: #fff; font-weight: 700; font-size: .92rem; }
.gal-grid .g:nth-child(1) { grid-column: span 2; height: 240px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: stretch; }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; font-size: 1.02rem; }
.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.map-ph { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  min-height: 300px; box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 14px, #e4eaf2 14px, #e4eaf2 28px); }
.map-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(15,26,46,.88); color: #fff;
  padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-d); color: #c9d4e4; padding: 34px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-act { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.demo-badge { background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px 14px; font-size: .82rem; }
.staff-link { color: var(--gold-l); font-weight: 700; text-decoration: none; }
.staff-link:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid .g { height: 160px; }
  .gal-grid .g:nth-child(1) { grid-column: span 2; height: 200px; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 64px; right: 12px; background: #fff; flex-direction: column;
    border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-width: 210px; box-shadow: var(--shadow-lg); z-index: 60; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: block; border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
    padding: 8px 13px; font-size: 1.1rem; cursor: pointer; font-family: inherit; }
  .header-in { gap: 8px; padding: 10px 14px; }
  .brand { font-size: .92rem; }
  .header-act .btn { display: none; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split-img img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 84vh; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
