/* Variables de color */
:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --accent-color: #90e0ef;
    --light-color: #caf0f8;
    --dark-color: #03045e;
    --text-color: #333;
    --light-text: #f8f9fa;
    --gray-light: #e9ecef;
    --gray-medium: #adb5bd;
    --gray-dark: #495057;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-top: -5px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-dark);
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.water-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230077b6"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%230077b6"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%230077b6"/></svg>');
    background-size: cover;
    z-index: 1;
}

/*Poner en Rojo Texto*/

 .red-text {
    color: red; /* Cambia el color del texto */
  }


/* Paquetes de Lavado */

 .custom-h5 {
            font-size: 22px; /* Cambia el tamaño de la fuente */
            color: white; /* Cambia el color del texto */
            text-align: left;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;

            display: flex;
            justify-content: space-between;
            margin: 0; /* Elimina márgenes extra */            
        }

  .custom-h5 span {
    flex-shrink: 0; /* Evita que los precios se encojan */
    text-align: right; /* Asegura que los precios estén alineados a la derecha */
  }


.packages {
    background-color: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Modificación para las tarjetas de paquetes */
.package-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex; /* Nuevo: Convertimos en contenedor flex */
    flex-direction: column; /* Nuevo: Apilamos elementos verticalmente */
    height: 100%; /* Nuevo: Aseguramos misma altura para todas */
}


.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 3px solid var(--accent-color);
}

.package-features {
    padding: 25px;
    flex-grow: 1; /* Ocupa todo el espacio disponible */
    margin-bottom: 60px; /* Espacio para el botón */
    min-height: 150px; /* Altura mínima para listas cortas */
}

.package-btn {
    position: absolute; /* Cambiamos a posición absoluta */
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    margin: 0;
}

.package-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    flex-shrink: 0; /* Evita que se encoja */
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.package-features {
    padding: 25px;
}

.package-features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.package-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.package-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    text-align: center;
}

/* Estética Automotriz */
.estetica {
    background-color: var(--light-color);
}

.estetica-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.estetica-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.estetica-card:hover {
    transform: translateY(-10px);
}

.estetica-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.estetica-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Promociones */
.promociones {
    background-color: white;
}

.promo-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.promo-slide:nth-child(1) {
    background: linear-gradient(to right, rgba(0, 119, 182, 0.8), rgba(0, 180, 216, 0.8)), url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
}

.promo-slide:nth-child(2) {
    background: linear-gradient(to right, rgba(144, 224, 239, 0.8), rgba(3, 4, 94, 0.8)), url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
}

