/* Estilos generales */
:root {
    --primary-color: #1E3A8A;    /* Azul oscuro (principal) */
    --secondary-color: #10B981;  /* Verde (secundario) */
    --accent-color: #DC2626;     /* Rojo (acento) */
    --light-color: #FFFFFF;      /* Blanco */
    --dark-color: #1E3A8A;       /* Azul oscuro */
    --gray-color: #6B7280;       /* Gris para textos */
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #0D9F71;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.highlight-green {
    color: var(--secondary-color);
}

.highlight-red {
    color: var(--accent-color);
}

.bg-green {
    background-color: var(--secondary-color);
}

.bg-red {
    background-color: var(--accent-color);
}

/* Header */
header {
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
}

.logo h1 span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.contacto-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.contacto-header i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Hero Section con video */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Capa oscura sobre el video (reemplaza el gradient) */
.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Resto de estilos del hero se mantienen igual */
/* Servicios Section */
.servicios {
    padding: 80px 0;
    background: #f8f9fa;
}

.servicios h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servicio {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.servicio:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
    border-top-color: var(--secondary-color);
}

.servicio i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.servicio:hover i {
    color: var(--light-color);
    background: var(--secondary-color);
    transform: rotate(10deg);
}

.servicio h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.servicio p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.servicio-link:hover {
    transform: translateX(5px);
}

/* Nosotros Section */
.nosotros {
    padding: 80px 0;
    background: var(--light-color);
}

.nosotros .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.nosotros h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.nosotros p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.lista-ventajas {
    margin-top: 20px;
    list-style: none;
}

.lista-ventajas li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-ventajas i {
    font-size: 1.2rem;
}

.nosotros-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contacto Section */
.contacto {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contacto p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

#formulario-contacto {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

#formulario-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col i {
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #14213d;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .nosotros .container {
        grid-template-columns: 1fr;
    }
    
    .nosotros-imagen {
        order: -1;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .servicio {
        padding: 20px;
    }
    
    #formulario-contacto {
        padding: 20px;
    }
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    /* Ajustar el padding superior del hero para el header móvil */
    .hero {
        padding-top: 70px; /* Igual a la altura del header */
        height: auto;
        min-height: calc(100vh - 70px); /* Altura total menos el header */
    }

    /* Asegurar que el video no se solape */
    .hero-video {
        top: 70px; /* Empieza después del header */
        height: calc(100% - 70px);
    }

    /* Contenedor del contenido del hero */
    .hero .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Menú móvil cuando está abierto */
    nav.active {
        position: fixed;
        top: 70px; /* Debajo del header */
        left: 0;
        width: 100%;
        background: var(--light-color);
        z-index: 1000;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    /* Ajustar el contenido cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .hero-content {
        display: none; /* Ocultar contenido cuando el menú está abierto */
    }
}

/* Sección servicios de mudanza */

  .residential-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    font-family: sans-serif;
  }

  .residential-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
  }

  .cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .service-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 380px;
    display: flex;
    flex-direction: column;
  }

  .service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }

  .card-content {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .card-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
  }

  .card-content ul li {
    margin-bottom: 6px;
    color: #444;
  }

  .card-content h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .residential-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    font-family: sans-serif;
  }

  .residential-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
  }

  .cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }

  .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .card-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
  }

  .card-content ul li {
    margin-bottom: 6px;
    color: #444;
  }

  .card-content h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .cotizar-btn {
    margin-top: auto;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }

  .cotizar-btn:hover {
    background-color: #0056b3;
  }

  /* Estilos para los botones sociales */
.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.social-btn:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Colores específicos para cada botón */
.whatsapp-btn {
    background-color: #25D366;
}

.facebook-btn {
    background-color: #1877F2;
}

.instagram-btn {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 80%;
        max-width: 250px;
        height: 80px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 20px;
        gap: 15px;
    }
    
    .social-btn i {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
}

/* Estilos para la página de servicios de mudanza */
.servicios-mudanza {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.servicios-mudanza .container {
    max-width: 1200px;
}

.servicios-mudanza h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.servicios-mudanza .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.tipo-mudanza {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.mudanza-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mudanza-contenido {
    padding: 30px;
}

.mudanza-contenido h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight-blue {
    color: #2563EB;
}

.highlight-green {
    color: var(--secondary-color);
}

.highlight-red {
    color: var(--accent-color);
}

.incluye h4, .adicional h4 {
    font-size: 1.3rem;
    margin: 20px 0 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
}

.incluye h4::after, .adicional h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.incluye ul {
    list-style: none;
}

.incluye ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.incluye ul li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.grid-adicional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.adicional ul {
    list-style: none;
}

.adicional ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.adicional ul li i {
    color: var(--accent-color);
    margin-top: 3px;
}

.comentario {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--secondary-color);
}

.comentario p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #065f46;
}

