/* ===== VARIABLES ===== */
:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --text: #333333;
    --text-light: #666666;
    --bg: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --gray: #e9ecef;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
  }
  
  /* ===== RESET Y ESTILOS BASE ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--white);
  }
  
  /* ===== ESTRUCTURA COMÚN ===== */
  .main-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: var(--bg);
    box-shadow: var(--shadow);
  }
  
  body.dark-mode .main-header {
    background-color: var(--bg-dark);
  }
  
  .logo-container img {
    max-width: 100%;
    height: auto;
  }
  
  .settings {
    display: flex;
    gap: 0.75rem;
  }
  
  .settings button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
  }
  
  .settings button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
  }
  
  main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 1.5rem 3rem;
  }
  
  /* ===== COMPONENTES REUTILIZABLES ===== */
  .divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 3rem auto;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
  }
  
  body.dark-mode .section-subtitle {
    color: var(--gray);
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .main-header {
      padding: 1rem;
    }
    
    main {
      padding: 6rem 1rem 2rem;
    }
    
    .section-title {
      font-size: 1.75rem;
    }
    
    .section-subtitle {
      font-size: 1.1rem;
    }
  }