/* ==========================================================================
   J.R.V. INSTITUTE — Main Stylesheet
   Design language drawn from the school emblem: a gold sunburst medallion
   with a maroon rim, framing a lotus/scholar motif, on cream paper.
   ========================================================================== */

:root {
  /* ---- Colour tokens (sampled from the school emblem) ---- */
  --gold: #c6a932;
  --gold-deep: #a3872a;
  --gold-pale: #f3e9c2;
  --maroon: #5c2a28;
  --maroon-deep: #3a1917;
  --maroon-soft: #7a3d3a;
  --cream: #fbf6ea;
  --cream-deep: #f3ecd8;
  --paper: #fffdf7;
  --ink: #2a1d18;
  --ink-soft: #5a4a42;
  --white: #ffffff;
  --success: #3f7a4e;
  --danger: #a3342c;

  /* ---- Type ---- */
  --font-display: 'Marcellus', 'Tiro Devanagari Hindi', serif;
  --font-body: 'Mukta', 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(58, 25, 23, 0.10);
  --shadow-lift: 0 18px 44px rgba(58, 25, 23, 0.16);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--maroon-deep); line-height: 1.2; margin: 0 0 .5em; font-weight: 400; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* section rhythm */
.section { padding: 76px 0; position: relative; }
.section-tight { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-maroon { background: var(--maroon-deep); color: var(--cream-deep); }
.section-maroon h2, .section-maroon h3 { color: var(--gold-pale); }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-head.align-left { margin: 0 0 40px; text-align: left; }

/* Sunburst motif — signature background device echoing the emblem's rays */
.sunburst-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sunburst-bg::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(198,169,50,0.07) 0deg 4deg, transparent 4deg 12deg);
  border-radius: 50%;
}

/* ---------------------------------------------------------------- topbar */
.topbar {
  background: var(--maroon-deep);
  color: var(--gold-pale);
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-pale); opacity: .92; }
.topbar-info a:hover { opacity: 1; text-decoration: underline; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(243,233,194,.4); display: flex; align-items: center; justify-content: center; }
.topbar-social a:hover { background: var(--gold); color: var(--maroon-deep); border-color: var(--gold); }

/* ---------------------------------------------------------------- header */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(58,25,23,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 64px; width: 64px; object-fit: contain; }
.brand-text .brand-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon-deep); display: block; letter-spacing: .3px; }
.brand-text .brand-tagline { font-size: .8rem; color: var(--gold-deep); letter-spacing: 1px; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color .18s ease, background .18s ease;
  position: relative;
}
.main-nav a:hover { color: var(--maroon); background: var(--cream-deep); }
.main-nav a.active { color: var(--maroon-deep); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  background: var(--gold-deep);
}
.nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--maroon-deep); color: var(--gold-pale) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--maroon);
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--maroon);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------------------------------------------------------------- hero */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.05rem;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 18px;
  font-style: italic;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  margin-bottom: 20px;
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(92,42,40,0.18);
}
.hero-stat .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--maroon-deep); display: block; }
.hero-stat .label { font-size: .85rem; color: var(--ink-soft); }

