/* ═══════════════════════════════════════════════════════════
   RAESA — Mantenimiento Industrial Integral
   Hoja de estilos principal
   ─────────────────────────────────────────────────────────
   CÓMO PERSONALIZAR COLORES:
   Cambia los valores de las variables en :root (líneas 15-45)
═══════════════════════════════════════════════════════════ */

/* ── Variables / Design tokens ──────────────────────────── */
:root {
  /* Paleta principal — azul marino RAESA */
  --dark-900: #060d18;
  --dark-800: #0b1828;
  --dark-700: #112240;  /* azul marino del logo */
  --dark-600: #1e3a5f;  /* azul RAESA principal  */
  --dark-500: #2a4e7a;

  /* Acento amarillo dorado — color logo */
  --accent:       #f5b700;
  --accent-dark:  #d4a000;
  --accent-light: #ffd454;
  --accent-glow:  rgba(245, 183, 0, 0.22);
  --accent-glow2: rgba(245, 183, 0, 0.09);

  /* Grises industriales — engranajes del logo */
  --light-100: #f4f6f8;
  --light-200: #dde3ea;
  --gray-400:  #8b96a5;  /* gris engranajes logo */
  --gray-500:  #5e6e80;
  --white:     #ffffff;

  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Espaciado de secciones */
  --section-py: 100px;

  /* Contenedor */
  --max-w: 1200px;
  --px: clamp(20px, 5vw, 40px);

  /* Sombras */
  --shadow-sm:     0 2px 8px  rgba(0,0,0,0.14);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.22);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.32);
  --shadow-accent: 0 6px 30px rgba(245, 183, 0, 0.40);

  /* Radios */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-full: 9999px;

  /* Transición */
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-600);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Utilidades ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.text-accent { color: var(--accent); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 16px;
  background: var(--accent-glow2);
  border: 1px solid var(--accent-glow);
  border-radius: var(--r-full);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark-700);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin-top: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin-inline: auto; }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--r-full);
  transition: var(--ease);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(245, 183, 0, 0.50);
  filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--accent);
  border: 2px solid var(--accent);
  background: transparent;
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* ── Animaciones de entrada ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.delay-1.fade-in { transition-delay: 0.15s; }
.delay-2.fade-in { transition-delay: 0.30s; }

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 18px 0;
}

.navbar.scrolled {
  background: rgba(10, 17, 32, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.logo-img    { height: 52px; width: auto; }

.logo-text-block { display: flex; flex-direction: column; line-height: 1; }

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark-700);
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--accent); }

.logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--white); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white) !important;
  padding: 9px 22px;
  box-shadow: var(--shadow-accent);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-900);
}

/* ─── IMAGEN DE FONDO HERO ───────────────────────────────
   Para cambiar la imagen: sustituye la ruta en url()
   Ruta recomendada: ../images/hero-bg.jpg (1920×1080px)
   Si no hay imagen, el gradiente animado sirve de fondo
──────────────────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--dark-700);
  transform: scale(1.04);
  animation: heroBgZoom 18s ease-in-out infinite alternate;
}

/* Efecto de luz ambiental (siempre visible) */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  top: -20%; right: -15%;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes heroBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,9,15,0.90) 0%, rgba(5,9,15,0.55) 100%),
    linear-gradient(to top,   rgba(5,9,15,0.70) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 140px 100px;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-brand {
  display: inline-block;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(249,115,22,0.4);
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-desc strong { color: var(--white); }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-line {
  width: 2px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.5; }
}

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--dark-600) 0%, var(--dark-700) 100%);
  border-top: 1px solid rgba(249,115,22,0.2);
  border-bottom: 1px solid rgba(249,115,22,0.2);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-item > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════════════════════ */
