.app-nav, .app-shortcuts { display: none; }
.app-nav { touch-action: manipulation; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 11px; border: 1px solid #d1e0d5; border-radius: 8px; background: #eef4ed; color: var(--deep); font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-contact:hover { background: #dfeddf; }
.header-whatsapp { background: #00663d; border-color: #00663d; color: #fff; }
.header-whatsapp:hover { background: #005831; }
.header-contact svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1051px) {
  .header-inner { gap: 16px; }
  .header-inner nav { gap: clamp(14px, 2vw, 30px); }
}
@media (min-width: 851px) and (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .header-inner nav { order: 1; width: 100%; }
}
.hero-portrait { object-position: 50% 34%; }
.tour-panel img {
  height: auto;
  max-height: min(72svh, 620px);
  object-fit: contain;
  background: #102c26;
}
#life-classroom img { object-fit: contain; background: #dbe8d7; }
@media (min-width: 751px) {
  .hero-portrait { width: 56%; left: auto; object-position: 50% 35%; }
}
@media (max-width: 750px) {
  :root { --dock-height: 68px; }
  html { scroll-padding-top: calc(69px + env(safe-area-inset-top)); }
  body { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); }
  .header { position: sticky; top: 0; padding-top: env(safe-area-inset-top); box-shadow: 0 1px 0 #102c2610; }
  .header-inner { min-height: 65px; width: calc(100% - 24px); padding-block: 8px; gap: 8px; }
  .header .menu, .header nav { display: none !important; }
  .brand img { width: 43px; height: 43px; }
  .header-actions { gap: 5px; }
  .header-contact { padding-inline: 8px; }
  .hero { margin: 12px 12px 0; min-height: min(525px, 67svh); border-radius: 20px; overflow: hidden; }
  .hero-inner { width: calc(100% - 36px); padding-block: 35px 66px; }
  .hero-image[src$="campus-courtyard.webp"] { object-position: 50% 49%; }
  .hero-image[src$="campus-sports-field.webp"] { object-position: 52% 64%; }
  .hero h1 { font-size: clamp(2.45rem, 10.4vw, 4.65rem); }
  .hero-inner > p:not(.eyebrow) { font-size: 1rem; margin: 16px 0 22px; line-height: 1.5; }
  .hero-caption { bottom: 9px; left: 18px; right: 13px; font-size: .8125rem; }
  .hero-toggle { margin-left: auto; }
  .app-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; width: calc(100% - 24px); margin-block: 12px 25px; }
  .app-shortcuts a { min-height: 67px; display: grid; place-content: center; gap: 3px; justify-items: center; padding: 6px 3px; background: #edf3e9; border: 1px solid #d6e3d5; border-radius: 12px; font-size: .825rem; font-weight: 700; text-align: center; text-decoration: none; }
  .app-shortcuts span { font: 1.3rem/1 system-ui, sans-serif; }
  .intro, .section { padding-block: clamp(37px, 8vw, 64px); }
  .intro h2, .section h2 { font-size: clamp(2.45rem, 9.3vw, 4rem); }
  .story-copy { padding: 22px; }
  .app-nav { width: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 0; position: fixed; z-index: 5; bottom: 0; right: 0; left: 0; padding: 5px max(4px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); background: #fff; box-shadow: 0 -3px 19px #102c2624; }
  .app-nav a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 2px; border-radius: 11px; color: #35594d; font-size: .875rem; font-weight: 600; line-height: 1.1; text-decoration: none; }
  .app-nav-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .app-nav a[aria-current] { background: #e6f2d9; color: #123825; font-weight: 750; }
  .app-nav a:focus-visible { outline-offset: -3px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .admission-form { margin-top: 21px; }
  .admission-form button { width: 100%; }
}
@media (max-width: 360px) {
  .header-inner .brand { gap: 5px; font-size: .875rem; }
  .header-inner .brand small { font-size: .8125rem; }
  .header-inner .brand img { width: 35px; height: 35px; }
  .header-contact { gap: 4px; padding-inline: 6px; }
  .header-contact svg { width: 15px; height: 15px; }
  .hero .button { padding-inline: 11px; }
  .app-shortcuts a { font-size: .78rem; }
}
