/* ========================================
   PROCUSTOM - SITIO WEB OFICIAL
   Paleta de colores real de la marca
   ======================================== */

/* Variables de Color */
:root {
  /* Colores de Marca ProCustom */
  --rojo-procustom: #fd0371;      /* Rojo/Magenta vibrante - Pro */
  --blanco-custom: #fefefe;       /* Blanco - Custom Garage */
  --negro: #000000;               /* Negro - Fondos de contraste */
  --gris-oscuro: #2d2d2d;         /* Gris oscuro - Final de gradiente */
  --rojo-gradiente: #cf236f;      /* Rojo - Inicio de gradiente */
  
  /* Colores secundarios */
  --gris-medio: #666666;
  --gris-claro: #f5f5f5;
  
  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Tipografía */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-size-h1: 3rem;
  --font-size-h2: 2.5rem;
  --font-size-h3: 1.75rem;
  
  /* Bordes y sombras */
  --border-radius: 8px;
  --border-width: 2px;
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Optimización de imágenes global */
img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gris-oscuro);
  background-color: var(--blanco-custom);
  min-width: 375px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  min-width: 375px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
  background-color: var(--negro);
  color: var(--blanco-custom);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--rojo-procustom);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

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

.logo-row {
  display: flex;
  align-items: baseline;
}

