/* HAGROUP Servicios Industriales — landing */

:root {
  --orange: #ff914d;
  --orange-600: #ff7a2b;
  --blue: #0049b1;
  --green: #00bf63;

  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #222;
  --paper: #eef0f2;
  --white: #fff;

  --text: #1d2125;
  --text-muted: #555c63;
  --text-inverse: #f2f3f4;
  --text-inverse-muted: #a9aeb4;
  --line: rgba(0, 0, 0, .1);
  --line-inverse: rgba(255, 255, 255, .12);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .25);
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --tribar: linear-gradient(90deg, var(--orange) 0 33.33%, var(--blue) 33.33% 66.66%, var(--green) 66.66% 100%);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

/* ---------- base ---------- */
*, *::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: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--ink); padding: .6rem 1rem; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.45rem; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .6rem 1rem; font-size: .92rem; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--orange); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- títulos ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: .9rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.kicker::before { content: ""; width: 42px; height: 4px; background: var(--tribar); }
.section--dark .kicker { color: var(--text-inverse-muted); }

.section__title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__intro { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- secciones ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--light {
  background: var(--paper) url("../img/bg-triangulos.svg") center / cover no-repeat;
  color: var(--text);
}
.section--dark { background: var(--ink-2); color: var(--text-inverse); }
.section--dark p { color: var(--text-inverse-muted); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(11, 11, 11, .94);
  box-shadow: 0 1px 0 var(--line-inverse);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo img { width: 168px; height: auto; }
.header__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-inverse);
  background: transparent; color: var(--white);
}
.header__toggle .icon { width: 24px; height: 24px; }
.header__toggle .icon--close, .header.is-open .header__toggle .icon--open { display: none; }
.header.is-open .header__toggle .icon--close { display: block; }

.nav {
  position: fixed; inset: var(--header-h) 0 auto; padding: 1rem var(--gutter) 1.5rem;
  background: rgba(11, 11, 11, .98); border-top: 1px solid var(--line-inverse);
  display: flex; flex-direction: column; gap: 1rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
.nav__list a {
  display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-inverse);
  color: var(--text-inverse); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.nav__list a.is-active { color: var(--orange); }

@media (min-width: 960px) {
  .header__logo img { width: 200px; }
  .header__toggle { display: none; }
  .nav {
    position: static; padding: 0; background: none; border: 0;
    flex-direction: row; align-items: center; gap: 2rem;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav__list { display: flex; gap: 1.75rem; }
  .nav__list a { padding: .4rem 0; border: 0; font-size: .95rem; position: relative; }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--orange); transform: scaleX(0); transition: transform .2s; transform-origin: left;
  }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
  .nav__list a.is-active { color: var(--text-inverse); }
}

/* ---------- portada ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 900px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(6rem, 12vw, 9rem);
  background: var(--ink); color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .82) 42%, rgba(8, 8, 8, .35) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, .7) 0%, rgba(8, 8, 8, 0) 40%);
}
.hero__inner { display: grid; gap: 2.5rem; align-items: end; }
.hero__content { max-width: 680px; }
.hero__kicker {
  display: inline-block; margin-bottom: 1.25rem; padding-bottom: .35rem; border-bottom: 2px solid var(--white);
  font-family: var(--font-head); font-style: italic; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
}
.hero__title { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.hero__title span { color: var(--orange); }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #d9dcdf; max-width: 560px; margin-bottom: 2rem; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__claims {
  border-left: 5px solid var(--orange); padding-left: 1rem;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.45; letter-spacing: .04em; text-transform: uppercase;
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 110px); z-index: 0; }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr auto; }
}

/* ---------- franja de confianza ---------- */
.trust { background: var(--ink); color: var(--text-inverse); padding: 1rem 0 clamp(3rem, 6vw, 4.5rem); }
.stats { display: grid; gap: 1px; margin: 0 0 2.5rem; background: var(--line-inverse); border: 1px solid var(--line-inverse); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: 1.5rem 1.4rem; display: flex; flex-direction: column-reverse; gap: .2rem; }
.stat dt { color: var(--text-inverse-muted); font-size: .92rem; }
.stat dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--white); line-height: 1.2; }
.stat:nth-child(1) dd { color: var(--orange); }
.clients { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.clients__label { margin: 0; color: var(--text-inverse-muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.clients__list { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.clients__list li { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #8d939a; letter-spacing: .03em; text-transform: uppercase; }

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .clients { flex-direction: row; align-items: center; gap: 2.5rem; }
  .clients__label { flex: none; }
}

/* ---------- media y placeholders ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #d9dde1; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph { min-height: 200px; }
.media--ph::before {
  content: attr(data-ph);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 1.25rem; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: #6b737b;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 14px, transparent 14px 28px),
    #dfe3e7;
  border: 2px dashed #b9c0c7; border-radius: inherit;
}
.media--ph img { position: absolute; inset: 0; z-index: 1; }

/* ---------- empresa ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about__text p { color: var(--text-muted); }
.about__text strong { color: var(--text); }
.about__media { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }

.timeline { display: grid; gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); counter-reset: hito; }
.timeline__item {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: 0 1px 0 var(--line); border-top: 4px solid var(--orange);
}
.timeline__item:nth-child(2) { border-top-color: var(--blue); }
.timeline__item:nth-child(3) { border-top-color: var(--green); }
.timeline__item:nth-child(4) { border-top-color: var(--ink); }
.timeline__year { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--text-muted); letter-spacing: .04em; margin-bottom: .35rem; }
.timeline__item h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.timeline__item p { margin: 0; color: var(--text-muted); font-size: .95rem; }

@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- especialidad ---------- */
.specialty { position: relative; overflow: hidden; }
.specialty::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 145, 77, .16), transparent); pointer-events: none;
}
.specialty__inner { display: grid; gap: 3rem; align-items: center; }
.specialty__media { position: relative; max-width: 520px; padding: 0 0 3rem 0; }
.specialty__img { border-radius: var(--radius); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); }
.specialty__img--main { width: 78%; aspect-ratio: 600 / 730; object-fit: cover; }
.specialty__img--detail {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 4px solid var(--ink-2);
}
.specialty__text > p { font-size: 1.05rem; }
.checklist { display: grid; gap: .75rem; margin: 1.5rem 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-inverse); }
.checklist .icon { color: var(--green); margin-top: .15rem; }
.brands { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.brands li {
  padding: .45rem .9rem; border: 1px solid var(--line-inverse); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--white); background: rgba(255, 255, 255, .04);
}