.comentario i {
    color: var(--secondary-color);
}

.btn-cotizar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
}

.btn-cotizar:hover {
    background: #10B981;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* Estilos para los videos de mudanza */
.mudanza-video {
    position: relative;
    overflow: hidden;
    background: #000;
}

.mudanza-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.tipo-mudanza:hover .mudanza-video video {
    opacity: 1;
}

/* Capa oscura para mejorar legibilidad del texto superpuesto (opcional) */
.mudanza-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* Ajustes responsive para videos */
@media (max-width: 1024px) {
    .tipo-mudanza {
        grid-template-columns: 1fr;
    }
    
    .mudanza-video {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mudanza-video {
        height: 300px;
    }
}

/* Ajustes para el header en móviles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--secondary-color);
    height: var(--header-height); /* Añade esta línea */
}

/* Añade margen superior equivalente al header */
body {
    padding-top: var(--header-height);
}

/* Asegúrate que las secciones tengan padding extra en móviles */
@media (max-width: 768px) {
    section {
        scroll-margin-top: var(--header-height);
    }
    
    .hero {
        margin-top: 0; /* Elimina el margin-top que tenía antes */
    }
}

/* Menú móvil */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--light-color);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active ul {
        max-height: 100vh;
        padding: 20px 0;
    }
    
    nav ul li a {
        padding: 15px 20px;
    }
    
    /* Asegura que el contenido no se desplace */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Ajustes específicos para servicios-mudanza.html */
.servicios-mudanza {
    padding: 40px 0 80px; /* Más padding abajo */
}

@media (max-width: 768px) {
    .servicios-mudanza {
        padding-top: 20px;
    }
    
    .tipo-mudanza {
        margin-bottom: 40px;
    }
    
    .mudanza-contenido {
        padding: 20px 15px;
    }
}

/* Estilos del cotizador */
.cotizador-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cotizador-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cotizador-section .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.cotizador-steps {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 30px;
    position: relative;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-header .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-header p {
    color: var(--gray-color);
}

.step-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.option-card.selected {
    border-color: var(--secondary-color);
    background-color: rgba(16, 185, 129, 0.05);
}

.option-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.option-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.option-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.additional-services {
    margin-bottom: 30px;
}

.service-option {
    margin-bottom: 15px;
}

.service-option input {
    display: none;
}

.service-option label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-option label:hover {
    border-color: var(--secondary-color);
}

.service-option input:checked + label {
    background-color: rgba(16, 185, 129, 0.05);
    border-color: var(--secondary-color);
}

.service-option i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quote-result {
    margin: 30px 0;
}

.quote-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.quote-summary h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

#quote-details li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e7eb;
    display: flex;
    justify-content: space-between;
}

.quote-total {
    text-align: center;
    padding: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
}

.quote-total h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.quote-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col i {
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #14213d;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.footer-bottom p {
    font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 1024px) {
    .option-card {
        padding: 15px;
    }
    
    .cotizador-steps {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .cotizador-steps {
        padding: 15px;
    }
    
    .step-options {
        grid-template-columns: 1fr;
    }
    
    .quote-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .quote-actions .btn {
        width: 100%;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .form-group input, 
    .form-group select {
        padding: 10px 12px;
    }
}

/* Agrega esto al final de tu CSS */
.success-message {
    text-align: center;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
}

.success-message i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.success-message h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

#codigo-seguimiento {
    font-weight: bold;
    color: var(--accent-color);
}

/* Formulario de contacto */
.contact-form {
    margin-top: 30px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* Loader y mensajes */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10B981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #10B981;
}

.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #DC2626;
}

/* Añade esto a tu CSS */
#enviar-cotizacion {
    background-color: #10B981;
    color: white;
    border: none;
}

#enviar-cotizacion:hover {
    background-color: #0D9F71;
    transform: translateY(-2px);
}

#enviar-cotizacion:disabled {
    background-color: #6B7280;
    cursor: not-allowed;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

/* Agrega esto a tu styles.css */

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10B981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

.error-message i {
    font-size: 1.2em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Estilos para campos con error */
.error {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Estilos para el loader */
.fa-spinner {
    margin-right: 5px;
}
