    /* css/layout.css */
    
    /* Variables para colores y fuentes */
    :root {
      --color-accent: #000000;
      --color-bg-header: #ffffff; /* ← blanco permanente */
      --color-bg-header-scrolled: #ffffff;
      --color-text: #000000; /* ← texto negro permanente */
      --color-text-light: #666666;
      --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    /* Reset y base */
    * {
      box-sizing: border-box;
    }
    
    body {
      margin: 0;
      font-family: var(--font-main);
      background: #fff;
      color: var(--color-primary);
    }
    
    /* HEADER */
    
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--color-bg-header);
      color: var(--color-text);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 30px;
      box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
      transition: background-color 0.3s ease, top 0.3s ease;
      z-index: 1000;
      backdrop-filter: saturate(180%) blur(10px);
      -webkit-backdrop-filter: saturate(180%) blur(10px);
    }
    
    header.scrolled {
      background: var(--color-bg-header-scrolled);
      box-shadow: 0 6px 18px rgb(0 0 0 / 0.2);
    }
    
    /* Logo */
    
    header .logo img {
      height: 42px;
      user-select: none;
      filter: drop-shadow(0 0 1px rgba(0,0,0,0.2));
      transition: filter 0.3s ease;
    }
    
    header.scrolled .logo img {
      filter: none;
    }
    
    /* Desktop menu */
    
    nav.desktop-menu {
      display: flex;
      gap: 32px;
      font-weight: 600;
      font-size: 0.875rem; /* 14px ajustado */
      user-select: none;
    }
    
    nav.desktop-menu a {
      color: var(--color-text);
      text-decoration: none;
      position: relative;
      padding: 4px 0;
      transition: color 0.3s ease;
    }
    
    nav.desktop-menu a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 3px;
      background: var(--color-accent);
      border-radius: 2px;
      transition: width 0.3s ease;
    }
    
    nav.desktop-menu a:hover,
    nav.desktop-menu a:focus {
      color: var(--color-accent);
    }
    
    nav.desktop-menu a:hover::after,
    nav.desktop-menu a:focus::after {
      width: 100%;
    }
    
    /* Menu Toggle (hamburguesa) */
    
    .menu-toggle {
      display: none;
      width: 28px;
      height: 22px;
      position: relative;
      cursor: pointer;
      user-select: none;
      z-index: 1100;
      transition: transform 0.3s ease;
    }
    
    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
      display: block;
      background: var(--color-text);
      position: absolute;
      height: 3px;
      width: 100%;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    
    .menu-toggle span {
      top: 50%;
      margin-top: -1.5px;
    }
    
    .menu-toggle span::before {
      content: '';
      top: -8px;
    }
    
    .menu-toggle span::after {
      content: '';
      top: 8px;
    }
    
    /* Cuando el menú está activo (cerrar X) */
    
    .menu-toggle.active span {
      background: transparent;
    }
    
    .menu-toggle.active span::before {
      transform: rotate(45deg);
      top: 0;
    }
    
    .menu-toggle.active span::after {
      transform: rotate(-45deg);
      top: 0;
    }
    
    /* Menú móvil */
    
    .mobile-menu {
      position: fixed;
      top: 62px;
      right: 0;
      width: 220px;
      height: calc(100vh - 62px);
      background: var(--color-bg-header-scrolled);
      box-shadow: -6px 0 20px rgba(0,0,0,0.3);
      display: flex;
      flex-direction: column;
      padding: 30px 20px;
      gap: 24px;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1099;
      user-select: none;
      border-left: 2px solid var(--color-accent);
    }
    
    .mobile-menu.active {
      transform: translateX(0);
    }
    
    .mobile-menu a {
      color: var(--color-text);
      font-weight: 600;
      font-size: 0.875rem; /* 14px ajustado */
      text-decoration: none;
      padding-bottom: 6px;
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s ease;
    }
    
    .mobile-menu a:hover,
    .mobile-menu a:focus {
      border-color: var(--color-accent);
      color: var(--color-accent);
    }
    
    .custom-footer {
      background-color: #000;
      color: #fff;
      padding: 40px 20px;
      font-family: 'Arial', sans-serif;
    }
    
    .footer-container {
      max-width: 1200px;
      margin: auto;
    }
    
    .footer-top {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 30px;
    }
    
    .footer-logo img {
      max-width: 150px;
      height: auto;
    }
    
    .footer-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      flex: 1;
    }
    
    .footer-column {
      min-width: 150px;
    }
    
    .footer-column h4 {
      font-size: 16px;
      margin-bottom: 10px;
      text-transform: uppercase;
      border-bottom: 1px solid #444;
      padding-bottom: 5px;
    }
    
    .footer-column a {
      display: block;
      color: #ccc;
      text-decoration: none;
      font-size: 14px;
      margin-bottom: 5px;
    }
    
    .footer-column a:hover {
      color: #fff;
      text-decoration: underline;
    }
    
    .footer-bottom {
      border-top: 1px solid #444;
      padding-top: 15px;
      text-align: center;
      font-size: 13px;
    }
    
    .footer-bottom a {
      color: #ccc;
      margin: 0 5px;
    }
    
    .footer-bottom a:hover {
      color: #fff;
    }
    
    
    
    header.transparente {
      background: transparent !important;
      color: #fff !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    header.transparente .logo img {
      filter: drop-shadow(0 0 6px rgba(0,0,0,0.8));
    }
    
    header.transparente nav.desktop-menu a {
      color: #fff !important;
    }
    
    header.transparente nav.desktop-menu a:hover,
    header.transparente nav.desktop-menu a:focus {
      color: var(--color-accent);
    }
    
    header.transparente .menu-toggle span,
    header.transparente .menu-toggle span::before,
    header.transparente .menu-toggle span::after {
      background: #fff !important;
    }
@media (max-width: 1024px) {
  .footer-top,
  .footer-nav,
  .footer-column {
    /* Mantener diseño igual, no apilar */
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    min-width: auto !important;
  }

  /* Letra más grande */
  .footer-column a {
    font-size: 16px;
  }
  .footer-column h4 {
    font-size: 18px;
  }
  .footer-bottom {
    font-size: 15px;
  }
}
@media (max-width: 1024px) {
  /* Ícono hamburguesa más grande y centrado */
  .menu-toggle {
    width: 48px;
    height: 36px;
    position: relative;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: var(--color-text);
    position: absolute;
    height: 5px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .menu-toggle span {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .menu-toggle span::before {
    content: '';
    top: -14px;
  }

  .menu-toggle span::after {
    content: '';
    top: 14px;
  }

  .menu-toggle.active span {
    background: transparent;
  }

  .menu-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle.active span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Menú móvil más grande */
  .mobile-menu {
    width: 280px;
    padding: 40px 30px;
    font-size: 1.1rem;
    gap: 32px;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    padding-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  /* Mostrar el botón hamburguesa */
  .menu-toggle {
    display: block;
  }

  /* Ocultar el menú de escritorio */
  nav.desktop-menu {
    display: none;
  }

  /* Menú móvil más grande */
  .mobile-menu {
    width: 280px;
    padding: 40px 30px;
    font-size: 1.1rem;
    gap: 32px;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    padding-bottom: 10px;
  }
}
