/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --bg: #080c14;
  --bg-2: #0d1220;
  --bg-card: #101624;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --text-primary: #f0f0f0;
  --text-secondary: #7a8499;
  --text-muted: #3a4255;
  --accent: #4d8fff;
  --accent-2: #f5c518;
  --accent-dim: rgba(77,143,255,0.12);
  --accent-dim2: rgba(77,143,255,0.06);
  --wa-green: #25d366;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1500px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent-2); color: #000; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img, svg { display: block; }

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.reveal-delay-1 { transition-delay: 0.1s; }
.reveal.reveal-delay-2 { transition-delay: 0.22s; }
.reveal.reveal-delay-3 { transition-delay: 0.34s; }
.reveal.reveal-delay-4 { transition-delay: 0.46s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.section { padding: 100px 0; position: relative; scroll-margin-top: 100px; }
.section-dark { background: var(--bg-2); }
section[id] { scroll-margin-top: 100px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
  display: block;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-2);
  color: #0a0a0a;
  border-color: var(--accent-2);
}
.btn-primary:hover {
  background: #f0b800;
  border-color: #f0b800;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--accent-2); }
.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
  margin-top: 24px;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  box-shadow: 0 8px 24px rgba(37,211,102,0.28);
  transform: translateY(-1px);
}
.btn-whatsapp svg { width: 18px; height: 18px; }
.full-width { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--transition), border-bottom var(--transition);
}
.navbar.scrolled {
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  width: 100%; padding: 6px clamp(40px, 5vw, 80px);
}
.logo { display: flex; align-items: center; gap: 0; padding: 9px 20px; }

.logo-nav {
  height: 120px;
  width: auto;
  border-radius: 4px;
  transform: translateY(-8px);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 75%, transparent 100%);
}

.nav-inner {
  overflow: visible;
}

.nav-logo, .nav-cta-wrap { flex: 1; display: flex; }
.nav-logo { justify-content: flex-start; }
.nav-cta-wrap { justify-content: flex-end; }
.nav-links { flex: 0 0 auto; }


.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.82rem; color: var(--text-secondary); transition: color var(--transition); }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { padding: 9px 20px; font-size: 0.8rem; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; padding: 140px 24px 40px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(77,143,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245,197,24,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none; opacity: 0.5;
}
.hero-content { text-align: left; max-width: 700px; position: relative; z-index: 1; }
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}
.hero-container { position: relative; z-index: 1; }

.hero-quick-contact {
  flex: 0 0 380px;
  text-align: left;
}
.quick-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.q-contact-item { margin-bottom: 32px; }
.q-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.q-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 4px;
  transition: color var(--transition);
  white-space: nowrap;
}
.q-phone-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: color var(--transition), transform var(--transition);
}
.q-phone:hover .q-phone-icon {
  color: var(--accent-2);
  transform: rotate(-12deg);
}
.q-phone + .q-phone { margin-bottom: 8px; }
.q-phone:hover { color: #fff; }
.q-phones {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  margin-bottom: 8px;
}
.q-or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 6px 0;
}
.q-or::before,
.q-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.q-sub { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

.q-address { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 16px; }
.q-map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  height: 160px;
}
.q-map-embed iframe { 
  display: block; 
  filter: invert(90%) hue-rotate(180deg) saturate(0.9) brightness(0.85);
  transition: filter var(--transition);
}
.q-map-embed:hover iframe {
  filter: invert(90%) hue-rotate(180deg) saturate(1) brightness(0.9);
}
.q-map-link {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.q-map-link::before {
  content: '';
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ea4335;
  box-shadow: 0 0 0 0 rgba(234,67,53,0.6);
  animation: mapPulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes mapPulse {
  0%   { box-shadow: 0 0 0 0 rgba(234,67,53,0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(234,67,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,67,53,0); }
}
.q-map-link:hover { color: var(--accent-2); }
.q-map-link:hover::before { background: #ff5a4d; }
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 28px; color: var(--text-primary);
}
.hero-title .accent { color: var(--accent-2); font-weight: 600; }
.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 44px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─────────────────────────────────────────
   NUMBERS BAR
───────────────────────────────────────── */
.section-numbers {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.numbers-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.num-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; min-width: 120px; text-align: center;
}
.num-val {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--accent-2);
  letter-spacing: -0.02em; line-height: 1;
}
.num-label { font-size: 0.8rem; color: var(--text-secondary); }
.num-divider {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   SERVICES CARDS
───────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; gap: 4px;
}
.card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.card-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--accent); }
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary);
}
.card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(77,143,255,0.15);
  border-radius: 100px; padding: 4px 12px;
  align-self: flex-start;
}

