/* ==========================================================================
   DESCARGAYA - SISTEMA DE DISEÑO Y ESTILOS PRINCIPALES (styles.css)
   ========================================================================== */

/* Importación de Fuentes Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variables de Diseño (Custom Properties) */
:root {
  /* Paleta de Colores Principal */
  --primary-color: #4f46e5;       /* Indigo */
  --primary-hover: #4338ca;       /* Indigo Oscuro */
  --secondary-color: #06b6d4;     /* Cyan */
  --secondary-hover: #0891b2;
  --accent-color: #7c3aed;        /* Violeta */
  --accent-light: #e0e7ff;        /* Indigo ultra-claro */
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);

  /* Fondos y Textos */
  --bg-body: #f8fafc;             /* Gris muy claro / Slate 50 */
  --bg-card: #ffffff;             /* Blanco */
  --text-dark: #0f172a;           /* Slate 900 */
  --text-muted: #475569;         /* Slate 600 */
  --text-light: #64748b;         /* Slate 500 */
  --border-color: #e2e8f0;       /* Slate 200 */
  --white: #ffffff;

  /* Sombras Modernas */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 10px 30px -10px rgba(79, 70, 229, 0.3);

  /* Redondeado de Esquinas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);

  /* Fuentes */
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Ancho Máximo */
  --max-width: 1200px;
}

/* Reset de Estilos */
*, *::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-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

button, input {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* Clases de Utilidad */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--bg-card);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Animación de entrada suave */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER Y MENÚ DE NAVEGACIÓN (Sticky & Hamburger)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

header:not(.scrolled) {
  padding: 20px 0;
}

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

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

/* Botones Modernos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Menú Hamburguesa Móvil */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

/* ==========================================================================
   SECCIÓN HERO (#inicio)
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 100%);
  position: relative;
}

/* Decoraciones CSS */
.hero-shape-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

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

/* Tarjeta Destacada del Hero (Value Card) */
.hero-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.hero-card-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.hero-card-text h4 {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}

.hero-card-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   BARRA DE CONFIANZA
   ========================================================================== */
.trust-bar {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  z-index: 10;
  position: relative;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.trust-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ==========================================================================
   CATEGORÍAS DE RECURSOS (#categorias)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
}

.category-card:hover::after {
  opacity: 1;
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.category-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCTOS DESTACADOS (#productos)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.product-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  background-color: var(--accent-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.product-info h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.product-action {
  margin-top: auto;
}

.product-card .btn {
  width: 100%;
}

/* ==========================================================================
   CÓMO FUNCIONA (#como-funciona)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-bottom: 48px;
}

/* Línea conectora entre pasos (Desktop) */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-glow);
  border: 6px solid var(--white);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

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

.steps-footer-note {
  text-align: center;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--primary-color);
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   SOBRE NOSOTROS (#sobre-nosotros)
   ========================================================================== */
.about-box {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-box::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(80px);
  opacity: 0.1;
}

.about-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.about-highlight {
  font-weight: 600;
  color: var(--primary-color);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (#faq)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background-color: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.faq-item.active .faq-question {
  color: var(--primary-color);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.975rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--border-color);
}

/* ==========================================================================
   CONTACTO Y SOPORTE (#contacto)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item-icon-wrapper {
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-item-text a {
  color: var(--primary-color);
  font-weight: 500;
}

.contact-item-text a:hover {
  text-decoration: underline;
}

.contact-actions-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.contact-actions-box h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-actions-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-actions-box .btn {
  width: 100%;
  padding: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #0f172a;       /* Slate 900 */
  color: #94a3b8;                 /* Slate 400 */
  padding: 80px 0 40px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info-item a:hover {
  color: var(--white);
}

.footer-links-col h4 {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
}

.footer-copyright {
  margin: 0;
}

/* ==========================================================================
   ESTILOS ADICIONALES PARA PÁGINAS LEGALES
   ========================================================================== */
.legal-body {
  background-color: var(--bg-body);
}

.legal-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.legal-container {
  max-width: 800px;
  margin: 60px auto 100px auto;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.legal-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.legal-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 24px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.legal-section ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* TABLETS (Menos de 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 36px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    max-width: 580px;
    margin: 0 auto;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none; /* Quitamos la línea en móvil/tablet */
  }

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

  .contact-actions-box {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

/* MÓVILES (Menos de 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  /* Mostrar Menú Hamburguesa */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px 32px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .btn {
    width: 100%;
    margin-top: 16px;
  }

  /* Animación Icono Hamburguesa */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-box {
    padding: 24px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .faq-answer-inner {
    padding: 0 20px 20px 20px;
  }

  .contact-actions-box {
    padding: 24px;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-container {
    padding: 24px;
    margin: 30px 16px 60px 16px;
  }

  .legal-title {
    font-size: 1.85rem;
  }
}
