<style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
  font-family: 'Poppins', Arial, sans-serif;
  background: url('img/background-mos-LMODE.png') repeat, var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 1s ease, color 1s ease, background-image 1s ease;
}
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    header {
      background-image: url('img/titulo-imagen-1.png');
      background-size: cover;
      background-position: center;
      color: white;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
      padding: 60px 20px;
      text-align: center;
    }
    header h1 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      margin-bottom: 20px;
      font-weight: 600;
    }
    
    header p {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      max-width: 800px;
      margin: 0 auto;
      font-weight: 300;
    }
    body {
      font-family: 'Poppins', Arial, sans-serif;
      background: url('img/background-mos-LMODE.png') repeat;
      color: #333;
      line-height: 1.6;
    }
    section {
      padding: 40px 0;
    }
    
    h2 {
      color: #008f39;
      text-align: center;
      margin-bottom: 30px;
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 600;
    }
    
    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
      flex-wrap: wrap;
    }
    
    .cta-buttons a {
      background-color: #FF0000;
      color: white;
      padding: 15px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      display: inline-block;
      min-width: 140px;
      text-align: center;
    }
    
    .cta-buttons a:nth-child(2) {
      background-color: #008f39;
    }
    
    .cta-buttons a:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }
    
    .gallery-item {
      transition: transform 0.3s ease;
      aspect-ratio: 1;
      padding: 10px;
    }
    
    .gallery-item:hover {
      transform: scale(1.05);
    }
    
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 10px;
    }
    
    .testimonials-container {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .testimonials-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

.google-review {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e8eaed;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.review-info {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-weight: 500;
  color: #202124;
  font-size: 14px;
  margin-bottom: 2px;
}

.review-date {
  font-size: 12px;
  color: #5f6368;
}

.review-rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  margin-right: 8px;
}

.star {
  color: #fbbc04;
  font-size: 16px;
  margin-right: 1px;
}

.star.empty {
  color: #e8eaed;
}

.rating-text {
  font-size: 12px;
  color: #5f6368;
  margin-left: 4px;
}

.review-text {
  color: #3c4043;
  line-height: 1.4;
  font-size: 14px;
  margin-bottom: 12px;
}

.review-source {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #5f6368;
}

.google-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 10px;
}
    .mapas-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      margin-top: 30px;
      background-color: #FFFFFF;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    @media(min-width: 768px) {
      .mapas-container {
        grid-template-columns: 1fr 1fr;
      }
    }
    
    .local {
      text-align: center;
    }
    
    .local h3 {
      margin-bottom: 15px;
      color: #008f39;
      font-weight: 600;
    }
    
    .local iframe {
      width: 100%;
      height: 300px;
      border: 0;
      border-radius: 12px;
    }
    
    .local-info {
      background-color: #f9f9f9;
      padding: 20px;
      border-radius: 10px;
      border-left: 4px solid #008f39;
      margin-top: 15px;
    }
    
    .local-info p {
      margin: 5px 0;
      font-size: 0.9rem;
    }
    
    #contacto {
      background-color: #FFFFFF;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    #contacto form {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 300px;
      margin: 0 auto;
    }
    
    #contacto input,
    #contacto textarea {
      padding: 15px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-size: 1rem;
      font-family: inherit;
      transition: border-color 0.3s ease;
    }
    
    #contacto input:focus,
    #contacto textarea:focus {
      outline: none;
      border-color: #008f39;
    }
    
    #contacto button {
      background-color: #FF0000;
      color: white;
      padding: 15px 25px;
      border: none;
      border-radius: 10px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    #contacto button:hover {
      background-color: #cc0000;
      transform: translateY(-2px);
    }
    .social-media-header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-btn img {
  width: 22px;
  height: 22px;
  transition: filter 0.3s ease;
  filter: none;
}

