/* ============================================================
   REDEX v2 — Tesla-inspired. Full-bleed sections. Minimal.
   Palette: Near-black bg · White text · Amber #F5A623 accent
   ============================================================ */

/* === TOKENS === */
:root {
  --amber:        #F5A623;
  --amber-deep:   #E08A00;
  --amber-light:  #FFBE4D;
  --amber-glow:   rgba(245,166,35,0.10);
  --amber-border: rgba(200,130,0,0.22);

  --bg:           #ffffff;
  --bg-2:         #f7f6f3;
  --bg-3:         #f0ede8;
  --border:       rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.16);

  --text:         #0f0f0f;
  --text-muted:   #666;
  --text-faint:   #bbb;

  --font-display: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-display-condensed: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs:   clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --text-sm:   clamp(0.85rem, 0.8rem  + 0.25vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem  + 0.25vw, 1.05rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.35rem);
  --text-xl:   clamp(1.4rem,  1.1rem  + 1.5vw,  2.2rem);
  --text-2xl:  clamp(2rem,    1rem    + 3.5vw,  4rem);
  --text-hero: clamp(2.8rem,  0.5rem  + 6.5vw,  7rem);

  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t:    200ms var(--ease);

  --content: 1140px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  min-height: 100dvh;
  color-scheme: light;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--r-sm); }

/* === LAYOUT === */
.container {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
}

/* === EYEBROW === */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow--amber { color: var(--amber); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7em 1.8em;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--white {
  background: #fff;
  color: #000;
}
.btn--white:hover { background: rgba(255,255,255,0.88); }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
}

.service-hero__btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.btn--amber {
  background: var(--amber);
  color: #000;
  font-weight: 700;
}
.btn--amber:hover {
  background: var(--amber-light);
  box-shadow: 0 0 28px rgba(245,166,35,0.3);
}

.btn--sm { padding: 0.55em 1.3em; font-size: var(--text-xs); }
.btn--full { width: 100%; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav--scrolled {
  border-color: rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.98);
}
.nav__inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* Logo */
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2.5vw, var(--space-8));
  margin-left: auto;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--t);
}
.nav__links a:hover { color: #fff; }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 0.45em 1.1em;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background var(--t), border-color var(--t);
}
.nav__cta:hover { background: rgba(255,255,255,0.18); }

/* Hamburger */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--space-2); }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; border-radius: 2px; transition: all var(--t); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-4) clamp(var(--space-4), 4vw, var(--space-10));
}
.nav__mobile.is-open { display: flex; }
.nav__ml {
  padding: 0.85em 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--t);
}
.nav__ml:last-child { border-bottom: none; }
.nav__ml:hover, .nav__ml--cta { color: var(--amber); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(245,166,35,0.07) 0%, transparent 70%),
              var(--bg);
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.13) 0%, transparent 65%);
  top: -100px; right: -80px;
}
.hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 65%);
  bottom: 100px; left: -80px;
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
  width: 100%;
}
.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  display: block;
}
.hero__h1 {
  font-size: var(--text-hero);
  font-family: var(--font-display-condensed);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}
.hero__h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--amber);
}
.hero__p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

/* Hero video background */
.hero--video {
  background: #0a0a0a;
}
.hero__video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.65) 100%
  );
}
.hero--video .hero__body { z-index: 2; }
.hero--video .hero__scroll-hint { z-index: 2; }
.hero--video .hero__scroll-hint span {
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
}
.stats-bar__inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}
.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.stats-bar__item strong {
  font-family: var(--font-display-condensed);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
  line-height: 1;
}
.stats-bar__item span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.stats-bar__div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .stats-bar__div { display: none; }
  .stats-bar__inner { gap: var(--space-6) var(--space-8); }
}

/* === SERVICE HERO (Tesla-style full sections) === */
.service-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.service-hero:hover .service-hero__bg { transform: scale(1.02); }

/* Background gradients as placeholder visuals */
/* Note: solar bg replaced by carrusel JS — gradient kept for other sections */

/* ===================== SOLAR CAROUSEL ===================== */
.solar-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0a0a0a; /* fallback while media loads */
}

.solar-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.solar-carousel__slide--active {
  opacity: 1;
}

.solar-carousel__slide video,
.solar-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Disable the old hover-scale on the fotovoltaico section bg
   (carousel manages its own transitions) */
#fotovoltaico.service-hero:hover .service-hero__bg { transform: none; }

/* ===================== AGUA CAROUSEL ===================== */
.agua-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0a1018;
}
.agua-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.agua-carousel__slide--active { opacity: 1; }
.agua-carousel__slide video,
.agua-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#agua.service-hero:hover .service-hero__bg { transform: none; }

/* ===================== HVAC CAROUSEL ===================== */
.hvac-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0a0d12;
}
.hvac-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.hvac-carousel__slide--active { opacity: 1; }
.hvac-carousel__slide video,
.hvac-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#climatizacion.service-hero:hover .service-hero__bg { transform: none; }

/* ===================== GAS CAROUSEL ===================== */
.gas-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #0d0d0a;
}
.gas-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.gas-carousel__slide--active { opacity: 1; }
.gas-carousel__slide video,
.gas-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#combustibles.service-hero:hover .service-hero__bg { transform: none; }
.service-hero__bg--hvac {
  background:
    linear-gradient(135deg, #0a0d12 0%, #0d1520 40%, #0a1018 100%);
}
.service-hero__bg--hvac::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(85,145,199,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(245,166,35,0.06) 0%, transparent 60%);
}
.service-hero__bg--water {
  background:
    linear-gradient(135deg, #080d12 0%, #0a1520 40%, #081018 100%);
}
.service-hero__bg--water::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(30,120,160,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(245,166,35,0.05) 0%, transparent 60%);
}
.service-hero__bg--fuel {
  background:
    linear-gradient(135deg, #0c0d0a 0%, #181510 40%, #110f0a 100%);
}
.service-hero__bg--fuel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 60% 35%, rgba(180,120,40,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 65%, rgba(245,166,35,0.07) 0%, transparent 60%);
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.15) 100%);
  z-index: 1;
}