.ghost-card {
  visibility: hidden;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   SLIDER / TRABAJOS
───────────────────────────────────────── */
.slider-wrapper {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  transform: translateZ(0); /* FIX overflow hidden bugs on Safari */
}
/* Preserve the Safari translateZ(0) after .reveal.visible overrides the transform */
.slider-wrapper.reveal.visible {
  transform: translateZ(0);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  gap: 24px;
}

.slide {
  min-width: 100%;
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.slide-img {
  height: 460px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s ease;
}

.slide-img--1 {
  background: url('images/reemplazomangueras.png') center/cover no-repeat;
}
.slide-img--2 {
  background: url('images/rbflexNiples.png') center/cover no-repeat;
}
.slide-img--3 {
  background: url('images/cambiojuntastoricas.png') center/cover no-repeat;
}
.slide-img--4 {
  background:
    linear-gradient(160deg, #0e200e 0%, #163018 40%, #0b1a0b 100%);
}
.slide-img--5 {
  background:
    linear-gradient(160deg, #1a1010 0%, #2e1414 40%, #1c0d0d 100%);
}
.slide-img--6 {
  background:
    linear-gradient(160deg, #101008 0%, #222200 40%, #121200 100%);
}



.slide-info {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid var(--border);
}

.slide-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.slide-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.slide-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Arrow buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(8,12,20,0.7);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn--prev { left: 20px; }
.slider-btn--next { right: 20px; }
.slider-btn:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #0a0a0a;
  transform: translateY(-50%) scale(1.08);
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
  padding: 0;
}
.dot.active {
  background: var(--accent-2);
  width: 24px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   VALUES GRID
───────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.value-card:hover {
  border-color: rgba(245,197,24,0.25);
  transform: translateY(-3px);
}
.value-icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 14px; }
.value-icon svg { width: 100%; height: 100%; }
.value-card h4 {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  margin-bottom: 8px; color: var(--text-primary);
}
.value-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; }

/* ─────────────────────────────────────────
   INDUSTRIES
───────────────────────────────────────── */
.industries-wrap {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.industry-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-primary);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  transition-delay: 0s !important;
  cursor: default;
}
.industry-tag:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(245,197,24,0.08);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  transition-delay: 0s !important;
}

/* ─────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────── */
.steps {
  display: flex; flex-direction: column; gap: 0;
  max-width: 680px; margin: 0 auto;
}
.step { display: flex; gap: 28px; align-items: flex-start; }
.step-num {
  font-family: var(--font-head);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent-2);
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content { padding: 10px 0 0; }
.step-content h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 8px;
}
.step-content p { font-size: 0.875rem; color: var(--text-secondary); }
.step-connector {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(245,197,24,0.3), transparent);
  margin-left: 23px;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: flex-start; }
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-item:first-child { padding-top: 0; }
.contact-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block; font-size: 0.78rem; color: var(--text-muted);
  font-weight: 500; margin-bottom: 3px; letter-spacing: 0.04em;
}
.contact-item span { font-size: 0.95rem; color: var(--text-primary); }
.contact-item a {
  display: block; font-size: 0.95rem; color: var(--text-primary);
  transition: color var(--transition);
  white-space: nowrap;
}
.contact-item a:hover { color: var(--accent-2); }
.contact-phones {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
}
.contact-or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 4px 0;
}
.contact-or::before,
.contact-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form #submit-btn { margin-top: 18px; }
.form-feedback {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 6px;
  min-height: 1.2em;
  color: var(--text-secondary);
}
.form-feedback--ok { color: var(--wa-green); }
.form-feedback--err { color: #ea4335; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-size: 0.78rem; color: var(--text-secondary);
  font-weight: 500; letter-spacing: 0.03em;
}
.field-group input,
.field-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.875rem;
  padding: 13px 16px; outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-muted); }
.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--accent);
  background: var(--accent-dim2);
}

/* ─────────────────────────────────────────
   MISIÓN / VISIÓN
───────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.mv-card:last-child::before {
  background: linear-gradient(90deg, var(--accent-2), transparent);
}
.mv-card:hover {
  border-color: rgba(77,143,255,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.mv-card:last-child:hover {
  border-color: rgba(245,197,24,0.3);
}
.mv-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(77,143,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.mv-icon-wrap svg { width: 36px; height: 36px; }
.mv-icon-wrap--vision {
  background: rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.2);
  color: var(--accent-2);
}
.mv-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.mv-tag--vision { color: var(--accent-2); }
.mv-card h3 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.mv-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
@media (max-width: 700px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 24px; }
}

/* ─────────────────────────────────────────
   FACILITY ADDRESS
───────────────────────────────────────── */
.facility-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.facility-address svg {
  width: 16px;
  height: 16px;
  color: #ea4335;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   MAP EMBED
───────────────────────────────────────── */
.map-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px) 60px;
}
.map-wrapper iframe {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border) !important;
  filter: invert(90%) hue-rotate(180deg) saturate(0.9) brightness(0.85);
  display: block;
  transition: filter var(--transition), border-color var(--transition);
}
.map-wrapper iframe:hover {
  border-color: rgba(245,197,24,0.35) !important;
  filter: invert(90%) hue-rotate(180deg) saturate(1) brightness(0.9);
}
.map-clickable {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-overlay-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(8,12,20,0.55) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.map-overlay-link:hover,
.map-overlay-link:focus-visible {
  opacity: 1;
  outline: none;
}
.map-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent-2);
  color: #0a0a0a;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transform: translateY(8px);
  transition: transform var(--transition);
}
.map-overlay-link:hover .map-cta,
.map-overlay-link:focus-visible .map-cta {
  transform: translateY(0);
}
.map-cta svg {
  width: 16px;
  height: 16px;
  color: #ea4335;
}
.map-overlay-link--sm { padding: 12px; }
.map-cta--sm {
  padding: 7px 14px;
  font-size: 0.72rem;
  gap: 6px;
}
.map-cta--sm svg { width: 13px; height: 13px; }
@media (hover: none) {
  .map-overlay-link { opacity: 1; }
  .map-cta { transform: translateY(0); }
}
@media (max-width: 600px) {
  .map-wrapper iframe { height: 300px; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text-primary); }

