/* ==========================================================
   MG AquaPro
   ========================================================== */
:root {
  --cal: #F4F5F3;
  --piedra: #E7E9E6;
  --linea: rgba(10, 34, 56, .12);
  --abismo: #0A2238;
  --abismo-2: #0E2C47;
  --texto: #3B4954;
  --gresite: #1A6F8C;
  --lamina: #8FDCE3;

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r-lg: clamp(18px, 2vw, 28px);
  --r-md: 16px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--cal);
  color: var(--texto);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lamina); color: var(--abismo); }
:focus-visible { outline: 2px solid var(--gresite); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .nav[data-state="over"] :focus-visible, .machinery :focus-visible, .contact :focus-visible, .card :focus-visible { outline-color: var(--lamina); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--abismo); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.3rem, 5.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--abismo);
  text-wrap: balance;
}
.center-head { text-align: center; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.center-head p { margin: 18px auto 0; max-width: 46ch; font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--abismo); }
.btn--light:hover { background: var(--lamina); }
.btn--glass {
  background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; gap: 36px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.nav[data-state="solid"] {
  background: rgba(244, 245, 243, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  color: var(--abismo);
  box-shadow: 0 1px 0 rgba(10,34,56,.06), 0 12px 40px -18px rgba(10,34,56,.25);
}
.nav[data-hidden="true"] { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 64px; transition: filter .5s var(--ease); }
.nav[data-state="over"] .brand__mark { filter: brightness(0) invert(1); }
.brand__word { font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { height: 44px; padding: 0 22px; font-size: 14px; }
.nav[data-state="solid"] .nav__cta { background: var(--abismo); color: #fff; border-color: var(--abismo); }
.nav[data-state="solid"] .nav__cta:hover { background: var(--gresite); border-color: var(--gresite); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--abismo); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.25; text-decoration: none; }
.menu__foot { margin: 40px 0 0; font-size: 15px; opacity: .7; }

@media (max-width: 960px) {
  .nav { inset: 10px 10px auto; padding-left: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.menu-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.menu-open .brand__mark { filter: brightness(0) invert(1); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; color: #fff; background: var(--abismo);
  display: grid; place-items: center; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__gl, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { background: url("assets/img/villa-palmeras.jpg") center 60% / cover no-repeat; }
.hero.gl-ready .hero__fallback { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(10,34,56,.55), rgba(10,34,56,.15) 70%),
    linear-gradient(180deg, rgba(10,34,56,.45), rgba(10,34,56,0) 25%, rgba(10,34,56,0) 70%, rgba(10,34,56,.6));
}
.hero__center { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.hero__center a { pointer-events: auto; }
.hero__title {
  margin: 0; font-weight: 300;
  font-size: clamp(2.6rem, 7.4vw, 8rem);
  line-height: .98; letter-spacing: -0.055em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__sub { margin: 26px auto 34px; max-width: 40ch; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255,255,255,.85); }
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero__foot {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 28px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 60%, 100% { transform: translateY(100%); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(110%); }
  .js .hero__sub, .js .hero__actions, .js .hero__foot, .js .nav { opacity: 0; }
  .js .hero__media { transform: scale(1.12); }
  .is-loaded .hero__media { transform: none; transition: transform 2.6s var(--ease); }
  .is-loaded .hero__title .line > span { transform: none; transition: transform 1.3s var(--ease); }
  .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
  .is-loaded .hero__sub, .is-loaded .hero__actions, .is-loaded .hero__foot { opacity: 1; transition: opacity 1.2s var(--ease) .7s; }
  .is-loaded .nav { opacity: 1; transition: opacity 1.2s var(--ease) .9s, background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s; }
}

/* ---------- intro ---------- */
.intro { padding: clamp(110px, 16vw, 220px) var(--gutter) clamp(40px, 6vw, 80px); }
.intro__statement {
  margin: 0 auto; max-width: 22ch; text-align: center;
  font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 4.1rem); line-height: 1.12; letter-spacing: -0.04em;
  color: var(--abismo); text-wrap: balance;
}
.intro__statement .w { transition: opacity .4s linear; }
.js .intro__statement .w { opacity: .14; }
.js .intro__statement .w.on { opacity: 1; }

/* ---------- expanding image ---------- */
.expand { height: 260vh; position: relative; }
.expand__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.expand__frame {
  --p: 0;
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--p)) * 24%) calc((1 - var(--p)) * 32%) round calc((1 - var(--p)) * 32px + var(--p) * 0px));
}
.expand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(calc(1.3 - var(--p) * .3)); }
.expand__overlay {
  position: absolute; inset: 0; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding: 0 var(--gutter) clamp(32px, 6vh, 64px);
  background: linear-gradient(0deg, rgba(10,34,56,.94), rgba(10,34,56,.62) 45%, rgba(10,34,56,.1) 80%);
  opacity: clamp(0, calc((var(--p) - .65) * 3), 1);
}
.expand__copy { max-width: 760px; }
.expand__copy h2 { margin: 0 0 16px; font-weight: 300; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.03; letter-spacing: -0.045em; text-wrap: balance; }
.expand__copy p { margin: 0; max-width: 52ch; color: rgba(255,255,255,.85); }
.expand__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 16px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.expand__facts div { display: flex; align-items: baseline; gap: 14px; }
.expand__facts dt { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 200; line-height: 1; letter-spacing: -0.05em; }
.expand__facts dd { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); max-width: 16ch; line-height: 1.35; }
@media (max-width: 700px) {
  .expand__facts { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- services: stacked cards ---------- */
.services { padding: clamp(100px, 13vw, 180px) 0 clamp(60px, 8vw, 120px); }
.stack { max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter); }
.card {
  position: sticky; top: 96px;
  height: min(78vh, 760px); min-height: 520px;
  border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--abismo);
  margin-bottom: 6vh; transform-origin: 50% 0;
  box-shadow: 0 -20px 60px -30px rgba(10,34,56,.45);
}
.card:nth-child(2) { top: 108px; }
.card:nth-child(3) { top: 120px; }
.card:nth-child(4) { top: 132px; }
.card:nth-child(5) { top: 144px; }
.card:nth-child(6) { top: 156px; margin-bottom: 0; }
.card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,34,56,.88) 0%, rgba(10,34,56,.35) 45%, rgba(10,34,56,.05) 75%);
}
.card__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(24px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end;
}
.card h3 { margin: 0 0 14px; font-weight: 300; font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.card__head p { margin: 0; max-width: 46ch; color: rgba(255,255,255,.85); }
.card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.card__list li {
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.card__shade { position: absolute; inset: 0; z-index: 3; background: var(--abismo); opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .card { height: auto; min-height: 78svh; top: 80px; }
  .card:nth-child(n) { top: 80px; }
  .card__body { grid-template-columns: 1fr; gap: 20px; }
  .card__list { justify-content: flex-start; }
  .card__list li { font-size: 13px; padding: 6px 12px; }
}

/* ---------- process: horizontal ---------- */
.process { background: var(--abismo); color: #fff; }
.process__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); overflow: hidden; }
.process__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 0 var(--gutter); max-width: var(--max); width: 100%; margin: 0 auto; }
.process .h2 { color: #fff; }
.process__bar { flex: 0 0 min(260px, 30vw); height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.process__bar i { display: block; height: 100%; background: var(--lamina); transform-origin: 0 50%; transform: scaleX(0); }
.process__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; will-change: transform; }
.pstep { position: relative; width: min(64vw, 820px); aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; flex: none; }
.pstep img { width: 100%; height: 100%; object-fit: cover; }
.pstep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,34,56,.9), rgba(10,34,56,0) 60%); }
.pstep__txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 2.5vw, 32px); align-items: end; }
.pstep__txt span { grid-row: span 2; font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 200; line-height: .8; letter-spacing: -0.06em; color: var(--lamina); }
.pstep__txt h3 { margin: 0 0 6px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -0.03em; }
.pstep__txt p { margin: 0; max-width: 44ch; font-size: 15.5px; color: rgba(255,255,255,.82); }
@media (max-width: 860px) {
  .process__pin { height: auto; padding: 100px 0 80px; }
  .process__track { flex-direction: column; width: auto; }
  .pstep { width: 100%; aspect-ratio: 4 / 5; }
  .pstep__txt { grid-template-columns: 1fr; }
  .pstep__txt span { grid-row: auto; margin-bottom: 10px; }
  .process__bar { display: none; }
}

