/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  background: #000;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --white: #ffffff;
  --black: #000000;
  --orange: #F26522;
  --orange-dark: #C94E10;
  --orange-dim: rgba(242, 101, 34, 0.18);
  --orange-glow: rgba(242, 101, 34, 0.12);
  --grey-1: #0f0f0f;
  --grey-2: #1a1a1a;
  --grey-3: #2a2a2a;
  --white-50: rgba(255,255,255,0.5);
  --white-10: rgba(255,255,255,0.08);
  --section-pad: clamp(80px, 10vw, 140px);
  --inner-max: 1280px;
  --inner-pad: clamp(1.5rem, 5vw, 4rem);
}

/* ─────────────────────────────────────────
   SHARED
───────────────────────────────────────── */
.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: var(--section-pad) var(--inner-pad);
}
.section-header { max-width: 640px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--white-50);
  max-width: 520px;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 rgba(242,101,34,0);
}
.btn--primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 30px rgba(242,101,34,0.35);
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn--full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--inner-pad);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.nav__logo-text {
  margin-left: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #fff;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav__cta { color: var(--orange) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__fallback {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0c0c0c 0%, #141414 45%, #0a0a0a 100%);
  z-index: -1;
}
.hero__fallback::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}
/* Orange glow behind title */
.hero__glow {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at bottom left,
    rgba(242,101,34,0.18) 0%,
    rgba(242,101,34,0.06) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 0 clamp(2rem, 4vw, 3.5rem) 0;
  width: 100%;
  overflow: visible;
}
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(15px);
}
.hero__title {
  display: block;
  width: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  overflow: visible;
  line-height: 1;
}
.hero__title-svg {
  display: block;
  width: 100%;
  height: clamp(240px, 32vw, 500px);
  overflow: visible;
}
.hero__subtitle {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--white-50);
  margin-top: 1.25rem;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(20px);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 2rem;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(20px);
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem; right: var(--inner-pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}
.hero__scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-50);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  transform-origin: top;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--grey-1);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee__track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.marquee__dot {
  color: var(--orange) !important;
  font-size: 0.45rem !important;
  letter-spacing: 0 !important;
  opacity: 0.8;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats {
  background: var(--grey-1);
  position: relative;
  overflow: hidden;
}
/* Grid background — construction blueprint vibe */
.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(242,101,34,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,101,34,0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  /* fade-edges mask */
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 75%);
  mask-image: radial-gradient(ellipse at center, transparent 20%, black 75%);
  pointer-events: none;
}
.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  z-index: 1;
}
.stats__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5.5rem) var(--inner-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(24px);
}
.stats__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats__number::after { content: '+'; }
.stats__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white-50);
  text-transform: uppercase;
}
/* Ring SVG */
.stats__ring { margin-bottom: 0.25rem; }
.stats__ring svg { transform: rotate(-90deg); display: block; }
.stats__ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.07);
  stroke-width: 2;
}
.stats__ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Divider lines between stat items */
.stats__item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.07);
  padding-right: 2rem;
}

/* ─────────────────────────────────────────
   SERVICIOS
───────────────────────────────────────── */
.servicios {
  background: #000;
  position: relative;
}

/* ── Carousel header ── */
.servicios__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.servicios__header-text { flex: 1; }
.servicios__header-text .section-desc { max-width: 32rem; }

.servicios__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
}
.servicios__nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.servicios__nav-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.06);
}
.servicios__nav-btn:disabled { opacity: 0.3; cursor: default; }

/* ── Track ── */
.servicios__carousel-wrap { width: 100%; overflow: hidden; }
.servicios__track {
  display: flex;
  gap: 20px;
  padding-left: max(1.5rem, calc(50vw - 680px));
  padding-right: max(1.5rem, calc(50vw - 680px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4px; /* prevent clip on focus ring */
}
.servicios__track::-webkit-scrollbar { display: none; }
.servicios__track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }

/* ── Slide card ── */
.servicio-slide {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  min-height: 432px;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}
.servicio-slide:hover { transform: translateY(-4px); }

.servicio-slide > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.servicio-slide:hover > img { transform: scale(1.05); }

.servicio-slide__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(10,6,2,0.55) 55%,
    rgba(10,6,2,0.93) 100%
  );
}

