/* ============================================================
   The Chosen School Myanmar — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Variables ── */
:root {
  --navy:        #1a3a6e;
  --navy-dark:   #0f2347;
  --navy-light:  #2952a3;
  --blue:        #3b82f6;
  --blue-light:  #60a5fa;
  --blue-pale:   #dbeafe;
  --white:       #ffffff;
  --off-white:   #f0f7ff;
  --text:        #1a1a2e;
  --text-muted:  #6b7280;
  --border:      #bfdbfe;
  --shadow-sm:   0 1px 4px rgba(26,58,110,.08);
  --shadow-md:   0 4px 16px rgba(26,58,110,.14);
  --shadow-lg:   0 8px 32px rgba(26,58,110,.2);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  .25s ease;
  --max-width:   1200px;

  /* Aliases for theming — replaces gold with light-blue accent */
  --gold:        var(--blue-light);
  --gold-light:  #93c5fd;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Section ── */
.section { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.section__title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: .5rem;
}
.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.section__header { margin-bottom: 3rem; }
.section__header--center { text-align: center; }
.divider {
  width: 60px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: .75rem 0 1rem;
}
.divider--center { margin: .75rem auto 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--blue-light);
  color: var(--navy-dark);
}
.btn--primary:hover { background: #93c5fd; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.navbar--scrolled { background: var(--navy-dark); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.navbar__logo {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.navbar__name { color: var(--white); }
.navbar__name-main {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.navbar__name-sub {
  font-size: .7rem;
  color: var(--gold-light);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.navbar__link {
  color: rgba(255,255,255,.85);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.navbar__link--cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  margin-left: .5rem;
}
.navbar__link--cta:hover { background: var(--gold-light); }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201,151,42,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,151,42,.2);
  border: 1px solid rgba(201,151,42,.4);
  color: var(--gold-light);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--gold-light); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  max-width: 550px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.card__image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 3rem;
}
.card__body { padding: 1.5rem; }
.card__tag {
  display: inline-block;
  background: rgba(201,151,42,.12);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}
.card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.card__text { font-size: .9rem; color: var(--text-muted); }
.card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__date { font-size: .82rem; color: var(--text-muted); }
.card__link { font-size: .88rem; font-weight: 600; color: var(--navy); }
.card__link:hover { color: var(--gold); }

/* ── Grid layouts ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.program-card__icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.program-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.program-card__age {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}
.program-card__desc { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   ANNOUNCEMENT BANNER
   ============================================================ */
.announcement-bar {
  background: var(--gold);
  color: var(--navy-dark);
  padding: .6rem 0;
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}
.announcement-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.announcement-bar__label {
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: .1rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-bar__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .4rem;
}
.stats-bar__label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   PRINCIPAL MESSAGE
   ============================================================ */
.principal {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}
.principal__image-wrap {
  position: relative;
}
.principal__image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.3);
}
.principal__badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.principal__badge-value { font-size: 1.5rem; font-weight: 700; display: block; }
.principal__badge-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.principal__quote {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--gold);
}
.principal__name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.principal__role { font-size: .85rem; color: var(--text-muted); }

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.event-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.event-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.event-item__date {
  flex-shrink: 0;
  width: 58px;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: .75rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-item__day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-item__month { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-light); }
.event-item__title { font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.event-item__meta { font-size: .82rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.event-list { display: flex; flex-direction: column; gap: 1rem; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header--alt::after { background: var(--off-white); }
.page-header__title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: .5rem;
}
.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-top: .75rem;
}
.page-header__breadcrumb a { color: var(--gold-light); }
.page-header__breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item__placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.3);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,94,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label { color: var(--white); font-weight: 600; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-item__icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-item__label { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-info-item__value { font-weight: 600; color: var(--text); margin-top: .15rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 140px; }
.map-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.3);
  margin-bottom: 2rem;
}

