/* ==========================================================================
   AV POSTAL — hoja de estilos única
   Paleta: azul marino oscuro, magenta acento, negro, blanco, grises muy claros
   Detalle gráfico: líneas geométricas finas naranja/salmón
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-900: #06122b;
  --navy-800: #0a1c3f;
  --navy-700: #102a5c;
  --navy-600: #1b3d7a;

  --magenta: #e6007e;
  --magenta-dark: #b80065;
  --magenta-soft: #ffe4f2;

  --salmon: #ff7a59;

  --ink: #101828;
  --ink-soft: #475467;
  --ink-mute: #7a8699;

  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #dde3ec;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(6, 18, 43, .06), 0 1px 3px rgba(6, 18, 43, .06);
  --shadow-md: 0 8px 24px rgba(6, 18, 43, .08);
  --shadow-lg: 0 24px 60px rgba(6, 18, 43, .14);

  --container: 1180px;
  --header-h: 74px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.12;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--magenta);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-900); color: #dfe6f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: .9rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.section--navy .section-head p { color: #b9c6de; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--salmon);
}
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, background-color .15s ease, color .15s ease,
              border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 0, 126, .28);
}
.btn--primary:hover { background: var(--magenta-dark); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }

.btn--ghost {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--navy-900);
}
.btn--ghost:hover { border-color: var(--navy-800); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--white { background: #fff; color: var(--navy-900); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.02rem 1.9rem; font-size: 1.03rem; }

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; }
.logo svg { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.9rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: .35rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--magenta);
  transition: width .2s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--magenta); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: var(--navy-900);
  transition: background .15s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--navy-900);
  transition: transform .2s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(230, 0, 126, .22), transparent 62%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  color: #e7edf8;
  padding: clamp(58px, 8vw, 104px) 0 clamp(64px, 8vw, 108px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Variante con fotografía (portada de la home) */
.hero--photo {
  display: flex;
  align-items: center;
  min-height: min(78vh, 660px);
}
/* La foto ocupa el panel derecho y se funde hacia el azul de marca.
   Si se borra assets/img/hero.jpg, queda sólo el degradado, sin romperse. */
.hero--photo::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(54%, 780px);
  background:
    linear-gradient(90deg,
      rgba(6, 18, 43, .85) 0%,
      rgba(6, 18, 43, .32) 42%,
      rgba(6, 18, 43, .06) 100%),
    url("../img/hero.jpg") center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .45) 26%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .45) 26%, #000 62%);
  pointer-events: none;
}
.hero--photo .container { position: relative; z-index: 1; }
.hero--photo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--photo .hero__copy { max-width: 37rem; }

.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--magenta); }
.hero__lead {
  margin-top: 1.35rem;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: #b9c6de;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2.4rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .9rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .82rem;
  font-weight: 600;
  color: #dbe4f4;
}
.pill svg { width: 15px; height: 15px; color: var(--salmon); }

/* Líneas geométricas decorativas (detalle de marca) */
.hero__lines {
  position: absolute;
  pointer-events: none;
  opacity: .55;
}
.hero__lines--tr { top: -30px; right: -40px; width: 320px; }
.hero__lines--bl { bottom: -50px; left: -60px; width: 280px; transform: rotate(180deg); }

/* ---------- 7. Media / placeholders de foto ---------- */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-lg);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.photo-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 320px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, .3);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  color: #c3d0e6;
}
.photo-slot--light {
  border-color: var(--gray-200);
  background: var(--gray-50);
  color: var(--ink-mute);
}
.photo-slot svg { width: 34px; height: 34px; opacity: .7; }
.photo-slot code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  font-weight: 700;
  color: var(--salmon);
}
.photo-slot small { font-size: .82rem; max-width: 30ch; line-height: 1.5; }

/* ---------- 8. Sello ENACOM ---------- */
.enacom {
  display: inline-flex;
  align-items: center;
  gap: .95rem;
  padding: .85rem 1.25rem .85rem .95rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
}
.enacom--light {
  border-color: var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.enacom__seal { flex: none; width: 54px; height: 54px; }
.enacom__txt { display: flex; flex-direction: column; line-height: 1.32; }
.enacom__txt strong {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.enacom--light .enacom__txt strong { color: var(--navy-900); }
.enacom__txt span { font-size: .82rem; color: #b9c6de; }
.enacom--light .enacom__txt span { color: var(--ink-soft); }

/* ---------- 9. Franja de confianza ---------- */
.trust {
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
  padding: clamp(28px, 4vw, 40px) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust__item {
  padding-left: 1.1rem;
  border-left: 3px solid var(--salmon);
}
.trust__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.trust__item span {
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- 10. Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.15rem;
  border-radius: 15px;
  background: var(--magenta-soft);
  color: var(--magenta);
}
.card__icon svg { width: 27px; height: 27px; }

.card h3 { margin-bottom: .3rem; }
.card__tag {
  display: block;
  margin-bottom: .8rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--magenta);
}
.card > p { color: var(--ink-soft); font-size: .97rem; }

.card details { margin-top: 1.1rem; border-top: 1px solid var(--gray-100); padding-top: .9rem; }
.card summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}
.card summary::-webkit-details-marker { display: none; }
.card summary::after {
  content: "";
  width: 7px; height: 7px;
  margin-left: auto;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.card details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.feature-list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--magenta);
}
.feature-list--light li { color: #c3d0e6; }

/* ---------- 11. Bloque e-commerce destacado ---------- */
.ecom-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700) 75%, var(--navy-600));
  color: #dfe6f2;
  padding: clamp(56px, 8vw, 96px) 0;
}
.ecom-band h2,
.ecom-band h3 { color: #fff; }

.ecom-band::after {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 126, .34), transparent 68%);
}
.ecom-band .container { position: relative; z-index: 1; }