.logo-pro {
  color: var(--rojo-procustom);
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-style: italic;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.logo-custom {
  color: var(--blanco-custom);
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-left: 5px;
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-style: italic;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.logo-garage {
  color: var(--negro);
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 3px;
  font-family: Impact, 'Arial Black', sans-serif;
  /* Texto negro con borde blanco (efecto outline) */
  -webkit-text-stroke: 2px var(--blanco-custom);
  paint-order: stroke fill;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-left: 0;
  margin-top: 2px;
}

.logo-icon {
  width: auto;
  height: 3rem;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  color: var(--blanco-custom);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--rojo-procustom);
}

.btn-whatsapp {
  background-color: var(--rojo-procustom);
  color: var(--blanco-custom);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  border: var(--border-width) solid var(--rojo-procustom);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: var(--blanco-custom);
  color: var(--rojo-procustom);
  border-color: var(--rojo-procustom);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  color: var(--blanco-custom);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  border-bottom: 5px solid var(--rojo-procustom);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Imágenes de fondo */
.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  filter: grayscale(0%) brightness(0.75) contrast(1.2);
  transition: opacity 0.8s ease, transform 3s ease-out;
}

/* Sistema de aparición/desaparición con degradé - 32 segundos total, 8s por imagen */

.hero-img:nth-child(1) {
  animation: showZoomPan1 32s ease-in-out infinite;
}

.hero-img:nth-child(2) {
  animation: showZoomPan2 32s ease-in-out infinite;
}

.hero-img:nth-child(3) {
  animation: showZoomPan3 32s ease-in-out infinite;
}

.hero-img:nth-child(4) {
  animation: showZoomPan4 32s ease-in-out infinite;
}

/* Imagen 1: 0-8s - Aparece, zoom en parte frontal inferior, desplaza a lateral, degradé sale */
@keyframes showZoomPan1 {
  0% {
    opacity: 0;
    transform: scale(1.05) translateY(5%);
    z-index: 5;
  }
  2% {
    opacity: 1;
    transform: scale(1.05) translateY(5%);
  }
  10%, 18% {
    opacity: 1;
    transform: scale(1.15) translate(8%, 8%);
    z-index: 5;
  }
  23% {
    opacity: 0;
    transform: scale(1.2) translate(10%, 10%);
    z-index: 5;
  }
  25%, 100% {
    opacity: 0;
    transform: scale(1.05) translateY(5%);
    z-index: 1;
  }
}

/* Imagen 2: 8-16s - Aparece, zoom en luces traseras, desplaza a ruedas, degradé sale */
@keyframes showZoomPan2 {
  0%, 23% {
    opacity: 0;
    transform: scale(1.08) translateY(6%);
    z-index: 1;
  }
  25% {
    opacity: 0;
    transform: scale(1.08) translateY(6%);
    z-index: 5;
  }
  27% {
    opacity: 1;
    transform: scale(1.08) translateY(6%);
  }
  35%, 43% {
    opacity: 1;
    transform: scale(1.2) translate(-10%, 10%);
    z-index: 5;
  }
  48% {
    opacity: 0;
    transform: scale(1.25) translate(-12%, 12%);
    z-index: 5;
  }
  50%, 100% {
    opacity: 0;
    transform: scale(1.08) translateY(6%);
    z-index: 1;
  }
}

/* Imagen 3: 16-24s - Aparece, zoom en faros inferiores, desplaza a lateral, degradé sale */
@keyframes showZoomPan3 {
  0%, 48% {
    opacity: 0;
    transform: scale(1.06) translateY(4%);
    z-index: 1;
  }
  50% {
    opacity: 0;
    transform: scale(1.06) translateY(4%);
    z-index: 5;
  }
  52% {
    opacity: 1;
    transform: scale(1.06) translateY(4%);
  }
  60%, 68% {
    opacity: 1;
    transform: scale(1.18) translate(9%, 9%);
    z-index: 5;
  }
  73% {
    opacity: 0;
    transform: scale(1.22) translate(12%, 12%);
    z-index: 5;
  }
  75%, 100% {
    opacity: 0;
    transform: scale(1.06) translateY(4%);
    z-index: 1;
  }
}

/* Imagen 4: 24-32s - Aparece, zoom en parte frontal baja, desplaza a llantas, degradé sale */
@keyframes showZoomPan4 {
  0%, 73% {
    opacity: 0;
    transform: scale(1.1) translateY(7%);
    z-index: 1;
  }
  75% {
    opacity: 0;
    transform: scale(1.1) translateY(7%);
    z-index: 5;
  }
  77% {
    opacity: 1;
    transform: scale(1.1) translateY(7%);
  }
  85%, 93% {
    opacity: 1;
    transform: scale(1.25) translate(-8%, 11%);
    z-index: 5;
  }
  98% {
    opacity: 0;
    transform: scale(1.3) translate(-10%, 13%);
    z-index: 5;
  }
  100% {
    opacity: 0;
    transform: scale(1.1) translateY(7%);
    z-index: 1;
  }
}

.hero:hover .hero-img {
  filter: grayscale(0%) brightness(0.85) contrast(1.3);
}

/* Fondos animados */
.hero .bg {
  animation: slide 8s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, rgba(253, 3, 113, 0.4) 50%, rgba(45, 45, 45, 0.4) 50%);
  bottom: 0;
  left: -50%;
  opacity: 0.7;
  position: absolute;
  right: -50%;
  top: 0;
  z-index: 1;
}

.hero .bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 10s;
}

.hero .bg3 {
  animation-duration: 12s;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(25%);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s, transform 0.3s;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.hero-content:hover {
  box-shadow: 0px 0px 70px rgba(253, 3, 113, 0.5);
  transform: scale(1.02);
}

.hero-content .circleLight {
  top: 0;
  left: 0;
  opacity: 0;
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.5s;
  position: absolute;
  border-radius: var(--border-radius);
  background: radial-gradient(circle at 80px 40px, rgba(253, 3, 113, 0.3), transparent);
  pointer-events: none;
}

.hero-content:hover .circleLight {
  opacity: 1;
}

.hero h1 {
  font-size: var(--font-size-h1);
  margin-bottom: var(--spacing-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blanco-custom);
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: var(--font-size-large);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  color: var(--blanco-custom);
  position: relative;
  z-index: 1;
}

.hero-description {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  color: var(--blanco-custom);
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Botones */
.btn {
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  display: inline-block;
  border: var(--border-width) solid transparent;
}

.btn-primary {
  background-color: var(--rojo-procustom);
  color: var(--blanco-custom);
  border-color: var(--rojo-procustom);
}

.btn-primary:hover {
  background-color: var(--blanco-custom);
  color: var(--rojo-procustom);
  border-color: var(--rojo-procustom);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blanco-custom);
  border-color: var(--blanco-custom);
}

.btn-secondary:hover {
  background-color: var(--blanco-custom);
  color: var(--rojo-procustom);
  border-color: var(--blanco-custom);
}

.btn-secondary-large {
  background-color: var(--negro);
  color: var(--blanco-custom);
  border-color: var(--rojo-procustom);
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-secondary-large:hover {
  background-color: var(--rojo-procustom);
  border-color: var(--rojo-procustom);
}

/* ========================================
   VALORES
   ======================================== */

.valores {
  background-color: var(--gris-claro);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  border-top: 3px solid var(--gris-medio);
  border-bottom: 3px solid var(--gris-medio);
}

.valores-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--negro);
  font-style: italic;
}

