/* =====================================================
   Mudanzas Aguadulce - Hoja de estilos
   ===================================================== */
:root {
  --azul: #ffffff;
  --azul-oscuro: #0a0a0a;
  --azul-claro: rgba(255, 255, 255, 0.08);
  --naranja: #dc2626;
  --naranja-oscuro: #b91c1c;
  --texto: #e5e7eb;
  --texto-suave: #9ca3af;
  --fondo: #171717;
  --blanco: #ffffff;
  --borde: rgba(255, 255, 255, 0.12);
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radio: 14px;
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rojo: #dc2626;
  --rojo-oscuro: #b91c1c;
  --negro: #111111;
  --negro-profundo: #0a0a0a;
  --verde: #16a34a;
  --verde-oscuro: #15803d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: var(--naranja-oscuro); text-decoration: none; }

.contenedor { width: min(1150px, 92%); margin: 0 auto; }

.icono { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

.btn-whatsapp {
  background: var(--naranja);
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.btn-whatsapp:hover { background: var(--naranja-oscuro); transform: translateY(-2px); }

.btn-claro {
  background: var(--blanco);
  color: var(--azul);
  box-shadow: var(--sombra);
}
.btn-claro:hover { background: var(--azul-claro); transform: translateY(-2px); }

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--blanco);
  padding-top: 14px;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabecera.oculto { transform: translateY(-135%); }

.cabecera .contenedor { pointer-events: auto; }

.cabecera.scroll .header-inner {
  background: rgba(10, 10, 10, 0.5);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  padding: 0 10px 0 12px;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--blanco); font-size: 1.05rem; }
.logo-imagen {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.pie-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
}
.logo-texto { font-weight: 400; }
.logo-texto strong { display: block; font-weight: 700; color: var(--naranja); font-size: 1.05rem; }

.nav-lista {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-lista a {
  color: #e8eef4;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-lista a:hover { color: var(--naranja); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 10px; }

.hamburguesa {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburguesa span {
  width: 26px; height: 3px;
  background: var(--blanco);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburguesa.abierto span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburguesa.abierto span:nth-child(2) { opacity: 0; }
.hamburguesa.abierto span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(239, 68, 68, 0.55), transparent 52%),
    radial-gradient(ellipse at 12% 85%, rgba(34, 197, 94, 0.5), transparent 52%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(160deg, #332423 0%, #171717 55%, #242424 100%);
  color: var(--blanco);
  text-align: center;
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(90deg, var(--rojo) 0%, var(--verde) 100%) 1;
}

.hero-etiqueta {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #ffd08a;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-titulo {
  position: relative;
  font-size: clamp(3.4rem, 13vw, 9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 12px 0 24px;
}
.titulo-linea {
  display: block;
  background-image: linear-gradient(110deg, #ffffff 38%, #ffe9e9 50%, #ffffff 62%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brillo-titulo 6s linear infinite;
}
.titulo-resaltado {
  background-image: linear-gradient(110deg, var(--rojo) 38%, #ff9d8a 50%, var(--rojo) 62%);
  filter: drop-shadow(0 14px 36px rgba(220, 38, 38, 0.45));
}
@keyframes brillo-titulo {
  0% { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .titulo-linea { color: #fff; background-image: none; }
  .titulo-resaltado { color: var(--rojo); }
}

/* Rayos de luz de fondo */
.hero-fondo {
  position: absolute;
  inset: -30% -40%;
  background: repeating-linear-gradient(65deg, transparent 0 95px, rgba(255, 255, 255, 0.05) 95px 175px);
  animation: mover-rayos 20s linear infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes mover-rayos {
  from { transform: translateX(0); }
  to { transform: translateX(-175px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fondo, .titulo-linea { animation: none; }
}

.hero-sub {
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  font-weight: 500;
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto 38px;
}

.hero-acciones .btn {
  padding: 17px 32px;
  font-size: 1.05rem;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-valores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-valores span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---------- Secciones ---------- */
.seccion { padding: 90px 0; }
.seccion-grid-alt { background: var(--fondo); }

.seccion-etiqueta {
  display: block;
  color: var(--naranja-oscuro);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.seccion-titulo {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--azul);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.seccion-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--texto-suave);
}

.seccion-subtitulo {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--azul);
  text-align: center;
  margin: 70px 0 32px;
  letter-spacing: 1px;
}

/* ---------- Sobre nosotros ---------- */
.sobre-nos-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.sobre-nos-texto p { margin-bottom: 16px; }

.sobre-nos-texto a.enlace-tel { font-weight: 700; }

.sobre-nos-lista {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}
.sobre-nos-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--azul);
}
.sobre-nos-lista li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--naranja);
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sobre-nos-tarjetas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tarjeta-valor {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
.tarjeta-valor:hover { transform: translateY(-4px); }
.tarjeta-valor .numero {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--naranja);
  margin-bottom: 4px;
}
.tarjeta-valor .texto { font-size: 0.9rem; color: var(--texto-suave); font-weight: 500; }

/* ---------- Servicios ---------- */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: 22px;
  align-items: start;
}

.servicio {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.servicio:hover { box-shadow: var(--sombra); transform: translateY(-3px); }

.servicio summary {
  list-style: none;
  cursor: pointer;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.servicio summary::-webkit-details-marker { display: none; }

.servicio-titulo {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--azul);
  padding-right: 24px;
}

.servicio-resumen {
  font-size: 0.92rem;
  color: var(--texto-suave);
}

.servicio-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--naranja-oscuro);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 4px;
}
.servicio-mas svg { width: 16px; height: 16px; transition: transform 0.3s ease; }

.servicio[open] .servicio-mas svg { transform: rotate(45deg); }

.servicio-cuerpo {
  padding: 0 26px 26px;
  border-top: 1px dashed var(--borde);
  animation: aparecer 0.3s ease;
}
.servicio-cuerpo p { margin: 16px 0 0; }

@keyframes aparecer {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lista-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.lista-tags li {
  background: var(--azul-claro);
  color: var(--azul);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
}

.telefonos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- Formularios ---------- */
.formulario {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.formulario label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azul);
}

.formulario label.casilla {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--texto);
  font-size: 0.85rem;
}
.formulario label.casilla input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--naranja); }

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--borde);
  border-radius: 10px;
  font-family: var(--fuente);
  font-size: 0.95rem;
  color: var(--texto);
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.formulario textarea { resize: vertical; }
.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.estado { min-height: 1.4em; font-size: 0.88rem; font-weight: 600; }
.estado.ok { color: #15803d; }
.estado.error { color: #b91c1c; }

.formulario button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Cobertura y servicios completos ---------- */
.cobertura-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  margin-top: 10px;
}

.cobertura-bloque {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 30px;
}
.cobertura-bloque h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cobertura-bloque h4::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--naranja), transparent);
}

.cobertura-lista {
  list-style: none;
  display: grid;
  gap: 12px;
}
.cobertura-lista li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.cobertura-lista li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--naranja);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