/* ---------- reels ---------- */
.work { padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.reel { margin-top: clamp(16px, 1.6vw, 22px); overflow: hidden; }
.reel:first-of-type { margin-top: clamp(48px, 6vw, 80px); }
.reel__track { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; animation: reel 70s linear infinite; }
.reel[data-dir="right"] .reel__track { animation-direction: reverse; animation-duration: 80s; }
.reel:hover .reel__track, .reel:focus-within .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.shot {
  flex: none; height: clamp(220px, 30vw, 400px); aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-md); overflow: hidden; background: var(--piedra);
}
.shot--tall { aspect-ratio: 3 / 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.work__hint { text-align: center; margin: 28px 0 0; font-size: 14px; color: #7B8791; }
@media (max-width: 700px) {
  .shot { height: 160px; }
  .reel__track { animation: none; }
  .reel__track--ready { animation: reel 280s linear infinite; }
  .reel[data-dir="right"] .reel__track--ready { animation-direction: reverse; animation-duration: 320s; }
}
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel__track, .reel[data-dir="right"] .reel__track--ready { animation: none; padding: 0 var(--gutter); }
}

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(6,22,37,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox__close { position: fixed; top: 18px; right: var(--gutter); height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: lb .7s var(--ease); }
  @keyframes lb { from { opacity: 0; transform: scale(.96); } }
}

/* ---------- machinery ---------- */
.machinery { position: relative; overflow: hidden; color: #fff; background: var(--abismo); margin: 0 var(--gutter); border-radius: var(--r-lg); }
.machinery__bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; opacity: .32; filter: grayscale(.4); }
.machinery::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgba(10,34,56,.3), rgba(10,34,56,.85)); }
.machinery__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: clamp(96px, 13vw, 170px) var(--gutter); text-align: center; }
.machinery .h2 { color: #fff; }
.machinery__inner > p { margin: 24px auto 40px; max-width: 54ch; color: rgba(255,255,255,.82); }
.machinery__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 680px; margin: 0 auto 40px; }
.machinery__opts div {
  padding: 22px 24px; border-radius: var(--r-md); text-align: left;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.machinery__opts strong { display: block; font-weight: 600; font-size: 17px; margin-bottom: 4px; color: var(--lamina); }
.machinery__opts span { font-size: 15px; color: rgba(255,255,255,.78); }
@media (max-width: 600px) { .machinery { margin: 0 10px; } .machinery__opts { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.why__grid {
  list-style: none; max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.why__grid li { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-md); background: #fff; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.why__grid li:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(10,34,56,.35); }
.why__grid svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--abismo); stroke: var(--lamina); fill: none; stroke-width: 1.5; stroke-linecap: round; margin-bottom: 28px; }
.why__grid h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--abismo); }
.why__grid p { margin: 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

.pledge { max-width: 1000px; margin: clamp(100px, 12vw, 170px) auto 0; padding: 0 var(--gutter); text-align: center; }
.pledge p { margin: 0; font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 3.2rem); line-height: 1.18; letter-spacing: -0.04em; color: var(--abismo); text-wrap: balance; }
.pledge footer { margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--gresite); }