/* ========================================
   REDES SOCIALES FRANJA
   ======================================== */

.redes-sociales {
  background: linear-gradient(135deg, var(--negro) 0%, var(--gris-oscuro) 100%);
  padding: var(--spacing-md) 0;
  border-top: 3px solid var(--rojo-procustom);
  border-bottom: 3px solid var(--rojo-procustom);
}

.redes-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.red-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--blanco-custom);
  transition: all 0.3s ease;
  padding: var(--spacing-sm);
}

.red-social-link:hover {
  transform: translateY(-5px);
}

.red-social-icon {
  width: 60px;
  height: 60px;
  background-color: var(--blanco-custom);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--rojo-procustom);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(253, 3, 113, 0.3);
}

/* Efecto graffiti/spray con pseudo-elementos */
.red-social-icon::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 40%, var(--rojo-procustom) 40%, var(--rojo-procustom) 45%, transparent 45%);
  opacity: 0.15;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

.red-social-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 20% 30%, var(--rojo-procustom) 1px, transparent 1px),
    radial-gradient(circle at 80% 25%, var(--rojo-procustom) 1.5px, transparent 1.5px),
    radial-gradient(circle at 15% 70%, var(--rojo-procustom) 1px, transparent 1px),
    radial-gradient(circle at 85% 75%, var(--rojo-procustom) 1.2px, transparent 1.2px),
    radial-gradient(circle at 50% 10%, var(--rojo-procustom) 0.8px, transparent 0.8px),
    radial-gradient(circle at 30% 85%, var(--rojo-procustom) 1px, transparent 1px),
    radial-gradient(circle at 70% 90%, var(--rojo-procustom) 1.3px, transparent 1.3px),
    radial-gradient(circle at 10% 50%, var(--rojo-procustom) 0.9px, transparent 0.9px),
    radial-gradient(circle at 90% 50%, var(--rojo-procustom) 1.1px, transparent 1.1px);
  opacity: 0.4;
  z-index: -1;
  filter: blur(0.5px);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.25;
  }
}

.red-social-icon svg {
  width: 32px;
  height: 32px;
  color: var(--negro);
  transition: color 0.3s ease;
}

.red-social-link:hover .red-social-icon {
  background-color: var(--rojo-procustom);
  transform: scale(1.1);
}

.red-social-link:hover .red-social-icon svg {
  color: var(--blanco-custom);
}

.red-social-link span {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   ESTADÍSTICAS
   ======================================== */

.estadisticas {
  background-color: var(--blanco-custom);
  padding: var(--spacing-xl) var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-md);
  border: 3px solid var(--rojo-procustom);
  border-radius: var(--border-radius);
  background-color: var(--blanco-custom);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(253, 3, 113, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--rojo-procustom);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gris-oscuro);
  font-weight: 600;
  line-height: 1.4;
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */

.section-title {
  font-size: var(--font-size-h2);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--negro);
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-large);
  color: var(--gris-medio);
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   SERVICIOS DESTACADOS
   ======================================== */

