/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --blue-950: #050b1f;
  --blue-900: #0b1329;
  --blue-800: #0f1c3f;
  --blue-700: #0f3172;
  --blue-600: #1e40af;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --white:    #ffffff;
  --ink:      #060b18;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #0f172a;
  --accent-color: #2563eb;
  --accent-glass: rgba(37, 99, 235, 0.05);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.02);
  --shadow-md: 0 4px 20px rgba(15,23,42,.08), 0 2px 8px rgba(15,23,42,.04);
  --shadow-lg: 0 10px 40px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.08);
  --shadow-xl: 0 20px 60px rgba(15,23,42,.16), 0 8px 24px rgba(15,23,42,.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* ===== EDITORIAL SYSTEM ===== */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --display-xl: clamp(3.2rem, 9vw, 8.5rem);
  --display-lg: clamp(2.6rem, 6.4vw, 5.5rem);
  --display-md: clamp(2.2rem, 4.6vw, 3.8rem);
  --edge: clamp(24px, 5vw, 64px);
}

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 140px 0; }

/* ===== REVEAL ANIMATIONS (GSAP maneja todo — CSS solo oculta inicialmente) ===== */
.reveal { opacity: 0; }
.reveal.visible { opacity: 1; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--blue-500);
}
.section-label[style*="center"] { justify-content: center; }
.section-title {
  font-family: var(--font-headings);
  font-size: var(--display-lg);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 72px;
  text-align: center;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-500);
  color: var(--white);
  padding: 17px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 20px rgba(37,99,235,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,.4);
  background: var(--blue-600);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary.btn-large { padding: 19px 40px; font-size: 16px; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  padding: 17px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background 200ms ease, border-color 200ms ease;
}
.btn-secondary:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background 200ms ease, border-color 200ms ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline:active { transform: scale(0.97); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(37,99,235,.1), var(--shadow-sm);
}
.navbar.scrolled {
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: var(--blue-50);
  opacity: 0;
  pointer-events: none;
  transition: transform 350ms var(--ease-in-out), width 350ms var(--ease-in-out), opacity 200ms ease;
}
.nav-links li { position: relative; z-index: 1; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue-600);
}

.nav-cta {
  background: var(--blue-500);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background 200ms ease;
  box-shadow: 0 2px 12px rgba(37,99,235,.3);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
  background: var(--blue-600);
}
.nav-cta:active { transform: scale(0.97); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  padding: 80px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: block;
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--blue-50); color: var(--blue-600); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

@keyframes particleFade {
  from { opacity: 0.1; transform: translateY(0) scale(1); }
  to   { opacity: 0.8; transform: translateY(-20px) scale(1.5); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* TEXT SIDE */
.hero-text-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px var(--edge) 64px clamp(32px, 6vw, 100px);
}
.hero-text-side::before {
  content: '';
  position: absolute;
  top: -240px; left: -240px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--blue-200);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 36px;
  width: fit-content;
  position: relative;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: var(--display-xl);
  font-weight: 800;
  color: var(--white);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  position: relative;
}
.hero-title .ht-line { display: block; overflow: hidden; }
.hero-title .ht-outline {
  -webkit-text-stroke: 2px var(--blue-400);
  color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 460px;
  position: relative;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  position: relative;
}
.hero-actions .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.18); }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,.08); }

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  width: fit-content;
  position: relative;
}
.stat { padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat-number, .stat-suffix {
  font-family: var(--font-headings);
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
}
.stat-suffix { color: var(--blue-300); }
.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
}

