@charset "utf-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: "montserrat";
  src: url("../font/Montserrat-VariableFont_wght.ttf");
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}
body::-webkit-scrollbar {
  background: var(--color-bg);
  width: 2px;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-accent);
}

:root {
  --font-primary: "Montserrat", sans-serif;

  /* brand (mode-invariant) */
  --color-accent: rgb(255, 150, 2);
  --color-accent-fg: #ffffff;
  --color-danger: #ff4d4d;
  --color-whatsapp: #25d366;

  /* legacy aliases — kept so existing rules don't break */
  --color-white: #ffffff;
  --color-black: #0a0a0a;
}

/* ============================================================
   THEME TOKENS — dark is default; [data-theme="light"] flips it.
   The dark block also applies when data-theme="dark" is set
   explicitly, so the toggle can force either side.
   ============================================================ */
:root,
:root[data-theme="dark"] {
  --color-bg: #0a0a0a;
  --color-bg-elev: #131313;
  --color-bg-deep: #050505;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-text-soft: rgba(255, 255, 255, 0.45);
  --color-text-faint: rgba(255, 255, 255, 0.2);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.3);
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-strong: rgba(255, 255, 255, 0.08);
  --color-overlay: rgba(0, 0, 0, 0.7);
  --color-hero-overlay:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.3), transparent 60%);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-card-strong: 0 20px 60px rgba(0, 0, 0, 0.55);
  --img-filter: brightness(0.7);
}

:root[data-theme="light"] {
  --color-bg: #f5f4f1;
  --color-bg-elev: #ffffff;
  --color-bg-deep: #ebeae6;
  --color-text: #0a0a0a;
  --color-text-muted: rgba(10, 10, 10, 0.72);
  --color-text-soft: rgba(10, 10, 10, 0.55);
  --color-text-faint: rgba(10, 10, 10, 0.25);
  --color-border: rgba(10, 10, 10, 0.1);
  --color-border-strong: rgba(10, 10, 10, 0.25);
  --color-surface: rgba(10, 10, 10, 0.03);
  --color-surface-strong: rgba(10, 10, 10, 0.06);
  --color-overlay: rgba(0, 0, 0, 0.55);
  --color-hero-overlay:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.25), transparent 60%);
  --shadow-card: 0 20px 60px rgba(10, 10, 10, 0.12);
  --shadow-card-strong: 0 20px 60px rgba(10, 10, 10, 0.2);
  --img-filter: brightness(0.85);
}

/* =========================================
   PAGE LOADER
   Scroll lock is applied to <html> (iOS Safari ignores body { overflow:
   hidden } more often than html). The reveal uses a transform translate
   instead of clip-path because Safari/iOS animates transforms on the GPU
   reliably; clip-path transitions can stutter during ScrollTrigger refresh.
   ========================================= */
html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  /* Match the visual viewport on iOS — older browsers fall back to 100vh,
     modern ones use 100dvh which stays stable while the URL bar shows/hides. */
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    transform 0.9s cubic-bezier(0.85, 0, 0.15, 1),
    opacity 0.4s ease 0.4s;
  /* keep touches from leaking through to the page below while visible */
  touch-action: none;
}

.page-loader.is-done {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.page-loader.is-done .page-loader__inner {
  opacity: 0;
  transform: translate3d(0, -20px, 0);
}

.page-loader__logo {
  position: relative;
}

.page-loader__logo img {
  width: 84px;
  height: auto;
  display: block;
  animation: loaderPulse 2.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.page-loader__logo::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  border-top-color: var(--color-accent);
  animation: loaderSpin 1.4s linear infinite;
  will-change: transform;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader__progress {
  width: clamp(180px, 32vw, 260px);
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
}

.page-loader__bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.3s linear;
}

.page-loader__count {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-text-soft);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff; /* hero text stays white over the video overlay */
}

/* VIDEO */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
}

/* OVERLAY */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
  z-index: 1;
}

/* HEADER */
.hero__header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 35px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  z-index: 3;
}

.header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.hero__logo img {
  transition: 0.3s;
}