.servicios-destacados {
  background-color: var(--blanco-custom);
  padding: var(--spacing-xl) var(--spacing-md);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.servicio-card {
  background-color: var(--blanco-custom);
  border: 3px solid var(--rojo-procustom);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(253, 3, 113, 0.3);
}

.servicio-card.destacado {
  border-width: 5px;
  border-color: var(--rojo-procustom);
}

.servicio-imagen {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.servicio-imagen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.servicio-content {
  padding: var(--spacing-sm) var(--spacing-md);
}

.servicio-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.servicio-card h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-xs);
  color: var(--negro);
}

.servicio-categoria {
  font-size: var(--font-size-small);
  font-weight: bold;
  color: var(--gris-medio);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servicio-descripcion {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  color: var(--gris-oscuro);
}

.servicio-features {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.servicio-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gris-claro);
  color: var(--gris-oscuro);
}

.servicio-features li:before {
  content: "✓ ";
  font-weight: bold;
  color: var(--negro);
  margin-right: 0.5rem;
}

.btn-servicio {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background-color: var(--negro);
  color: var(--blanco-custom);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  border: var(--border-width) solid var(--negro);
  transition: all 0.3s ease;
}

.btn-servicio:hover {
  background-color: var(--blanco-custom);
  color: var(--negro);
}

.ver-todos {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* ========================================
   CTA TURNOS
   ======================================== */

.cta-turnos {
  background: linear-gradient(135deg, var(--negro) 0%, var(--gris-oscuro) 100%);
  color: var(--blanco-custom);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  border-top: 5px solid var(--rojo-procustom);
  border-bottom: 5px solid var(--rojo-procustom);
}

.cta-turnos h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  color: var(--blanco-custom);
}

.cta-turnos p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--blanco-custom);
}

.btn-cta {
  background-color: var(--rojo-procustom);
  color: var(--blanco-custom);
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
  border: 3px solid var(--rojo-procustom);
}

.btn-cta:hover {
  background-color: var(--blanco-custom);
  color: var(--rojo-procustom);
  border-color: var(--rojo-procustom);
}

/* ========================================
   GALERÍA PREVIEW
   ======================================== */

.galeria-preview {
  background-color: var(--gris-claro);
  padding: var(--spacing-xl) var(--spacing-md);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.galeria-item {
  aspect-ratio: 4/3;
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.galeria-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--blanco-custom);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gris-medio);
  font-weight: bold;
}

.galeria-placeholder p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.galeria-placeholder span {
  font-size: 0.9rem;
  color: var(--gris-oscuro);
}

/* ========================================
   UBICACIÓN
   ======================================== */

.ubicacion {
  background: linear-gradient(180deg, var(--blanco-custom) 0%, var(--gris-claro) 100%);
  padding: var(--spacing-xl) var(--spacing-md);
}

.ubicacion-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.ubicacion-titulo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--negro);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 var(--spacing-sm) 0;
  position: relative;
  display: inline-block;
}

.ubicacion-titulo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--rojo-procustom);
  border-radius: 2px;
}

.ubicacion-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rojo-procustom), transparent);
  margin: var(--spacing-md) auto 0;
}

.ubicacion-mapa-container {
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(253, 3, 113, 0.15);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.ubicacion-leyenda {
  background: linear-gradient(135deg, #1a1a1a 0%, var(--negro) 50%, #1a1a1a 100%);
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  border: 3px solid var(--rojo-procustom);
  border-bottom: 2px solid var(--rojo-procustom);
  position: relative;
  overflow: hidden;
}

.ubicacion-leyenda::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(253, 3, 113, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.leyenda-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.ubicacion-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(253, 3, 113, 0.5));
  animation: pulse 2s ease-in-out infinite;
}

.leyenda-texto {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.leyenda-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rojo-procustom);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ubicacion-direccion {
  color: var(--blanco-custom);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-ver-mapa {
  background: var(--rojo-procustom);
  color: var(--blanco-custom);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(253, 3, 113, 0.3);
}

.btn-ver-mapa:hover {
  background: #e00264;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 3, 113, 0.5);
}

.ubicacion-mapa {
  border: 3px solid var(--rojo-procustom);
  border-top: none;
  overflow: hidden;
  height: 400px;
  position: relative;
}

.ubicacion-mapa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--rojo-procustom) 0%, 
    transparent 50%, 
    var(--rojo-procustom) 100%);
  z-index: 1;
  pointer-events: none;
}