.servicio-slide__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.servicio-slide__icon {
  width: 32px; height: 32px;
  color: var(--orange);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.servicio-slide__icon svg { width: 100%; height: 100%; }

.servicio-slide__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.servicio-slide__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.servicio-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.25s ease;
}
.servicio-slide:hover .servicio-slide__cta { gap: 10px; }

/* ── Dots ── */
.servicios__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.servicios__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.servicios__dot.is-active {
  background: var(--orange);
  transform: scale(1.25);
}
/* (servicio-card removed — replaced by carousel slides) */

/* ─────────────────────────────────────────
   NOSOTROS
───────────────────────────────────────── */
.nosotros {
  background: var(--grey-1);
  position: relative;
  overflow: hidden;
}
.nosotros::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at bottom right,
    rgba(242,101,34,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.nosotros__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.nosotros__visual {
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
}
.nosotros__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1c1c1c 0%, #111 60%, #0d0d0d 100%);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.nosotros__img-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(242,101,34,0.06), transparent);
}
.nosotros__img-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  position: relative;
  z-index: 1;
}
.nosotros__badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 115px; height: 115px;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(242,101,34,0.35);
}
.nosotros__badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}
.nosotros__badge-text {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.85);
}
.nosotros__copy {
  opacity: 0;
  transform: translateX(30px);
}
.nosotros__body {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.85;
  color: var(--white-50);
  margin-bottom: 1.25rem;
}
.nosotros__values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nosotros__values li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.nosotros__values li:hover { color: rgba(255,255,255,0.9); }
.nosotros__values li span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  min-width: 24px;
}

/* ─────────────────────────────────────────
   PROYECTOS — 3-column parallax gallery
───────────────────────────────────────── */
.proyectos {
  background: #000;
  position: relative;
}

/* Header composition */
.proyectos__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}
.proyectos__header-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(0.25rem, 1vw, 1rem);
}
.proyectos__header-meta .section-eyebrow { margin-bottom: 0; }
.proyectos__header-meta .section-desc {
  max-width: 360px;
  text-align: right;
  margin: 0;
}
.proyectos__title {
  font-size: clamp(4.5rem, 13vw, 17rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

/* ── Horizontal three-row photo strip ── */
.proyectos__strip-outer {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--section-pad);
}
.proyectos__strip-outer::-webkit-scrollbar { display: none; }
.proyectos__strip-outer.is-grabbing { cursor: grabbing; }

/* inline-flex so it shrinks to content width → enables horizontal scroll */
.proy-rows-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 var(--inner-pad);
}

.proy-row {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.proy-item {
  flex-shrink: 0;
  position: relative;
  height: 240px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
}
.proy-item img {
  height: 100%;
  width: auto;
  min-width: 300px;
  display: block;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s ease;
}
.proy-item:hover img { transform: scale(1.04); }
.proy-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.2rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.proy-item:hover figcaption { opacity: 1; }

/* Old parallax gallery — hidden/removed */
.proyectos__gallery {
  padding: 0 var(--inner-pad) var(--section-pad);
  max-width: var(--inner-max);
  margin: 0 auto;
  overflow: hidden;
}
.proyectos__gallery-inner {
  display: flex;
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
  align-items: flex-start;
}
.proyectos__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
  will-change: transform;
}
/* Column 2 starts offset downward */
.proyectos__col--2 { margin-top: 18%; }
/* Column 3 hidden on mobile */
.proyectos__col--3 { display: none; }

/* Mobile: shorter rows */
@media (max-width: 768px) {
  .proy-item { height: 140px; }
  .proy-rows-wrap { gap: 6px; }
}