/* THEME TOGGLE */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(15deg);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  position: absolute;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* default (dark theme) shows the sun → user clicks to switch to light */
.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
[data-theme="light"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* When the header is over themed sections (past hero), pick up theme tokens */
/* .hero__header.is-scrolled {
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
} */

.hero__header.is-scrolled .hero__logo img {
  width: 70px;
}

.hero__header.is-scrolled .hero__nav a,
.hero__header.is-scrolled .hero__logo + * {
  color: var(--color-text);
}

.hero__header.is-scrolled .theme-toggle {
  border-color: var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
}

.hero__header.is-scrolled .theme-toggle:hover {
  background: var(--color-surface-strong);
}

.hero__header.is-scrolled .hero__cta--secondary {
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.hero__header.is-scrolled .hero__cta--secondary:hover {
  background: var(--color-surface);
}

.hero__logo img {
  width: 90px;
}

.hero__nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.hero__nav a {
  color: #fff;
}

.hero__header.is-scrolled .hero__nav a {
  color: var(--color-text);
}

a {
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s ease;
  text-decoration: none;
  color: unset;
}

a:hover {
  opacity: 1;
}

/* CONTENT */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero__text {
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
  position: relative;
  padding-left: 20px;
}

/* línea decorativa */
.hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.hero__text h1 {
  font-size: clamp(48px, 3vw, 88px);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 14px;
}

.hero__text p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* CTAs */
.hero__actions {
  display: flex;
  gap: 16px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 500;
  min-height: 50px;
  width: max-content;
}

.hero__cta--primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}

.hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* secondary keeps white border because it sits on the dark video overlay;
   outside the hero, a generic ghost variant uses theme tokens below */
.hero__cta--secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__cta--ghost {
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 10px 20px;
  font-size: 13px;
}

/* SCROLL INDICATOR */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero__scroll span {
  display: block;
  width: 2px;
  height: 40px;
  background: white;
  opacity: 0.6;
  animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.trust {
  position: relative;
  width: 100%;
  padding: 160px 80px;
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
}

/* BACKGROUND FX */
.trust__bg {
  position: absolute;
  inset: 0;

  z-index: 0;
}

/* LAYOUT */
.trust__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}
.trust__content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* COPY */
.trust__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.trust__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.trust__content h2 {
  font-size: clamp(36px, 2.9vw, 64px);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 400;
  text-align: center;
}

.trust__content p {
  font-size: 18px;
  opacity: 0.75;
  max-width: 520px;
  text-align: center;
  line-height: 1.5;
}

/* BADGES GRID */
.trust__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */
.trust__card {
  position: relative;
  padding: 28px 40px 28px 28px;
  border-radius: 500px;
  backdrop-filter: blur(12px);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-strong);
  transition: all 0.4s ease;
  cursor: default;
  display: flex;
  gap: 15px;
  align-items: center;
}

/* HOVER PREMIUM */
.trust__card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}

/* ICON PLACEHOLDER */

.trust__icon svg,
.about__icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TEXT */
.trust__card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
}

.trust__card span {
  font-size: 13px;
  opacity: 0.6;
}

/* FADE-IN (scroll ready) */
.trust__card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.trust__card:nth-child(1) {
  animation-delay: 0.2s;
}
.trust__card:nth-child(2) {
  animation-delay: 0.4s;
}
.trust__card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .trust__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .trust__badges {
    grid-template-columns: 1fr;
  }

  .trust {
    padding: 120px 40px;
  }
}

.about {
  position: relative;
  width: 100%;
  padding: 180px 75px;
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
}

/* LAYOUT */
.about__inner {
  position: relative;
  z-index: 2;
}

.about__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* EYEBROW */
.about__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.about__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

/* COPY */
.about__content h2 {
  font-size: clamp(36px, 2.8vw, 64px);
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 400;
  max-width: 800px;
}

.about__content p {
  font-size: 16px;
  opacity: 0.75;
  max-width: 580px;
  line-height: 1.8;
}

/* PILLARS GRID */
.about__pillars {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* CARD */
.about__card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  transition: all 0.4s ease;
  transform: translateY(0);
  max-width: 350px;
}

/* FLOAT EFFECT */
.about__card:nth-child(1) {
  transform: translateY(-20px);
}