.ubicacion-mapa iframe {
  display: block;
  filter: grayscale(0.1) contrast(1.05);
  transition: filter 0.3s ease;
}

.ubicacion-mapa:hover iframe {
  filter: grayscale(0) contrast(1.1);
}


.redes-sociales {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.red-social {
  padding: 0.75rem;
  background-color: var(--negro);
  color: var(--blanco-custom);
  text-decoration: none;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: bold;
  border: var(--border-width) solid var(--negro);
  transition: all 0.3s ease;
}

.red-social:hover {
  background-color: var(--blanco-custom);
  color: var(--negro);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: var(--negro);
  color: var(--blanco-custom);
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
  border-top: 5px solid var(--rojo-procustom);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--gris-oscuro);
  margin-bottom: var(--spacing-xs);
}

.footer-logo img {
  height: 35px;
  width: auto;
}

.footer-info {
  flex: 1;
  min-width: 200px;
}

.footer-text {
  color: var(--gris-claro);
  font-size: 0.85rem;
  margin: 0 0 0.3rem 0;
}

.footer-ubicacion {
  color: var(--gris-claro);
  font-size: 0.8rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--gris-claro);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  padding: 0.3rem 0.6rem;
  border-left: 2px solid var(--rojo-procustom);
}

.footer-nav a:hover {
  color: var(--rojo-procustom);
}

.footer-contact {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.footer-contact a {
  color: var(--gris-claro);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--blanco-custom);
}

.footer-grid {
  display: none;
}

.footer-col h4 {
  display: none;
}

.footer-col p {
  display: none;
}

.footer-links {
  display: none;
}

.footer-contacto {
  display: none;
}

.btn-footer-whatsapp {
  display: none;
}

.footer-bottom {
  text-align: center;
  color: var(--gris-claro);
  padding: var(--spacing-xs) 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.footer-note {
  display: none;
}

/* ========================================
   BOTÓN FLOTANTE WHATSAPP
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--blanco-custom);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--rojo-procustom);
  z-index: 999;
  transition: all 0.3s ease;
  overflow: visible;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(253, 3, 113, 0.7);
}

.whatsapp-float:hover .whatsapp-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.whatsapp-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.whatsapp-qr-popup {
  position: absolute;
  right: 80px;
  bottom: 0;
  background-color: var(--blanco-custom);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--rojo-procustom);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateX(10px);
  min-width: 180px;
  text-align: center;
}

.whatsapp-qr-popup::after {
  content: '';
  position: absolute;
  right: -12px;
  bottom: 20px;
  width: 0;
  height: 0;
  border-left: 12px solid var(--rojo-procustom);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.whatsapp-qr-popup::before {
  content: '';
  position: absolute;
  right: -9px;
  bottom: 21px;
  width: 0;
  height: 0;
  border-left: 9px solid var(--blanco-custom);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  z-index: 1;
}

.qr-image {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto 0.5rem;
  border: 2px solid var(--gris-medio);
  border-radius: 8px;
}

.qr-text {
  font-size: 0.85rem;
  color: var(--negro);
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whatsapp-icon {
  line-height: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Optimizaciones para tablets y móviles */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.5rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo-pro,
  .logo-custom {
    font-size: 1.6rem;
    letter-spacing: -1px;
  }
  
  .logo-garage {
    font-size: 1rem;
    letter-spacing: 2px;
    -webkit-text-stroke: 1.5px var(--blanco-custom);
  }
  
  .logo-icon {
    width: auto;
    height: 2.2rem;
  }
  
  .navbar .container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--gris-oscuro);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .servicio-imagen {
    height: 150px;
  }
  
  .ubicacion-grid {
    grid-template-columns: 1fr;
  }
  
  .ubicacion-leyenda {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-sm);
  }
  
  .btn-ver-mapa {
    width: 100%;
  }
  
  .ubicacion-mapa {
    height: 300px;
  }
  
  .redes-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .red-social-link {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xs);
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .whatsapp-qr-popup {
    display: none !important;
  }
}

