/*
 * Estilos principales para el sitio de Kraft Importaciones.
 * La hoja de estilos define variables, layouts y componentes responsivos
 * para que el sitio se adapte tanto a ordenadores de escritorio como a
 * dispositivos móviles. Se aprovechan transiciones y sombras sutiles
 * para lograr una experiencia moderna y profesional, en línea con el
 * manual de marca proporcionado.
 */

/* Variables de color y tipografía */
:root {
  --color-red: #9e1d1f;
  --color-blue: #0e656a;
  --color-dark-gray: #333333;
  --color-light-gray: #cccccc;
  --color-white: #ffffff;
  --font-heading: 'Sages Grotesk', 'Nunito Sans', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

/* Reinicios básicos */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-gray);
  line-height: 1.6;
  background: var(--color-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Header más oscuro para un mayor contraste con el logotipo */
  background: #121b2f;
  color: var(--color-white);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo img {
  height: 42px;
}

.navigation {
  position: relative;
}

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

.nav-menu li a {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: var(--color-red);
}

/* Desktop menu - visible on desktop, hidden on mobile */
.desktop-nav {
  display: flex !important;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }
}

/* Desktop navigation menu - ASEGURAR que se muestre correctamente */
@media (min-width: 901px) {
  .nav-menu {
    display: flex !important;
    list-style: none;
    gap: 1.5rem;
  }

  .nav-menu li {
    display: block;
  }

  .nav-menu li a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0;
  }

  .nav-menu li a:hover {
    color: var(--color-red);
  }

  /* Asegurar que el botón hamburguesa esté oculto en desktop */
  .nav-toggle {
    display: none !important;
  }

  /* Asegurar que elementos móviles estén ocultos en desktop */
  .mobile-menu-overlay,
  .mobile-menu-header,
  .mobile-nav-content,
  .mobile-social-section,
  .mobile-menu-close {
    display: none !important;
  }
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  height: 30px;
  width: 30px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 101, 106, 0.6);
  mix-blend-mode: multiply;
}

/* Video Background Styles */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-white);
}

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

/* Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #82181b;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Section titles */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-blue);
  text-align: center;
  margin-bottom: 2rem;
}

/* About section */
.about-section {
  padding: 5rem 0;
  background: #f5f5f5;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  color: var(--color-blue);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-dark-gray);
}

.about-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Services section */
.services-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.services-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  flex: 1 1 280px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-wrapper img {
  width: 28px;
  height: 28px;
  /* Convert the dark SVG icon to white by inverting colors and ensuring high contrast */
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

/* Method section */
.method-section {
  padding: 5rem 0;
  position: relative;
}

/* Ensure headings inside the method section remain visible above the light overlay */
.method-section .section-title {
  position: relative;
  z-index: 2;
  color: var(--color-blue);
}

.method-section .overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  mix-blend-mode: lighten;
}

.steps-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-card {
  flex: 1 1 250px;
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-icon img {
  width: 28px;
  height: 28px;
  /* Convert the dark SVG icon to white for steps */
  filter: brightness(0) invert(1);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

/* Differentials section */
.differentials-section {
  padding: 5rem 0;
  background: #f5f5f5;
}

.differentials-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.diff-card {
  flex: 1 1 220px;
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.diff-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon img {
  width: 28px;
  height: 28px;
  /* Convert the dark SVG icon to white for differential cards */
  filter: brightness(0) invert(1);
}

.diff-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.diff-card p {
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

/* FAQ section */
.faq-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-light-gray);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 0;
  color: var(--color-blue);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-red);
  transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
  content: '–';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* Contact section */
.contact-section {
  padding: 5rem 0;
  position: relative;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 101, 106, 0.8);
  mix-blend-mode: multiply;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 300px;
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--color-white);
  text-decoration: underline;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--color-red);
}

.contact-form {
  flex: 1 1 300px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-red);
}

/* Footer */
.footer {
  background: var(--color-dark-gray);
  color: var(--color-light-gray);
  padding: 3rem 0 1rem;
}

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

