/* ==========================================================================
   Mega Cax S.R.L.
   ========================================================================== */

:root {
  --navy-950: #010a2b;
  --navy-900: #03135a;
  --navy-800: #06208c;
  --blue-700: #0a33c0;
  --blue-600: #1452e0;
  --blue-500: #1f6ff0;
  --sky-400: #46b0f7;
  --sky-100: #e4f2ff;
  --lime: #d6ff1f;
  --lime-600: #bfe600;
  --cream: #f5f3ec;
  --paper: #fbfaf6;
  --ink: #0a1433;
  --ink-2: #27315a;
  --muted: #5d678a;
  --line: rgba(10, 20, 51, .1);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --shadow-lg: 0 40px 80px -30px rgba(3, 19, 90, .45);
  --shadow-md: 0 20px 40px -20px rgba(3, 19, 90, .35);
}

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--lime); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill, symbol .fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Tipografía ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--sky-400); }
.eyebrow--lime { color: var(--lime); }
.eyebrow__dot { display: none; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow .eyebrow__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 31, .6); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(214, 255, 31, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(214, 255, 31, 0); } }

.title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; color: var(--ink); max-width: 18ch; text-wrap: balance; }
.title--light { color: #fff; }
.ink-blue { color: var(--blue-600); }
.text-lg { font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 56ch; }

/* Botones ------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -.005em;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at 50% 120%, rgba(255, 255, 255, .45), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn .ico { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14.5px; }
.btn--lg { height: 62px; padding: 0 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--lime { --bg: var(--lime); --fg: var(--navy-950); box-shadow: 0 14px 34px -14px rgba(214, 255, 31, .7); }
.btn--lime:hover { box-shadow: 0 18px 44px -12px rgba(214, 255, 31, .85); }
.btn--blue { --bg: var(--blue-600); --fg: #fff; box-shadow: 0 14px 34px -14px rgba(20, 82, 224, .8); }
.btn--blue:hover { --bg: var(--blue-700); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .14); }

.glass {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.glass-dark {
  background: rgba(3, 19, 90, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* Precarga ------------------------------------------------------------ */
.preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-800), var(--navy-950) 70%);
  transition: opacity .7s var(--ease) .1s, visibility .7s .1s;
}
.is-loaded .preloader { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.preloader__inner img { width: 150px; animation: breathe 1.8s var(--ease-io) infinite alternate; }
.preloader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader__ring circle { fill: none; stroke: var(--lime); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ring 1.6s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes breathe { from { opacity: .7; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
html:not(.js) .preloader { display: none; }

/* Cabecera ------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(251, 250, 246, .82);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(3, 19, 90, .25);
  transition: opacity .4s var(--ease);
}
.header.is-scrolled { --header-h: 72px; }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; width: 104px; height: 63px; flex: none; transition: transform .4s var(--ease); }
.header.is-scrolled .brand { transform: scale(.88); transform-origin: left center; }
.brand__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.brand__logo--color { opacity: 0; }
.header.is-scrolled .brand__logo--color { opacity: 1; }
.header.is-scrolled .brand__logo--white { opacity: 0; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .85);
  transition: color .3s, background-color .3s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lime); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.header.is-scrolled .nav__link { color: var(--ink-2); }
.header.is-scrolled .nav__link:hover { color: var(--ink); background: rgba(10, 20, 51, .05); }
.header.is-scrolled .nav__link::after { background: var(--blue-600); }
.nav__mobile-foot { display: none; }
.burger { display: none; }

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 96px; color: #fff; overflow: hidden;
  background: var(--navy-950); isolation: isolate;
}
.hero__gl, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__gl { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__gl.is-ready { opacity: 1; }
.hero__fallback {
  z-index: -3;
  background:
    radial-gradient(60% 70% at 75% 30%, rgba(63, 169, 245, .45), transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(10, 47, 176, .8), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1;
  background: linear-gradient(to top, rgba(1, 10, 43, .65), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(46px, 6.2vw, 88px); font-weight: 700; letter-spacing: -.045em; line-height: .98; margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__title .line:nth-child(4) > span { transition-delay: .3s; }
.is-loaded .hero__title .line > span, html:not(.js) .hero__title .line > span { transform: none; }
.hl { position: relative; font-style: normal; color: var(--lime); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px;
  background: currentColor; opacity: .9; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 1s;
}
.is-loaded .hl::after { transform: scaleX(1); }

.hero__eyebrow, .hero__lead, .hero__actions, .hero__stats { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__eyebrow { opacity: 1; transform: none; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: .35s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: .48s; }
.is-loaded .hero__stats { opacity: 1; transform: none; transition-delay: .62s; }
html:not(.js) .hero__eyebrow, html:not(.js) .hero__lead, html:not(.js) .hero__actions, html:not(.js) .hero__stats { opacity: 1; transform: none; }

.hero__lead { font-size: clamp(17px, 1.45vw, 20px); color: rgba(255, 255, 255, .78); max-width: 46ch; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 52px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 560px; }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.hero__stats .hero__stats-text { font-size: clamp(22px, 2vw, 28px); line-height: 1.5; }
.hero__stats span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; height: min(640px, 72vh); min-height: 480px; }
.hero__photo {
  position: absolute; overflow: hidden; border-radius: var(--r-xl); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .6);
  transform: translate3d(0, var(--py, 0), 0);
  opacity: 0; transition: opacity 1.2s var(--ease), clip-path 1.4s var(--ease);
  clip-path: inset(18% 18% 18% 18% round var(--r-xl));
}
.is-loaded .hero__photo, html:not(.js) .hero__photo { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-xl)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.8s var(--ease); }
.is-loaded .hero__photo img { transform: scale(1); }
.hero__photo--main { right: 12%; top: 0; width: 52%; height: 100%; transition-delay: .25s; }
.hero__photo--main img { object-position: 50% 30%; }
.hero__photo--a { right: 0; top: 10%; width: 40%; aspect-ratio: 4 / 3.4; transition-delay: .45s; border: 4px solid rgba(255, 255, 255, .9); }
.hero__photo--b { left: 0; bottom: 6%; width: 42%; aspect-ratio: 4 / 3; transition-delay: .6s; border: 4px solid rgba(255, 255, 255, .9); }
.hero__photo--b img { object-position: 60% 50%; }

.hero__badge {
  position: absolute; left: 6%; top: 6%; width: 150px; height: 150px; z-index: 3;
  opacity: 0; transform: scale(.6) rotate(-40deg); transition: opacity 1s var(--ease) .9s, transform 1.4s var(--ease) .9s;
}
.is-loaded .hero__badge { opacity: 1; transform: none; }
.hero__badge-text { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge-text text { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .2em; fill: #fff; }
.hero__badge-core {
  position: absolute; inset: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--navy-950); box-shadow: 0 10px 40px -8px rgba(214, 255, 31, .6);
}
.hero__badge-core .ico { width: 30px; height: 30px; animation: spin 10s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__chip {
  position: absolute; right: 4%; bottom: 10%; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 20px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) 1.1s, transform 1s var(--ease) 1.1s;
  animation: float 6s ease-in-out 2.2s infinite;
}
.is-loaded .hero__chip { opacity: 1; transform: none; }
.hero__chip-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--navy-950); }
.hero__chip-ico .ico { width: 22px; height: 22px; }
.hero__chip strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.2; }
.hero__chip small { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; width: 28px; height: 46px; margin-left: -14px;
  border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--lime); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(14px); } 100% { opacity: 0; transform: translateY(16px); } }

/* Banda de servicios -------------------------------------------------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden; background: var(--lime); color: var(--navy-950);
  padding: 22px 0; margin-top: -28px; transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 20px 50px -20px rgba(3, 19, 90, .4);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee__group .ico { width: 22px; height: 22px; color: var(--blue-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Apariciones --------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Nosotros ------------------------------------------------------------ */
.about { background: var(--paper); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img { overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.about__img--main { aspect-ratio: 4 / 4.4; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--paper);
  border-radius: calc(var(--r-xl) + 4px);
}
.about__tag {
  position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600;
}
.about__tag .ico { color: var(--lime); }
.about__media::before {
  content: ""; position: absolute; left: -40px; bottom: 30px; width: 180px; height: 180px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 240, .25), transparent 70%);
}
.about__copy .title { margin-bottom: 26px; }
.about__copy .text-lg { margin-bottom: 40px; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.values li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.values__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.values strong { display: block; font-family: var(--font-display); font-size: 15.5px; margin-bottom: 2px; }
.values li > span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(80px, 9vw, 120px); }
.pillar {
  position: relative; padding: 40px 36px 42px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 26px solid rgba(31, 111, 240, .07); transition: transform .8s var(--ease);
}
.pillar:hover::after { transform: scale(1.25); }
.pillar__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--blue-600); margin-bottom: 52px; }
.pillar__title { font-size: 30px; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.pillar--accent { background: linear-gradient(150deg, var(--blue-600), var(--navy-900)); color: #fff; border-color: transparent; }
.pillar--accent .pillar__num { color: var(--lime); }
.pillar--accent p { color: rgba(255, 255, 255, .78); }
.pillar--accent::after { border-color: rgba(255, 255, 255, .08); }

/* Servicios ----------------------------------------------------------- */
.services {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(31, 111, 240, .35), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(10, 51, 192, .45), transparent 70%),
    var(--navy-950);
  color: #fff; overflow: hidden;
}
.services::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.services__bgword {
  position: absolute; left: 50%; top: clamp(30px, 5vw, 70px); transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 17vw, 260px); letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; user-select: none;
}
.section-head { margin-bottom: clamp(48px, 6vw, 72px); position: relative; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .title { max-width: 20ch; }
.section-head__aside { color: var(--muted); max-width: 32ch; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.filter { padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); transition: background-color .35s var(--ease), color .35s; }
.filter:hover { color: #fff; }
.filter.is-active { background: var(--lime); color: var(--navy-950); }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.service {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1); color: #fff;
  transform-style: preserve-3d;
}
.js .service[data-reveal].is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity 1s var(--ease) var(--d, 0s), transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.service:hover { border-color: rgba(214, 255, 31, .45); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(214, 255, 31, .14), transparent 45%);
  transition: opacity .4s;
}
.service:hover::after { opacity: 1; }
.service[hidden] { display: none; }
.service.is-pop { animation: pop .7s var(--ease) var(--d, 0s) both; }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

.service__media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1, 10, 43, .55), transparent 55%); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter 1s; filter: saturate(1.05); }
.service:hover .service__media img { transform: scale(1.1); }
.service__body { position: relative; padding: 0 28px 28px; margin-top: -26px; z-index: 1; }
.service__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  background: var(--lime); color: var(--navy-950); box-shadow: 0 14px 30px -12px rgba(214, 255, 31, .6);
  transition: transform .6s var(--ease);
}
.service:hover .service__ico { transform: rotate(-8deg) scale(1.06); }
.service__ico .ico { width: 24px; height: 24px; }
.service h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 8px; }
.service p { font-size: 15px; color: rgba(255, 255, 255, .66); white-space: nowrap; overflow: hidden; text-overflow: clip; }

