* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  /* Estilos generales */
  body {
    transition: background-color 0.3s, color 0.3s;
    scroll-behavior: smooth;
  }
  
  .dark-mode {
    background-color: #121212;
    color: white;
  }
  
  .dark-mode .header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1920/1080');
  }
  
  .dark-mode nav {
    background-color: #1a1a1a;
  }
  
  .dark-mode .service-card, .dark-mode .blog-post, .dark-mode .modal-content, .dark-mode #quote-container, .dark-mode #chatbot-container {
    background-color: #2a2a2a;
    color: white;
  }
  
  .dark-mode .service-card i, .dark-mode .about-item i {
    color: #ff9900;
  }
  
  .dark-mode .contact, .dark-mode .about, .dark-mode .payment-methods {
    background-color: #333;
  }
  
  .dark-mode button {
    background-color: #ff9900;
    color: white;
  }
  
  .dark-mode .blog-post a {
    color: #ff9900;
  }
  
  .dark-mode .footer-content {
    background-color: #1a1a1a;
  }
  
  .dark-mode .footer-bottom {
    background-color: #0f0f0f;
  }
  
  /* Header y Navegación */
  .header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    height: 500px;
    color: white;
    text-align: center;
    padding: 150px 20px;
  }
  
  nav {
    background-color: #003366;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-img {
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
  }

  .logo-eq {
    height: 80px;
    margin-right: 20px;
    border-radius: 5px;
  }
  
  .nav-buttons {
    display: flex;
    gap: 10px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #ff9900;
  }
  
  /* Sobre Nosotros */
  .about {
    padding: 80px 20px;
    background-color: #f9f9f9;
  }
  
  .about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .about-item {
    margin-bottom: 20px;
  }
  
  .about-item h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .about-item i {
    color: #003366;
    font-size: 24px;
  }
  
  /* Servicios */
  .services {
    padding: 80px 20px;

  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: black;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .service-icon {
    font-size: 40px;
    color: #003366;
    margin-bottom: 20px;
    transition: transform 0.5s;
  }
  
  .service-card:hover .service-icon {
    transform: scale(1.2);
  }
  
  /* Blog */
  .blog {
    padding: 80px 20px;

  }
  
  .blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .blog-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .blog-post:hover {
    transform: translateY(-10px);
  }
  
  .blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .blog-post h3 {
    padding: 20px 20px 10px;
    font-size: 18px;
  }
  
  .blog-date {
    padding: 0 20px;
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .blog-post p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: #555;
  }
  
  .read-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: #003366;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Contacto */
  .contact {
    padding: 80px 20px;
    background-color: #003366;
    color: white;
    text-align: center;
  }
  
  .contact form {
    max-width: 600px;
    margin: 30px auto;
    display: grid;
    gap: 20px;
  }
  
  input, textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
  }
  
  button {
    background-color: #ff9900;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #ff8800;
  }
  
  /* Métodos de Pago */
  .payment-methods {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .payment-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
  }
  
  .payment-icons i {
    font-size: 50px;
    color: #003366;
  }
  
  /* Mapa */
  #map {
    height: 400px;
    width: 100%;
  }
  
  /* Footer */
  .footer-content {
    background-color: #002244;
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #ff9900;
  }
  
  .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #ff9900;
  }
  
  .footer-bottom {
    background-color: #001933;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  /* Títulos */
  h1 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff9900;
  }
  
  /* Chatbot */
  #chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #eee;
  }
  
  #chatbot-header {
    background: #003366;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }
  
  #close-chat, #close-quote {
    cursor: pointer;
    font-size: 20px;
  }
  
  .chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f5f5f5;
  }
  
  .chat-bubble {
    padding: 12px;
    margin: 8px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
  }
  
  .user-bubble {
    background: #003366;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
  }
  
  .bot-bubble {
    background: #e9e9e9;
    color: black;
    margin-right: auto;
    border-bottom-left-radius: 5px;
  }
  
  #chat-input {
    border: none;
    border-top: 1px solid #eee;
    padding: 15px;
    width: 100%;
    font-size: 16px;
  }
  
  #send-btn {
    background: #ff9900;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
  }
  
  #chatbot-toggle, #quote-toggle {
    position: fixed;
    bottom: 20px;
    background: #003366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
  }
  
  #chatbot-toggle {
    right: 20px;
  }
  
  #quote-toggle {
    right: 90px;
  }
  
  #chatbot-toggle:hover, #quote-toggle:hover {
    transform: scale(1.1);
    background-color: #ff9900;
  }
  
  /* Cotización rápida mejorada */
  #quote-container {
    position: fixed;
    bottom: 80px;
    right: 90px;
    width: 300px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #eee;
  }
  
  #quote-header {
    background: #ff9900;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }
  
  #quote-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  #quote-result {
    margin: 0 20px 20px;
    font-weight: bold;
    text-align: center;
    color: #003366;
    font-size: 18px;
  }
  
  #quote-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  #quote-form button {
    background: #003366;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #quote-form button:hover {
    background: #00254d;
  }
  
  /* Modal Login */
  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
  }
  
  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
  }
  
  .close-modal {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  #login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }
  
  #login-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  #register-link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Animaciones */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-container {
      flex-direction: column;
      gap: 10px;
    }
    
    nav ul {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
    
    .about-container {
      flex-direction: column;
    }
    
    #quote-container {
      right: 20px;
      width: 80%;
    }
    
    #quote-toggle {
      right: 20px;
      bottom: 90px;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
    }
    
    .footer-logo {
      align-items: center;
    }
  }