.social-btn.instagram img {
  filter: saturate(1) brightness(1);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.instagram:hover img {
  filter: brightness(0) invert(1);
}

.social-btn.tiktok:hover {
  background: #000000;
}

.social-btn.tiktok:hover img {
  filter: brightness(0) invert(1);
}

.social-btn.facebook:hover {
  background: #1877f2;
}

.social-btn.facebook:hover img {
  filter: brightness(0) invert(1);
}

.social-btn.whatsapp:hover {
  background: #25D366;
}

.social-btn.whatsapp:hover img {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .social-media-header {
    top: 15px;
    right: 15px;
    gap: 6px;
  }
  
  .social-btn img {
    width: 20px;
    height: 20px;
  }
}
    .chat-widget {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
    }
    
    .chat-button {
      background: linear-gradient(135deg, #008f39, #FF0000);
      color: white;
      padding: 15px 20px;
      border-radius: 50px;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
    }
    
    .chat-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }
    
    .chat-form {
      position: absolute;
      bottom: 80px;
      right: 0;
      width: 320px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      transform: scale(0);
      opacity: 0;
      transition: all 0.3s ease;
      transform-origin: bottom right;
    }
    
    .chat-form.active {
      transform: scale(1);
      opacity: 1;
    }
    
    .chat-form-header {
      background: linear-gradient(135deg, #008f39, #FF0000);
      color: white;
      padding: 20px;
      text-align: center;
      position: relative;
      border-radius: 20px 20px 0 0;
    }
    
    .chat-form-header h4 {
      margin: 0;
      font-size: 16px;
      font-weight: 600;
    }
    
    /* Contenedor de mensajes - después de .chat-form-header */
.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  scroll-behavior: smooth;
}

/* Scroll personalizado */
.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Mensajes individuales */
.message {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  animation: fadeInUp 0.3s ease;
}

.message.user {
  justify-content: flex-end;
}

.message.bot {
  justify-content: flex-start;
}

/* Contenido de los mensajes */
.message-content {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.message.user .message-content {
  background: linear-gradient(135deg, #008f39, #00a844);
  color: white;
  border-bottom-right-radius: 4px;
  margin-left: 20px;
}

.message.bot .message-content {
  background: white;
  color: #333;
  border: 1px solid #e9ecef;
  border-bottom-left-radius: 4px;
  margin-right: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Enlaces en mensajes del bot */
.message.bot .message-content a {
  color: #008f39;
  text-decoration: none;
  font-weight: 500;
}

.message.bot .message-content a:hover {
  text-decoration: underline;
}

/* Animación de aparición */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modo oscuro para el chat */
[data-theme="dark"] .chat-messages {
  background: #2d2d2d;
  border-bottom-color: #404040;
}

[data-theme="dark"] .message.bot .message-content {
  background: #3a3a3a;
  color: var(--text-primary);
  border-color: #404040;
}

[data-theme="dark"] .message.bot .message-content a {
  color: #25D366;
}

/* Responsive para móvil */
@media (max-width: 767px) {
  .chat-messages {
    height: 250px;
    padding: 10px;
  }
  
  .message-content {
    max-width: 90%;
    font-size: 13px;
  }
}
    .close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .chat-form form {
  padding: 0 20px 20px 20px;
}
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.3s ease;
      resize: none;
      box-sizing: border-box;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: #25D366;
    }
    
    .chat-send-btn {
      width: 100%;
      background: linear-gradient(135deg, #008f39, #FF0000);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    .chat-send-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    
    footer {
      background: linear-gradient(135deg, #FF0000, #cc0000);
      color: white;
      text-align: center;
      padding: 40px 0;
      margin-top: 60px;
    }
    
    @media (max-width: 767px) {
      .mapas-container {
        padding: 20px;
        gap: 30px;
      }
      
      .local iframe {
        height: 250px;
      }
      
      .chat-form {
        width: calc(100vw - 40px);
        right: -10px;
      }
    }
    .faq-section {
  padding: 24px 0;
  margin-bottom: 0;
}

.faq-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-item {
  background: white;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #333;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-arrow {
  color: #FF0000;
  font-size: 14px;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fafafa;
}

.faq-answer-content {
  padding: 0 16px 16px 16px;
  color: #666;
  line-height: 1.4;
  font-size: 13px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}
:root {
  --bg-primary: #f5f5f5;
  --bg-secondary: #FFFFFF;
  --text-primary: #333;
  --text-secondary: #666;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0,0,0,0.1);
  --shadow-medium: rgba(0,0,0,0.2);
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #404040;
  --shadow-light: rgba(255,255,255,0.1);
  --shadow-medium: rgba(255,255,255,0.2);
}
[data-theme="dark"] body {
  background: url('img/background-mos-DMODE.png') repeat, #1a1a1a;
  color: var(--text-primary);
}
[data-theme="dark"] .mapas-container,
[data-theme="dark"] #contacto {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}
[data-theme="dark"] .local-info {
  background-color: #3a3a3a;
  color: var(--text-primary);
}
[data-theme="dark"] .google-review {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}
[data-theme="dark"] .review-name {
  color: var(--text-primary);
}
[data-theme="dark"] .review-text {
  color: var(--text-secondary);
}
[data-theme="dark"] .faq-item {
  background: var(--bg-secondary);
}
[data-theme="dark"] .faq-question {
  color: var(--text-primary);
}
[data-theme="dark"] .faq-question:hover {
  background-color: #3a3a3a;
}
[data-theme="dark"] .faq-answer {
  background-color: #3a3a3a;
}
[data-theme="dark"] .faq-answer-content {
  color: var(--text-secondary);
}
[data-theme="dark"] .chat-form {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] #contacto input,
[data-theme="dark"] #contacto textarea {
  background-color: #3a3a3a;
  border-color: var(--border-color);
  color: var(--text-primary);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] #contacto input:focus,
[data-theme="dark"] #contacto textarea:focus {
  border-color: #25D366;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 18px;
  cursor: pointer;
  border: none;
  color: #000000;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: #000000;
  color: #ffffff;
}
[data-theme="dark"] .theme-toggle {
  background: #000000;
  color: #ffffff;
}
[data-theme="dark"] .theme-toggle:hover {
  background: #ffffff;
  color: #000000;
}
.theme-toggle #theme-icon {
  transition: all 0.3s ease;
  filter: none;
}
.theme-toggle:active {
  transform: translateY(0px) scale(0.95);
}
.theme-toggle #theme-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}
  </style>