.service--plain .service__art {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(70, 176, 247, .55), transparent 60%),
    linear-gradient(140deg, var(--blue-600), var(--navy-800));
}
.service--plain .service__art::before, .service--plain .service__art::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  width: 70%; aspect-ratio: 1; animation: pulse-ring 5s var(--ease-io) infinite;
}
.service--plain .service__art::after { width: 45%; animation-delay: -2.5s; }
@keyframes pulse-ring { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.08); opacity: 1; } }
.service__art .ico { width: 34%; height: auto; aspect-ratio: 1; stroke-width: 1; color: rgba(255, 255, 255, .9); transition: transform 1s var(--ease); }
.service:hover .service__art .ico { transform: scale(1.08) translateY(-4px); }
.service--lime .service__art { background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .6), transparent 60%), linear-gradient(140deg, var(--lime), #8fd400); }
.service--lime .service__art .ico { color: var(--navy-900); }
.service--lime .service__art::before, .service--lime .service__art::after { border-color: rgba(3, 19, 90, .15); }
.service--lime .service__ico { background: #fff; }

.service--cta {
  grid-column: span 2; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; align-items: end; gap: 12px 24px;
  background-image: radial-gradient(520px circle at 100% 0%, rgba(255, 255, 255, .55), transparent 60%);
  padding: clamp(28px, 3vw, 44px); min-height: 280px;
  background-color: var(--lime); color: var(--navy-950); border-color: transparent;
}
.service--cta:hover { border-color: transparent; box-shadow: 0 40px 80px -30px rgba(214, 255, 31, .4); }
.service--cta::after { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, .5), transparent 45%); }
.service__cta-label { grid-column: 1 / -1; align-self: start; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.service--cta strong { grid-row: 3; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.035em; max-width: 14ch; }
.service__cta-text { grid-row: 4; font-size: 16px; font-weight: 600; opacity: .72; }
.service__cta-go { grid-row: 3 / 5; grid-column: 2; align-self: end; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); color: var(--lime); transition: transform .6s var(--ease); }
.service__cta-go .ico { width: 26px; height: 26px; }
.service--cta:hover .service__cta-go { transform: rotate(45deg) scale(1.08); }

