/* ==========================================================================
   LM Insumos - Sistema de Diseño y Estilos
   Enfocado en Cosmetología, Lashistas, Dentistas y Especialistas de Salud
   ========================================================================== */

/* Variables de Color y Tipografía */
:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Paleta Elegante & Profesional (Rose Gold / Champagne / Obsidian) */
  --bg-main: #0c0e12;
  --bg-surface: #14171f;
  --bg-card: rgba(24, 28, 38, 0.72);
  --bg-card-hover: rgba(32, 38, 52, 0.85);

  --accent-gold-light: #f7d6bf;
  --accent-gold: #e2a578;
  --accent-gold-dark: #b87a55;
  --accent-gradient: linear-gradient(135deg, #f7d6bf 0%, #e2a578 50%, #c4825e 100%);
  --accent-glow: rgba(226, 165, 120, 0.22);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(226, 165, 120, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

/* Reseteo y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Contenedor Común */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Elementos de Iluminación Ambiental (Mesh Glows) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, rgba(226, 165, 120, 0.28) 0%, rgba(12, 14, 18, 0) 70%);
  animation: floatLight 10s ease-in-out infinite alternate;
}

.glow-bottom {
  bottom: -150px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 122, 85, 0.18) 0%, rgba(12, 14, 18, 0) 70%);
}

@keyframes floatLight {
  0% { transform: translateX(-50%) translateY(0px) scale(1); }
  100% { transform: translateX(-48%) translateY(30px) scale(1.08); }
}

/* Cabecera y Navegación */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(12, 14, 18, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

/* Logotipo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  color: #0c0e12;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(226, 165, 120, 0.3);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0c0e12;
  box-shadow: 0 4px 20px rgba(226, 165, 120, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(226, 165, 120, 0.5);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-accent);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* Sección Hero / Portada */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(226, 165, 120, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  font-style: italic;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 2.75rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Fila de Estadísticas Rápidas */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 750px;
  padding: 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sección de Especialidades */
.disciplines-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Grid de Tarjetas */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.discipline-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.discipline-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), 0 0 24px rgba(226, 165, 120, 0.12);
}

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

.discipline-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(226, 165, 120, 0.08) 0%, rgba(24, 28, 38, 0.85) 100%);
}

.discipline-card.featured::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(226, 165, 120, 0.12);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(226, 165, 120, 0.2);
}

.card-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Sección de Beneficios */
.benefits-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-box {
  background: rgba(20, 23, 31, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.benefit-box:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Sección CTA / Contacto */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(32, 38, 52, 0.9) 0%, rgba(18, 21, 28, 0.95) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* Pie de Página */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background: rgba(10, 12, 16, 0.9);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-author {
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.footer-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Media Queries Responsivas */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    display: none; /* Ocultar enlaces de texto en móviles para mantenerlo limpio */
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

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