.promo-slide:nth-child(3) {
    background: linear-gradient(to right, rgba(0, 180, 216, 0.8), rgba(144, 224, 239, 0.8)), url('https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
}

.promo-slide:nth-child(4) {
    background: linear-gradient(to right, rgba(0, 180, 216, 0.8), rgba(144, 224, 239, 0.8)), url('https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
}

.promo-slide:nth-child(5) {
    background: linear-gradient(to right, rgba(0, 180, 216, 0.8), rgba(144, 224, 239, 0.8)), url('https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
}

.promo-slide.active {
    opacity: 1;
}

.promo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.promo-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.promo-code {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-prev, .slider-next {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Recomendaciones */
.recomendaciones {
    background-color: var(--light-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-10px);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.tip-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Citas */
.citas {
    background-color: white;
}

.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

.appointment-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.appointment-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.appointment-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.appointment-info p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.appointment-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.appointment-info ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Contacto */
.contacto {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 15px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-map {
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo h3 span {
    color: var(--accent-color);
}

.footer-logo p {
    color: var(--gray-medium);
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-medium);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-newsletter h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-newsletter p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Roboto', sans-serif;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.legal-links a {
    color: var(--gray-medium);
    margin-left: 20px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .appointment-form,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    .nav li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        margin-top: 15px;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
}

/* Galería */
.galeria {
    background-color: white;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--gray-light);
    color: var(--gray-dark);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    color: white;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Contacto - Formulario */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#contactForm .form-group {
    margin-bottom: 20px;
}

#contactForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--gray-dark);
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#contactForm .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Ajustes para el grid de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
}

/*mapas*/

/* Mapa de Google */
.map-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 250px;
    background-color: #eee;
    position: relative;
}

.google-map:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://via.placeholder.com/800x400?text=Cargando+Mapa') center/cover no-repeat;
    z-index: 1;
}

.google-map iframe {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: none;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: var(--dark-color);
}

.map-link i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .google-map {
        height: 200px;
    }
}

/* Métodos de pago  pie de pagina*/
.payment-methods {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.payment-methods h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-icons img {
    width: 50px;
    height: auto;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.payment-icons img:hover {
    filter: none;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .payment-icons img {
        width: 40px;
    }
}


/* Para la opción de contacto */
.contact-info .payment-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Para la opción de paquetes */
.payment-note {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-note p {
    margin: 0;
    font-weight: 700;
    color: var(--dark-color);
}

.payment-icons-small {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .package-features {
        min-height: auto; /* En móviles no forzamos altura mínima */
        margin-bottom: 50px;
    }
    
    .package-btn {
        width: calc(100% - 30px);
        padding: 12px;
    }
}

.domicilio-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.domicilio-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.domicilio-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.domicilio-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .domicilio-banner {
        padding: 20px;
    }
    
    .domicilio-content h3 {
        font-size: 1.5rem;
    }
}

/* Otros Servicios */
.otrosServicios {
    background-color: var(--light-color);
    padding: 80px 0;
}

.otrosServicios .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.otrosServicios .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
}

.otrosServicios .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.otrosServicios .tip-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.otrosServicios .tip-card:hover {
    transform: translateY(-10px);
}

.otrosServicios .tip-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Imagen para barbería */
.otrosServicios .tip-card:nth-child(1) .tip-icon {
    background-image: url('https://images.unsplash.com/photo-1595476108010-b4d1f102b1b1?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=60&fit=crop');
    background-color: var(--primary-color);
}

/* Imagen para spa */
.otrosServicios .tip-card:nth-child(2) .tip-icon {
    background-image: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=60&fit=crop');
    background-color: var(--secondary-color);
}

.otrosServicios .tip-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.otrosServicios .tip-card p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.otrosServicios .btn {
    margin-top: 15px;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.otrosServicios .btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .otrosServicios .section-title {
        font-size: 2rem;
    }
    
    .otrosServicios .tip-icon {
        width: 80px;
        height: 80px;
    }
}

/* Modal de Confirmación de Paquete */
.package-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.package-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
     background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 95vh; /* Altura máxima */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Asegúrate de que el body mantenga el scroll */
body.modal-open {
    overflow: auto;
    position: static;
}


.package-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0px;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    overflow-y: auto; /* Scroll interno si es necesario */
    flex-grow: 1;
}

.vehicle-selection {
    margin-bottom: 30px;
}

.vehicle-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.vehicle-option {
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-option:hover {
    border-color: var(--accent-color);
}

.vehicle-option.selected {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.vehicle-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.price-display {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.qr-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background-color: white;
    padding: 10px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code canvas {
    max-width: 100%;
    height: auto;
}

.folio-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    letter-spacing: 2px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-btn i {
    font-size: 1.2rem;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.download-btn:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.email-btn {
    background-color: #d44638;
    color: white;
    border: 2px solid #d44638;
}

.email-btn:hover {
    background-color: #b33a2e;
    border-color: #b33a2e;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

.telegram-btn {
    background-color: #0088cc;
    color: white;
    border: 2px solid #0088cc;
}

.telegram-btn:hover {
    background-color: #006699;
    border-color: #006699;
}

.finish-btn {
    background-color: var(--gray-dark);
    color: white;
    border: 2px solid var(--gray-dark);
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.finish-btn:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

 /* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .vehicle-options {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
    
    .vehicle-option {
        padding: 10px;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .folio-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .modal-header h3 {
        font-size: 1.4rem;
        padding-right: 30px; /* Espacio para el botón de cerrar */
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .price-display {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .qr-section {
        padding: 15px 0;
        margin: 20px 0;
    }
}

/* Estilos para el modal de email */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.email-modal.active {
    opacity: 1;
    pointer-events: all;
}

.email-modal .modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.email-modal.active .modal-content {
    transform: translateY(0);
}

.email-modal .modal-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.email-modal .modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.email-modal .close-email-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
}

.email-modal .close-email-modal:hover {
    transform: rotate(90deg);
}

.email-modal .modal-body {
    padding: 25px;
}

.email-modal .email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-modal .summary-info {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.email-modal .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.email-modal .info-item {
    display: flex;
    justify-content: space-between;
}

.email-modal .info-label {
    font-weight: 700;
    color: var(--gray-dark);
}

.email-modal .info-value {
    color: var(--dark-color);
    font-weight: 600;
}

.email-modal .promo-optin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.email-modal .promo-optin input {
    width: 18px;
    height: 18px;
}

.email-modal .promo-optin label {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.email-modal .email-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.email-modal .cancel-btn {
    background-color: var(--gray-medium);
    flex: 1;
}

.email-modal .cancel-btn:hover {
    background-color: var(--gray-dark);
}

.email-modal .submit-email-btn {
    background-color: var(--primary-color);
    flex: 2;
}

.email-modal .submit-email-btn:hover {
    background-color: var(--dark-color);
}