.about {
  padding-block: var(--section-py);
  background: var(--light-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Imagen */
.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/6;
  background: var(--dark-600);
}

.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover .about-img { transform: scale(1.04); }

/* Fallback cuando no hay imagen */
.about-img-wrap.img-fallback {
  background: linear-gradient(135deg, var(--dark-600) 0%, var(--dark-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-wrap.img-fallback::after {
  content: 'Coloca tu imagen en\A images/about.jpg';
  white-space: pre;
  color: var(--gray-400);
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--font-heading);
}

/* Badge de experiencia */
.about-badge {
  position: absolute;
  bottom: 28px;
  right: -24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border-radius: var(--r-md);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  box-shadow: var(--shadow-accent);
  min-width: 120px;
  text-align: center;
  line-height: 1.2;
}
.about-badge .counter { font-size: 2.2rem; }
.about-badge > span:last-child { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; opacity: 0.9; }

/* Decoración */
.about-deco-1 {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border: 3px solid var(--accent);
  border-radius: var(--r-md);
  opacity: 0.35;
  z-index: -1;
}
.about-deco-2 {
  position: absolute;
  bottom: 60px; right: 20px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse 3s ease-in-out infinite;
}

/* Texto */
.about-copy .section-title { margin-bottom: 20px; }

.about-copy p {
  color: var(--gray-500);
  margin-bottom: 16px;
}
.about-copy p strong { color: var(--dark-700); font-weight: 700; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 28px 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--dark-600);
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent-glow);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon svg { width: 12px; height: 12px; stroke: var(--accent); }

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════════════════ */
.services {
  padding-block: var(--section-py);
  background: var(--dark-700);
}

.services .section-title { color: var(--white); }
.services .section-sub   { color: var(--gray-400); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 36px 28px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--accent-glow);
  border: 1.5px solid rgba(249,115,22,0.3);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--ease);
}
.service-card:hover .service-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.service-icon {
  width: 28px; height: 28px;
  stroke: var(--accent);
  transition: stroke 0.3s ease;
}
.service-card:hover .service-icon { stroke: var(--white); }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link span { transition: transform 0.3s ease; }
.service-link:hover { color: var(--accent); }
.service-link:hover span { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════
   GALERÍA / CARRUSEL
══════════════════════════════════════════════════════════ */
.gallery {
  padding-block: var(--section-py);
  background: var(--dark-800);
}

.gallery .section-title { color: var(--white); }
.gallery .section-sub   { color: var(--gray-400); }

.carousel-wrapper {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/8;
  background: var(--dark-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback slide sin imagen */
.carousel-slide.slide-fallback {
  background: linear-gradient(135deg, var(--dark-500) 0%, var(--dark-600) 100%);
}
.carousel-slide.slide-fallback::before {
  content: attr(data-label);
  color: var(--gray-400);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* Overlay de info en slide */
.slide-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 36px 28px;
  background: linear-gradient(to top, rgba(5,9,15,0.92) 0%, transparent 100%);
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-glow);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
}

.slide-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(10, 17, 32, 0.8);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--ease);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  right: 28px;
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  transition: var(--ease);
}
.carousel-dots .dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--accent);
}

/* ══════════════════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════════════════ */
.contact {
  padding-block: var(--section-py);
  background: var(--dark-700);
}

.contact .section-title { color: var(--white); }
.contact .section-sub   { color: var(--gray-400); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* Formulario */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }

.form-group select { color: var(--gray-400); cursor: pointer; }
.form-group select option { background: var(--dark-600); color: var(--white); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(249,115,22,0.06);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: -6px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--r-sm);
  color: #4ade80;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success[hidden] { display: none; }

/* Info + Mapa */
.info-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  transition: border-color 0.3s ease;
}
.info-card:hover { border-color: rgba(249,115,22,0.3); }

.info-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--accent-glow);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.info-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-card strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.info-card a,
.info-card span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
}
.info-card a:hover { color: var(--accent); }

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { display: block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark-900);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 50px;
}

.footer-brand .logo-text-block { margin-bottom: 16px; }

.footer-slogan {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 260px;
  font-style: italic;
}

/* Redes sociales */
.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--ease);
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* Columnas del footer */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

/* Contacto en footer */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact li svg { width: 15px; height: 15px; stroke: var(--accent); flex-shrink: 0; }
.footer-contact li a  { font-size: 0.88rem; color: var(--gray-500); transition: color 0.2s ease; }
.footer-contact li a:hover { color: var(--accent); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 20px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--ease);
}

.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.55);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: var(--shadow-md);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark-700);
  border-right: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid   { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { max-width: 480px; margin-inline: auto; }
  .about-badge  { right: 0; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-py: 70px; }

  /* Navbar mobile */
  .hamburger { display: flex; }

  .navbar-menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 9, 15, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
  }
  .navbar-menu.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.3rem;
    padding: 14px 28px;
  }

  /* Hero */
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { justify-content: center; }
  .hero-scroll-indicator { display: none; }

  /* Stats */
  .stats-grid   { gap: 10px; }
  .stat-divider { display: none; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }

  /* Servicios */
  .services-grid { grid-template-columns: 1fr; }

  /* Carrusel */
  .carousel-slide { aspect-ratio: 4/3; }
  .carousel-btn   { width: 38px; height: 38px; }

  /* Formulario */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }

  /* WhatsApp */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile pequeño (≤ 480px)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .about-badge { right: 0; bottom: 16px; }
  .slide-info  { padding: 20px 22px 18px; }
}