/* Ajustes específicos para móviles pequeños (375px-640px) */
@media (max-width: 640px) {
  :root {
    --font-size-h1: 1.5rem;
    --font-size-h2: 1.35rem;
    --spacing-sm: 0.65rem;
    --spacing-md: 1.2rem;
  }
  
  body {
    font-size: 13px;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-description {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .ubicacion-titulo {
    font-size: 1.5rem;
  }
  
  .servicio-card h3 {
    font-size: 1.15rem;
  }
  
  .servicio-categoria {
    font-size: 0.7rem;
  }
  
  .servicio-descripcion {
    font-size: 0.85rem;
  }
  
  .servicio-features li {
    font-size: 0.8rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  
  /* Mantener redes sociales horizontales */
  .redes-content {
    flex-direction: row;
    justify-content: space-around;
    gap: var(--spacing-xs);
  }
  
  .red-social-link {
    flex-direction: column;
    width: auto;
    font-size: 0.75rem;
  }
  
  .red-social-icon {
    width: 50px;
    height: 50px;
  }
  
  .red-social-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .ubicacion-leyenda {
    padding: var(--spacing-xs);
  }
  
  .leyenda-label {
    font-size: 0.65rem;
  }
  
  .ubicacion-direccion {
    font-size: 0.9rem;
  }
  
  .btn-ver-mapa {
    font-size: 0.8rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .footer-logo img {
    height: 35px;
  }
  
  .footer-text,
  .footer-ubicacion {
    font-size: 0.85rem;
  }
  
  .footer-nav a {
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.7rem;
  }
}

/* ========================================
   PÁGINA DE SERVICIOS COMPLETOS
   ======================================== */

.servicios-completos {
  background-color: var(--blanco-custom);
  padding: var(--spacing-lg) var(--spacing-md);
}

.categoria-servicios {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background-color: var(--gris-claro);
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
}

.categoria-titulo {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--negro);
  text-align: center;
  text-transform: uppercase;
  border-bottom: 3px solid var(--negro);
  padding-bottom: var(--spacing-sm);
}

.categoria-descripcion {
  text-align: center;
  color: var(--gris-medio);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

/* ========================================
   PÁGINA DE GALERÍA
   ======================================== */

.galeria-completa {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--blanco-custom);
}

.galeria-categoria {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 3px solid var(--negro);
}

.galeria-categoria:last-child {
  border-bottom: none;
}

.galeria-grid-extended {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.galeria-item-grande {
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--gris-claro);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item-grande:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.galeria-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--gris-claro);
  border: 2px dashed var(--gris-medio);
  padding: var(--spacing-md);
  text-align: center;
}

.galeria-placeholder p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gris-medio);
  margin-bottom: var(--spacing-xs);
}

.galeria-placeholder span {
  font-size: 0.9rem;
  color: var(--gris-medio);
}

/* Instagram CTA */
.instagram-cta {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--gris-claro);
  text-align: center;
  border-top: 3px solid var(--negro);
  border-bottom: 3px solid var(--negro);
}

.instagram-cta h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--negro);
}

.instagram-cta p {
  font-size: 1.1rem;
  color: var(--gris-medio);
  margin-bottom: var(--spacing-lg);
}

.instagram-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsivo Galería */
@media (max-width: 768px) {
  .galeria-grid-extended {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .instagram-buttons {
    flex-direction: column;
    align-items: center;
  }

  .instagram-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ========================================
   PÁGINA NOSOTROS
   ======================================== */

.nosotros-historia {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--gris-claro);
}

.historia-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.historia-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--negro);
  text-transform: uppercase;
}