/* Proceso ------------------------------------------------------------- */
.process { background: var(--cream); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; --progress: 0; }
.steps__line { position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 2px; background: rgba(10, 20, 51, .1); border-radius: 2px; }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); border-radius: inherit; transform-origin: left; transform: scaleX(var(--progress)); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__ico {
  position: relative; z-index: 1; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 50%;
  background: #fff; color: var(--blue-600); box-shadow: 0 0 0 8px var(--cream), var(--shadow-md);
  transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease);
}
.step:hover .step__ico { background: var(--blue-600); color: #fff; transform: translateY(-6px); }
.step__ico .ico { width: 28px; height: 28px; }
.step__num { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Galería ------------------------------------------------------------- */
.gallery { background: var(--paper); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.shot { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--sky-100); cursor: zoom-in; text-align: left; }
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1, 10, 43, .75), transparent 50%); opacity: 0; transition: opacity .5s var(--ease); }
.shot:hover img { transform: scale(1.08); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot__cap {
  position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px;
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { transform: none; opacity: 1; }

/* Testimonio y seguridad --------------------------------------------- */
.quote { padding-top: 0; background: var(--paper); }
.quote__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.quote__card {
  position: relative; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.quote__card::before {
  content: ""; position: absolute; right: 40px; top: 24px; width: 120px; height: 100px; opacity: .08;
  background: var(--blue-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M0 20V12C0 5 3.5 1 10 0l1 3C7 4 5.5 6.5 5.5 10H10v10Zm14 0V12c0-7 3.5-11 10-12l1 3c-4 1-5.5 3.5-5.5 7H24v10Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M0 20V12C0 5 3.5 1 10 0l1 3C7 4 5.5 6.5 5.5 10H10v10Zm14 0V12c0-7 3.5-11 10-12l1 3c-4 1-5.5 3.5-5.5 7H24v10Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.quote__stars { display: flex; gap: 4px; color: #ffb81f; margin-bottom: 24px; }
.quote__stars .ico { width: 20px; height: 20px; }
.quote__card blockquote { margin: 0 0 34px; }
.quote__card blockquote p { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 31px); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.quote__card figcaption { display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.quote__card figcaption strong { display: block; font-family: var(--font-display); font-size: 16px; }
.quote__card figcaption small { color: var(--muted); font-size: 14px; }

.safety {
  position: relative; padding: clamp(36px, 4vw, 52px); border-radius: var(--r-xl); color: #fff; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
}
.safety::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background: url("../assets/img/jardin-3-sm.webp") center / cover;
  mix-blend-mode: luminosity;
}
.safety > * { position: relative; }
.safety__ico { position: absolute; top: clamp(36px, 4vw, 52px); left: clamp(36px, 4vw, 52px); width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--lime); color: var(--navy-950); }
.safety__ico .ico { width: 30px; height: 30px; }
.safety .eyebrow { margin-bottom: 12px; }
.safety h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 14px; }
.safety p:last-child { color: rgba(255, 255, 255, .75); font-size: 15.5px; }

/* Llamada a la acción ------------------------------------------------- */
.cta { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; color: #fff; text-align: center; background: var(--navy-900); isolation: isolate; }
.cta__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); }
.cta__gl.is-ready { opacity: 1; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(40px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: 1; max-width: 14ch; margin-bottom: 22px; text-wrap: balance; }
.cta p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); margin-bottom: 40px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Contacto ------------------------------------------------------------ */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.contact__info .title { margin-bottom: 18px; }
.contact__info .text-lg { margin-bottom: 40px; }
.contact__list { display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.contact__list li:hover { border-color: rgba(20, 82, 224, .35); transform: translateX(6px); }
.contact__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-600); color: #fff; }
.contact__list small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact__list li > span:last-child { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); }
.contact__list a { transition: color .3s; }
.contact__list a:hover { color: var(--blue-600); }
.sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); vertical-align: middle; margin: 0 8px; }

