/* =========================================================
   TERASERVICIO — Hoja de estilos
   Paleta tomada del logotipo: azul, verde y navy.
   ========================================================= */

:root {
  --blue: #146caf;
  --blue-600: #0f5690;
  --blue-100: #e3f0fa;
  --green: #80b443;
  --green-600: #6a9a33;
  --green-100: #eef6e3;
  --navy: #1c1b2e;
  --navy-800: #25243b;
  --navy-700: #2f2e45;
  --ink: #1f2330;
  --muted: #5d6475;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-tint: #f5f8fb;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(28, 27, 46, .18);
  --shadow-lg: 0 24px 60px -20px rgba(28, 27, 46, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.text-green { color: var(--green); }
.text-blue { color: var(--blue); }

.icon {
  width: 1.2em; height: 1.2em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .75em 1.4em;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none !important;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(128, 180, 67, .7); }
.btn--green:hover { background: var(--green-600); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-600); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.link {
  background: none; border: 0; padding: 0; font: inherit; color: var(--blue);
  text-decoration: underline; cursor: pointer;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--green); }
.hero .eyebrow::before { display: none; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(128, 180, 67, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(128, 180, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(128, 180, 67, 0); }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled {
  background: rgba(28, 27, 46, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  position: relative; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .93rem;
  text-decoration: none !important; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .6em 1.2em; font-size: .88rem; }

.burger {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(20, 108, 175, .45), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(128, 180, 67, .18), transparent 60%),
    var(--navy);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: .45em;
}
.hero__title span { display: block; }
.hero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .75); max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero__trust li { display: flex; align-items: center; gap: .45em; }
.hero__trust .icon { color: var(--green); }

.hero__visual { display: flex; justify-content: center; }
.shield { position: relative; width: min(440px, 100%); aspect-ratio: 1; }
.shield__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .18);
  animation: spin 40s linear infinite;
}
.shield__ring--2 { inset: 12%; border: 1px solid rgba(128, 180, 67, .3); animation-duration: 25s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield__mascot {
  position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
.chip--1 { top: 10%; left: -6%; }
.chip--2 { top: 48%; right: -8%; animation-delay: -1.5s; }
.chip--3 { bottom: 6%; left: 4%; animation-delay: -3s; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chip__dot--blue { background: #4aa3e8; box-shadow: 0 0 10px #4aa3e8; }

/* =========================================================
   BANNER
   ========================================================= */
.banner { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-600) 100%); color: #fff; padding: 56px 0; }
.banner__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.banner__quote { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.2; margin: 0; }
.banner__quote strong { color: #bfe28f; font-weight: 800; }
.banner__text { margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.banner__text strong { color: #fff; }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: 110px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head .eyebrow::before { display: none; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.015em; }
.section__lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__text strong { color: var(--ink); }

.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.device {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  aspect-ratio: 1.15; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s;
}
.device:nth-child(even) { transform: translateY(24px); }
.device:hover { border-color: var(--green); }
.device__icon {
  width: 52px; height: 52px; padding: 12px; border-radius: 14px;
  background: var(--blue-100); color: var(--blue);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; padding: 30px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 0 0 3px 3px; transform: scaleX(0); transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }
.card__icon {
  width: 54px; height: 54px; margin-bottom: 20px; padding: 13px; border-radius: 14px;
  background: var(--green-100); color: var(--green-600);
  transition: background-color .3s, color .3s;
}
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 1.08rem; font-weight: 600; margin-bottom: .5em; }

.card--cta {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy)); color: #fff; border: 0;
}
.card--cta p { color: rgba(255, 255, 255, .72); margin-bottom: 8px; }
.card--cta .btn { align-self: flex-start; }

/* ---------- Conectividad ---------- */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.feature {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 38px 34px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature > p { color: var(--muted); margin-bottom: 1.4em; }
.feature .btn { margin-top: auto; }
.feature__icon {
  width: 60px; height: 60px; margin-bottom: 22px; padding: 14px; border-radius: 16px;
  background: var(--blue-100); color: var(--blue);
}
.feature__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__title { font-size: 1.35rem; font-weight: 700; }

.checklist { margin-bottom: 28px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .95rem; }
.checklist .icon { color: var(--green); margin-top: 3px; }

.feature--starlink {
  color: #fff; border: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(20, 108, 175, .55), transparent 70%),
    linear-gradient(160deg, var(--navy-700), var(--navy));
}
.feature--starlink > p { color: rgba(255, 255, 255, .75); }
.feature--starlink .feature__icon { background: rgba(128, 180, 67, .15); color: var(--green); }
.feature__badge {
  position: absolute; top: 24px; right: 24px;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--green); padding: 4px 12px; border-radius: 999px;
}

.uses { display: grid; gap: 12px; width: 100%; margin-bottom: 28px; }
.use {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.use svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: var(--green); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.use span { font-size: .9rem; color: rgba(255, 255, 255, .72); }
.use strong { display: block; color: #fff; font-size: 1rem; }

/* ---------- Por qué ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__text > p { color: rgba(255, 255, 255, .75); font-size: 1.08rem; }
.why__text strong { color: #fff; }

.alert {
  display: flex; gap: 16px; margin-top: 28px; padding: 22px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid #f2b33d;
}
.alert__icon { width: 30px; height: 30px; flex-shrink: 0; color: #f2b33d; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert p { margin: 0; color: rgba(255, 255, 255, .8); }
.alert .alert__title { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 2px; }
.alert__author { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.alert__author img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); }

.threats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.threat {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border-radius: var(--radius-sm); background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .07);
  font-weight: 600; font-size: 1.05rem; color: rgba(255, 255, 255, .5);
}
.threat__name { text-decoration: line-through; text-decoration-color: rgba(128, 180, 67, .8); text-decoration-thickness: 2px; }
.threat--wide { grid-column: 1 / -1; }
.threat__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: rgba(128, 180, 67, .12);
  padding: 3px 10px; border-radius: 999px;
}
.threat__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 980px; margin-inline: auto; }
.testimonial {
  position: relative; margin: 0; padding: 38px 34px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.testimonial__mark {
  width: 40px; height: 40px; margin-bottom: 14px; color: var(--green); fill: currentColor;
}
.testimonial blockquote { margin: 0 0 26px; font-size: 1.12rem; font-weight: 500; line-height: 1.55; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial figcaption img,
.avatar { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--green-100); }
.avatar {
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; border-color: var(--blue-100);
}
.testimonial figcaption strong { display: block; }
.testimonial figcaption small { color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.form, .info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-tint); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100);
}
.field .is-invalid { border-color: #d64545; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--green); width: 16px; height: 16px; }
.form__error { color: #c13a3a; font-size: .88rem; font-weight: 500; margin: -6px 0 14px; }

.info__list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info__list li:first-child { padding-top: 0; }
.info__list small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.info__list a { color: var(--ink); font-weight: 500; word-break: break-word; }
.info__icon {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 12px; background: var(--blue-100); color: var(--blue);
}
.info__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px; background: var(--green-100); border-radius: var(--radius-sm); }
.qr img { width: 96px; height: 96px; background: #fff; padding: 6px; border-radius: 8px; }
.qr p { margin: 0; font-size: .92rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 64px 0 24px; font-size: .93rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { height: 52px; width: auto; margin-bottom: 10px; }
.footer__brand p { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a, .footer__nav .link { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer__nav a:hover, .footer__nav .link:hover { color: var(--green); }
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s;
}
.social a:hover { background: var(--green); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; font-size: .82rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal {
  width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.modal::backdrop { background: rgba(28, 27, 46, .6); backdrop-filter: blur(3px); }
.modal__body { padding: 34px; }
.modal__body h2 { font-size: 1.4rem; }
.modal__body p { color: var(--muted); font-size: .95rem; }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: 18px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header { background: rgba(28, 27, 46, .92); }
  .header__logo img { height: 40px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .hero__inner, .about, .why, .contact, .banner__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .shield { width: min(300px, 80%); }
  .chip { font-size: .72rem; padding: 6px 11px; }
  .chip--1 { left: -10%; }
  .chip--2 { right: -12%; }

  .section { padding: 80px 0; }
  .about, .why { gap: 44px; }
  .testimonials, .connect { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .services { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form, .info, .modal__body { padding: 24px; }
  .hero__actions .btn { width: 100%; }
  .device:nth-child(even) { transform: none; }
  .chip--1 { left: -4%; }
  .chip--2 { right: -6%; }
  .testimonial { padding: 30px 24px 24px; }
  .feature { padding: 30px 24px; }
  .feature__badge { top: 18px; right: 18px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