.historia-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  color: var(--gris-medio);
  text-align: justify;
}

/* Pilares (Misión, Visión, Valores) */
.nosotros-pilares {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--blanco-custom);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.pilar-card {
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  text-align: center;
  background-color: var(--gris-claro);
}

.pilar-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.pilar-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--negro);
  text-transform: uppercase;
}

.pilar-card p {
  color: var(--gris-medio);
  line-height: 1.6;
}

.valores-lista {
  list-style: none;
  padding: 0;
  text-align: left;
}

.valores-lista li {
  margin-bottom: var(--spacing-sm);
  color: var(--gris-medio);
  line-height: 1.6;
}

.valores-lista strong {
  color: var(--negro);
}

/* Ventajas */
.nosotros-ventajas {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--gris-claro);
}

.nosotros-ventajas h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xl);
  color: var(--negro);
  text-transform: uppercase;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.ventaja-card {
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  background-color: var(--blanco-custom);
  transition: transform 0.3s ease;
}

.ventaja-card:hover {
  transform: translateY(-5px);
}

.ventaja-numero {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gris-medio);
  margin-bottom: var(--spacing-sm);
}

.ventaja-card h4 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--negro);
}

.ventaja-card p {
  color: var(--gris-medio);
  line-height: 1.6;
}

/* Servicios Resumen */
.nosotros-servicios {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--blanco-custom);
}

.nosotros-servicios h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xl);
  color: var(--negro);
  text-transform: uppercase;
}

.servicios-resumen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.servicio-categoria-resumen {
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  background-color: var(--gris-claro);
}

.servicio-categoria-resumen h4 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  color: var(--negro);
}

.servicio-categoria-resumen ul {
  list-style: none;
  padding: 0;
}

.servicio-categoria-resumen li {
  margin-bottom: var(--spacing-xs);
  color: var(--gris-medio);
  padding-left: var(--spacing-sm);
  border-left: 3px solid var(--negro);
}

.nosotros-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* Ubicación en Nosotros */
.nosotros-ubicacion {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--gris-claro);
}

.nosotros-ubicacion h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xl);
  color: var(--negro);
  text-transform: uppercase;
}

.ubicacion-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.ubicacion-texto {
  padding: var(--spacing-lg);
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  background-color: var(--blanco-custom);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.ubicacion-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--gris-claro);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.ubicacion-item:hover {
  border-color: var(--rojo-procustom);
  background-color: var(--blanco-custom);
  transform: translateX(5px);
}

.ubicacion-emoji {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.ubicacion-item h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: var(--negro);
  font-weight: 700;
}

.ubicacion-item p {
  margin: 0;
  color: var(--gris-medio);
  line-height: 1.6;
}

.ubicacion-item a {
  color: var(--rojo-procustom);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.ubicacion-item a:hover {
  color: var(--negro);
  text-decoration: underline;
}

.ubicacion-texto h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-md);
  color: var(--negro);
}

.ubicacion-texto h3:first-child {
  margin-top: 0;
}

.ubicacion-texto p {
  color: var(--gris-medio);
  line-height: 1.8;
}

.ubicacion-texto .direccion {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

.ubicacion-mapa {
  border: 3px solid var(--negro);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.mapa-placeholder {
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--gris-claro);
  border: 2px dashed var(--gris-medio);
  padding: var(--spacing-md);
}

.mapa-placeholder p {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.mapa-placeholder span {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--negro);
  margin-bottom: var(--spacing-xs);
}

.mapa-placeholder small {
  color: var(--gris-medio);
}

/* Responsivo Nosotros */
@media (max-width: 768px) {
  .pilares-grid {
    grid-template-columns: 1fr;
  }

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

  .servicios-resumen {
    grid-template-columns: 1fr;
  }

  .ubicacion-info {
    grid-template-columns: 1fr;
  }
}

@media print {
  .navbar,
  .whatsapp-float,
  .btn-whatsapp {
    display: none;
  }
}