/* VISUAL SIDE */
.hero-visual-side {
  position: relative;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(11,19,41,.15) 10%, rgba(5,11,31,.85) 100%);
}
.hero-vertical-label {
  position: absolute;
  top: 50%; right: 28px;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  z-index: 2;
}
.floating-badge {
  position: absolute;
  top: 48px; right: 48px;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.eurovent { color: #f59e0b; }
.eurovent svg { color: #f59e0b; }

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTION WATERMARK (giant editorial numerals) ===== */
.section-watermark {
  position: absolute;
  top: 0; right: var(--edge);
  font-family: var(--font-headings);
  font-size: clamp(160px, 22vw, 380px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue-50);
  z-index: 0;
  pointer-events: none;
  transform: translateY(-12%);
  user-select: none;
}
.nosotros > .container,
.proceso > .container,
.servicios > .container,
.testimonios > .container,
.contacto > .container {
  position: relative;
  z-index: 1;
}

/* ===== NOSOTROS ===== */
.nosotros { background: var(--gray-50); position: relative; overflow: hidden; }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.nosotros-desc {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.nosotros-desc strong { color: var(--blue-700); }
.nosotros-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.nbadge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.nbadge svg { color: var(--blue-500); flex-shrink: 0; }

.nosotros-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 460px;
}
.nv-card { position: relative; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.nv-card img { width: 100%; height: 100%; object-fit: cover; }
.nv-main { grid-row: 1 / 3; }
.nv-side { grid-row: 2; box-shadow: var(--shadow-xl); border: none; }
.nv-extra { grid-row: 1; box-shadow: var(--shadow-md); border: none; }
.nv-stat-card {
  position: absolute;
  top: -28px; left: 24px;
  background: var(--blue-500);
  border-radius: 4px;
  padding: 24px 28px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.nvc-number { font-family: var(--font-headings); font-size: 40px; font-weight: 800; color: var(--white); line-height: 1; }
.nvc-label { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: 1.5px; }

/* ===== SERVICIOS ===== */
.servicios { background: var(--white); position: relative; overflow: hidden; }

/* "Glass pane" grid — services as panes in an aluminum frame */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.bento-card {
  background: var(--white);
  border-radius: 0;
  padding: 40px 36px;
  transition: background 320ms ease, transform 400ms var(--ease-out);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}
.bento-card:hover {
  background: var(--blue-50);
  z-index: 2;
}
.bento-card.bento-solid:hover,
.bento-card.bento-dark:hover {
  background: inherit;
}

.bento-large { grid-column: span 2; }
.bento-wide { grid-column: span 2; }

.bento-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-headings);
  font-size: 56px;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  z-index: 0;
  transition: color 0.3s;
}
.bento-card:hover .bento-num { color: var(--blue-100); }

.bento-icon {
  width: 56px; height: 56px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue-500);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.bento-card:hover .bento-icon {
  background: var(--blue-500);
  color: var(--white);
  transform: scale(1.05) rotate(-4deg);
}
.bento-card h3 {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.bento-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  max-width: 36ch;
}
.bento-tag {
  position: absolute;
  bottom: 28px; right: 36px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 1;
}
.bento-tag-blue {
  background: rgba(255,255,255,.12);
  color: var(--blue-200);
}

/* Solid blue pane */
.bento-solid {
  background: var(--blue-500);
}
.bento-solid .bento-num { color: rgba(255,255,255,.18); }
.bento-solid:hover .bento-num { color: rgba(255,255,255,.3); }
.bento-solid .bento-icon { background: rgba(255,255,255,.15); color: var(--white); }
.bento-solid:hover .bento-icon { background: var(--white); color: var(--blue-500); }
.bento-solid h3, .bento-solid p { color: var(--white); }
.bento-solid p { color: rgba(255,255,255,.78); }
.bento-solid .bento-tag { background: rgba(255,255,255,.15); color: var(--white); }

/* Dark navy pane */
.bento-dark {
  background: var(--ink);
}
.bento-dark .bento-num { color: rgba(255,255,255,.06); }
.bento-dark:hover .bento-num { color: rgba(255,255,255,.12); }
.bento-dark .bento-icon { background: rgba(255,255,255,.08); color: var(--blue-300); }
.bento-dark:hover .bento-icon { background: var(--blue-500); color: var(--white); }
.bento-dark h3 { color: var(--white); }
.bento-dark p { color: rgba(255,255,255,.5); }

/* Image pane */
.bento-image { padding: 0; }
.bento-image:hover { background: inherit; }
.bento-image .bento-num { display: none; }
.bento-image img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease-out);
}
.bento-image:hover img { transform: scale(1.06); }
.bento-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(10,22,40,.7));
  z-index: 1;
  pointer-events: none;
}
.bento-image-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}

/* ===== GALERIA ===== */
.galeria { background: var(--gray-50); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(10,22,40,.75));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--blue-500);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 80px);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-text h2 {
  font-family: var(--font-headings);
  font-size: var(--display-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.05;
}
.cta-text p { font-size: 17px; color: rgba(255,255,255,.8); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-xl); }
.cta-band .btn-primary:hover { background: var(--blue-50); color: var(--blue-700); }

