:root {
  --blue-900: #062b66;
  --blue-800: #07387d;
  --blue-700: #0a4ca1;
  --yellow: #ffc400;
  --text: #0e2c63;
  --muted: #5f6c80;
  --white: #ffffff;
  --surface: #f6f8fc;
  --shadow: 0 10px 30px rgba(7, 56, 125, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--surface);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.alert-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}

.hero {
  min-height: 520px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(2, 28, 67, 0.95) 0%, rgba(2, 37, 86, 0.82) 34%, rgba(3, 52, 112, 0.18) 68%, rgba(3, 52, 112, 0.05) 100%),
    url("assets/hero-school.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -68px;
  height: 120px;
  background: var(--surface);
  border-radius: 50% 50% 0 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.brand span,
.brand small,
.brand strong {
  display: block;
  line-height: 1;
}

.brand span {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 4px 0;
}

.brand small {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.hero-copy {
  margin-top: 54px;
  color: #fff;
  max-width: 560px;
}

.hero-copy p {
  font-size: 1.6rem;
  margin: 0 0 10px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 28px 0 18px;
  max-width: 430px;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-line {
  display: block;
  width: 68px;
  height: 4px;
  border-radius: 99px;
  background: var(--yellow);
}

.hero-logo {
  display: block;
  width: min(420px, 80vw);
  height: auto;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-logo {
    width: min(300px, 85vw);
  }
}

.quick-links {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.access-card {
  min-height: 250px;
  padding: 26px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border-right: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.access-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 4px 0 var(--yellow);
}

.icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f5f9;
  font-size: 2rem;
  color: var(--blue-800);
}

.icon-circle.whatsapp {
  color: #13b857;
}

.icon-circle.classroom {
  color: #168a4c;
}

.access-card h3 {
  margin: 15px 0 20px;
  font-size: 1rem;
  line-height: 1.25;
  min-height: 44px;
}

.card-button {
  width: 100%;
  min-height: 42px;
  border-radius: 7px;
  background: linear-gradient(180deg, #0a438e, #062f6f);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0 8px;
  transition: filter 0.2s ease;
}

.card-button i {
  color: var(--yellow);
}

.card-button:hover {
  filter: brightness(1.12);
}

.highlight-copy span,
.highlight-copy strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

.highlight-copy strong {
  color: var(--yellow);
  margin-top: 4px;
}

.highlight-copy p {
  line-height: 1.5;
  font-size: 1rem;
}

.highlight-copy a {
  align-self: flex-start;
  background: var(--yellow);
  color: #092d63;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 13px 22px;
  border-radius: 7px;
}

.social-strip {
  margin-top: 24px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.social-block,
.site-block {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 36px;
}

.social-block {
  border-right: 1px solid #e9edf4;
}

.social-block span,
.social-block strong,
.site-block span,
.site-block strong {
  display: block;
}

.social-block strong,
.site-block strong {
  font-size: 1.15rem;
}

.social-icons {
  display: flex;
  gap: 18px;
  font-size: 1.8rem;
}

.social-icons a:nth-child(1) { color: #cf3a87; }
.social-icons a:nth-child(2) { color: #3167b1; }
.social-icons a:nth-child(3) { color: #e62117; }
.social-icons a:nth-child(4) { color: #1878b8; }

.site-block > i {
  font-size: 2.4rem;
  color: var(--blue-800);
}

.site-block > a {
  margin-left: auto;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-block > a i {
  color: var(--yellow);
  margin-left: 8px;
}

.footer {
  background: radial-gradient(circle at 40% 0%, #0c4a9d, #062d69 55%, #052454 100%);
  color: #fff;
  padding-top: 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.5fr 0.9fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.brand-footer .brand-mark {
  width: 54px;
  height: 62px;
  font-size: 1.4rem;
}

.brand-footer strong {
  font-size: 1.45rem;
}

.footer-brand p {
  font-family: Georgia, serif;
  font-style: italic;
  line-height: 1.4;
  margin-left: 68px;
}

.footer-item {
  display: flex;
  gap: 12px;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 20px;
}

.footer-item > i {
  color: var(--yellow);
  font-size: 1.25rem;
  margin-top: 2px;
}

.footer-item strong {
  font-size: 0.86rem;
}

.footer-item p {
  font-size: 0.77rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  padding: 20px 0 24px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 1000px) {
  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .alert-content {
    grid-template-columns: 1fr auto;
    padding: 9px 0;
  }

  .alert-text {
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }

  .alert-button {
    grid-row: 2;
    justify-self: start;
    padding: 8px 14px;
  }

  .hero {
    min-height: 500px;
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 28px;
  }

  .brand-mark {
    width: 56px;
    height: 64px;
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .hero-copy {
    margin-top: 50px;
  }

  .hero-copy p {
    font-size: 1.2rem;
  }

  .hero-copy h2 {
    font-size: 1rem;
    max-width: 310px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -20px;
  }

  .access-card {
    min-height: 230px;
    padding: 22px 12px;
  }

  .highlight {
    grid-template-columns: 1fr;
  }

  .highlight-image {
    min-height: 220px;
    grid-row: 1;
  }

  .highlight-copy {
    padding: 30px;
  }

  .social-strip {
    grid-template-columns: 1fr;
  }

  .social-block {
    border-right: 0;
    border-bottom: 1px solid #e9edf4;
  }

  .social-block,
  .site-block {
    flex-wrap: wrap;
  }

  .site-block > a {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: 205px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-item {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding: 18px 0 0;
  }
}