/* Content on right for --right variant */
.service-hero--right { justify-content: flex-end; }
.service-hero--right .service-hero__content { text-align: right; }
.service-hero--right .service-hero__content .btn { margin-left: auto; }

.service-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  width: 100%;
  margin-inline: auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-6), 5vw, var(--space-12));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}
.service-hero--right .service-hero__content {
  align-items: flex-end;
}

.service-hero__h2 {
  font-size: var(--text-hero);
  font-family: var(--font-display-condensed);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.service-hero__p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  max-width: 44ch;
  line-height: 1.6;
}

/* === SYSTEMS GRID (FV) === */
.systems-grid {
  background: var(--bg-2);
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
}
.systems-grid__inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 860px) {
  .systems-grid__inner { grid-template-columns: 1fr; }
}

.sys-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.sys-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.sys-card--featured {
  border-color: var(--amber-border);
  background: linear-gradient(160deg, var(--bg-3) 0%, rgba(245,166,35,0.04) 100%);
}
.sys-card--featured:hover { border-color: rgba(245,166,35,0.45); }

.sys-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--amber);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.sys-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-glow);
  border: 1px solid var(--amber-border);
  border-radius: var(--r-md);
  color: var(--amber);
  flex-shrink: 0;
}
.sys-card__icon svg { width: 26px; height: 26px; }

.sys-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.01em;
}
.sys-card > p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  flex: 1;
  line-height: 1.65;
}
.sys-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sys-card ul li {
  font-size: var(--text-sm);
  color: rgba(0,0,0,0.45);
  padding-left: var(--space-4);
  position: relative;
}
.sys-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.65;
}

/* Brands strip */
.brands-strip {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
  margin-top: var(--space-10);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.brands-strip__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-shrink: 0;
}
.brands-strip__logos {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.brand-logo {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t);
}
.brand-logo:hover { color: var(--text); }
.brand-div {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* === SUB SERVICES GRID === */
.sub-services {
  background: var(--bg);
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  border-bottom: 1px solid var(--border);
}
.sub-services__inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-12));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1000px) {
  .sub-services__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .sub-services__inner { grid-template-columns: 1fr; }
}

.sub-card {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
}
.sub-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: #000;
  margin-bottom: var(--space-3);
}
.sub-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* === EFICIENCIA ENERGÉTICA STRIP === */
.service-strip {
  background: var(--bg-2);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-strip__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 760px) {
  .service-strip__content { grid-template-columns: 1fr; }
}
.service-strip__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.service-strip__text h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-display-condensed);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.service-strip__text p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.service-strip__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.strip-item {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
}
.strip-item:last-child { border-bottom: 1px solid var(--border); }
.strip-item__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--amber);
  flex-shrink: 0;
  width: 2.5ch;
}
.strip-item strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: #000;
  margin-bottom: var(--space-2);
}
.strip-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* === ABOUT / EMPRESA === */
.about {
  background: var(--bg);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 760px) {
  .about__layout { grid-template-columns: 1fr; }
}
.about__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.about__left h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-display-condensed);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.about__left p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.about__value {
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.about__value strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: var(--space-2);
}
.about__value p { font-size: var(--text-sm); color: var(--text-muted); }

/* Timeline */
.about__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about__tl-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.about__tl-item:last-child { border-bottom: 1px solid var(--border); }
.about__tl-year {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-faint);
  flex-shrink: 0;
  width: 4ch;
  transition: color var(--t);
}
.about__tl-item:hover .about__tl-year { color: var(--amber); }
.about__tl-item--current .about__tl-year { color: var(--amber); }
.about__tl-item p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }
.about__tl-year { color: var(--text-faint) !important; }

/* === CONTACT === */
.contact {
  background: var(--bg-2);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  border-top: 1px solid var(--border);
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 860px) {
  .contact__layout { grid-template-columns: 1fr; }
}
.contact__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: calc(68px + var(--space-8));
}
.contact__left h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-display-condensed);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.contact__left > p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 860px) {
  .contact__left { position: static; }
}

.contact__data {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.contact__data-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact__data-item svg {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__data-item strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact__data-item span {
  font-size: var(--text-sm);
  color: var(--text);
}

/* Form */
.contact__form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--r-md);
  padding: 0.75em 1em;
  font-size: var(--text-base);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(245,166,35,0.6);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}
.form-group select option { background: #fff; color: #000; }
.form-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
}

/* Form success */
.form--success {
  align-items: center;
  justify-content: center;
  min-height: 260px;
  text-align: center;
}
.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.form__success-icon {
  width: 52px; height: 52px;
  background: var(--amber-glow);
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.form__success h3 { font-size: var(--text-lg); color: #000; }
.form__success p { font-size: var(--text-sm); color: var(--text-muted); max-width: 36ch; }

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
}
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
  align-items: start;
}
@media (max-width: 700px) {
  .footer__top { grid-template-columns: 1fr; }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  /* En footer oscuro futuro se puede invertir con filter: invert(1) */
}
.footer__tagline {
  font-size: var(--text-xs);
  color: #aaa;
  letter-spacing: 0.06em;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
@media (max-width: 580px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__col strong {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}
.footer__col a, .footer__col span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--space-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up--d1 { transition-delay: 0.1s; }
.fade-up--d2 { transition-delay: 0.2s; }
.fade-up--d3 { transition-delay: 0.3s; }