/* ---------- contact ---------- */
.contact { position: relative; color: #fff; background: var(--abismo); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,34,56,.6), rgba(10,34,56,.92) 70%); }
.contact__inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; padding: clamp(110px, 14vw, 190px) var(--gutter) clamp(80px, 10vw, 130px); }
.contact__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.contact .h2 { color: #fff; }
.contact__head p { margin: 20px auto 0; max-width: 50ch; color: rgba(255,255,255,.82); font-size: 18px; }
.panel {
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
}
.contact__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact__action {
  flex-direction: column; gap: 10px; height: auto;
  padding: 16px 10px; border-radius: var(--r-md);
  font-size: 16px; line-height: 1.3; text-align: center;
}
.contact__action:focus-visible { border-radius: var(--r-md); }
.contact__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(143,220,227,.14); color: var(--lamina);
}
.contact__icon svg { display: block; width: 20px; height: 20px; }
.contact__action.btn--light .contact__icon { background: #E4F5EB; color: #16734A; }
.contact__action.btn--light .contact__icon svg { width: 24px; height: 24px; }
.contact__label { min-width: 0; }
.contact__detail { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; opacity: .8; overflow-wrap: anywhere; }
.contact__address { margin: 24px 0 0; color: rgba(255,255,255,.75); font-size: 14px; text-align: center; }
@media (max-width: 700px) {
  .contact__actions { grid-template-columns: 1fr; }
  .contact__action {
    flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 68px;
    padding: 12px 14px; text-align: left;
  }
}

/* ---------- footer ---------- */
.foot { text-align: center; padding: 72px var(--gutter) 110px; }
.foot__logo { width: min(300px, 70vw); margin: 0 auto 32px; }
.foot__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 24px; }
.foot__nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--abismo); }
.foot__nav a:hover { color: var(--gresite); }
.foot__small { margin: 0; font-size: 13px; color: #7B8791; }

/* ---------- whatsapp ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -10px rgba(10,34,56,.5);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s;
}
.wa.show { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .expand { height: auto; }
  .expand__sticky { position: relative; height: 80vh; }
  .expand__frame { --p: 1 !important; }
}
