/* =========================================================
   RenovaStruct — Stylesheet
   Paleta corporativa: Naranja #F47B20 / Carbón #2C3340
   ========================================================= */

:root {
  --orange: #F47B20;
  --orange-dark: #D9651A;
  --orange-light: #FF8E3C;
  --orange-soft: #FFF1E6;

  --ink: #1A1F2B;
  --ink-2: #2C3340;
  --ink-3: #3A4555;
  --muted: #6B7280;
  --soft: #F8F4ED;
  --line: #E6E3DD;
  --white: #ffffff;

  --shadow-sm: 0 4px 14px rgba(28,33,46,.08);
  --shadow-md: 0 14px 40px rgba(28,33,46,.12);
  --shadow-lg: 0 30px 80px rgba(28,33,46,.18);
  --shadow-orange: 0 16px 40px rgba(244,123,32,.35);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1240px;
  --header-h: 84px;

  --t-fast: .25s cubic-bezier(.4,0,.2,1);
  --t-base: .45s cubic-bezier(.4,0,.2,1);
  --t-slow: .9s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- Helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.text-orange { color: var(--orange); }

.kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  padding: 8px 14px;
  background: var(--orange-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.kicker--light { background: rgba(244,123,32,.18); color: var(--orange-light); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section__title--light { color: var(--white); }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__title--light + .section__lead { color: rgba(255,255,255,.75); }

/* underline animation */
.underline-anim {
  position: relative;
  display: inline-block;
}
.underline-anim::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 6px;
  background: var(--orange);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawLine 1.2s .8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes drawLine { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(244,123,32,.5); }
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  opacity: 0;
  transition: opacity var(--t-fast);
  z-index: -1;
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-3px); }

.btn--text {
  padding: 14px 4px;
  color: var(--ink);
}
.btn--text:hover { color: var(--orange); }
.btn--text:hover i { transform: translateX(6px); }
.btn--text i { transition: transform var(--t-fast); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--white);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; color: var(--ink); }
.preloader__logo {
  width: 110px; height: 110px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  position: relative;
}
.preloader__logo::before {
  content: '';
  position: absolute; inset: -10px;
  border: 3px solid transparent;
  border-top-color: var(--orange);
  border-right-color: var(--orange);
  border-radius: 50%;
  animation: preloaderRing 1.2s linear infinite;
}
.preloader__logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(244,123,32,.45));
  animation: preloaderPulse 1.6s ease-in-out infinite;
}
@keyframes preloaderRing {
  to { transform: rotate(360deg); }
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.preloader__text {
  font-family: 'Montserrat', sans-serif; letter-spacing: 3px; text-transform: uppercase; font-size: 13px;
}
.dots span { animation: dot 1.4s infinite; opacity: 0; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%,80% { opacity: 0; } 40% { opacity: 1; } }

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 120;
}
.header__logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: filter var(--t-fast), height var(--t-fast);
}
.header.scrolled .header__logo img {
  height: 44px;
  filter: none;
}

.nav__list {
  display: flex; align-items: center; gap: 4px;
}
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 14px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--t-fast);
}
.header.scrolled .nav__link { color: var(--ink); text-shadow: none; }
.nav__link::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link:hover { color: var(--orange); }

.nav__link--cta {
  background: var(--orange);
  color: var(--white) !important;
  box-shadow: var(--shadow-orange);
  text-shadow: none !important;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.nav__link--cta::after { display: none; }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 13px;
  border-radius: 12px;
  background: var(--orange);
  box-shadow: 0 6px 18px rgba(244,123,32,.45);
  z-index: 120;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.nav__toggle:hover { background: var(--orange-dark); transform: scale(1.04); }
.header.scrolled .nav__toggle { background: var(--orange); }
.nav__toggle span {
  display: block;
  width: 100%; height: 2.5px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.header.scrolled .nav__toggle span { background: var(--white); }

.nav__close { display: none; }

/* Backdrop overlay for mobile menu */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 105;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: 100vw;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: zoomIn 18s ease-in-out infinite alternate;
}
@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,31,43,.92) 0%, rgba(26,31,43,.7) 45%, rgba(26,31,43,.45) 100%);
}