.proyectos__col img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #111;
}

@media (min-width: 769px) {
  .proyectos__col--3 { display: flex; }
}

/* ─────────────────────────────────────────
   ORANGE SECTION
───────────────────────────────────────── */
.orange-section {
  position: relative;
  background: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid background — same as stats section */
.orange-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(242,101,34,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,101,34,0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 75%);
  mask-image: radial-gradient(ellipse at center, transparent 20%, black 75%);
  pointer-events: none;
}
/* Orange accent line at top */
.orange-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  z-index: 1;
}
/* Hide old glow divs */
.orange-section__glow--left,
.orange-section__glow--right { display: none; }

.orange-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 3rem);
}
.orange-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
}
.orange-section__title {
  display: block;
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(40px);
}
.orange-section__title svg {
  display: block;
  width: 100%;
  height: clamp(120px, 32vw, 400px);
  overflow: visible;
  filter: drop-shadow(0 0 60px rgba(242,101,34,0.5))
          drop-shadow(0 0 120px rgba(255,100,0,0.25));
}
.orange-section__sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(16px);
}

/* Orange features row */
.orange-section__features {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.orange-section__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
  text-align: center;
}
.orange-section__feature-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.orange-section__feature-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* Bottom line */
.orange-section__line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent, var(--orange), #FFAA00, var(--orange), transparent);
  opacity: 0.5;
}

/* ─────────────────────────────────────────
   TESTIMONIOS
───────────────────────────────────────── */
.testimonios { background: var(--grey-1); }

.testimonios__masonry {
  column-count: 3;
  column-gap: 1rem;
}

.testi-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testi-card:hover { transform: scale(1.025); }

.testi-card__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testi-card:hover .testi-card__img { transform: scale(1.06); }

.testi-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.1)  40%,
    rgba(0,0,0,0.75) 100%
  );
  transition: opacity 0.4s;
}
.testi-card:hover .testi-card__overlay { opacity: 0.85; }

.testi-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: translateY(4px);
  transition: transform 0.4s ease;
}
.testi-card:hover .testi-card__content { transform: translateY(0); }

.testi-card__profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.testi-card__profile img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  object-fit: cover;
}
/* CSS initials avatar — replaces randomuser.me */
.testi-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  border: 2px solid rgba(255,255,255,0.25);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
}
.testi-card__profile span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.testi-card__content p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.testi-card__stars {
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .testimonios__masonry { column-count: 2; }
}
@media (max-width: 640px) {
  .testimonios__masonry { column-count: 1; }
}

