/* =========================================================
   ARQUIGLASSPERU — Hoja de estilos de la landing page
   Tipografía: Montserrat (títulos) · Open Sans (texto)
   ========================================================= */

:root {
  --azul:        #13ace4;   /* azul del logotipo */
  --azul-hover:  #0f93c4;
  --azul-oscuro: #0b6fa6;
  --navy:        #0b1f33;
  --navy-2:      #122a44;
  --texto:       #2b3440;
  --texto-suave: #5f6b7a;
  --gris:        #f4f7fa;
  --linea:       #e3e9ef;
  --blanco:      #ffffff;
  --wa:          #25d366;
  --wa-hover:    #1fb85a;
  --wa-oscuro:   #128c7e;
  --sombra:      0 10px 30px rgba(11, 31, 51, .10);
  --sombra-2:    0 20px 50px rgba(11, 31, 51, .16);
  --radio:       14px;
  --ancho:       1180px;
  --alto-header: 78px;
  --f-titulo:    "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-texto:     "Open Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; transition: color .2s; }
a:hover { color: var(--azul-oscuro); }
h1, h2, h3, h4 { font-family: var(--f-titulo); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.container { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--f-titulo); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--azul); color: #fff; box-shadow: 0 8px 20px rgba(19, 172, 228, .3); }
.btn--primary:hover { background: var(--azul-hover); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: var(--wa-hover); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .4); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11,31,51,.08); border-color: var(--linea); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--alto-header); gap: 24px; }
.header__logo img { width: 230px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  display: block; padding: 8px 12px; font-family: var(--f-titulo); font-weight: 600; font-size: 14px;
  color: var(--navy); border-radius: 8px; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--azul); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 8px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--alto-header); color: #fff; overflow: hidden; background: var(--navy);
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,31,51,.86) 0%, rgba(11,31,51,.62) 45%, rgba(19,172,228,.25) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 720px; padding-block: 90px 110px; }
.hero__eyebrow { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #9ee0fa; margin-bottom: 18px; }
.hero__title { color: #fff; font-size: clamp(38px, 6vw, 68px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 20px; }
.hero__text { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.4); padding: 0; transition: background .3s, width .3s; }
.hero__dot.is-active { background: #fff; width: 48px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__eyebrow { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--azul); margin-bottom: 10px; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.section__lead { font-size: 17px; color: var(--texto-suave); }

/* ---------- Pilares ---------- */
.pillars { background: var(--blanco); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 38px 32px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sombra-2); border-color: transparent; }
.pillar__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(19,172,228,.14), rgba(19,172,228,.04)); color: var(--azul);
}
.pillar__icon svg { width: 32px; height: 32px; }
.pillar h3 { font-size: 20px; font-weight: 600; }
.pillar p { margin: 0; color: var(--texto-suave); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tags li { padding: 8px 18px; border-radius: 999px; background: var(--gris); font-family: var(--f-titulo); font-weight: 500; font-size: 14px; color: var(--navy); }

/* ---------- Nosotros ---------- */
.about { background: var(--gris); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media > img:first-child { border-radius: var(--radio); box-shadow: var(--sombra-2); aspect-ratio: 4/3; object-fit: cover; }
.about__media-sm {
  position: absolute; right: -24px; bottom: -32px; width: 42%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radio); border: 6px solid var(--gris); box-shadow: var(--sombra-2);
}
.about__body p { font-size: 17px; color: var(--texto-suave); }
.checks { margin: 26px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--azul);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* ---------- Cifras ---------- */
.stats { position: relative; padding: 110px 0; color: #fff; overflow: hidden; background: var(--navy); }
.stats__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,51,.92), rgba(11,111,166,.85) 60%, rgba(19,172,228,.75)); }
.stats__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.stats__text h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); }
.stats__text p { color: rgba(255,255,255,.85); font-size: 17px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { text-align: center; padding: 28px 12px; border-radius: var(--radio); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.stat__num { display: block; font-family: var(--f-titulo); font-size: clamp(38px, 4vw, 52px); font-weight: 700; line-height: 1; }
.stat__num::after { content: "+"; font-size: .6em; vertical-align: top; color: #9ee0fa; }
.stat__label { display: block; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.85); }

/* ---------- Misión y visión ---------- */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv__card { border-radius: var(--radio); overflow: hidden; background: var(--blanco); border: 1px solid var(--linea); box-shadow: var(--sombra); display: flex; flex-direction: column; }
.mv__card > img { aspect-ratio: 16/9; object-fit: cover; }
.mv__body { padding: 36px 36px 30px; }
.mv__body h2 { font-size: 24px; font-weight: 600; }
.mv__body p { color: var(--texto-suave); }
.mv__body p:last-child { margin-bottom: 0; }

/* ---------- Proyectos ---------- */
.projects { background: var(--gris); }
.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.project { position: relative; display: block; overflow: hidden; border-radius: var(--radio); background: var(--navy); }
.project--wide { grid-column: span 2; }
.project--tall { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover img { transform: scale(1.06); }
.project__cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; color: #fff;
  background: linear-gradient(to top, rgba(11,31,51,.9), rgba(11,31,51,0));
  display: flex; flex-direction: column; gap: 2px; transform: translateY(8px); opacity: .92; transition: transform .35s, opacity .35s;
}
.project:hover .project__cap { transform: none; opacity: 1; }
.project__cap strong { font-family: var(--f-titulo); font-weight: 600; font-size: 16px; }
.project__cap small { font-size: 13px; color: rgba(255,255,255,.8); }
.projects__cta {
  margin-top: 48px; padding: 34px 40px; border-radius: var(--radio); background: var(--blanco); border: 1px solid var(--linea);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.projects__cta p { margin: 0; font-family: var(--f-titulo); font-weight: 600; font-size: 19px; color: var(--navy); }

/* ---------- Clientes ---------- */
.clients { padding-bottom: 80px; }
.clients .section__head { margin-bottom: 36px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: none; width: 200px; height: 110px; display: grid; place-items: center; padding: 14px 22px;
  border: 1px solid var(--linea); border-radius: 12px; background: var(--blanco);
  filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, box-shadow .3s;
}
.marquee__item:hover { filter: none; opacity: 1; box-shadow: var(--sombra); }
.marquee__item img { max-height: 70px; width: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

/* ---------- Contacto ---------- */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(19,172,228,.35), transparent 65%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact .section__title { color: #fff; }
.contact .section__lead { color: rgba(255,255,255,.78); }
.contact__list { display: grid; gap: 22px; margin-top: 36px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list strong { display: block; font-family: var(--f-titulo); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #9ee0fa; margin-bottom: 2px; }
.contact__list a, .contact__list span { color: rgba(255,255,255,.9); }
.contact__list a:hover { color: #fff; text-decoration: underline; }
.contact__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--azul); }
.contact__ico svg { width: 22px; height: 22px; }

/* Tarjeta de WhatsApp */
.wa-card { background: var(--blanco); color: var(--texto); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.wa-card__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--wa-oscuro); color: #fff; }
.wa-card__head strong { display: block; font-family: var(--f-titulo); font-weight: 600; font-size: 16px; }
.wa-card__head span { font-size: 13px; color: rgba(255,255,255,.8); }
.wa-card__avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--azul); display: grid; place-items: center; }
.wa-card__status { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #4ade80; border: 2px solid var(--wa-oscuro); }
.wa-card__logo { margin-left: auto; width: 30px; height: 30px; opacity: .9; }
.wa-card__chat {
  padding: 22px 22px 8px; display: grid; gap: 10px;
  background: #e5ddd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='.35'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='40' cy='30' r='2'/%3E%3Ccircle cx='20' cy='50' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-bubble { position: relative; max-width: 86%; padding: 10px 14px 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: rgba(0,0,0,.45); }
.wa-bubble--in { background: #fff; border-top-left-radius: 2px; justify-self: start; }
.wa-bubble--out { background: #dcf8c6; border-top-right-radius: 2px; justify-self: end; transition: opacity .2s; }
.wa-bubble--out.is-updating { opacity: .4; }
.wa-card__body { padding: 22px 22px 20px; }
.wa-card__label { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; color: var(--navy); margin-bottom: 10px; }
.wa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wa-chip {
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--gris);
  font-size: 13px; font-weight: 500; color: var(--navy); transition: background .2s, border-color .2s, color .2s;
}
.wa-chip:hover { border-color: var(--wa); }
.wa-chip.is-active { background: var(--wa); border-color: var(--wa); color: #fff; }
.wa-field { display: block; margin-bottom: 16px; }
.wa-field span { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.wa-field em { font-style: normal; font-weight: 400; color: var(--texto-suave); }
.wa-field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 10px; font: inherit; font-size: 15px; color: var(--texto);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.wa-field input:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.18); }
.wa-card__foot { margin: 14px 0 0; font-size: 12.5px; color: var(--texto-suave); text-align: center; line-height: 1.6; }

/* ---------- Pie ---------- */
.footer { background: #071523; color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 200px; margin-bottom: 18px; }
.footer__brand p { max-width: 380px; }
.footer strong { display: block; color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__nav a, .footer__contact a { display: block; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--azul); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.8); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Botón flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--wa); color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); color: #fff; box-shadow: 0 16px 36px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- Visor ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,14,24,.94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 14px; font-family: var(--f-titulo); font-weight: 500; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__item[aria-hidden] { display: none; }
  .wa-float::before, .hero__slide { animation: none; transition: opacity .3s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .about__grid, .stats__inner, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__media { margin-bottom: 40px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--alto-header); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 20px; transform: translateX(100%); transition: transform .3s; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--linea); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --alto-header: 68px; }
  .header__logo img { width: 180px; }
  .section { padding: 72px 0; }
  .hero { min-height: 92svh; }
  .hero__content { padding-block: 70px 90px; }
  .hero__actions .btn { width: 100%; }
  .mv__grid { grid-template-columns: 1fr; }
  .mv__body { padding: 28px 24px; }
  .stats__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .project--wide, .project--tall { grid-column: auto; grid-row: auto; }
  .projects__cta { padding: 26px 22px; text-align: center; justify-content: center; }
  .about__media-sm { right: 0; bottom: -24px; width: 46%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .wa-card { border-radius: 16px; }
  .wa-card__chat, .wa-card__body { padding-inline: 16px; }
  .lightbox__nav { display: none; }
}