.hero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__particles span {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .5;
  animation: floatUp 18s linear infinite;
}
.hero__particles span:nth-child(1) { left: 10%; animation-delay: 0s; width: 6px; height: 6px; }
.hero__particles span:nth-child(2) { left: 25%; animation-delay: 4s; }
.hero__particles span:nth-child(3) { left: 50%; animation-delay: 8s; width: 4px; height: 4px; }
.hero__particles span:nth-child(4) { left: 70%; animation-delay: 2s; }
.hero__particles span:nth-child(5) { left: 85%; animation-delay: 11s; width: 10px; height: 10px; opacity: .25; }
.hero__particles span:nth-child(6) { left: 92%; animation-delay: 6s; }
@keyframes floatUp {
  0%   { bottom: -20px; opacity: 0; transform: translateX(0); }
  10%  { opacity: .5; }
  90%  { opacity: .5; transform: translateX(40px); }
  100% { bottom: 110%; opacity: 0; transform: translateX(80px); }
}

.hero__content { position: relative; z-index: 2; max-width: 880px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow i { color: var(--orange); }

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -.02em;
  text-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.hero__subtitle {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.badge i { color: var(--orange); }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .8;
  transition: opacity var(--t-fast);
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll span:not(.hero__scroll-text) {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span:not(.hero__scroll-text)::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollMouse 1.8s ease infinite;
}
@keyframes scrollMouse {
  0% { opacity: 1; transform: translate(-50%,0); }
  60% { opacity: 0; transform: translate(-50%,16px); }
  100% { opacity: 0; transform: translate(-50%,16px); }
}

/* ---------- STATS ---------- */
.stats {
  position: relative;
  background: var(--ink-2);
  padding: 70px 0;
  margin-top: -1px;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { color: var(--white); position: relative; padding: 0 16px; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: rgba(255,255,255,.1);
}
.stat__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  line-height: 1;
}
.stat__plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  margin-left: 4px;
}
.stat__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}

/* ---------- SERVICIOS ---------- */
.services { background: var(--soft); overflow: hidden; }
.services::before {
  content: '';
  position: absolute; right: -120px; top: 80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(244,123,32,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid var(--line);
}
.service-card::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.service-card::after {
  content: '';
  position: absolute; right: -50px; bottom: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(244,123,32,.08) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--t-base);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { transform: scale(1.5); }

.service-card__icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 22px;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.service-card:hover .service-card__icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(-8deg) scale(1.06);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.25;
}
.service-card p {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}
.service-card__more { display: none; }

/* New service variant */
.service-card--new .service-card__icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(244,123,32,.28);
}
.service-card--new:hover .service-card__icon {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
}
.service-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 2;
}
.service-card--new::before { transform: scaleX(1); }

/* Otros servicios — chip strip */
.services__extras {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  text-align: center;
  position: relative;
}
.services__extras-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ink-2);
  letter-spacing: .5px;
}
.services__extras-title i {
  color: var(--orange);
  margin-right: 10px;
}
.services__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: all var(--t-base);
  cursor: default;
}
.chip i {
  color: var(--orange);
  font-size: 14px;
  transition: color var(--t-base);
}
.chip:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.chip:hover i { color: var(--white); }