/* ===== CONTACTO ===== */
.contacto { background: var(--white); position: relative; overflow: hidden; }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 8px;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  border: none;
  border-left: 3px solid var(--gray-200);
  border-radius: 0;
  padding: 20px 24px;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
}
.contact-card:hover {
  border-left-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateX(4px);
}
.cc-icon {
  width: 44px; height: 44px;
  background: var(--blue-100);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.cc-label { font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; display: block; }
.cc-value { font-size: 14px; font-weight: 500; color: var(--gray-800); margin-top: 2px; display: block; }
a.cc-value:hover { color: var(--blue-600); }

.contact-card-wa { padding: 0; border: none; background: none; }
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 18px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  width: 100%;
  transition: transform 200ms var(--ease-out), background 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.wa-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
}
.wa-btn:active { transform: scale(0.97); }

/* FORM */
.contact-form {
  background: var(--ink);
  border: none;
  border-radius: 4px;
  padding: 48px;
}
.contact-form h3 {
  font-family: var(--font-headings);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--ink); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: transform 200ms var(--ease-out), background 200ms ease, color 200ms ease;
}
.social-btn:hover { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; font-weight: 500; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--blue-300); padding-left: 6px; }
.footer-contact p { font-size: 14px; margin-bottom: 10px; }
.footer-contact strong { color: rgba(255,255,255,.9); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-privacy:hover { color: var(--blue-300); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 900;
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 8px 30px rgba(37,211,102,.6);
  animation: none;
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
/* ===== LÍNEAS ESTRUCTURALES (FONDO) ===== */
.structural-lines {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
}
.structural-lines .line {
  width: 1px;
  height: 100%;
  background: var(--blue-900);
}

/* ===== REVELACIONES POR MÁSCARA ===== */
.mask-wrap {
  overflow: hidden;
  display: inline-block;
}
.reveal-title {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transform: translateY(50px);
}

/* ===== BRILLO DE VIDRIO (GLASS SHINE) ===== */
.bento-card, .contact-card, .btn-primary, .btn-secondary, .cta-inner, .navbar, .wa-btn {
  position: relative;
  overflow: hidden;
}

.glass-shine-element {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover .glass-shine-element,
.contact-card:hover .glass-shine-element {
  opacity: 1;
}

/* ===== SCROLL HORIZONTAL (GALERÍA — drag scroll) ===== */
.horizontal-scroll-sec {
  background: var(--blue-900);
  color: var(--white);
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 80px 0;
}
.horizontal-pin-wrap {
  display: flex;
  flex-direction: column;
  padding: 0 80px;
}
.horizontal-intro {
  width: 100%;
  max-width: 640px;
  padding-right: 0;
  margin: 0 auto 48px;
  text-align: center;
}
.horizontal-intro .section-label {
  color: var(--blue-300);
}
.horizontal-intro .section-title {
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}
.horizontal-intro .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0 auto 40px;
}
.scroll-helper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--blue-300);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.helper-arrow {
  animation: helperArrow 1.5s infinite ease-in-out;
  display: inline-block;
}
@keyframes helperArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.horizontal-track {
  display: flex;
  gap: 28px;
  padding-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.horizontal-track::-webkit-scrollbar { display: none; }
.horizontal-track:active { cursor: grabbing; }
.gallery-card-h {
  width: 480px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, transform 0.5s var(--ease-out);
  flex-shrink: 0;
}
.gallery-card-h:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.gallery-image-wrap {
  height: 320px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.gallery-index {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-headings);
  font-size: 56px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.5);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card-h:hover .gallery-image-wrap img {
  transform: scale(1.08);
}
.gallery-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-300);
  background: rgba(37, 99, 235, 0.15);
  padding: 4px 12px;
  border-radius: 50px;
}
.gallery-card-content h3 {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.gallery-card-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== VIDEOS / REELS ===== */
.reels-sec {
  background: var(--blue-900);
  color: var(--white);
  padding: 0 0 140px;
  overflow: hidden;
}
.reels-sec .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}
.reels-track {
  display: flex;
  gap: 20px;
  padding: 0 80px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.reels-track::-webkit-scrollbar { display: none; }
.reels-track:active { cursor: grabbing; }
.reel-card {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}
.reel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
}
.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 160ms var(--ease-out), opacity 200ms ease, background 0.2s;
}
.reel-play svg { width: 22px; height: 22px; margin-left: 2px; }
.reel-play:hover { background: rgba(255, 255, 255, 0.25); }
.reel-play:active { transform: translate(-50%, -50%) scale(0.92); }
.reel-card.playing .reel-play {
  opacity: 0;
  pointer-events: none;
}
.reel-card.playing:hover .reel-play {
  opacity: 1;
  pointer-events: auto;
}