/* ============================================================
   ADMISSIONS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: steps;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); }
.step-card::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card__icon { font-size: 2rem; margin: .5rem 0 1rem; }
.step-card__title { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.step-card__desc { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.accordion-btn:hover { background: var(--off-white); }
.accordion-btn.open { background: var(--navy); color: var(--white); }
.accordion-btn__icon {
  width: 24px; height: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.accordion-btn.open .accordion-btn__icon { background: var(--gold); color: var(--navy-dark); transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body.open { max-height: 500px; }
.accordion-body__inner { padding: 1rem 1.5rem 1.25rem; font-size: .9rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer__logo {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.footer__brand-name { color: var(--white); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.footer__desc { font-size: .88rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
}
.footer__social-link:hover { background: var(--gold); color: var(--navy-dark); }
.footer__col-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__link { font-size: .88rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer__link:hover { color: var(--gold-light); }
.footer__contact-item { display: flex; gap: .75rem; margin-bottom: .9rem; font-size: .88rem; }
.footer__contact-icon { color: var(--gold-light); flex-shrink: 0; margin-top: .15rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer__bottom a { color: var(--gold-light); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.fw-bold { font-weight: 700; }
.badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge--gold { background: rgba(201,151,42,.15); color: var(--gold); }
.badge--navy { background: rgba(26,43,94,.1); color: var(--navy); }
.badge--green { background: rgba(16,185,129,.1); color: #059669; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .principal { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  /* ── Mobile nav: full-screen slide-in overlay ── */
  .navbar__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: var(--navy-dark);
    padding: 5rem 1.5rem 2rem;
    gap: .25rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,.3);
  }
  .navbar__nav.open { transform: translateX(0); }
  .navbar__link { padding: .9rem 1rem; border-radius: var(--radius); width: 100%; font-size: 1rem; display: block; }
  .navbar__link--cta {
    margin-left: 0;
    margin-top: .75rem;
    background: var(--blue);
    color: var(--white) !important;
    text-align: center;
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
  }
  .navbar__link--cta:hover { background: var(--blue-light); transform: none; box-shadow: none; }
  .navbar__toggle { display: flex; z-index: 1001; position: relative; }
  .navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle.open span:nth-child(2) { opacity: 0; }
  .navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Overlay backdrop */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    backdrop-filter: blur(2px);
  }
  .nav-backdrop.open { display: block; }

  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .principal { grid-template-columns: 1fr; }
  .principal__image { aspect-ratio: 16/9; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }

  /* Extra bottom padding for bottom nav bar */
  body { padding-bottom: 70px; }
  .footer { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .hero { min-height: 92vh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero__stats { gap: 1.25rem; }
  .container { padding: 0 1rem; }

  /* 2-column gallery on phones */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-item { aspect-ratio: 1; }
  .gallery-item__placeholder { font-size: 1.75rem; }

  /* Wider cards feel better on small screens */
  .card { border-radius: var(--radius); }

  /* Touch-friendly accordion */
  .accordion-btn { padding: 1rem 1.25rem; font-size: 1rem; min-height: 56px; }
  .accordion-btn__icon { width: 28px; height: 28px; }

  /* Touch-friendly filter tabs */
  .filter-tab { padding: .55rem 1.1rem; font-size: .88rem; }
}

/* ============================================================
   BOTTOM NAVIGATION BAR (mobile only)
   ============================================================ */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: var(--navy-dark);
    z-index: 997;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  }
  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .5rem .25rem;
    transition: color var(--transition);
    min-width: 44px;
    min-height: 44px;
    position: relative;
  }
  .bottom-nav__item.active,
  .bottom-nav__item:hover {
    color: var(--blue-light);
  }
  .bottom-nav__item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 3px;
    background: var(--blue-light);
    border-radius: 0 0 3px 3px;
  }
  .bottom-nav__icon {
    font-size: 1.35rem;
    line-height: 1;
  }
}

/* ============================================================
   FLOATING CONTACT BUTTON (mobile only)
   ============================================================ */
.fab-contact {
  display: none;
}

@media (max-width: 768px) {
  /* Only show on non-contact pages; hidden by default, toggled via JS */
  .fab-contact {
    display: flex;
    position: fixed;
    right: 1rem;
    bottom: 82px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(59,130,246,.5);
    z-index: 996;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
  }
  .fab-contact:active { transform: scale(.93); }
}