.cobertura-zona-intro { margin-bottom: 14px; font-size: 0.95rem; }

.cobertura-zonas { margin-top: 0; }

.cobertura-nacional {
  margin-top: 24px;
  background: var(--azul-claro);
  border-left: 4px solid var(--naranja);
  border-radius: 10px;
  padding: 16px 18px;
}
.cobertura-nacional strong { color: var(--azul); }
.cobertura-nacional p { font-size: 0.92rem; margin-top: 4px; }

.cobertura-limites {
  margin-top: 28px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--naranja-oscuro);
  border-radius: var(--radio);
  padding: 24px 28px;
}
.cobertura-limites h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 10px;
}
.cobertura-limites ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.cobertura-limites li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
}
.cobertura-limites li::before {
  content: "✕";
  color: var(--naranja-oscuro);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .cobertura-grid { grid-template-columns: 1fr; }
}

/* ---------- Galería ---------- */
.galeria-marquesina {
  position: relative;
  overflow: hidden;
}
.galeria-marquesina::before,
.galeria-marquesina::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.galeria-marquesina::before { left: 0; background: linear-gradient(90deg, #0e0e0e, transparent); }
.galeria-marquesina::after { right: 0; background: linear-gradient(270deg, #0e0e0e, transparent); }

.galeria-pista {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: deslizar-galeria 45s linear infinite;
}
.galeria-marquesina:hover .galeria-pista { animation-play-state: paused; }
@keyframes deslizar-galeria { to { transform: translate3d(-50%, 0, 0); } }

.galeria-item {
  flex: 0 0 auto;
  width: 330px;
  margin-right: 20px;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid var(--borde);
}
.galeria-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .galeria-pista { animation: none; }
}

/* ---------- Contacto ---------- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.contacto-info p { margin-bottom: 18px; }

.contacto-tel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 20px;
}

.contacto-form {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px;
}

/* ---------- Footer ---------- */
.pie {
  background: var(--azul-oscuro);
  color: #c8d6e3;
  padding: 56px 0 0;
}

.pie-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
}
.pie h4 { color: var(--blanco); margin-bottom: 10px; font-size: 1rem; }
.pie p { font-size: 0.9rem; }
.pie a:hover { color: var(--naranja); }
.politica-texto { font-size: 0.82rem !important; line-height: 1.6; }

.pie-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-flotante {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whatsapp-flotante svg { width: 30px; height: 30px; }
.whatsapp-flotante:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sobre-nos-grid,
  .contacto-grid { grid-template-columns: 1fr; }
  .pie-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburguesa { display: flex; }

  html, body { overflow-x: hidden; }

  .hero-titulo { font-size: clamp(2.9rem, 12.5vw, 9rem); }
  .hero-sub { max-width: 100%; }

  .nav {
    position: fixed;
    top: 96px; right: 14px;
    width: min(300px, 82vw);
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    padding: 12px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
  }
  .nav.abierto { opacity: 1; visibility: visible; transform: none; }

  .nav-lista { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-lista a { display: block; padding: 12px 14px; }
  .nav-cta { margin: 10px 0 0; }

  .seccion { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }

  .galeria-item { width: 260px; }
  .pie-inner { grid-template-columns: 1fr; }

  .hero-acciones .btn,
  .contacto-tel .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .hero-titulo { font-size: 2.7rem; }
  .hero-acciones .btn { padding: 15px 20px; font-size: 0.98rem; }
}

/* =====================================================
   ANIMACIONES Y MEJORAS
   ===================================================== */
html { scroll-padding-top: 110px; }

::selection { background: var(--naranja); color: #fff; }

/* ---------- Hero: animación de carga ---------- */
.hero { overflow: hidden; }

.hero-inner { position: relative; z-index: 1; }

.hero-inner > * { animation: fadeArriba 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.hero-inner > :nth-child(2) { animation-delay: 0.18s; }
.hero-inner > :nth-child(3) { animation-delay: 0.3s; }
.hero-inner > :nth-child(4) { animation-delay: 0.42s; }
.hero-inner > :nth-child(5) { animation-delay: 0.55s; }
.hero-inner > :nth-child(6) { animation-delay: 0.68s; }
.hero-inner > :nth-child(7) { animation-delay: 0.78s; }

@keyframes fadeArriba {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

/* Hero: orbes flotantes de fondo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 430px; height: 430px;
  background: var(--naranja);
  top: -90px; right: -70px;
  animation: flotar 9s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px;
  background: #1e6fb0;
  bottom: -80px; left: -70px;
  animation: flotar 11s ease-in-out infinite reverse;
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-28px); }
}

/* Hero: título (el brillo en bucle lo llevan solo las líneas .titulo-linea) */
.hero h1 { text-shadow: none; }

/* Hero: indicador de scroll */
.scroll-indicador { margin-top: 46px; }
.scroll-indicador span {
  display: block;
  width: 28px; height: 46px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  position: relative;
}
.scroll-indicador span::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 5px; height: 10px;
  border-radius: 3px;
  background: var(--naranja);
  transform: translateX(-50%);
  animation: moverRaton 1.6s ease-in-out infinite;
}
@keyframes moverRaton {
  0% { opacity: 1; transform: translate(-50%, 0); }
  60% { opacity: 0; transform: translate(-50%, 13px); }
  100% { opacity: 0; }
}

/* ---------- Reveal al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-izq { transform: translateX(-48px); }
.reveal-izq.visible { transform: none; }
.reveal-der { transform: translateX(48px); }
.reveal-der.visible { transform: none; }
.reveal-zoom { transform: scale(0.92); }
.reveal-zoom.visible { transform: none; }

/* Mantener transiciones de hover de tarjetas al combinar con .reveal */
.servicio.reveal,
.tarjeta-valor.reveal,
.cobertura-bloque.reveal,
.contacto-form.reveal {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}
.galeria-item.reveal { transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }

/* ---------- Botones: barrido de brillo ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  height: 100%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* ---------- WhatsApp flotante: pulso ---------- */
.whatsapp-flotante { animation: latido 2.2s infinite; }
@keyframes latido {
  0%, 100% { box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45), 0 0 0 0 rgba(34, 197, 94, 0.5); }
  55% { box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45), 0 0 0 18px rgba(34, 197, 94, 0); }
}

/* ---------- Nav: subrayado animado ---------- */
.nav-lista a { position: relative; }
.nav-lista a::after {
  content: "";
  position: absolute;
  left: 14px; right: 100%;
  bottom: 6px;
  height: 2px;
  background: var(--naranja);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-lista a:hover::after { right: 14px; }

/* ---------- Menú móvil: entrada escalonada ---------- */
.nav.abierto .nav-lista a { animation: fadeArriba 0.45s ease both; }
.nav.abierto .nav-lista li:nth-child(1) a { animation-delay: 0.05s; }
.nav.abierto .nav-lista li:nth-child(2) a { animation-delay: 0.1s; }
.nav.abierto .nav-lista li:nth-child(3) a { animation-delay: 0.15s; }
.nav.abierto .nav-lista li:nth-child(4) a { animation-delay: 0.2s; }
.nav.abierto .nav-lista li:nth-child(5) a { animation-delay: 0.25s; }
.nav.abierto .nav-lista li:nth-child(6) a { animation-delay: 0.3s; }

/* ---------- Micro-interacciones ---------- */
.hero-valores span { transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
.hero-valores span:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--naranja);
}

.lista-tags li { transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.lista-tags li:hover { transform: translateY(-2px); background: var(--naranja); color: #fff; }

.galeria-item { transition: box-shadow 0.3s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.galeria-item:hover { box-shadow: 0 18px 45px rgba(14, 58, 93, 0.25); }
.galeria-item img { filter: saturate(0.85) brightness(0.98); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease; }
.galeria-item:hover img { filter: saturate(1.1) brightness(1); transform: scale(1.07) rotate(0.5deg); }

.cabecera { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease; }

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   PALETA DEL LOGO: rojo, negro, blanco y verde
   ===================================================== */
/* WhatsApp y envíos en verde (asociación lógica con WhatsApp) */
.btn-whatsapp {
  background: var(--verde);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}
.btn-whatsapp:hover { background: var(--verde-oscuro); color: #ffffff; }

.whatsapp-flotante { background: var(--verde); }
.whatsapp-flotante:hover { background: var(--verde-oscuro); }

/* Marcas de "sí hacemos" en verde y "no hacemos" en rojo */
.sobre-nos-lista li::before,
.cobertura-lista li::before { background: var(--verde); }
.cobertura-limites li::before { color: var(--rojo-oscuro); }

/* Hero: etiqueta, brillo del título y orbes rojo/verde sobre negro */
.hero-etiqueta {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
}
.hero::before { background: #dc2626; }
.hero::after { background: #16a34a; }

/* Acentos rojos de marca */
.cobertura-nacional { border-left-color: var(--rojo); }
.cobertura-limites {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: var(--rojo-oscuro);
}
.lista-tags li:hover { background: var(--rojo); }

.hero-valores span:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--rojo);
}

.formulario input:focus,
.formulario textarea:focus {
  border-color: var(--rojo);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.formulario label.casilla input { accent-color: var(--verde); }

.galeria-item:hover { box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25); }

/* =====================================================
   TEMA OSCURO (cohesión con el hero) + utilidades
   ===================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body { background: #0e0e0e; }

.seccion-grid-alt { background: transparent; }

a { color: #f87171; }
a:hover { color: #fca5a5; }

.seccion-etiqueta,
.servicio-mas,
.cobertura-limites li::before { color: #f87171; }

/* Tarjetas y formularios en oscuro */
.servicio,
.tarjeta-valor,
.cobertura-bloque,
.contacto-form {
  background: #1d1d1d;
  border-color: rgba(255, 255, 255, 0.1);
}

.cobertura-limites {
  background: #261313;
  border-color: rgba(220, 38, 38, 0.35);
  border-left-color: var(--rojo-oscuro);
}

.cobertura-nacional {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--rojo);
}

.formulario input,
.formulario textarea {
  background: #101010;
  border-color: rgba(255, 255, 255, 0.16);
  color: #f3f4f6;
}
.formulario input::placeholder,
.formulario textarea::placeholder { color: #6b7280; }
.formulario label.casilla { color: #d1d5db; }

.btn-claro { background: #ffffff; color: #111111; }
.btn-claro:hover { background: #e5e7eb; }

.lista-tags li {
  background: rgba(255, 255, 255, 0.09);
  color: #e5e7eb;
}
.lista-tags li:hover { background: var(--rojo); color: #ffffff; }

.servicio-cuerpo { border-top-color: rgba(255, 255, 255, 0.12); }

/* =====================================================
   COLORES PRINCIPALES: rojo, negro, blanco y verde
   ===================================================== */
/* Títulos de sección con subrayado degradado rojo → verde */
.seccion-titulo::after {
  content: "";
  display: block;
  width: 110px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rojo), var(--verde));
}
.seccion-subtitulo::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--verde), var(--rojo));
}

/* Fondo alternado con toques de color de marca */
.seccion-grid-alt {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(220, 38, 38, 0.12), transparent 45%),
    radial-gradient(ellipse at 92% 100%, rgba(22, 163, 74, 0.12), transparent 45%),
    #161616;
}

/* Tarjetas de datos con franja superior roja/verde alternada */
.sobre-nos-tarjetas .tarjeta-valor { border-top: 4px solid var(--rojo); }
.sobre-nos-tarjetas .tarjeta-valor:nth-child(2),
.sobre-nos-tarjetas .tarjeta-valor:nth-child(4) { border-top-color: var(--verde); }

/* Bordes de servicio al pasar el ratón: rojo / verde alternos */
.servicio:hover { border-color: rgba(220, 38, 38, 0.6); }
.servicio:nth-child(even):hover { border-color: rgba(22, 163, 74, 0.6); }

/* Galería: contorno rojo/verde al pasar el ratón */
.galeria-item:hover { outline: 2px solid var(--rojo); outline-offset: 3px; }
.galeria-item:nth-child(even):hover { outline-color: var(--verde); }

/* Regla decorativa de los bloques de cobertura */
.cobertura-bloque h4::after {
  background: linear-gradient(90deg, var(--rojo), var(--verde));
}

/* Franja de colores sobre el footer */
.pie { position: relative; }
.pie::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rojo) 0%, #0a0a0a 50%, var(--verde) 100%);
}

/* Tarjeta de contacto con acento rojo */
.contacto-form { border-top: 4px solid var(--rojo); }

/* Chip de zona de trabajo en verde */
.lista-tags li { border: 1px solid transparent; }
.lista-tags li:nth-child(3n + 1) { border-color: rgba(22, 163, 74, 0.55); }
.lista-tags li:nth-child(3n + 2) { border-color: rgba(220, 38, 38, 0.55); }

/* Indicador de scroll en verde */
.scroll-indicador span::after { background: var(--verde); }

/* =====================================================
   ILUMINACIÓN DEL INICIO + MAPA
   ===================================================== */
.hero::before {
  opacity: 0.65;
  animation: flotar 9s ease-in-out infinite, latir 7s ease-in-out infinite;
}
.hero::after {
  opacity: 0.6;
  animation: flotar 11s ease-in-out infinite reverse, latir 9s ease-in-out infinite reverse;
}
@keyframes latir {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.hero-etiqueta {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.35);
}

.hero-valores span {
  background: rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.btn-whatsapp { box-shadow: 0 10px 26px rgba(34, 197, 94, 0.5); }
.btn-claro { box-shadow: 0 10px 26px rgba(255, 255, 255, 0.18); }

/* Mapa de Google Maps (retirado) */
.mapa-wrap { display: none; }

/* Formulario "te llamamos" siempre visible */
.te-llamamos {
  margin-top: 40px;
  padding: 30px;
  border-radius: var(--radio);
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: center;
}
.te-llamamos-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--verde);
}
.te-llamamos-info p { color: var(--texto-suave); margin: 0; }
.te-llamamos-form { display: grid; gap: 14px; margin: 0; }

@media (max-width: 720px) {
  .te-llamamos { grid-template-columns: 1fr; }
}
.mapa-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: contrast(1.02) brightness(1);
}

/* ---------- INICIO: colores principales desde el hero ---------- */
.hero-linea {
  width: 130px;
  height: 5px;
  margin: 4px auto 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rojo), var(--verde));
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.45);
}

.hero-valores span:nth-child(odd) { border-color: rgba(220, 38, 38, 0.5); }
.hero-valores span:nth-child(even) { border-color: rgba(22, 163, 74, 0.5); }

.hero-etiqueta {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.6);
  color: #fca5a5;
}

/* =====================================================
   Página de Política de Privacidad
   ===================================================== */
.pagina-politica {
  padding-top: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.politica-cabecera {
  position: sticky;
  top: 14px;
  z-index: 40;
  pointer-events: none;
  margin-bottom: 30px;
}
.politica-cabecera-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}
.politica-cabecera .logo-imagen { height: 42px; }

.politica-contenido {
  max-width: 860px;
  padding: 20px 0 70px;
  flex: 1;
}

.politica-contenido h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 8px;
}
.politica-contenido h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  margin: 12px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rojo), var(--verde));
}

.politica-fecha {
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.politica-contenido h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanco);
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--rojo);
}
.politica-contenido h2:nth-of-type(even) { border-left-color: var(--verde); }

.politica-contenido p { margin-bottom: 14px; }

.politica-contenido ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.politica-contenido ul li { margin-bottom: 8px; }

.politica-pie { padding: 24px 0; }
.politica-pie .contenedor { text-align: center; }