.form {
  position: relative; padding: clamp(30px, 4vw, 48px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.form::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(140deg, var(--lime), var(--blue-500) 50%, var(--navy-800));
  filter: blur(40px); opacity: .25;
}
.form__title { font-size: 28px; margin-bottom: 6px; }
.form__hint { color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 16px; outline: none; transition: border-color .3s, background-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top;
  transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(20, 82, 224, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-10px) scale(.78); color: var(--blue-600); }
.field--select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.form__error { color: #d0283c; font-size: 14px; font-weight: 600; margin: -4px 0 14px; }
.form__ok { color: #12894a; font-size: 14px; font-weight: 600; margin: -4px 0 14px; }
.form .btn { margin-top: 6px; }
.form.is-shake { animation: shake .45s var(--ease-io); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.map { margin-top: clamp(56px, 7vw, 90px); border-radius: var(--r-xl); overflow: hidden; height: 380px; border: 1px solid var(--line); background: var(--sky-100); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }

/* Pie ----------------------------------------------------------------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: clamp(70px, 8vw, 100px) 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -300px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(31, 111, 240, .25), transparent); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer__brand img { width: 150px; margin-bottom: 20px; }
.footer__brand p { max-width: 30ch; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.footer__social a:hover { background: var(--lime); color: var(--navy-950); transform: translateY(-3px); }
.footer h4 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--lime); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 26px 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; color: #fff; transition: color .3s; }
.footer__top:hover { color: var(--lime); }

/* WhatsApp flotante --------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .7);
  transition: transform .5s var(--ease);
  opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease) 1.5s, transform .6s var(--ease) 1.5s;
}
.is-loaded .wa-float, html:not(.js) .wa-float { opacity: 1; transform: none; }
.wa-float:hover { transform: scale(1.08); transition-delay: 0s; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa 2.6s var(--ease) infinite 3s; }
@keyframes wa { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* Visor de fotos ------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 70px 90px;
  background: rgba(1, 10, 43, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__figure img { max-height: calc(100vh - 190px); width: auto; border-radius: var(--r-md); box-shadow: 0 40px 100px -30px #000; opacity: 0; transform: scale(.97); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.lightbox__figure img.is-ready { opacity: 1; transform: none; }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .8); font-size: 15px; text-align: center; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .3s, color .3s; }
.lightbox__btn:hover { background: var(--lime); color: var(--navy-950); }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -27px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -27px; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header__cta { display: none; }
  .burger {
    display: grid; place-items: center; position: relative; z-index: 2; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  }
  .burger span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), background-color .3s; }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .header.is-scrolled .burger { background: rgba(10, 20, 51, .05); border-color: var(--line); }
  .header.is-scrolled .burger span { background: var(--ink); }
  .menu-open .burger span { background: #fff !important; }
  .menu-open .burger span:first-child { transform: rotate(45deg); }
  .menu-open .burger span:last-child { transform: rotate(-45deg); }
  .menu-open .burger { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .2) !important; }
  .menu-open .header::before { opacity: 0; }
  .menu-open .brand__logo--white { opacity: 1 !important; }
  .menu-open .brand__logo--color { opacity: 0 !important; }
  .brand { z-index: 2; }

  .nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 40px;
    padding: 100px var(--gutter) 40px; background: var(--navy-950);
    clip-path: circle(0% at calc(100% - 48px) 36px); transition: clip-path .8s var(--ease-io); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 48px) 36px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link, .header.is-scrolled .nav__link { color: #fff; font-size: clamp(32px, 9vw, 48px); font-weight: 600; letter-spacing: -.03em; padding: 6px 0; border-radius: 0; background: none !important; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { color: var(--lime) !important; }
  .menu-open .nav__link { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(1) .nav__link { transition-delay: .2s; }
  .menu-open .nav__list li:nth-child(2) .nav__link { transition-delay: .26s; }
  .menu-open .nav__list li:nth-child(3) .nav__link { transition-delay: .32s; }
  .menu-open .nav__list li:nth-child(4) .nav__link { transition-delay: .38s; }
  .menu-open .nav__list li:nth-child(5) .nav__link { transition-delay: .44s; }
  .nav__mobile-foot { display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .7); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }

  .hero { min-height: auto; padding-bottom: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 520px; min-height: 0; max-width: 620px; width: 100%; margin-inline: auto; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 620px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar__num { margin-bottom: 26px; }
  .quote__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 64px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 22px; }
  .hero__stats .hero__stats-text { font-size: 20px; }
  .hero__stats span { font-size: 13px; }
  .hero__visual { height: 430px; }
  .hero__photo--main { right: 8%; width: 60%; }
  .hero__photo--a { width: 46%; }
  .hero__photo--b { width: 50%; bottom: 4%; }
  .hero__badge { width: 112px; height: 112px; left: 0; top: 2%; }
  .hero__badge-core { inset: 28px; }

  .hero__chip { right: 0; bottom: 0; }
  .hero__scroll { display: none; }
  .values { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .service--cta { grid-column: auto; min-height: 220px; }
  .service__cta-text { display: none; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 9px 14px; font-size: 13.5px; }
  .steps { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .shot__cap { opacity: 1; transform: none; font-size: 14px; left: 14px; bottom: 12px; }
  .shot::after { opacity: 1; }
  .contact__list li { padding: 14px; gap: 14px; }
  .contact__list li > span:last-child { font-size: 15px; }
  .map { height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .lightbox { padding: 70px 14px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; margin: 0; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