.footer-brand {
  flex: 1 1 300px;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-links,
.footer-contact {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
}

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

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

.footer-links ul li a {
  color: var(--color-light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--color-red);
}

.footer-contact a {
  color: var(--color-light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--color-red);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: var(--color-light-gray);
  font-size: 0.85rem;
}

/* Parallax class base */
.parallax {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  /* Navigation menu collapses into hamburger */
  .nav-toggle {
    display: flex !important;
  }

  /* Mobile menu overlay - ASEGURAR VISIBILIDAD */
  .mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(18, 27, 47, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.4s ease !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow-y: auto !important;
  }

  .mobile-menu-overlay.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mobile menu header - ASEGURAR VISIBILIDAD */
  .mobile-menu-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(18, 27, 47, 0.95) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1002 !important;
  }

  .mobile-logo img {
    height: 36px !important;
    max-width: 200px !important;
  }

  /* Mobile menu close button - MÁS VISIBLE */
  .mobile-menu-close {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    width: 48px !important;
    height: 48px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1003 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-menu-close:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    transform: scale(1.05);
  }

  .mobile-menu-close:active {
    transform: scale(0.95);
  }

  .mobile-menu-close span {
    position: absolute !important;
    width: 24px !important;
    height: 3px !important;
    background: var(--color-white) !important;
    border-radius: 2px !important;
    transition: background-color 0.3s ease !important;
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg) !important;
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg) !important;
  }

  /* Mobile navigation content */
  .mobile-nav-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1rem 0 !important;
  }

  /* Mobile navigation menu - MENOS ESPACIADO */
  .mobile-nav-content .nav-menu {
    list-style: none !important;
    padding: 1rem 1.5rem !important;
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    animation: slideInMenu 0.4s ease-out !important;
  }

  @keyframes slideInMenu {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-nav-content .nav-menu li {
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    animation: slideInItem 0.4s ease-out !important;
    animation-fill-mode: both !important;
  }

  .mobile-nav-content .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
  .mobile-nav-content .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
  .mobile-nav-content .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
  .mobile-nav-content .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
  .mobile-nav-content .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
  .mobile-nav-content .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
  .mobile-nav-content .nav-menu li:nth-child(7) { animation-delay: 0.4s; }

  @keyframes slideInItem {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .mobile-nav-content .nav-menu li:last-child {
    border-bottom: none !important;
  }

  .mobile-nav-content .nav-menu li a {
    display: block !important;
    padding: 1rem 0 !important;
    color: var(--color-white) !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
    margin: 0.2rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .mobile-nav-content .nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .mobile-nav-content .nav-menu li a:hover::before {
    left: 100%;
  }

  .mobile-nav-content .nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-red);
    padding-left: 1rem;
    transform: translateX(8px);
  }

  /* Redes sociales en menú móvil */
  .mobile-social-section {
    padding: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: auto !important;
    background: rgba(18, 27, 47, 0.9) !important;
  }

  .mobile-social-section h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .mobile-social-links a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(158, 29, 31, 0.3);
  }

  .mobile-social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  /* Redes sociales en menú móvil */
  .mobile-social-section {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
  }

  .mobile-social-section h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .mobile-social-links a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(158, 29, 31, 0.3);
  }

  .mobile-social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .nav-container {
    padding: 0.75rem;
  }
  /* Adjust hero typography */
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  /* Adjust layout stacking */
  .about-container,
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }
  .service-card,
  .step-card,
  .diff-card {
    flex: 1 1 100%;
  }
  .services-grid,
  .steps-grid,
  .differentials-grid {
    gap: 1.5rem;
  }
  /* Disable fixed attachment on small screens for better performance */
  .parallax {
    background-attachment: scroll;
  }
}

/* CTA band */
.cta-band {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 3rem 0;
  text-align: center;
}

.cta-container h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-container .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

.cta-container .btn-primary:hover {
  background: #82181b;
}

/* WhatsApp floating bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-bubble img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Ocultar burbuja cuando el menú está abierto en mobile */
body.menu-open .whatsapp-bubble {
  display: none;
}

/* Responsive adjustments for mobile menu */
@media (max-width: 480px) {
  .mobile-menu-header {
    padding: 0.75rem 1rem;
  }

  .mobile-logo img {
    height: 32px;
  }

  .mobile-menu-close {
    width: 44px;
    height: 44px;
  }

  .nav-menu {
    padding: 0.75rem 1rem;
  }

  .nav-menu li a {
    padding: 0.875rem 0;
    font-size: 1.1rem;
  }

  .mobile-social-section {
    padding: 1rem;
  }

  .mobile-social-links {
    gap: 1rem;
  }

  .mobile-social-links a {
    width: 45px;
    height: 45px;
  }
}