/* ---------- ABOUT ---------- */
.about { background: var(--white); overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; }
.about__image-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.about__shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  border-radius: var(--radius-lg);
  transform: rotate(-4deg);
  z-index: -1;
}
.about__main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
  background: var(--soft);
  transition: transform var(--t-slow);
}
.about__image-wrap:hover .about__main-img { transform: scale(1.02); }
.about__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--ink-2);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.about__badge i {
  color: var(--orange);
  font-size: 32px;
}
.about__badge strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  display: block;
  line-height: 1;
  color: var(--orange);
}
.about__badge span {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.about__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 18px 0 24px; }
.about__features { display: grid; gap: 14px; margin: 28px 0 36px; }
.about__features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.about__features i { color: var(--orange); font-size: 20px; margin-top: 2px; }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* ---------- PROCESO ---------- */
.process {
  background: var(--soft);
  position: relative;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process__line {
  position: absolute;
  top: 80px; left: 12.5%; right: 12.5%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 22px);
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
  z-index: 1;
}
.step__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(244,123,32,.16);
  line-height: 1;
  position: absolute;
  top: -36px; left: 50%; transform: translateX(-50%);
  z-index: -1;
  transition: color var(--t-base), transform var(--t-base);
}
.step:hover .step__num { color: var(--orange); transform: translateX(-50%) scale(1.05); }
.step__icon {
  width: 90px; height: 90px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 32px;
  border: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
  position: relative;
}
.step:hover .step__icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- PROYECTOS / GALERÍA ---------- */
.projects { background: var(--white); }
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.filter {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--soft);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
  transition: all var(--t-fast);
  border: 2px solid transparent;
}
.filter:hover { background: var(--orange-soft); color: var(--orange); }
.filter--active {
  background: var(--ink-2);
  color: var(--white);
  border-color: var(--ink-2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-base), opacity var(--t-base);
  background: var(--ink-2);
  min-height: 100%;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--big { grid-row: span 2; grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow), filter var(--t-base);
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,31,43,.9) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery__item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  color: var(--white);
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.tag--orange { background: var(--orange); }
.gallery__item h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.gallery__item p { color: rgba(255,255,255,.85); font-size: .9rem; }

/* hide via filter — full removal */
.gallery__item.hide {
  display: none !important;
}
/* hide via mobile-limit (clip 3rd+) — keep DOM but invisible */
.gallery__item.mobile-clipped {
  display: none !important;
}

.gallery__more {
  display: none;
  text-align: center;
  margin-top: 36px;
}
.gallery__more.show { display: block; }
.gallery__more.expanded #seeMoreBtn span::before { content: 'Ver menos'; }
.gallery__more.expanded #seeMoreBtn span { font-size: 0; }
.gallery__more.expanded #seeMoreBtn span::before { font-size: 15px; }
.gallery__more.expanded #seeMoreBtn i { transform: rotate(45deg); }
#seeMoreBtn i { transition: transform var(--t-fast); }

/* ---------- VIDEOS ---------- */
.videos { background: var(--soft); }
.videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-card__player {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
}
.video-card__player video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(26,31,43,.45);
  pointer-events: none;
  transition: opacity var(--t-base);
}
.video-card__play i {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 26px;
  padding-left: 4px;
  box-shadow: 0 0 0 0 rgba(244,123,32,.6);
  animation: pulseOrange 2s infinite;
}
.video-card__player.playing .video-card__play { opacity: 0; }
@keyframes pulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(244,123,32,.6); }
  70% { box-shadow: 0 0 0 24px rgba(244,123,32,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,123,32,0); }
}
.video-card__info { padding: 24px 26px 28px; }
.video-card__info h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.video-card__info p { color: var(--muted); font-size: .95rem; }