/* Modificaciones de botones para hover sofisticado */
.btn-primary, .btn-secondary, .nav-cta, .wa-btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .nav-cta::after, .wa-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary:hover::after, .nav-cta:hover::after, .wa-btn:hover::after {
  left: 100%;
}

/* ===== MARQUEE BAND ===== */
.marquee-band {
  background: var(--blue-900);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before { left: 0; background: linear-gradient(90deg, var(--blue-900), transparent); }
.marquee-band::after  { right: 0; background: linear-gradient(-90deg, var(--blue-900), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s;
}
.marquee-item:hover { color: rgba(255,255,255,.9); }
.mq-dot {
  width: 5px; height: 5px;
  background: var(--blue-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== PROCESO ===== */
.proceso { background: var(--gray-50); position: relative; overflow: hidden; }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.proceso-card {
  padding: 40px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25,1,.5,1) var(--delay,0s),
              transform 0.7s cubic-bezier(0.25,1,.5,1) var(--delay,0s);
}
.proceso-card.visible { opacity: 1; transform: translateY(0); }

.proceso-num {
  font-family: var(--font-headings);
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-200);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -2px;
  transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}
.proceso-card:hover .proceso-num {
  -webkit-text-stroke-color: var(--blue-500);
}
.proceso-icon {
  width: 52px; height: 52px;
  background: var(--blue-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
  transition: transform 240ms var(--ease-out);
}
.proceso-card:hover .proceso-icon { transform: scale(1.08) rotate(-4deg); }
.proceso-card h3 {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.proceso-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.proceso-line {
  position: absolute;
  top: 52px;
  right: -1px;
  width: 1px;
  height: 60px;
  background: linear-gradient(var(--blue-200), transparent);
}

/* ===== TESTIMONIOS ===== */
.testimonios { background: var(--white); position: relative; overflow: hidden; }
.testimonios .container { max-width: 1400px; }

/* Carrusel */
.testi-carousel { position: relative; }
.testi-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 20px 4px 36px;
  cursor: grab;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:active { cursor: grabbing; }
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.testi-arrow {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 160ms var(--ease-out);
}
.testi-arrow:hover { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.testi-arrow:active { transform: scale(0.94); }
.testi-dots { display: flex; align-items: center; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}
.testi-dot.active { background: var(--blue-500); width: 24px; border-radius: 4px; }

.testi-card {
  background: var(--gray-50);
  border: none;
  border-top: 3px solid var(--blue-200);
  border-radius: 0;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(300px, 85vw, 420px);
  scroll-snap-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.testi-card:hover {
  border-top-color: var(--blue-500);
  box-shadow: var(--shadow-lg);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -28px; right: 24px;
  font-size: 140px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-100);
  line-height: 1;
  pointer-events: none;
  font-family: var(--font-headings);
}
.testi-featured {
  background: var(--ink);
  border-top-color: var(--blue-500);
  transform: translateY(-12px);
}
.testi-featured::before { -webkit-text-stroke-color: rgba(255,255,255,.08); }
.testi-featured .testi-text { color: rgba(255,255,255,.85); }
.testi-featured .testi-name { color: var(--white); }
.testi-featured .testi-role { color: rgba(255,255,255,.5); }
.testi-featured .testi-tag {
  background: rgba(255,255,255,.12);
  color: var(--blue-200);
}

.testi-stars {
  font-size: 18px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-900);
}
.testi-role {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}
.testi-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ===== GALLERY FILTERS ===== */
.gallery-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.gf-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform 350ms var(--ease-out), width 350ms var(--ease-out);
  z-index: 0;
  pointer-events: none;
}
.gf-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px 11px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 160ms var(--ease-out);
}
.gf-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.gf-btn:hover { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.gf-btn:active { transform: scale(0.96); }
.gf-btn.active {
  border-color: transparent;
  color: var(--white);
}
.gallery-card-h {
  transition: border-color 0.3s, transform 0.5s var(--ease-out), opacity 0.4s ease,
              width 0.4s var(--ease-in-out), margin 0.4s var(--ease-in-out), padding 0.4s var(--ease-in-out);
}
.gallery-card-h.gf-hidden {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
  pointer-events: none;
}

/* ===== BEFORE / AFTER SLIDER ===== */
.before-after { background: var(--gray-50); }
.ba-slider {
  --ba-pos: 50%;
  position: relative;
  max-width: 920px;
  margin: 56px auto 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  -webkit-user-select: none;
  user-select: none;
}
.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-after-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 var(--ba-pos));
}
.ba-label {
  position: absolute;
  top: 20px;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(6, 11, 24, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  pointer-events: none;
}
.ba-label-before { left: 20px; }
.ba-label-after { right: 20px; }
.ba-handle {
  position: absolute;
  top: 0;
  left: var(--ba-pos);
  height: 100%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 160ms var(--ease-out);
}
.ba-slider:active .ba-handle-circle { transform: scale(0.92); }

/* ===== FAQ ACCORDION ===== */
.faq { background: var(--white); }
.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.open { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s var(--ease-in-out), background 0.25s ease, color 0.25s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--blue-500);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-in-out);
}
.faq-answer-inner {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== DECORACIÓN EDITORIAL ===== */

/* Marco de esquinas (estilo "registro" de planos técnicos) */
.corner-frame { position: relative; }
.corner-frame::before,
.corner-frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 4;
  pointer-events: none;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.corner-frame::before {
  top: 12px; left: 12px;
  border-top: 2px solid rgba(255,255,255,.85);
  border-left: 2px solid rgba(255,255,255,.85);
}
.corner-frame::after {
  bottom: 12px; right: 12px;
  border-bottom: 2px solid rgba(255,255,255,.85);
  border-right: 2px solid rgba(255,255,255,.85);
}
.corner-frame:hover::before,
.corner-frame:hover::after {
  width: 28px;
  height: 28px;
}

/* Tick decorativo en las etiquetas de sección */
.section-label::before {
  box-shadow: -10px 0 0 0 var(--blue-200);
  border-radius: 1px;
}

/* Cruces técnicas decorativas (referencias de plano) */
.deco-cross {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--blue-200);
  pointer-events: none;
  z-index: 0;
}
.deco-cross::before,
.deco-cross::after {
  content: '';
  position: absolute;
  background: currentColor;
}
.deco-cross::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.deco-cross::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }

/* Patrón de puntos (textura tipo plano técnico) */
.before-after,
.faq {
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: -16px -16px;
}
.before-after .container,
.faq .container {
  position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual-side {
    clip-path: none;
    height: 360px;
    order: -1;
  }
  .hero-vertical-label { display: none; }
  .hero-text-side {
    padding: 140px var(--edge) 64px;
    text-align: center;
  }
  .hero-text-side::before { left: 50%; transform: translate(-50%, -40%); }
  .hero-badge, .hero-actions, .hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin: 0 auto 44px; }
  .floating-badge { top: 20px; right: 20px; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-visual { height: 320px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-line { display: none; }
  .testi-featured { transform: translateY(0); }
  .section-watermark { font-size: clamp(120px, 28vw, 260px); }

  .horizontal-pin-wrap { padding: 0 24px; }
  .gallery-card-h { width: 380px; }
  .gallery-image-wrap { height: 260px; }
  .reels-track { padding: 0 24px 16px; }
  .reel-card { width: 180px; }
}

@media (max-width: 768px) {
  .section { padding: 88px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-text-side { padding: 120px 24px 48px; }
  .hero-visual-side { height: 280px; }
  .hero-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .cta-inner { flex-direction: column; text-align: center; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .proceso-grid { grid-template-columns: 1fr; }
  .proceso-card { padding: 28px 20px; }
  .testi-track { gap: 16px; }
  .testi-nav { gap: 16px; }
  .horizontal-pin-wrap { padding: 0 20px; }
  .gallery-card-h { width: 300px; }
  .gallery-image-wrap { height: 200px; }
  .section-watermark { display: none; }
  .ba-slider { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
  .ba-label { font-size: 10px; padding: 6px 12px; }
  .faq-question { padding: 18px 20px; font-size: 14px; }
  .faq-answer-inner { padding: 0 20px 20px; }
  .reels-track { padding: 0 20px 16px; gap: 14px; }
  .reel-card { width: 150px; }
  .reel-play { width: 44px; height: 44px; }
  .reel-play svg { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { width: 100%; }
}