/* ─────────────────────────────────────────
   WHATSAPP BUBBLE
───────────────────────────────────────── */
.wa-bubble {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow var(--transition), opacity var(--transition);
  opacity: 0; transform: scale(0.6); pointer-events: none;
}
.wa-bubble.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-bubble.visible.wa-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}
.wa-bubble:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-bubble:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
.wa-icon { width: 34px; height: 34px; color: #fff; flex-shrink: 0; }
.wa-tooltip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(8,12,20,0.95); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.78rem; font-weight: 500;
  white-space: nowrap; padding: 8px 14px;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%); border: 6px solid transparent;
  border-left-color: var(--border);
}
.wa-bubble.visible::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
/* ── WIDE DESKTOP ≥ 1300px ── */
@media (min-width: 1300px) {
  .cards-grid   { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .values-grid  { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; }
  .slide-img    { height: 520px; }
  .slide-info   { padding: 60px 60px; }
  .section      { padding: 120px 0; }
  .section-header { margin-bottom: 72px; }
}

/* ── EXTRA WIDE ≥ 1600px (4 columnas) ── */
@media (min-width: 1600px) {
  .cards-grid  { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── TABLET / SMALL DESKTOP ≤ 900px ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-layout { flex-direction: column; gap: 48px; text-align: center; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-quick-contact { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; }
  .nav-links { display: none; }
  .num-divider { display: none; }
  .numbers-grid { justify-content: center; gap: 32px; }
  .slide { grid-template-columns: 1fr; }
  .slide-img    { height: 280px; }
  .slider-btn { top: 140px; transform: translateY(-50%); }
  .slider-btn:hover { transform: translateY(-50%) scale(1.08); }
  .logo-nav { height: 90px; transform: translateY(0); }
  .logo { padding: 4px 8px; }
  .nav-cta { padding: 6px 14px; font-size: 0.72rem; }
}

/* ─────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.reveal-delay-1,
  .reveal.reveal-delay-2,
  .reveal.reveal-delay-3,
  .reveal.reveal-delay-4 { transition-delay: 0s; }
  .slider-track { transition: none !important; }
  .scroll-line { animation: none; opacity: 0.5; }
  .wa-bubble.visible::before { animation: none; }
  .q-map-link::before { animation: none; }
  .card, .value-card, .mv-card, .btn, .btn-primary, .btn-whatsapp { transition: none; }
}

/* ── MOBILE ≤ 600px ── */
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  /* Reduce section vertical padding on mobile */
  .section { padding: 64px 0; }
  .section-numbers { padding: 36px 0; }

  /* Hero */
  .hero { padding: 120px 20px 30px; }
  .hero-layout { flex-direction: column; gap: 48px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-quick-contact { flex: 1; width: 100%; max-width: 400px; margin: 0 auto; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .hero-sub { font-size: 0.95rem; margin-bottom: 32px; }

  /* Keep nav CTA visible on mobile (it's the main conversion point) */
  .nav-cta {
    display: inline-flex;
    padding: 7px 14px;
    font-size: 0.72rem;
  }

  /* Logo mobile */
  .logo-nav {
    height: 80px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    transform: translateY(0);
  }
  .logo { padding: 0 4px; display: block; max-width: 100%; }
  .nav-logo { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .nav-cta-wrap { flex: 0 0 auto; }
  .nav-inner { padding: 4px 10px; overflow: hidden; gap: 8px; }
  .nav-cta {
    margin-top: 0;
    padding: 7px 12px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  /* Slider */
  .slide-info { padding: 28px 24px; gap: 12px; }
  .slide-img { height: 220px; }
  .slider-btn { top: 110px; transform: translateY(-50%); }
  .slider-btn:hover { transform: translateY(-50%) scale(1.08); }

  /* Steps */
  .step { gap: 18px; }
  .steps { max-width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }

  /* WhatsApp bubble */
  .wa-bubble { bottom: 20px; right: 20px; width: 62px; height: 62px; }
  .wa-icon { width: 30px; height: 30px; }
}