/* ---------- WHY ---------- */
.why {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.why__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(135deg, rgba(26,31,43,.94), rgba(44,51,64,.94)),
    url('assets/proyecto-06-casa-andamios.jpg') center/cover no-repeat fixed;
}
.why::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 20%, rgba(244,123,32,.18), transparent 50%);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: transform var(--t-base), background var(--t-base), border-color var(--t-base);
}
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(244,123,32,.1);
  border-color: rgba(244,123,32,.4);
}
.why-card i {
  font-size: 40px;
  color: var(--orange);
  margin-bottom: 16px;
  transition: transform var(--t-base);
}
.why-card:hover i { transform: scale(1.15) rotate(-6deg); }
.why-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--white); }
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--soft);
  padding: 36px 30px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial__quote {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 36px;
  color: rgba(244,123,32,.25);
}
.testimonial p { color: var(--ink-3); font-size: 1rem; line-height: 1.75; margin-bottom: 22px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.testimonial__author strong { display: block; font-family: 'Montserrat', sans-serif; }
.testimonial__author span { font-size: 13px; color: var(--muted); }
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(28,33,46,.15);
  background: var(--soft);
}
.stars i { color: var(--orange); font-size: 14px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--soft); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.contact__info { display: grid; gap: 20px; }
.contact__info li {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.contact__info li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact__info i {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact__info span:not(.tag) {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.contact__info a, .contact__info p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  word-break: break-word;
}
.contact__info a:hover { color: var(--orange); }

.contact__form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact__form h3 { font-size: 1.5rem; margin-bottom: 24px; }
.field {
  position: relative;
  margin-bottom: 18px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 18px 18px 8px;
  font: inherit;
  background: var(--soft);
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-family: inherit;
  resize: vertical;
}
.field textarea { min-height: 110px; padding-top: 24px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236B7280' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}
.field label {
  position: absolute;
  left: 18px; top: 18px;
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
  transition: all var(--t-fast);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:valid + label,
.field select:focus + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.form-note i { color: var(--orange); margin-right: 6px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding-top: 70px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__logo {
  width: 60px;
  margin-bottom: 16px;
}
.footer__tag { color: var(--white); font-family: 'Montserrat', sans-serif; line-height: 1.4; margin-bottom: 12px; }
.footer__tag strong { font-size: 1.4rem; color: var(--orange); }
.footer__desc { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.7; max-width: 320px; }

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer__col ul li { margin-bottom: 10px; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.footer__col ul li i { color: var(--orange); width: 18px; }
.footer__col ul li a:hover { color: var(--orange); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- WHATSAPP FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 22px 50px rgba(37,211,102,.6); }
.whatsapp-fab__icon { font-size: 32px; position: relative; z-index: 2; }
.whatsapp-fab__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .55);
  animation: waPulse 2s ease-out infinite;
  z-index: 1;
}
.whatsapp-fab__pulse--2 { animation-delay: 1s; }
@keyframes waPulse {
  0%   { transform: scale(.85); opacity: .9; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-fab__bubble {
  position: absolute;
  right: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.whatsapp-fab__bubble strong { color: #128C7E; display: block; font-size: 14px; }
.whatsapp-fab__bubble::after {
  content: '';
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--white);
}
.whatsapp-fab:hover .whatsapp-fab__bubble {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.whatsapp-fab.intro .whatsapp-fab__bubble {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- SCROLL TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 80;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--orange); transform: translateY(-4px); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--delay, 0s) cubic-bezier(.4,0,.2,1),
              transform .8s var(--delay, 0s) cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero .reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1s forwards;
}
.hero .reveal:nth-child(1) { animation-delay: .2s; }
.hero .reveal:nth-child(2) { animation-delay: .4s; }
.hero .reveal:nth-child(3) { animation-delay: .6s; }
.hero .reveal:nth-child(4) { animation-delay: .8s; }
.hero .reveal:nth-child(5) { animation-delay: 1s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(15,18,26,.95);
  display: grid; place-items: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(.9);
  transition: transform var(--t-base);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 22px;
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox__close:hover { background: var(--orange); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 22px;
  backdrop-filter: blur(8px);
  transition: background var(--t-fast);
}
.lightbox__nav:hover { background: var(--orange); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__caption {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  background: rgba(0,0,0,.5);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  backdrop-filter: blur(8px);
  max-width: 90vw;
  text-align: center;
}

/* =========================================================
   RESPONSIVE — TABLETS GRANDES (≤ 1200px)
   ========================================================= */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 56px; }

  .nav__list { gap: 0; }
  .nav__link { padding: 8px 12px; font-size: 13px; }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }

  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
}

/* =========================================================
   RESPONSIVE — TABLETS (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 48px; }
  .section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); }

  .header { padding: 14px 0; }
  .header.scrolled { padding: 8px 0; }

  .hero { padding: 130px 0 80px; min-height: 100vh; }
  .hero__title { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
  .hero__subtitle { font-size: 1rem; }
  .hero__eyebrow { font-size: 11px; padding: 8px 14px; }

  .stats { padding: 60px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 50px 20px; }
  .stat:nth-child(2n)::after { display: none; }
  .stat:not(:last-child)::after { display: none; }
  .stat:nth-child(odd):not(:last-child)::after {
    display: block;
    right: -10px;
    height: 70%;
  }

  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-card { padding: 32px 26px; }

  .about__grid { grid-template-columns: 1fr; gap: 60px; max-width: 600px; margin: 0 auto; }
  .about__media { text-align: center; }
  .about__main-img { max-width: 380px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
  .process__line { display: none; }

  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }

  .videos__grid { gap: 24px; }
  .video-card__player { aspect-ratio: 16 / 11; }

  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-card { padding: 32px 22px; }

  .testimonials__track { grid-template-columns: 1fr 1fr; gap: 20px; }
  .testimonial:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }

  .contact__grid { grid-template-columns: 1fr; gap: 50px; max-width: 700px; margin: 0 auto; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding-bottom: 40px;
  }
  .footer__brand { grid-column: span 2; max-width: 460px; }
}

/* =========================================================
   RESPONSIVE — MÓVIL GRANDE (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .container { padding: 0 18px; width: 100%; max-width: 100vw; }
  .section { padding: 60px 0; width: 100%; max-width: 100vw; overflow: hidden; }

  /* Anular elementos absolutos que sobresalen del viewport */
  .services::before,
  .why::before { display: none; }
  .about__shape { display: none; }
  .about__badge {
    position: static;
    display: inline-flex;
    margin: 24px auto 0;
    bottom: auto; right: auto;
  }
  .hero__particles { display: none; }
  .section__head { margin-bottom: 40px; max-width: 100%; }
  .section__title { font-size: clamp(1.6rem, 6.5vw, 2.1rem); line-height: 1.2; }
  .section__lead { font-size: .95rem; }
  .kicker { font-size: 11px; letter-spacing: 3px; padding: 6px 12px; margin-bottom: 14px; }

  /* ===== HEADER + LOGO CENTRADO EN MÓVIL (sin hamburguesa) ===== */
  .header {
    padding: 10px 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }
  .header.scrolled { padding: 8px 0; }
  .header__inner {
    gap: 0;
    justify-content: center;
    align-items: center;
  }
  .header__logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
  }
  .header__logo img {
    height: 60px;
    width: auto;
    max-width: 92vw;
    object-fit: contain;
    object-position: center center;
    filter: none;
  }
  .header.scrolled .header__logo img {
    height: 52px;
  }
  /* Ocultar completamente el toggle y la nav drawer en móvil */
  .nav { display: none !important; }
  .nav__toggle { display: none !important; }
  .nav-backdrop { display: none !important; }

  /* ===== MOBILE NAV (drawer) ===== */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 84%; max-width: 360px;
    height: 100vh;
    background: var(--white);
    padding: 80px 22px 22px;
    transition: right var(--t-base);
    box-shadow: -10px 0 40px rgba(0,0,0,.2);
    z-index: 110;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__link {
    color: var(--ink) !important;
    text-shadow: none !important;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.active {
    background: var(--orange-soft);
    color: var(--orange);
  }
  .nav__link--cta {
    margin-top: 16px;
    justify-content: center;
    background: var(--orange);
    color: var(--white) !important;
    border: none;
  }
  .nav__close {
    display: grid; place-items: center;
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--soft);
    font-size: 18px;
    color: var(--ink);
  }
  .nav__toggle { display: block; }

  /* ===== HERO ===== */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
    text-align: center;
    width: 100%;
    max-width: 100vw;
  }
  .hero__bg img { animation: none; }
  .hero__content { width: 100%; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero__title, .hero__subtitle { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__eyebrow {
    font-size: 10px;
    padding: 8px 14px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
  }
  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 18px;
    line-height: 1.1;
  }
  .underline-anim::after { height: 4px; bottom: 2px; }
  .hero__subtitle {
    font-size: .98rem;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 360px;
  }
  .hero__cta .btn { justify-content: center; padding: 15px 24px; font-size: 14px; width: 100%; }
  .hero__badges {
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .badge {
    font-size: 12px;
    padding: 8px 14px;
    flex: 0 1 auto;
    justify-content: center;
  }
  .hero__scroll { display: none; }

  /* ===== STATS ===== */
  .stats { padding: 50px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .stat { padding: 0 8px; }
  .stat::after { display: none !important; }
  .stat__num { font-size: 2.8rem; }
  .stat__plus { font-size: 1.8rem; }
  .stat__label { font-size: 11px; letter-spacing: 1.5px; margin-top: 4px; }

  /* ===== SERVICIOS ===== */
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }
  .service-card__icon { width: 60px; height: 60px; font-size: 24px; border-radius: 14px; margin-bottom: 18px; }
  .service-card h3 { font-size: 1.05rem; }
  .services__extras { padding: 28px 20px; margin-top: 40px; }
  .services__extras-title { font-size: .95rem; }
  .services__chips { gap: 8px; }
  .chip { padding: 10px 16px; font-size: .82rem; }

  /* ===== ABOUT ===== */
  .about__grid { gap: 36px; max-width: 100%; }
  .about__media { text-align: center; }
  .about__image-wrap { display: block; max-width: 100%; }
  .about__main-img { max-width: 280px; margin: 0 auto; }
  .about__badge {
    padding: 14px 20px;
    gap: 10px;
  }
  .about__badge i { font-size: 26px; }
  .about__badge strong { font-size: 22px; }
  .about__badge span { font-size: 10px; letter-spacing: 1px; }
  .about__copy p { font-size: 1rem; }
  .about__features li { font-size: .95rem; }
  .about__cta { gap: 12px; }
  .about__cta .btn { width: 100%; justify-content: center; }

  /* ===== PROCESO ===== */
  .process__steps { grid-template-columns: 1fr; gap: 50px; max-width: 320px; margin: 0 auto; }
  .step { padding: 0; }
  .step__num { font-size: 4rem; top: -28px; }
  .step__icon { width: 76px; height: 76px; font-size: 28px; border-width: 2px; }

  /* ===== PROYECTOS / GALERÍA ===== */
  .filters {
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 4px 4px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter {
    padding: 10px 18px;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
    gap: 14px;
  }
  /* Ignoramos los span en móvil para evitar huecos */
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item h4 { font-size: 1.05rem; }
  .gallery__item p { font-size: .85rem; }
  /* Caption visible siempre en móvil (no hover) */
  .gallery__item::after { opacity: 1; }
  .gallery__item figcaption { transform: translateY(0); opacity: 1; padding: 18px; }

  .gallery__more {
    margin-top: 28px;
    display: block;
  }
  #seeMoreBtn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* ===== VIDEOS ===== */
  .videos__grid { grid-template-columns: 1fr; gap: 22px; }
  .video-card__player { aspect-ratio: 16 / 11; }
  .video-card__play i { width: 64px; height: 64px; font-size: 22px; }
  .video-card__info { padding: 20px 22px 24px; }

  /* ===== WHY ===== */
  .why__bg { background-attachment: scroll; }
  .why__grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 28px 22px; text-align: left; display: flex; gap: 18px; align-items: flex-start; }
  .why-card i { font-size: 32px; margin-bottom: 0; flex-shrink: 0; }
  .why-card > div, .why-card h3, .why-card p { text-align: left; }
  .why-card h3 { font-size: 1.05rem; }

  /* ===== TESTIMONIALS ===== */
  .testimonials__track { grid-template-columns: 1fr; gap: 16px; }
  .testimonials__track .testimonial:last-child { grid-column: span 1; max-width: 100%; }
  .testimonial { padding: 28px 24px 24px; }
  .testimonial p { font-size: .96rem; }

  /* ===== CONTACT ===== */
  .contact__grid { gap: 36px; }
  .contact__info li { padding: 14px 16px; gap: 12px; }
  .contact__info i { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
  .contact__info a, .contact__info p { font-size: .95rem; }
  .contact__form { padding: 26px 22px; }
  .contact__form h3 { font-size: 1.25rem; margin-bottom: 18px; }
  .field input, .field select, .field textarea { padding: 16px 16px 8px; }
  .field label { left: 16px; top: 16px; font-size: 13px; }

  /* ===== FOOTER ===== */
  .footer { padding-top: 50px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 36px;
    text-align: center;
  }
  .footer__brand { grid-column: span 1; max-width: 100%; }
  .footer__brand .footer__logo { margin: 0 auto 16px; }
  .footer__desc { margin: 0 auto; }
  /* Ocultar las 3 columnas auxiliares en móvil */
  .footer__col { display: none; }

  /* ===== FAB ===== */
  .whatsapp-fab {
    bottom: 18px; right: 18px;
    width: 60px; height: 60px;
  }
  .whatsapp-fab__icon { font-size: 28px; }
  .whatsapp-fab__bubble { display: none; }

  .scroll-top {
    left: 18px; bottom: 18px;
    width: 44px; height: 44px;
  }

  /* ===== LIGHTBOX ===== */
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 16px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox__caption { font-size: 12px; padding: 8px 14px; bottom: 12px; }
}

/* =========================================================
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
   ========================================================= */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .section__head { margin-bottom: 32px; }

  /* Logo aún más prominente */
  .header__logo {
    max-width: calc(100% - 56px);
  }
  .header__logo img {
    height: 60px;
  }
  .header.scrolled .header__logo img { height: 52px; }
  .nav__toggle { width: 42px; height: 42px; padding: 10px; }

  .hero { padding: 100px 0 60px; }
  .hero__title { font-size: clamp(1.85rem, 9.5vw, 2.3rem); }
  .hero__subtitle { font-size: .95rem; }
  .badge { font-size: 11px; padding: 7px 11px; }

  .stats__grid { gap: 30px 12px; }
  .stat__num { font-size: 2.4rem; }
  .stat__plus { font-size: 1.5rem; }

  .gallery { grid-auto-rows: 240px; }
  .gallery__item figcaption { padding: 14px; }
  .gallery__item h4 { font-size: 1rem; }

  .filter { padding: 9px 14px; font-size: 12px; letter-spacing: .3px; }

  .testimonial { padding: 24px 20px 20px; }
  .testimonial__quote { font-size: 28px; top: 16px; right: 18px; }

  .video-card__play i { width: 56px; height: 56px; font-size: 18px; }

  .contact__form { padding: 22px 18px; }
  .field input, .field select, .field textarea { font-size: 15px; }

  .whatsapp-fab {
    width: 56px; height: 56px;
    bottom: 14px; right: 14px;
  }
  .whatsapp-fab__icon { font-size: 26px; }
}

/* =========================================================
   RESPONSIVE — MÓVIL EXTRA PEQUEÑO (≤ 380px)
   ========================================================= */
@media (max-width: 380px) {
  .hero__title { font-size: 1.7rem; }
  .header__logo img { height: 54px; }
  .stat__num { font-size: 2.1rem; }
  .gallery { grid-auto-rows: 220px; }
}

/* ---------- LANDSCAPE en móvil ---------- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero__badges { display: none; }
}

/* ---------- HARD CONTAINMENT (anti-overflow) ---------- */
@media (max-width: 1024px) {
  body, main, header, footer, section { max-width: 100vw; }
  .container, .hero, .stats, .services, .about, .process, .projects,
  .videos, .why, .testimonials, .contact, .footer {
    max-width: 100vw;
    overflow-x: clip;
  }
}

/* ---------- MOTION REDUCE ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
