/* ==========================================================================
   JESPRINT MÉXICO - ESTILOS VANGUARDISTAS Y SISTEMA DE DISEÑO
   Color de marca principal: Lime Green #84cc16 / Obsidian Dark #0b0f17
   ========================================================================== */

:root {
  /* Paleta de colores principal basada en el Logo Jesprint */
  --primary-color: #84cc16;
  --primary-hover: #65a30d;
  --primary-glow: rgba(132, 204, 22, 0.4);
  --primary-light: #a3e635;
  --accent-gold: #f59e0b;
  
  /* Fondos y Capas */
  --bg-dark: #0b0f17;
  --bg-dark-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  
  /* Textos */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  /* Bordes y Sombras */
  --border-color: rgba(132, 204, 22, 0.18);
  --border-hover: rgba(132, 204, 22, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(132, 204, 22, 0.25);
  
  /* Tipografía */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout */
  --max-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 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;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.text-center { text-align: center; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 60%, #4d7c0f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

/* SECCIONES Y ENCABEZADOS */
.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(132, 204, 22, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  color: #0b0f17;
  box-shadow: 0 4px 20px rgba(132, 204, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(132, 204, 22, 0.5);
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(132, 204, 22, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-light);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 1.25rem 2.75rem;
  font-size: 1.2rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.btn-light:hover {
  background: #ffffff;
  color: var(--primary-hover);
}

.btn-whatsapp-header {
  background: #25d366;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
}

.btn-whatsapp-header:hover {
  background: #1ebd56;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-card {
  width: 100%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  font-size: 0.95rem;
  padding: 0.75rem;
  margin-top: 1rem;
}

.btn-whatsapp-card:hover {
  background: #25d366;
  color: #ffffff;
}

.btn-block { width: 100%; }

/* TOP BAR */
.top-bar {
  background: #06090e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info a:hover {
  color: var(--primary-color);
}

.top-badge {
  background: rgba(132, 204, 22, 0.15);
  color: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

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

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(132, 204, 22, 0.3));
  transition: var(--transition);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  /* El resplandor decorativo se sale del borde derecho: sin este recorte
     la página gana scroll horizontal en móvil. */
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(132, 204, 22, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(132, 204, 22, 0.08) 0%, transparent 40%);
}

.hero-splatter-bg {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(132, 204, 22, 0.1);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(132, 204, 22, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-feature-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border: 1px solid var(--border-color);
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-main-img {
  transform: scale(1.04);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-floating-badge i {
  font-size: 2rem;
  color: var(--primary-color);
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-floating-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ESTADÍSTICAS */
.stats-section {
  background: var(--bg-dark-surface);
  border-y: 1px solid var(--border-color);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  display: inline-block;
}

.stat-plus {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* SERVICIOS CARD (CASCADA) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.service-image-box {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image-box img {
  transform: scale(1.08);
}

.service-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 15, 23, 0.85);
  color: var(--primary-light);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(132, 204, 22, 0.12);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.service-checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.service-checklist li i {
  color: var(--primary-color);
}

.service-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: #ffffff;
  gap: 0.8rem;
}

/* CATÁLOGO DE PRODUCTOS GRID */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: #0b0f17;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary-color);
  color: #0b0f17;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
  text-transform: uppercase;
}

.product-badge.accent { background: var(--accent-gold); color: #000; }
.product-badge.luxury { background: #e2e8f0; color: #000; }

.product-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-details h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.product-features {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 1rem;

}

.product-features i {
  color: var(--primary-color);
}

/* VENTAJAS (WHY US) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.2) 0%, rgba(132, 204, 22, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.advantage-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PROCESO PASO A PASO */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(132, 204, 22, 0.15);
}

.step-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA BANNER */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #0b0f17 0%, #172554 50%, #0b0f17 100%);
  border-y: 1px solid var(--border-color);
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-light-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-light-outline:hover {
  background: #ffffff;
  color: #0b0f17;
}

/* FAQS ACCORDION */
.accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* FORMULARIO DE CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.method-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(132, 204, 22, 0.15);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.method-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.method-card a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.method-card a:hover {
  color: var(--primary-color);
}

.contact-hours {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--primary-light);
  background: rgba(132, 204, 22, 0.08);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.contact-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(11, 15, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(132, 204, 22, 0.25);
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #25d366;
  color: #25d366;
}

/* FOOTER */
.site-footer {
  background: #06090e;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background: var(--primary-color);
  color: #0b0f17;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;

}

.footer-col ul a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-geo-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--primary-color);
}

.footer-bottom {
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* WHATSAPP FLOTANTE */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.whatsapp-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(11, 15, 23, 0.92);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* MODAL DE PRODUCTO */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}

.modal-close:hover {
  background: var(--primary-color);
  color: #000;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Sin esto, el ancho mínimo del contenido (un botón que no parte línea)
   ensancha la columna y el modal se sale de la pantalla en móvil. */
.modal-img-col,
.modal-info-col {
  min-width: 0;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.modal-info-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-info-col h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-info-col p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.modal-badge-item {
  font-size: 0.88rem;
  color: var(--primary-light);
}

.modal-cta {
  margin-top: auto;
}

/* AVISO DE PRIVACIDAD MODAL */
.footer-privacy-link {
  color: var(--primary-light);
  transition: var(--transition);
}

.footer-privacy-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-separator {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 2.5rem auto; }
  .hero-buttons { justify-content: center; }
  .hero-features-grid { max-width: 500px; margin: 0 auto; }
  
  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-content { flex-direction: column; gap: 0.4rem; text-align: center; }
  .top-bar-info { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
  .top-bar-cta { display: none; }
  
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2.1rem; }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #0b0f17;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .mobile-toggle { display: block; }
  .btn-whatsapp-header { display: none; }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .catalog-grid,
  .advantages-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom-content { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  .modal-body { grid-template-columns: 1fr; }
  .modal-info-col { padding: 1.75rem; }
  .whatsapp-tooltip { display: none; }

  /* En pantallas angostas los textos largos de los botones no caben en una
     línea: dejamos que partan en lugar de desbordar la pantalla. */
  .btn {
    white-space: normal;
    text-align: center;
  }
  .btn-lg,
  .btn-xl {
    width: 100%;
    font-size: 1rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   ACCESIBILIDAD
   ========================================================================== */

/* Enlace para saltar la navegación: sólo aparece al tabular */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--primary-color);
  color: #0b0f17;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Indicador de foco visible en toda la navegación por teclado. Se usa
   :focus-visible para que no aparezca al hacer clic con el ratón. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Respetar la preferencia del sistema de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Bloquear el scroll del fondo mientras hay un modal abierto */
body.modal-abierto {
  overflow: hidden;
}

/* ==========================================================================
   FORMULARIO: CONSENTIMIENTO, TRAMPA ANTI-SPAM Y ESTADOS
   ========================================================================== */

/* Campo señuelo para bots: fuera de la vista pero no display:none, porque
   algunos bots ignoran los campos ocultos de esa forma. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.form-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.form-consent label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.form-consent label a {
  color: var(--primary-light);
  text-decoration: underline;
}

.form-status.sending {
  display: block;
  background: rgba(132, 204, 22, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.form-status.warning {
  display: block;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid #eab308;
  color: #fde68a;
}

.form-status-extra {
  display: block;
  margin: 0.85rem 0 0.75rem 0;
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.9;
}

.form-wa-link {
  margin-top: 0.25rem;
}

/* ==========================================================================
   PÁGINAS DE TEXTO (AVISO DE PRIVACIDAD, 404)
   ========================================================================== */

.legal-page {
  padding: 4rem 0 6rem 0;
  min-height: 70vh;
}

.legal-container {
  max-width: 820px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-light);
  margin: 2.5rem 0 0.75rem 0;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.legal-page li {
  margin-bottom: 0.45rem;
}

.legal-page a {
  color: var(--primary-light);
  text-decoration: underline;
}

.legal-page strong {
  color: var(--text-main);
}

.legal-updated {
  font-size: 0.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-back {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-back a {
  text-decoration: none;
}

.error-page {
  text-align: center;
  padding-top: 6rem;
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.error-page .legal-back {
  justify-content: center;
}