/* ─────────────────────────────────────────
   CONTACTO
───────────────────────────────────────── */
.contacto {
  background: #000;
  position: relative;
  overflow: hidden;
}
/* Warm gradient shown on mobile when canvas is disabled */
.contacto__bg-fallback {
  display: none;
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(194,78,16,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(242,101,34,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(120,40,10,0.25) 0%, transparent 70%);
  z-index: 0;
}
@media (max-width: 768px) {
  .contacto__bg-fallback { display: block; }
}
.contacto__wave {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
  opacity: 0.9;
}
.contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  z-index: 2;
}
/* Overlay suave para que el texto sea legible */
.contacto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.1)  40%,
    rgba(0,0,0,0.4)  100%
  );
  pointer-events: none;
}
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  position: relative;
  z-index: 2;
}
.contacto__info { opacity: 0; transform: translateY(24px); }
.contacto__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--white-50);
  margin-bottom: 2.5rem;
}
.contacto__details { display: flex; flex-direction: column; gap: 1.25rem; }
.contacto__details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.contacto__details li:hover { color: rgba(255,255,255,0.85); }
.contacto__details svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  opacity: 0.8;
}
.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.85rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(242,101,34,0.04);
  box-shadow: 0 0 0 3px rgba(242,101,34,0.08);
}
.form-group select option { background: #111; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 3rem var(--inner-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.footer__logo strong { font-weight: 900; }
.footer__brand p { font-size: 0.8rem; color: var(--white-50); margin-top: 0.4rem; }
.footer__links { display: flex; gap: 2rem; }
.footer__links a {
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--orange); }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .servicio-slide { width: 300px; }
  .proyectos__grid { grid-template-columns: repeat(2, 1fr); }
  .proyecto-card--large { grid-column: span 2; }
  .stats__item:not(:last-child) { border-right: none; padding-right: 0; }
  .nosotros__inner { gap: 3rem; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────────────────── */
@media (max-width: 768px) {

  /* NAV */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { height: 68px; }
  .nav__logo-img { height: 42px; }

  /* HERO */
  .hero__content {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem));
  }
  /* Hero title — naturally fills full width, no hack needed */
  .hero__title-svg { height: clamp(120px, 25vw, 200px); }
  /* Hide canvas on mobile — CSS gradient fallback */
  .contacto__wave { display: none !important; }
  .hero__eyebrow { font-size: 0.62rem; letter-spacing: 0.22em; margin-bottom: 0.5rem; padding-left: 1rem; }
  .hero__subtitle { font-size: 0.65rem; letter-spacing: 0.28em; margin-top: 0.75rem; padding-left: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 1.25rem; padding-left: 1rem; padding-right: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: center; padding: 1rem; }
  .hero__scroll { display: none; }

  /* MARQUEE */
  .marquee__track span { font-size: 0.75rem; }

  /* STATS */
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 2.5rem 1.5rem;
  }
  .stats__item {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }

  /* SERVICIOS */
  .servicios__header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .servicio-slide { width: 280px; min-height: 380px; }

  /* NOSOTROS */
  .nosotros__inner { grid-template-columns: 1fr; gap: 4rem; }
  .nosotros__img-placeholder { aspect-ratio: 3/2; }
  .nosotros__badge { right: 1rem; bottom: -1.2rem; width: 95px; height: 95px; }
  .nosotros__badge-num { font-size: 1.6rem; }

  /* ORANGE SECTION */
  .orange-section { min-height: 60vh; }
  .orange-section__title svg { height: clamp(80px, 22vw, 130px); }
  .orange-section__sub { font-size: 0.62rem; letter-spacing: 0.25em; margin-top: 1.25rem; }

  /* PROYECTOS */
  .proyectos__header-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .proyectos__header-meta .section-desc { text-align: left; max-width: none; }
  .proyectos__title { font-size: clamp(3.2rem, 17vw, 6rem); }
  .proyectos__col--2 { margin-top: 25%; }

  /* TESTIMONIOS */
  .testimonios__masonry { column-count: 1; }

  /* CONTACTO */
  .contacto__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  /* canvas hidden on mobile via .contacto__wave { display: none } above */

  /* FOOTER */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer__links { flex-wrap: wrap; gap: 1rem; }
  .footer__copy { text-align: left; }

  /* SECTION SPACING */
  .section-inner { padding-top: clamp(3.5rem, 8vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 5rem); }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
  .section-header { margin-bottom: 2.5rem; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET (769px – 1024px)
───────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .proyectos__col--3 { display: flex; }
  .proyectos__title { font-size: clamp(5rem, 12vw, 10rem); }
}

/* ─────────────────────────────────────────
   RESPONSIVE — SMALL iPhone (≤390px)
───────────────────────────────────────── */
@media (max-width: 390px) {
  .hero__title-svg { height: clamp(105px, 27vw, 155px); }
  .hero__eyebrow { display: none; }
  .hero__content { padding-left: 0; padding-right: 0; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .orange-section__title svg { height: clamp(60px, 18vw, 90px); }
  .btn { padding: 0.85rem 1.5rem; font-size: 0.78rem; }
}

/* ─────────────────────────────────────────
   WHATSAPP FLOATING BUTTON
───────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-fab:active { transform: scale(0.96); }