@media (min-width: 960px) {
  .specialty__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ---------- servicios ---------- */
.services { display: grid; gap: 1.5rem; }
.service {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(0, 0, 0, .3);
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -22px rgba(0, 0, 0, .4); }
.service__media { aspect-ratio: 4 / 3; border-radius: 0; }
.service__body { position: relative; padding: 1.5rem 1.4rem 1.6rem; flex: 1; }
.service__num { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--orange); letter-spacing: .06em; }
.service h3 { font-size: 1.2rem; margin: .25rem 0 .9rem; }
.service ul { display: grid; gap: .5rem; }
.service li { position: relative; padding-left: 1.1rem; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.service li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--orange); border-radius: 1px; }

@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

/* ---------- galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; background: var(--ink-3); position: relative;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow .2s;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { box-shadow: inset 0 0 0 3px var(--orange); }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* ---------- lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 5, .94); color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; padding: 4.5rem 1rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .9rem; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(1200px, 100%); max-height: calc(100svh - 9rem); width: auto; height: auto; border-radius: 6px; }
.lightbox__caption { font-family: var(--font-head); font-weight: 600; color: #d9dcdf; text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 20, 20, .7); color: var(--white);
}
.lightbox__btn:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- misión, visión y valores ---------- */
.mv { display: grid; gap: 1.5rem; }
.mv__card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: 0 1px 0 var(--line); position: relative; }
.mv__card::before { content: ""; position: absolute; left: 0; top: 2rem; width: 5px; height: 2.2rem; background: var(--orange); }
.mv__card--wide::before { background: var(--blue); }
.mv__card h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.mv__card p { margin: 0; color: var(--text-muted); }
.mv__card:first-child p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--text); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.values li {
  display: flex; align-items: center; gap: .6rem; background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.1rem; font-family: var(--font-head); font-weight: 600; box-shadow: 0 1px 0 var(--line);
}
.values .icon {
  width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%;
  background: var(--green); color: var(--white); stroke-width: 3;
}

@media (min-width: 768px) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .mv { grid-template-columns: 1fr 2fr; }
  .values { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- llamado a la acción ---------- */
.cta { background: var(--orange); color: var(--ink); padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: .4rem; }
.cta p { margin: 0; font-weight: 500; font-size: 1.05rem; }

@media (min-width: 768px) {
  .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- contacto ---------- */
.contact { display: grid; gap: 3rem; align-items: start; }
.contact__info > p { color: var(--text-muted); }
.contact__list { display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list .icon {
  width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 8px;
  background: var(--orange); color: var(--ink);
}
.contact__label { display: block; font-size: .82rem; color: var(--text-muted); letter-spacing: .02em; }
.contact__list a { font-family: var(--font-head); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--blue); text-decoration: underline; }
.contact__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #d9dde1; box-shadow: 0 1px 0 var(--line); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { position: relative; overflow: hidden; background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--tribar); }
.form__title { font-size: 1.4rem; margin-bottom: 1.5rem; }
.form__row { display: grid; gap: 0 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field span { font-size: .88rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 8px; border: 1.5px solid #cfd4d9; background: #fafbfc;
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 73, 177, .15); background: var(--white); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c62828; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; }
.form__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: #0a7a3f; }
.form__status.is-error { color: #c62828; }
.form__note { margin: .5rem 0 0; font-size: .85rem; color: var(--text-muted); }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--text-inverse-muted); font-size: .95rem; }
.tribar { height: 6px; background: var(--tribar); }
.footer__inner { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.footer__brand img { width: 220px; margin-bottom: 1rem; }
.footer__brand p { max-width: 340px; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer a { color: var(--text-inverse); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__contact { line-height: 1.9; overflow-wrap: anywhere; }
.footer__legal { border-top: 1px solid var(--line-inverse); padding-block: 1.5rem; font-size: .85rem; }
.footer__legal p { margin: 0; }

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.4fr .8fr 1.2fr; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55);
  transition: transform .2s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { transform: none; }
}