.hero-emblem-wrap { position: relative; display: flex; justify-content: center; }
.hero-emblem-ring {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(198,169,50,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
}
.hero-emblem-ring::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(92,42,40,.35);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-emblem-ring img { width: 62%; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-deep); box-shadow: var(--shadow-soft); }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--gold-pale); color: var(--gold-pale); }
.btn-outline-light:hover { background: var(--gold-pale); color: var(--maroon-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- ticker */
.notice-ticker {
  background: var(--maroon);
  color: var(--gold-pale);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.notice-ticker .tag {
  flex: none;
  background: var(--gold);
  color: var(--maroon-deep);
  font-weight: 700;
  padding: 10px 18px;
  font-size: .85rem;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  padding: 11px 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.notice-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track span { font-size: .92rem; }

/* ---------------------------------------------------------------- cards / grids */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.arch-frame {
  position: relative;
  border-radius: 140px 140px 12px 12px;
  overflow: hidden;
  border: 4px solid var(--paper);
  outline: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3.3;
}
.arch-frame.square { aspect-ratio: 1 / 1; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

.feature-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-top: 3px solid var(--gold);
  padding: 30px 26px;
  border-radius: var(--radius-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-card .icon { width: 52px; height: 52px; color: var(--maroon); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 0; }

.class-chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.class-chip {
  border: 1.5px solid var(--gold-deep);
  color: var(--maroon-deep);
  background: var(--gold-pale);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
}

.value-card { text-align: center; padding: 34px 24px; }
.value-card .mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-deep); display: block; margin-bottom: 6px; }

/* ---------------------------------------------------------------- notice list */
.notice-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-left: 5px solid var(--maroon);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.notice-card.pinned { border-left-color: var(--gold-deep); background: var(--gold-pale); }
.notice-card .meta { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.notice-card .pin-badge { background: var(--gold-deep); color: var(--white); padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.notice-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.notice-card .hindi { color: var(--maroon); font-weight: 600; margin-top: 10px; }

/* ---------------------------------------------------------------- gallery */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.gallery-filters button {
  background: var(--paper);
  border: 1.5px solid var(--cream-deep);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink-soft);
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  border: 1px solid var(--cream-deep);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(58,25,23,.85), transparent);
  color: var(--white);
  padding: 26px 14px 10px;
  font-size: .85rem;
  font-weight: 600;
}
.lightbox {
  position: fixed; inset: 0; background: rgba(42,29,24,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 24px; right: 32px; color: var(--gold-pale); font-size: 2rem; cursor: pointer; background: none; border: none; }
.lightbox .lb-caption { color: var(--gold-pale); text-align: center; margin-top: 14px; font-family: var(--font-body); }

/* ---------------------------------------------------------------- forms */
.form-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .92rem; color: var(--maroon-deep); }
label .req { color: var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .98rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(198,169,50,.22);
  outline: none;
}
textarea { resize: vertical; min-height: 110px; }
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-box {
  background: var(--maroon-deep);
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 10px 22px;
  border-radius: 8px;
  letter-spacing: 2px;
  user-select: none;
}
.captcha-row input { flex: 1; min-width: 140px; }
.refresh-captcha { background: none; border: 1.5px solid var(--maroon); color: var(--maroon); border-radius: 8px; padding: 10px 14px; cursor: pointer; }

.alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #e9f5eb; color: var(--success); border: 1px solid #bfe3c6; }
.alert-error { background: #fbeae8; color: var(--danger); border: 1px solid #f0c4bf; }

/* ---------------------------------------------------------------- faq */
.faq-item {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--maroon-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .plus { font-size: 1.4rem; color: var(--gold-deep); transition: transform .2s ease; flex: none; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--ink-soft); }
.faq-category-label {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-style: italic;
  margin: 36px 0 16px;
  font-size: 1.2rem;
}
.faq-category-label:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- contact */
.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-card .icon {
  width: 44px; height: 44px; flex: none;
  background: var(--gold-pale);
  color: var(--maroon-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card h4 { margin: 0 0 4px; font-size: 1rem; color: var(--maroon-deep); font-family: var(--font-body); font-weight: 700; }
.contact-info-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 3px solid var(--paper); outline: 2px solid var(--gold); box-shadow: var(--shadow-soft); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--maroon-deep); color: var(--cream-deep); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(243,233,194,.15); }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 52px; }
.footer-brand .name { font-family: var(--font-display); color: var(--gold-pale); font-size: 1.25rem; }
.site-footer h4 { color: var(--gold-pale); font-family: var(--font-body); font-size: 1rem; text-transform: none; margin-bottom: 18px; font-weight: 700; }
.site-footer p { color: rgba(251,246,234,.75); font-size: .92rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(251,246,234,.8); font-size: .93rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .92rem; color: rgba(251,246,234,.8); align-items: flex-start; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(251,246,234,.6); }
.footer-bottom a { color: rgba(251,246,234,.75); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- misc */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.divider-motif { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 36px; }
.divider-motif::before, .divider-motif::after { content: ''; height: 1px; width: 60px; background: var(--gold-deep); }
.divider-motif svg { color: var(--gold-deep); }

.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--maroon-deep); transform: translateY(-3px); }

.page-hero {
  background: var(--maroon-deep);
  color: var(--gold-pale);
  padding: 56px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero .crumb { color: rgba(251,246,234,.75); font-size: .92rem; }
.page-hero .crumb a { color: var(--gold-pale); }
.page-hero .crumb a:hover { text-decoration: underline; }

.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story-block .text p { color: var(--ink-soft); }

.timeline-strip { display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; margin-top: 10px; }
.timeline-item { text-align: center; max-width: 160px; }
.timeline-item .yr { font-family: var(--font-display); color: var(--gold-deep); font-size: 1.4rem; display: block; }
.timeline-item p { font-size: .88rem; color: var(--ink-soft); margin: 4px 0 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem-wrap { order: -1; margin-bottom: 10px; }
  .hero-emblem-ring { width: 260px; }
  .story-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px); background: var(--paper); box-shadow: -10px 0 30px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .25s ease; padding: 90px 26px 26px; z-index: 55; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 12px; border-bottom: 1px solid var(--cream-deep); }
  .main-nav a.active::after { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .topbar-info a span.txt { display: none; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 54px 0; }
  .form-card { padding: 26px 20px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .brand-text .brand-name { font-size: 1.15rem; }
  .brand img { height: 48px; width: 48px; }
}