.about__card:nth-child(2) {
  transform: translateY(0);
}

.about__card:nth-child(3) {
  transform: translateY(20px);
}

/* HOVER GLOW */
.about__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-strong);
}

/* TEXT */
.about__card h3 {
  font-size: 15px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  font-weight: 700;
}

.about__card span {
  font-size: 14px;
  opacity: 0.5;
}

/* FADE IN */
.about__card {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.about__card:nth-child(1) {
  animation-delay: 0.2s;
}
.about__card:nth-child(2) {
  animation-delay: 0.4s;
}
.about__card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .about__pillars {
    flex-direction: column;
  }

  .about {
    padding: 120px 40px;
  }
}

.services {
  position: relative;
  height: 100vh; /* 100vh (servicio 1 visible) + 100vh (transición) */
}

.service {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* Orden visual */
.service:nth-child(1) {
  z-index: 2;
}

.service:nth-child(2) {
  z-index: 1;
}

.service--reverse {
  grid-template-columns: 1.2fr 1fr;
}

/* IMPORTANTE para el efecto */
.service:first-child {
  clip-path: inset(0 0 0 0);
  will-change: clip-path;
}

.service__media {
  height: 100%;
  overflow: hidden;
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transform: scale(1.1);
}

.service__content {
  padding: 175px 150px;
}

.split-line {
  display: block;
  overflow: hidden; /* máscara */
}

.split-line-inner {
  display: block;
  will-change: transform, clip-path;
}

.service__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.service__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.service__content h2 {
  font-size: clamp(36px, 2.8vw, 64px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service__content p {
  opacity: 0.7;
  margin-bottom: 30px;
  max-width: 400px;
  line-height: 1.5;
  font-size: 15px;
}

.service__content ul {
  list-style: none;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 40px;
  margin-top: 20px;
}

.service__grid li {
  position: relative;
  padding-left: 14px;
  opacity: 0.6;
  font-size: 14px;
  line-height: 1.5;
}

.service__grid li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
  border-radius: 50%;
}

.service__block {
  margin-top: 25px;
  padding-top: 25px;
}

.service__block h3 {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.service__block p {
  font-size: 14px;
  opacity: 0.6;
  max-width: 420px;
}

.service__steps {
  list-style: none;
  margin-top: 20px;
}

.service__steps li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  opacity: 0.75;
}

.service__steps span {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.2;
  margin-right: 5px;
}

/* PROCESS */
.process {
  padding: 200px 50px;
}

.process h2 {
  font-size: clamp(40px, 3vw, 72px);
}

.process__intro {
  margin-top: 10px;
  opacity: 0.7;
}

/* WRAPPER */
.process__wrapper {
  margin-top: 80px;
  position: relative;
}

/* PROGRESS BAR */
.process__progressbar {
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.process__progress {
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

/* STEPS */
.process__steps {
  display: flex;
  justify-content: space-between;
}

/* STEP */
.process__step {
  flex: 1;
  position: relative;
  padding: 50px;
  opacity: 0.2;
  transition: 0.3s;
}

/* TOP (number + dot) */
.process__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* NUMBER */
.process__number {
  font-size: 14px;
  opacity: 0.2;
  font-weight: 700;
}

/* DOT */
.process__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 150, 2, 0.6);
}

/* TITLE */
.process__step h3 {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

/* TEXT */
.process__step p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
  line-height: 1.8;
  max-width: 250px;
}

/* CTA */
.process__cta {
  font-size: 12px;

  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--color-accent);
}

/* underline animado */
.process__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.process__cta:hover::after {
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .process__steps {
    flex-direction: column;
  }

  .process__progressbar {
    display: none;
  }
}

.infra {
  padding: 0px;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.infra__grid {
  margin-top: 50px;
}

.infra__grid div {
  padding: 30px 0px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-end;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.infra__grid strong {
  font-size: 32px;
  display: block;
  font-weight: 600;
}

.infra__grid p {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.infra__grid strong span {
  font-size: 14px;
}

.infra .picture {
  overflow: hidden;
  height: 100vh;
  width: 100%;
  position: relative;
}
.infra .picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra__content {
  padding: 200px 50px;
}

.infra h2 {
  font-size: clamp(40px, 3vw, 72px);
}

.infra__intro {
  margin-top: 10px;
  opacity: 0.7;
  max-width: 400px;
  line-height: 1.7;
}

.events {
  padding: 160px 80px;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.event img {
  width: 100%;
  border-radius: 16px;
}

.cta {
  padding: 80px;
  height: 85vh;
  position: relative;
}

.cta img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.cta .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-overlay);
}

.cta h2 {
  font-size: clamp(40px, 2.5vw, 72px);
  margin-bottom: 25px;
  font-weight: 350;
  max-width: 500px;
  line-height: 1.3;
}

.cta .cta__content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  /* align-items: center; */
  flex-direction: column;
  height: 100%;
}
.contact {
  padding: 160px 80px;
  background: var(--color-bg);
  color: var(--color-text);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* INFO */

.contact__tag {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.contact__info h2 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact__info p {
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 420px;
}

.contact__channels {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__channels a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.contact__channels a:hover {
  color: var(--color-accent);
}

/* FORM */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* GROUP */

.form__group {
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

/* INPUTS */

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 25px 0 0px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 18px;
  resize: none;
  font-family: var(--font-primary);
}

/* LABEL */

.form__group label {
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 14px;
  color: var(--color-text-soft);
  pointer-events: none;
  transition: 0.3s ease;
}

/* FLOAT EFFECT */

.form__group input:focus + label,
.form__group textarea:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 12px;
  color: var(--color-accent);
}

/* LINE ACTIVE */

.form__group::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: 0.4s;
}

.form__group:focus-within::after {
  width: 100%;
}

/* ERROR */

.form__error {
  font-size: 12px;
  color: var(--color-danger);
  opacity: 0;
  transition: 0.3s;
}

.form__group.invalid .form__error {
  opacity: 1;
}

/* BUTTON */

.contact__btn {
  margin-top: 20px;
  padding: 20px 16px;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-family: var(--font-primary);
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 120px 24px;
  }

  .contact__info h2 {
    font-size: 40px;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: var(--color-bg-deep);
  color: var(--color-text-muted);
  padding: 80px 50px 40px;
  border-top: 1px solid var(--color-border);
  font-family: inherit;
}

.footer__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer__brand .footer__logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer__brand p {
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 350px;
}

.footer__links h3,
.footer__contact h3 {
  color: var(--color-text);
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links ul,
.footer__contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer__contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.footer__contact a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact a:hover {
  color: var(--color-text);
}

.footer__bottom {
  margin: 250px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__legal a:hover {
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* icono */
.whatsapp svg {
  width: 26px;
  height: 26px;
}

/* hover premium */
.whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* efecto pulse sutil */
.whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =========================================
   CALENDARIOS DE VERIFICACIÓN
   ========================================= */
.calendars {
  position: relative;
  padding: 0 80px 200px 80px;
  background: var(--color-bg);
  color: var(--color-text);
}

.calendars__head {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendars__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.calendars__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.calendars h2 {
  font-size: clamp(36px, 2.9vw, 64px);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
}

.calendars__intro {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 560px;
}

.calendars__grid {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar {
  flex: 1 1 460px;
  max-width: 620px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.calendar__head {
  margin-bottom: 24px;
}

.calendar__tag {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 400;
}

.calendar__head h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.calendar__table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.calendar__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}

.calendar__row--head {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-soft);
  font-weight: 600;
  padding: 12px;
}

.calendar__digit {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.5px;
}

.calendar__row--head .calendar__digit {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-soft);
}

.calendar__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-soft);
  letter-spacing: 0.3px;
}

.calendar__foot strong {
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

@media (max-width: 1024px) {
  .calendars {
    padding: 120px 40px;
  }
  .calendars__grid {
    flex-direction: column;
    align-items: stretch;
  }
  .calendar {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .calendars {
    padding: 100px 20px;
  }
  .calendar {
    padding: 28px 22px;
    border-radius: 18px;
  }
  .calendar__row {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    font-size: 13px;
  }
  .calendar__digit {
    font-size: 14px;
  }
}

/* =========================================
   ALIADO — ZAME
   ========================================= */
.ally {
  position: relative;
  padding: 160px 80px;
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
}

.ally__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.ally__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.ally__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.ally__copy h2 {
  font-size: clamp(36px, 2.8vw, 64px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 24px;
}

.ally__copy p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.ally__copy strong {
  color: var(--color-text);
  font-weight: 600;
}

.ally__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
}

.ally__metrics > div {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}

.ally__metrics strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.ally__metrics span {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.ally__partners {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.ally__partner {
  position: relative;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.ally__partner-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

.ally__partner-logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  overflow: hidden;
}

.ally__partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ally__partner-logo--placeholder span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text);
}

.ally__partner h3 {
  font-size: 22px;
  font-weight: 600;
}

.ally__partner p {
  font-size: 13px;
  color: var(--color-text-soft);
  letter-spacing: 0.3px;
  margin: 0;
}

.ally__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

.ally__partner-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.ally__partner--zame .ally__partner-logo{
  height: 100px;
  margin-bottom: 10px;
}

.ally__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
}

.ally__connector span {
  flex: 1;
  width: 1px;
  background: var(--color-border-strong);
}

.ally__connector-dot {
  flex: 0 0 auto !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px var(--color-surface);
}

@media (max-width: 1024px) {
  .ally {
    padding: 120px 40px;
  }
  .ally__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .ally__partners {
    max-width: 640px;
  }
}

@media (max-width: 700px) {
  .ally {
    padding: 100px 20px;
  }
  .ally__partners {
    grid-template-columns: 1fr;
  }
  .ally__connector {
    flex-direction: row;
    min-height: 40px;
    width: 100%;
  }
  .ally__connector span {
    width: auto;
    height: 1px;
    flex: 1;
  }
  .ally__metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================
   GALERÍA 3D
   ========================================= */
.gallery {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  perspective: 1600px;
  perspective-origin: 50% 40%;
  user-select: none;
  cursor: grab;
  padding: 125px 125px 0 125px;
}

.gallery.is-dragging {
  cursor: grabbing;
}

.gallery__head {
  /* position: absolute; */
  /* top: 12vh; */
  /* left: 80px; */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}

.gallery__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.6;
  padding-left: 20px;
  position: relative;
}

.gallery__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.gallery__head h2 {
  font-size: clamp(36px, 2.6vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
}

.gallery__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.gallery__hint svg {
  width: 18px;
  height: 18px;
  animation: galleryHint 1.8s ease-in-out infinite;
}

@keyframes galleryHint {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

.gallery__stage {
  inset: 0;
  display: flex;
  align-items: center;
  transform-style: preserve-3d;
  transform: rotateX(4deg);
  will-change: transform;
  margin-top: 5%;
}

.gallery__track {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 12vw 0 0vw;
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 26vw, 460px);
  aspect-ratio: 3 / 3.5;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
  pointer-events: auto;
}

/* staggered depth pattern */
.gallery__item[data-depth="0"] {
  transform: translateY(-30px) translateZ(0) rotateY(-3deg);
}
.gallery__item[data-depth="1"] {
  transform: translateY(40px) translateZ(-60px) rotateY(2deg);
  width: clamp(240px, 22vw, 400px);
}
.gallery__item[data-depth="2"] {
  transform: translateY(-10px) translateZ(40px) rotateY(-5deg);
  width: clamp(260px, 24vw, 420px);
}

.gallery__item:hover {
  transform: translateY(-50px) translateZ(80px) rotateY(0deg) scale(1.02);
  box-shadow: var(--shadow-card-strong);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  pointer-events: none;
}

.gallery__item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.gallery.is-dragging .gallery__item {
  transition: none;
  cursor: grabbing;
}

.gallery__progress {
  width: min(75px, 60vw);
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  z-index: 3;
}

.gallery__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transform-origin: left;
}

/* =========================================
   GALLERY MODAL
   ========================================= */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal__inner {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-modal.is-open .gallery-modal__inner {
  transform: scale(1);
}

.gallery-modal__inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.gallery-modal__inner figcaption {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.gallery-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.gallery-modal__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .gallery__head {
    left: 40px;
    top: 14vh;
  }
  .gallery__track {
    gap: 22px;
    padding: 0 8vw;
  }
}

/* Touch devices (iPhone/iPad/Android, any width) + very small screens get
   the native horizontal-scroll path. The pinned 3D variant is reserved for
   fine pointers (mouse/trackpad). */
@media (max-width: 700px), (pointer: coarse) {
  .gallery {
    height: auto;
    min-height: 80vh;
    overflow: visible;
    cursor: auto;
    perspective: none;
    padding: 0;
  }
  .gallery__head {
    position: relative;
    top: auto;
    left: auto;
    padding: 80px 20px 30px;
  }
  .gallery__hint {
    /* on mobile the user swipes natively, no drag hint needed */
    display: none;
  }
  .gallery__stage {
    position: relative;
    inset: auto;
    height: auto;
    transform: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 30px;
  }
  /* hide native scrollbar */
  .gallery__stage::-webkit-scrollbar {
    display: none;
  }
  .gallery__stage {
    scrollbar-width: none;
  }
  .gallery__item[data-depth] {
    transform: none;
    width: 78vw;
    aspect-ratio: 3 / 4;
    scroll-snap-align: center;
  }
  .gallery__item:hover {
    transform: translateY(-4px);
  }
  .gallery__track {
    padding: 0 11vw;
    gap: 16px;
  }
  .gallery__progress {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 12px auto 30px;
  }
  .gallery-modal {
    padding: 20px;
  }
  .gallery-modal__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* =========================================
   GLOBAL RESPONSIVE — hero / header / infra
   ========================================= */
@media (max-width: 1024px) {
  .hero__header {
    padding: 14px 24px;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .hero__nav {
    gap: 20px;
    justify-content: flex-end;
  }
  .hero__logo img {
    width: 70px;
  }
  .hero__content {
    padding: 0 40px;
  }
  .infra {
    grid-template-columns: 1fr;
    height: auto;
  }
  .infra__content {
    padding: 120px 40px;
  }
  .infra .picture {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .hero__nav {
    display: none;
  }
  .hero__header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    background: var(--color-bg);
  }
  .header__actions {
    gap: 10px;
  }
  .hero__content {
    padding: 0 24px;
  }
  .hero__text p {
    font-size: 16px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust {
    padding: 100px 24px;
  }
  .trust__badges {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .about {
    padding: 100px 24px;
  }
  .about__pillars {
    flex-direction: column;
    align-items: stretch;
  }
  .about__card[class] {
    transform: none;
  }
  /* services: stop the pinned crossfade behavior — let blocks stack */
  .services {
    height: auto;
  }
  .service,
  .service--reverse {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
  }
  .service__media {
    height: 50vh;
  }
  .service__content {
    padding: 60px 24px;
  }
}

/* Touch devices wider than 768px (iPad landscape, etc.) — still drop the
   services pin, but keep the desktop two-column grid for breathing room.
   services.js bails on (pointer: coarse) so the absolute-positioned
   crossfade never starts; this CSS hands them a normal flow layout. */
@media (pointer: coarse) and (min-width: 769px) {
  .services {
    height: auto;
  }
  .service,
  .service--reverse {
    position: relative;
    height: auto;
  }
  .service__content {
    padding: 100px 60px;
  }
  .process {
    padding: 100px 24px;
  }
  .process__step {
    padding: 30px 0;
  }
  .cta {
    padding: 40px 24px;
    height: 70vh;
  }
  .cta h2 {
    font-size: clamp(28px, 6vw, 44px);
  }
  .infra__content {
    padding: 80px 24px;
  }
  .infra__grid strong {
    font-size: 26px;
  }
  .contact {
    padding: 80px 24px;
  }
  .contact__info h2 {
    font-size: clamp(32px, 7vw, 48px);
  }
  .footer {
    padding: 60px 24px 32px;
  }
  .footer__bottom {
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    padding: 12px 20px;
    font-size: 13px;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
  }
  .header__actions .hero__cta--secondary {
    /* keep the CTA but make it compact */
    padding: 10px 16px;
    font-size: 12px;
  }
}
