body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #f5f7fa;
  color: #1e272e;
  line-height: 1.6;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}

/* LOGO - MÁS GRANDE Y SIN EFECTOS */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 65px;
  width: auto;
  display: block;
  /* SIN NINGÚN EFECTO */
}

/* MENÚ PRINCIPAL - TODOS A LA MISMA ALTURA */
.header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  font-size: 1rem;
  height: 100%;
}

.header-menu .menu-item {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.header-menu .menu-item:first-child {
  color: #0a3d62;
  font-weight: 600;
}

.header-menu .menu-item:hover {
  color: #0a3d62;
}

.header-menu .menu-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a3d62, #4a90e2);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.header-menu .menu-item:hover::after {
  width: 100%;
}

/* DROPDOWN DE CATEGORÍAS */
.categorias-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.categorias-dropdown .menu-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* DROPDOWN TRANSPARENTE CON BLUR */
.categorias-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.categorias-dropdown:hover .categorias-submenu,
.categorias-submenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Flechita del dropdown */
.categorias-submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 25px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.submenu-inner {
  display: flex;
  flex-direction: column;
}

.submenu-inner a {
  text-decoration: none;
  color: #1e272e;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-left: 3px solid transparent;
  background: transparent;
}

.submenu-inner a:hover {
  background: rgba(10, 61, 98, 0.1);
  color: #0a3d62;
  border-left-color: #0a3d62;
  padding-left: 2rem;
}

/* BUSCADOR */
.header-search input {
  border: none;
  border-bottom: 2px solid #e0e6ed;
  background: transparent;
  padding: 0.5rem 0.3rem;
  font-size: 0.95rem;
  outline: none;
  width: 180px;
  transition: all 0.3s ease;
  color: #1e272e;
}

.header-search input:focus {
  border-bottom-color: #0a3d62;
  width: 220px;
}

.header-search input::placeholder {
  color: #a0aec0;
  font-style: italic;
}

/* ===== FOOTER MINIMALISTA ===== */
/* ===== FOOTER LLAMATIVO CON FONDO NEGRO ===== */
/* ===== FOOTER DELGADO Y ELEGANTE ===== */
.footer {
  background: #0a0a0a;
  color: #ffffff;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 3px solid #0a3d62;
  position: relative;
}

/* Efecto de luz sutil */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4a90e2, transparent);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* REDES SOCIALES - ÍCONOS PROFESIONALES */
.social-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Colores específicos para cada red social */
.social-item.facebook .social-circle {
  background: #1877f2;
}

.social-item.instagram .social-circle {
  background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}

.social-item.whatsapp .social-circle {
  background: #25d366;
}

/* Iconos profesionales (FontAwesome) */
.social-item i {
  color: white;
  font-size: 1.5rem;
}

/* Texto pequeño */
.social-item span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Efectos hover */
.social-item:hover .social-circle {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.social-item:hover span {
  opacity: 1;
}

/* Línea divisoria delgada */
.footer-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4a90e2, transparent);
  margin: 1.5rem auto;
  border: none;
}

/* Copyright delgado */
.footer-copyright {
  font-size: 0.8rem;
  color: #7f8c8d;
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .social-grid {
    gap: 1.5rem;
  }
  
  .social-circle {
    width: 45px;
    height: 45px;
  }
  
  .social-item i {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .social-grid {
    gap: 1rem;
  }
  
  .social-circle {
    width: 40px;
    height: 40px;
  }
  
  .social-item i {
    font-size: 1.2rem;
  }
  
  .social-item span {
    font-size: 0.7rem;
  }
}





/* REDES SOCIALES - 3 ÍCONOS EN NEGRO */
.social-minimal {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.social-minimal a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.social-minimal .icon {
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.social-minimal span {
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.social-minimal a:hover {
  color: #0a3d62;
}

.social-minimal a:hover .icon {
  transform: translateY(-3px);
}

/* Copyright */
.footer-copyright {
  font-size: 0.85rem;
  color: #7f8c8d;
  border-top: 1px solid #e5e9ef;
  padding-top: 2rem;
  margin-top: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-inner {
    gap: 2rem;
  }
  
  .header-menu {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .header-logo {
    justify-content: center;
  }
  
  .header-logo img {
    height: 60px;
  }
  
  .header-menu {
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
  }
  
  .header-search {
    justify-self: stretch;
  }
  
  .header-search input {
    width: 100%;
  }
  
  .header-search input:focus {
    width: 100%;
  }
  
  /* Ajustar dropdown en móvil */
  .categorias-dropdown {
    position: static;
  }
  
  .categorias-submenu {
    position: static;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: none;
    border: 1px solid #eef2f6;
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .categorias-submenu::before {
    display: none;
  }
  
  /* Footer responsive */
  .social-minimal {
    gap: 2rem;
  }
  
  .social-minimal .icon {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    height: 55px;
  }
  
  .header-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .header-menu .menu-item {
    width: fit-content;
  }
  
  .social-minimal {
    gap: 1.5rem;
  }
  
  .social-minimal .icon {
    font-size: 1.6rem;
  }
  
  .social-minimal span {
    font-size: 0.75rem;
  }
}