.ecom-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.ml-card {
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
}
.ml-card__tag {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ml-card h3 { color: #fff; margin-bottom: .6rem; }
.ml-card p { color: #c3d0e6; font-size: .97rem; }

/* ---------- 12. Casos de uso ---------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}
.usecase {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--salmon);
}
.usecase h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.usecase p { font-size: .94rem; color: var(--ink-soft); }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .6rem;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--magenta);
  letter-spacing: -.03em;
}
.steps h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.steps p { font-size: .93rem; color: var(--ink-soft); }
.section--navy .steps p { color: #b9c6de; }

/* ---------- 13. Cobertura ---------- */
.coverage__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
.coverage__zones {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.zone {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
}
.zone__dot {
  flex: none;
  width: 12px; height: 12px;
  margin-top: .42rem;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(230, 0, 126, .14);
}
.zone h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.zone p { font-size: .93rem; color: var(--ink-soft); }

.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.map svg { width: 100%; height: auto; }

/* ---------- 14. Nosotros ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.about__text p { color: var(--ink-soft); font-size: 1.02rem; }
.about__text .enacom { margin-top: 1.7rem; }

/* ---------- 15. Contacto / formulario ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.form {
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label {
  font-size: .87rem;
  font-weight: 700;
  color: var(--navy-800);
}
.field label .req { color: var(--magenta); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--magenta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, .14);
}
.field__hint { font-size: .8rem; color: var(--ink-mute); }
.field__error {
  display: none;
  font-size: .8rem;
  font-weight: 600;
  color: var(--magenta-dark);
}
.field.is-invalid input,
.field.is-invalid select { border-color: var(--magenta-dark); }
.field.is-invalid .field__error { display: block; }

.form__note {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--ink-mute);
  text-align: center;
}

.contact__info { display: grid; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
}
.info-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card h3 { font-size: .98rem; margin-bottom: .2rem; }
.info-card p, .info-card a { font-size: .93rem; color: var(--ink-soft); }
.info-card a:hover { color: var(--magenta); text-decoration: underline; }
.placeholder-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  font-weight: 700;
  color: var(--salmon);
}

/* ---------- 16. CTA final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) 0;
  background: linear-gradient(120deg, var(--magenta), #ff4fa3 62%, var(--salmon));
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p {
  max-width: 54ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, .92);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.9rem;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--navy-900);
  color: #9fb0cd;
  padding: clamp(46px, 6vw, 68px) 0 1.8rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.2rem;
}
.footer h4 {
  margin-bottom: .9rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo svg { height: 32px; width: auto; margin-bottom: 1rem; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem;
  color: #7e91b2;
}

/* ---------- 18. WhatsApp flotante ---------- */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  background: #25d366;
  color: #06341a;
  font-size: .93rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37, 211, 102, .5); }
.wa svg { width: 22px; height: 22px; }

/* ---------- 19. Animación de entrada ----------
   Sólo se oculta el contenido si el JS está activo (clase .js en <html>).
   Sin JS, todo se ve normalmente. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid,
  .ecom-band__grid,
  .about__grid,
  .coverage__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .hero__media, .about__media { order: -1; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav__toggle { display: inline-flex; }

  /* El wordmark es apaisado: se achica para convivir con el botón de menú */
  .logo svg { height: 26px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 22px 1.6rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }
  .nav__links a::after { display: none; }
  .nav .btn { margin-top: 1rem; }

  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }

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

  .wa { right: 14px; bottom: 14px; padding: .78rem 1rem; }
  .wa span { display: none; }

  .hero__lines { display: none; }

  /* En mobile la foto pasa a ser fondo completo, con un velo parejo y más oscuro */
  .hero--photo { min-height: 0; }
  .hero--photo::after {
    width: 100%;
    background:
      linear-gradient(180deg,
        rgba(6, 18, 43, .92) 0%,
        rgba(6, 18, 43, .84) 45%,
        rgba(6, 18, 43, .94) 100%),
      url("../img/hero.jpg") center center / cover no-repeat;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 21. Accesibilidad / impresión ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .wa, .nav__toggle, .cta { display: none; }
  body { color: #000; }
}
