﻿/* ============ Base ============ */
:root {
  --blue: #044c72;
  --blue-d: #033754;
  --blue-dd: #022b43;
  --green: #77b838;
  --green-d: #4c861c;
  --green-l: #eef7e3;
  --ink: #0c1a24;
  --muted: #52636f;
  --line: #e3e9ed;
  --soft: #f4f7f9;
  --nav-h: 64px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 { letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }

.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: linear-gradient(90deg, var(--blue) 10%, var(--green) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--g { background: linear-gradient(90deg, #5fa229, #9ad25c); -webkit-background-clip: text; background-clip: text; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 14px;
}
.eyebrow--g { color: var(--green); }

.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 40em; margin-inline: auto; }

/* ============ Reveal ============ */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise .9s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero .reveal { opacity: 1; animation: rise .9s var(--ease) backwards; animation-delay: var(--d, 0ms); }

/* ============ Botones ============ */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s, background-color .3s;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--green), #a3d96b);
  transform: translateX(-102%);
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(4, 76, 114, .6); }
.btn:hover::before { transform: none; }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.btn--primary::before { background: #fff; }
.btn--primary:hover { color: var(--blue); border-color: var(--blue); }

.btn--ghost { --bg: transparent; --fg: var(--blue); border-color: #c9d6de; }
.btn--ghost::before { background: var(--soft); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 14px 28px -16px rgba(4, 76, 114, .5); }

.btn--green { --bg: var(--green); --fg: var(--blue-dd); }
.btn--green::before { background: #fff; }
.btn--green:hover { border-color: var(--green); box-shadow: 0 16px 32px -12px rgba(119, 184, 56, .7); }

.btn--line { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--line::before { background: #fff; }
.btn--line:hover { color: var(--blue-dd); border-color: #fff; box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5); }

.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white::before { background: #0c1a24; }
.btn--white:hover { color: #fff; border-color: #fff; box-shadow: 0 16px 32px -14px rgba(255, 255, 255, .35); }

.ig-btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0c1a24; color: #fff; border: 1.5px solid #0c1a24;
  transition: background-color .3s, color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ig-btn .i { width: 20px; height: 20px; }
.ig-btn:hover { background: #fff; color: #0c1a24; transform: translateY(-2px) rotate(-6deg); box-shadow: 0 14px 26px -12px rgba(12, 26, 36, .6); }

.btn--sm { height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 1.05rem; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--soft); border: 1.5px solid transparent;
  transition: background-color .25s, transform .3s var(--ease), border-color .25s;
}
.icon-btn:hover { background: #fff; border-color: var(--blue); transform: scale(1.06); }

.link {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 18px;
  font-weight: 600; color: var(--blue);
}
.link .i { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(5px); }

.tag {
  font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green); color: var(--blue-dd);
  padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px;
}

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color .35s, box-shadow .35s;
}
.nav.is-scrolled, .nav.open {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(12, 26, 36, .08);
}
.nav__in {
  height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { height: 34px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.08); }
.brand__txt {
  display: flex; flex-direction: column; line-height: 1.12;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.brand__txt b { color: var(--blue); }
.brand__txt i { font-style: normal; color: var(--green); font-size: .98rem; letter-spacing: .14em; }

.menu { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.menu a:not(.btn) {
  position: relative; padding: 8px 14px; font-size: .92rem; font-weight: 500; color: #33424d; white-space: nowrap;
  transition: color .25s;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.menu a:not(.btn):hover, .menu a.is-active { color: var(--blue); }
.menu a:not(.btn):hover::after, .menu a.is-active::after { transform: scaleX(1); }
.menu__cta, .menu__ig { display: none; }

.burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.nav.open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__cta, .nav__ig { display: none; }
  .burger { display: block; }
  .menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 30px 40px -30px rgba(12, 26, 36, .35);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility .45s;
  }
  .nav.open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu a:not(.btn) { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .menu a:not(.btn)::after { display: none; }
  .menu__ig { display: block; }
  .menu__cta { display: inline-flex; margin-top: 18px; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 28px) 20px 36px;
  overflow: clip;
  background:
    radial-gradient(55% 45% at 85% 5%, rgba(119, 184, 56, .20), transparent 70%),
    radial-gradient(65% 55% at 8% 0%, rgba(4, 76, 114, .12), transparent 70%),
    #fff;
}
.hero__in {
  display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vh, 26px);
  max-width: 920px;
  transform: translateY(calc(var(--p, 0) * -50px)) scale(calc(1 - var(--p, 0) * .05));
  opacity: calc(1.25 - var(--p, 0) * 1.6);
  will-change: transform, opacity;
}
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.8rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.02; }
.hero .lead { max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: #263642;
  box-shadow: 0 8px 24px -12px rgba(4, 76, 114, .35);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.pill b {
  background: var(--green); color: var(--blue-dd);
  padding: 4px 11px; border-radius: 999px;
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
}
.pill .i { width: 1em; height: 1em; transition: transform .3s var(--ease); }
a.pill:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 14px 30px -14px rgba(119, 184, 56, .8); }
a.pill:hover .i { transform: translateX(4px); }
.pill--static { padding-right: 16px; }

.orbs {
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: clamp(26px, 6vh, 64px);
  --s: min(17vh, 200px);
}
.orb {
  width: calc(var(--s) * var(--m));
  aspect-ratio: 1;
  margin-inline: calc(var(--s) * -.05);
  margin-bottom: var(--up);
  transform: translateY(calc(var(--p, 0) * var(--lift)));
  will-change: transform;
}
.orb img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(12, 26, 36, .07), 0 26px 40px -14px rgba(4, 50, 80, .5);
  animation: float 7s ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 600px) {
  .orbs { --s: min(25vw, 15vh); }
  .actions .btn { flex: 1 1 100%; }
}

/* ============ Secciones ============ */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--soft { background: var(--soft); }

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 68px); }
.head p { margin-top: 18px; font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--muted); }
.head--tight { margin-bottom: clamp(32px, 5vw, 52px); }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 34px 30px 32px; border-radius: 26px;
  background: var(--soft); border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s;
}
.card:hover { transform: translateY(-8px); background: #fff; border-color: var(--line); box-shadow: 0 30px 50px -26px rgba(4, 76, 114, .4); }
.card__ic {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: 0 6px 16px -8px rgba(4, 76, 114, .4);
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.card__ic .i { width: 26px; height: 26px; }
.card:hover .card__ic { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .link { margin-top: auto; padding-top: 18px; }

.card--hl { background: linear-gradient(165deg, var(--blue) 0%, var(--blue-dd) 100%); color: #fff; }
.card--hl p { color: rgba(255, 255, 255, .82); }
.card--hl .card__ic { background: rgba(255, 255, 255, .12); color: var(--green); box-shadow: none; }
.card--hl:hover { background: linear-gradient(165deg, #055d8a 0%, var(--blue-d) 100%); border-color: transparent; }
.card--hl:hover .card__ic { background: var(--green); color: var(--blue-dd); }
.card--hl .link { color: var(--green); }
.tag--g { position: absolute; top: 28px; right: 26px; margin: 0; }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ============ Stone Carpet ============ */
.stone { padding-top: clamp(40px, 6vw, 80px); background: #fff; }
.stone__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-bottom: clamp(20px, 4vw, 48px); }
.mega { font-size: clamp(3.4rem, 12vw, 9.5rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; }

/* Scrub (frames controlados por scroll) */
.scrub { height: calc(100svh + var(--n) * 30svh); position: relative; }
.scrub__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2.4vh, 24px);
  padding: calc(var(--nav-h) + 4px) 20px 20px;
  overflow: clip;
}
.scrub__kicker { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); }
.disc { --d: min(54vh, 80vw, 540px); width: var(--d); height: var(--d); position: relative; }
.disc::before {
  content: ""; position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(119, 184, 56, .2), transparent);
}
.disc canvas {
  width: 100%; height: 100%; border-radius: 50%; background: var(--soft);
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px rgba(12, 26, 36, .08), 0 40px 70px -24px rgba(4, 76, 114, .5);
  will-change: transform;
}
.scrub__meta { text-align: center; }
.scrub__name { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; min-height: 1.1em; }
.scrub__count { margin-top: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }

.dots { display: flex; justify-content: center; }
.dots button {
  width: min(26px, calc((100vw - 40px) / 14)); height: 26px; border: 0; background: none; cursor: pointer; position: relative;
}
.dots button::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 10px; margin-left: -5px; border-radius: 50%; background: #cdd7de;
  transition: background-color .3s, transform .35s var(--ease);
}
.dots button:hover::before { background: var(--blue); transform: scale(1.35); }
.dots button.on::before { background: var(--green); transform: scale(1.7); }

.scrub__hint {
  display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--muted);
  transition: opacity .4s;
}
.scrub__hint .i { animation: bob 1.6s ease-in-out infinite; }
.scrub__hint.off { opacity: 0; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-height: 640px) { .scrub__hint, .scrub__kicker { display: none; } }

/* Catálogo de colores */
.swatches {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 18px 16px;
  padding-bottom: clamp(70px, 10vw, 130px);
}
.swatch {
  width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: 10px;
}
.swatch img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: var(--soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.swatch:hover img { transform: translateY(-6px) scale(1.04); box-shadow: 0 26px 36px -20px rgba(4, 76, 114, .6); }
.swatch span { font-weight: 600; font-size: .95rem; color: #2a3a46; transition: color .25s; }
.swatch:hover span { color: var(--blue); }

/* Beneficios */
.feats-wrap { padding-bottom: clamp(70px, 10vw, 130px); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.feat { padding-top: 26px; border-top: 1px solid var(--line); transition: border-color .3s; }
.feat:hover { border-top-color: var(--green); }
.feat__ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-l); color: var(--green-d); margin-bottom: 18px;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.feat:hover .feat__ic { transform: scale(1.12) rotate(-8deg); background: var(--green); color: var(--blue-dd); }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--muted); }
@media (max-width: 860px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; gap: 30px; } }

/* Texto que se ilumina con el scroll */
.words-wrap { text-align: center; padding-bottom: clamp(70px, 10vw, 130px); }
.words {
  max-width: 980px; margin-inline: auto;
  font-size: clamp(2rem, 5.6vw, 4.2rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.1;
}
.word { display: inline-block; opacity: .14; transition: opacity .2s linear; }
.word b { font-weight: inherit; color: var(--blue); }
.words__note { margin-top: 26px; color: var(--muted); font-size: 1.05rem; }

/* Antes / después */
.ba-sec { height: calc(100svh + 120svh); position: relative; }
.ba-sec__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 6px) 20px 20px; text-align: center;
}
.ba-sec .head { margin-bottom: clamp(18px, 3.4vh, 32px); }
.ba-sec .head h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.ba-sec .head p { margin-top: 10px; }

.ba {
  --pos: 94%;
  position: relative; overflow: hidden; border-radius: 28px;
  aspect-ratio: 1072 / 570;
  width: min(1060px, 100%, calc((100svh - 270px) * 1.88));
  min-width: min(100%, 300px);
  box-shadow: 0 40px 80px -36px rgba(4, 50, 80, .55);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  background: var(--soft);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
@media (max-width: 600px) {
  .ba { aspect-ratio: 4 / 3; width: min(100%, calc((100svh - 270px) * 1.33)); border-radius: 22px; }
}
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 14px rgba(0, 0, 0, .35); }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; cursor: ew-resize;
  background: #fff; color: var(--blue); border: 0;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.ba__knob .i { width: 26px; height: 26px; }
.ba:hover .ba__knob, .ba__knob:focus-visible { transform: translate(-50%, -50%) scale(1.1); background: var(--green); color: var(--blue-dd); }
.ba__tag {
  position: absolute; bottom: 16px; padding: 7px 16px; border-radius: 999px;
  background: rgba(12, 26, 36, .6); color: #fff; font-size: .85rem; font-weight: 650;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .3s;
}
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.ba__tag.off { opacity: 0; }
.ba__hint { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* ============ Proceso ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: 26px; padding: 34px 30px 36px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(4, 76, 114, .4); }
.step__n {
  display: block; margin-bottom: 20px;
  font-size: 3.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ============ Reseñas ============ */
.review {
  max-width: 820px; margin-inline: auto; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background: linear-gradient(180deg, var(--green-l), #fff 85%);
  border: 1px solid #dcebc7;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.review p { color: var(--muted); max-width: 34em; font-size: 1.1rem; }
.review .eyebrow { margin: 0; }

.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; margin: 8px 0 10px; }
.stars a { display: block; padding: 2px; border-radius: 10px; }
.stars .star { width: clamp(40px, 8vw, 56px); height: clamp(40px, 8vw, 56px); stroke: #c3cfd7; stroke-width: 1.5; transition: fill .2s, stroke .2s, transform .35s var(--ease); }
.stars a:hover .star, .stars a:hover ~ a .star, .stars a:focus-visible .star, .stars a:focus-visible ~ a .star { fill: #fbbc04; stroke: #f2a900; }
.stars a:hover .star { transform: scale(1.18) rotate(-6deg); }

/* ============ Contacto ============ */
.contact {
  position: relative; overflow: clip; color: #fff;
  background: radial-gradient(70% 90% at 100% 0%, #06608f 0%, transparent 60%), linear-gradient(160deg, var(--blue) 0%, var(--blue-dd) 100%);
  padding: clamp(80px, 11vw, 140px) 0;
}
.contact__mark {
  position: absolute; right: -8%; bottom: -14%; width: min(640px, 70vw);
  filter: brightness(0) invert(1); opacity: .05; pointer-events: none;
}
.contact__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.contact__in > p { margin-top: 18px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 30em; }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact__zone { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px !important; font-size: 1rem !important; color: rgba(255, 255, 255, .65) !important; }
.contact__zone .i { color: var(--green); }
@media (max-width: 560px) { .contact__btns { width: 100%; } .contact__btns .btn { flex: 1 1 100%; } }

/* ============ Instagram ============ */
.insta {
  background: #0c1a24; color: #fff; text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative; overflow: clip;
}
.insta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, rgba(255, 255, 255, .09), transparent 70%);
}
.insta__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.insta__logo {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; margin-bottom: 28px;
  border: 2px solid #fff; color: #fff;
  transition: transform .6s var(--ease), background-color .3s, color .3s;
}
.insta__logo .i { width: 40px; height: 40px; stroke-width: 1.6; }
.insta:hover .insta__logo { transform: rotate(-8deg) scale(1.06); background: #fff; color: #0c1a24; }
.insta .eyebrow { color: rgba(255, 255, 255, .6); }
.insta h2 { max-width: 14em; }
.insta p { margin: 20px 0 36px; max-width: 34em; font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: rgba(255, 255, 255, .75); }


/* ============ Footer ============ */
.footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: .9rem; }

.footer__txt { display: grid; gap: 6px; }
.footer__legal, .lfoot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__legal a, .lfoot a { font-size: .88rem; color: var(--muted); text-underline-offset: 3px; transition: color .25s; }
.footer__legal a:hover, .lfoot a:hover { color: var(--blue); text-decoration: underline; }

/* ============ Páginas legales ============ */
.lhead { border-bottom: 1px solid var(--line); }
.lhead__in { width: min(1240px, 100% - 32px); height: var(--nav-h); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lhead__back { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue); }
.lhead__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { width: min(760px, 100% - 40px); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0 clamp(60px, 9vw, 110px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; }
.legal .upd { margin: 10px 0 32px; color: var(--muted); }
.legal h2 { font-size: 1.28rem; letter-spacing: -.02em; margin: 38px 0 12px; }
.legal p, .legal li, .legal dd { color: #2a3a46; }
.legal p + p, .legal p + ul, .legal ul + p, .legal p + dl, .legal dl + h2 { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin-top: 12px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal .data { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; border-top: 1px solid var(--line); margin: 16px 0 0; }
.legal .data dt, .legal .data dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.legal .data dt { font-weight: 650; color: var(--ink); padding-right: 16px; }
@media (max-width: 560px) {
  .legal .data { grid-template-columns: 1fr; }
  .legal .data dt { padding-bottom: 0; border-bottom: 0; }
}
mark.ph { background: #fff1a8; color: #5a4600; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.draft { background: #fff8db; border: 1px solid #f0dc8a; color: #5a4600; border-radius: 14px; padding: 14px 18px; margin-bottom: 30px; font-size: .95rem; }
.lfoot { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; }
.lfoot p { color: var(--muted); font-size: .88rem; }

/* ============ Dock móvil ============ */
.dock {
  display: none; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 18px 40px -12px rgba(4, 50, 80, .45), 0 0 0 1px rgba(12, 26, 36, .06);
  transform: translateY(160%); transition: transform .5s var(--ease);
}
.dock .btn { flex: 1; height: 46px; }
.dock .ig-btn { width: 46px; height: 46px; }
.dock .ig-btn .i { width: 22px; height: 22px; }
.dock.show { transform: none; }
@media (max-width: 720px) {
  .dock { display: flex; }
  .footer { padding-bottom: 96px; }
}

/* ============ Modal de color ============ */
.modal {
  border: 0; padding: 0; border-radius: 30px; overflow: hidden;
  width: min(900px, 94vw); max-height: 94svh; overflow-y: auto;
  background: #fff; color: var(--ink);
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .55);
}
.modal::backdrop { background: rgba(6, 24, 36, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: pop .5s var(--ease); }
.modal[open]::backdrop { animation: fade .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__imgs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.modal__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.modal__x {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4);
  transition: transform .35s var(--ease), background-color .25s;
}
.modal__x:hover { transform: rotate(90deg) scale(1.08); background: #fff; }
.modal__body { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px 28px; }
.modal__k { color: var(--green-d); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.modal__body h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.modal__act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .modal__body { padding: 20px; }
  .modal__act { width: 100%; }
  .modal__act .btn { flex: 1; white-space: normal; height: auto; min-height: 46px; padding-block: 8px; text-align: center; }
}

/* ============ Movimiento reducido ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
  .orb img, .scrub__hint .i { animation: none; }
  .hero__in { transform: none; opacity: 1; }
  .orb { transform: none; }
  .scrub { display: none; }
  .ba-sec { height: auto; }
  .ba-sec__sticky { position: static; height: auto; padding-block: 60px; }
  .word { opacity: 1; }
  .ba { --pos: 50%; }
}
