/* ============================================================
   IESTP Christian Barnard — Hoja de estilos principal
   Color de marca: #0090CD
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  --brand: #0090CD;
  --brand-dark: #0072a6;
  --brand-darker: #005a85;
  --navy: #06283d;
  --navy-2: #0a3a56;
  --brand-light: #e6f4fb;
  --brand-soft: #f4fafd;
  --ink: #16232c;
  --muted: #5a6b76;
  --line: #e5ebf0;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(6, 40, 61, 0.13);
  --shadow-sm: 0 6px 20px rgba(6, 40, 61, 0.07);
  --radius: 16px;
  --radius-sm: 11px;
  --wrap: 1180px;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.18; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Iconos vectoriales (Material Symbols) ---------- */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
}
.ico .ms { font-size: 30px; color: var(--brand-dark); }
.info-list .ico .ms { font-size: 22px; }
.media-box .ms { font-size: 110px; color: var(--brand); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--head);
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(0,144,205,.32); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); background: var(--brand-dark); box-shadow: 0 14px 30px rgba(0,144,205,.42); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ============================================================
   Header / Navegación
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .logo-img {
  width: 52px; height: 52px; border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,144,205,.28);
}
.brand-text { font-family: var(--head); font-weight: 800; font-size: 1.18rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-text small { display: block; font-family: var(--body); font-size: .64rem; font-weight: 600; color: var(--brand); letter-spacing: 1.4px; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 9px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  transition: background .18s ease, color .18s ease;
}
.menu > li > a:hover, .menu > li.active > a { background: var(--brand-light); color: var(--brand-dark); }
.menu .caret { font-size: .55rem; opacity: .7; transition: transform .2s ease; }
.menu .has-sub:hover .caret { transform: rotate(180deg); }

/* Submenú desplegable */
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 9px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.submenu::before { content:""; position:absolute; top:-6px; left:22px; width:12px; height:12px; background:#fff; border-left:1px solid var(--line); border-top:1px solid var(--line); transform:rotate(45deg); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .submenu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 11px 15px; border-radius: 8px; color: var(--navy); font-weight: 500; font-size: .92rem; }
.submenu a:hover { background: var(--brand-soft); color: var(--brand-dark); padding-left: 19px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: .9rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Header transparente sobre el banner; sólido al bajar (TODAS las páginas) ---- */
.site-header .brand-text { color: #fff; }
.site-header .brand-text small { color: rgba(255,255,255,.85); }
.site-header .menu > li > a { color: #fff; }
.site-header .menu > li > a:hover { background: rgba(255,255,255,.16); color: #fff; }
.site-header .menu > li.active > a { background: var(--brand); color: #fff; }
.site-header .hamburger span { background: #fff; }

.site-header.scrolled {
  background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(10px);
  border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(6,40,61,.08);
}
.site-header.scrolled .brand-text { color: var(--navy); }
.site-header.scrolled .brand-text small { color: var(--brand); }
.site-header.scrolled .menu > li > a { color: var(--navy); }
.site-header.scrolled .menu > li > a:hover { background: var(--brand-light); color: var(--brand-dark); }
.site-header.scrolled .menu > li.active > a { background: var(--brand-light); color: var(--brand-dark); }
.site-header.scrolled .hamburger span { background: var(--navy); }

/* ============================================================
   Hero (con imagen de fondo — solo en el inicio)
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(6,40,61,.92) 0%, rgba(6,40,61,.72) 45%, rgba(6,40,61,.35) 100%),
    url('../img/fondo-inicio.jpg?v=2');
  background-size: cover;
  background-position: center right;
}
.hero .wrap { position: relative; z-index: 1; padding: 130px 24px 90px; max-width: var(--wrap); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .4px; margin-bottom: 22px;
}
.hero .eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:#3fd07a; box-shadow:0 0 0 4px rgba(63,208,122,.25); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 640px; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Slider del banner (inicio) */
.hero-slider { position: relative; min-height: 92vh; overflow: hidden; background: var(--navy); }
.hero-slider .slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-color: var(--navy); background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; z-index: 0; pointer-events: none;
}
.hero-slider .slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slider .wrap { position: relative; z-index: 2; padding: 140px 24px 100px; max-width: var(--wrap); width: 100%; color: #fff; }
.hero-slider h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 660px; margin-bottom: .35em; }
.hero-slider p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 560px; }
.hero-slider .hero-actions { margin-top: 28px; }
.slider-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.slider-dots .dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; transition: background .2s ease; }
.slider-dots .dot.is-active { background: #fff; }

/* Encabezado de páginas internas (banner con imagen editable + header transparente encima) */
.page-head {
  background-color: var(--navy);
  background-image: linear-gradient(120deg, var(--navy) 0%, var(--brand-darker) 60%, var(--brand-dark) 100%);
  background-size: cover; background-position: center;
  color: #fff; min-height: 70vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-head--nosotros     { background-image: linear-gradient(rgba(6,40,61,.4), rgba(6,40,61,.58)), url(../img/banner-nosotros.jpg); }
.page-head--carrera      { background-image: linear-gradient(rgba(6,40,61,.4), rgba(6,40,61,.58)), url(../img/banner-carrera.jpg); }
.page-head--capacitacion { background-image: linear-gradient(rgba(6,40,61,.4), rgba(6,40,61,.58)), url(../img/banner-capacitacion.jpg); }
.page-head--contacto     { background-image: linear-gradient(rgba(6,40,61,.4), rgba(6,40,61,.58)), url(../img/banner-contacto.jpg); }
.page-head::after { content:""; position:absolute; right:-100px; top:-100px; width:360px; height:360px; background:rgba(255,255,255,.05); border-radius:50%; }
.page-head h1 { color: #fff; margin-bottom: 10px; position: relative; }
.page-head p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto; position: relative; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 16px; position: relative; }
.crumbs a { color: #fff; }

/* ============================================================
   Secciones y componentes
   ============================================================ */
section { padding: 84px 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-title .kicker { color: var(--brand); font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; }
.section-title h2 { margin-top: 8px; }
.section-alt { background: var(--brand-soft); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* Cuadrícula que centra la última fila (los bloques nuevos empujan al del medio a su costado) */
.grid-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.grid-center > * { flex: 0 1 calc((100% - 58px) / 3); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 58px; height: 58px; border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-light), #d3ecf9);
  color: var(--brand-dark); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; }
.card p { margin-bottom: 0; }

/* Tarjeta de carrera */
.career {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.career:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.career-photo { height: 168px; background-color: var(--navy); background-size: cover; background-position: center; }
.career .head { background: linear-gradient(135deg, var(--navy-2), var(--brand-dark)); color: #fff; padding: 28px; }
.career .head .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.2px; opacity: .85; }
.career .head h3 { color: #fff; margin: 6px 0 0; }
.career .body { padding: 26px 28px 30px; }
.career .body ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); }
.career .body li { margin-bottom: 7px; }
.career .meta { display: flex; gap: 18px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.career .meta b { color: var(--ink); }

/* Estadísticas */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.stats .num { font-family: var(--head); font-size: 2.9rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stats .lbl { color: var(--muted); font-weight: 600; margin-top: 8px; }

/* Lista con check */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 36px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.media-box {
  border-radius: var(--radius); min-height: 340px;
  background: linear-gradient(135deg, var(--brand-light), #fff);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); font-size: 5.5rem;
}

/* Galería / fotos del instituto */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo {
  position: relative; min-height: 260px; border-radius: var(--radius); overflow: hidden;
  background-color: var(--navy); background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm); display: flex; align-items: flex-end;
  transition: transform .25s ease, box-shadow .25s ease;
}
.photo:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo .cap {
  position: relative; z-index: 1; width: 100%; padding: 16px 18px;
  color: #fff; font-family: var(--head); font-weight: 600; font-size: .98rem;
  background: linear-gradient(transparent, rgba(6,40,61,.8));
}
.split .photo { min-height: 340px; }
.photo--aula        { background-image: linear-gradient(rgba(6,40,61,.15),rgba(6,40,61,.5)), url(../img/foto-aula.jpg); }
.photo--laboratorio { background-image: linear-gradient(rgba(6,40,61,.15),rgba(6,40,61,.5)), url(../img/foto-laboratorio.jpg); }
.photo--estudiantes { background-image: linear-gradient(rgba(6,40,61,.15),rgba(6,40,61,.5)), url(../img/foto-estudiantes.jpg); }
.photo--institucion { background-image: linear-gradient(rgba(6,40,61,.15),rgba(6,40,61,.5)), url(../img/foto-institucion.jpg); }
.photo--danza       { background-image: linear-gradient(rgba(6,40,61,.15),rgba(6,40,61,.5)), url(../img/foto-danza.jpg); }

/* Botón Intranet */
.btn-intranet { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-intranet:hover { background: var(--brand); color: #fff; }
/* En el inicio, mientras el header es transparente sobre el hero oscuro */
.site-header:not(.scrolled) .btn-intranet { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.65); }
.site-header:not(.scrolled) .btn-intranet:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }

/* Accesos que solo aparecen en el menú móvil */
.mobile-cta { display: none; }

/* Pasos numerados */
.steps { display: grid; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.step .n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.step h3 { margin-bottom: 4px; font-size: 1.12rem; }
.step p { margin: 0; }

/* Tabla */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--brand-soft); }

/* CTA final */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--brand-dark) 100%);
  color: #fff; text-align: center; border-radius: var(--radius); padding: 60px 30px; position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; left:-80px; bottom:-120px; width:300px; height:300px; background:rgba(255,255,255,.06); border-radius:50%; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; position: relative; }
.cta-band .btn { position: relative; }

/* Formulario */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; transition: border .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.info-list .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: var(--brand-light); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.2rem; }
.info-list b { display: block; color: var(--navy); }
.info-list span { color: var(--muted); font-size: .92rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: #b9cbd6; padding: 66px 0 28px; }
.site-footer a { color: #b9cbd6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; font-size: .92rem; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand .logo-img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand b { color: #fff; font-family: var(--head); font-size: 1.12rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7f97a5;
}

/* ============================================================
   Animaciones al hacer scroll
   (solo se activan si el JS corre; sin JS todo se ve normal)
   ============================================================ */
body.js-anim .reveal-el { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
body.js-anim .reveal-el.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-center > * { flex: 0 1 calc((100% - 28px) / 2); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { height: 72px; }
  .brand-text { font-size: 1rem; }
  .brand .logo-img { width: 44px; height: 44px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .menu {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .menu.open { transform: translateY(0); }
  .menu > li > a { padding: 14px 16px; }
  .menu > li.mobile-cta { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
  .menu > li.mobile-cta > a { color: var(--brand-dark); font-weight: 700; }
  .gallery { grid-template-columns: 1fr; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; }
  .submenu::before { display: none; }
  .submenu.open { display: block; }
  .hero .wrap { padding: 76px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-center > * { flex: 0 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
