/* ==========================================================================
   Estilos Oficiales - Landing Page "¡Somos Lurín, Somos Futuro!" (Lurín 2026)
   ========================================================================== */

:root {
  --primary-blue: #0D3880;
  --primary-blue-dark: #071C40;
  --primary-red: #D12421;
  --primary-red-hover: #b51c19;
  --accent-purple: #6A2290;
  --accent-purple-alpha: rgba(40, 0, 116, 0.30);
  --accent-gold: #EF8C12;
  --accent-green: #27963C;

  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Kanit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-red);
}

/* ==========================================
   Header & Navegación
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-badge {
  background-color: var(--primary-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-download {
  background-color: var(--primary-red);
  color: #fff !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(209, 36, 33, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-download:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 60%, var(--accent-purple) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Eslogan 3/5 del Ancho */
.slogan-box {
  width: 60%;
  max-width: 480px;
  margin: 0 auto 2rem auto;
  background-color: var(--accent-purple-alpha);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.slogan-line1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.slogan-line2 {
  background-color: var(--primary-red);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  margin-top: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ==========================================
   Secciones y Grid
   ========================================== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(13, 56, 128, 0.08);
  color: var(--primary-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--primary-blue-dark);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Ejes de Gobierno */
.ejes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.eje-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);

  .eje-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
}

.eje-1 { background-color: var(--accent-green); }
.eje-2 { background-color: var(--primary-blue); }
.eje-3 { background-color: var(--accent-gold); }
.eje-4 { background-color: var(--primary-red); }
.eje-5 { background-color: #2E7D32; }

/* ==========================================
   Documentos Legales (Términos / Privacidad)
   ========================================== */
.legal-container {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-date {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-content h3 {
  color: var(--primary-blue-dark);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 1.8rem 0 0.8rem 0;
}

.legal-content p, .legal-content ul {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background-color: var(--primary-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.5rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-brand h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.footer-links h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Media Queries (Responsive)
   ========================================== */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue-dark);
    flex-direction: column;
    padding: 1.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .slogan-box {
    width: 90%;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .legal-container {
    padding: 1.5rem;
  }
}
