/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-container {
    max-width: 100%;
    padding: 0px;
    
}

/* Header */
.header {
    background: #973f00;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-head{
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-brand{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0px;
}

.nav-brand h1 {
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex
;
    align-items: center;
    padding: 10px 0px;
}

.nav-brand-text {
    display: none;
    flex-direction: column;
    margin-left: 0.5rem;
    line-height: 1;
}

.brand-line-1 {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.brand-line-2 {
    color: white;
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero Carousel */
.hero-carousel {
    height: 100dvh;
    position: relative;
    background: linear-gradient(135deg, #d2691e, #8b4513);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 0 2rem;
}

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

.slide-bg.top {
    background-position: top center;
   }

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #431c00a8;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 600px;
    position: relative;
}

.carousel-logo {
    height: 300px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Removed slide-image styles as we're using background images now */

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Secciones generales */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #8b4513;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios */
.services {
    padding: 6rem 0;
    background: white;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 0;
    border-radius: 12px;
    background: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000006c;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3,
.service-card p {
    padding: 0 2rem;
}

.service-card h3 {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.service-card p {
    padding-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.1);
}

/* Removed service-icon styles as we're using images now */

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #8b4513;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* Ubicación */
.location {
    padding: 6rem 0;
    background: white;
    position: relative;
    z-index: 2;
}

.map-container {
    overflow: hidden;
    margin-bottom: 2rem;
}

.location-info {
    text-align: center;
}

.address {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b4513;
    font-size: 1.1rem;
    font-weight: 400;
}

.address i {
    font-size: 1.2rem;
}

.address-link {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-link:hover {
    color: #d2691e;
    text-decoration: underline;
}

/* Contacto */
.contact {
    padding: 6rem 0;
    background: white;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #d2691e;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    font-weight: 300;
}

.whatsapp-section {
    text-align: center;
}

.whatsapp-text {
    font-size: 1.7rem;
    color: #8b4513;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: white;
    color: #8b4513;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    font-weight: 300;
    opacity: 0.9;
    color: #8b4513;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn i {
    font-size: 2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: row;
        justify-content: flex-start;
        padding:  0px 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo-head {
        height: 50px;
    }
    
    .nav-brand-text {
        display: flex;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-logo {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .carousel-slide:first-child .slide-bg.top {
        background-position: 80% top ;
    }
    /* Centrar contenido pero alinear imagen de fondo hacia la derecha en móvil */
    .carousel-slide:first-child .slide-content {
        text-align: center;
        padding: 0 2rem;
    }
    
    .carousel-slide:first-child .carousel-logo {
        margin: 0 auto 1rem auto;
        max-width: 150px;
    }
    
    /* Alinear imagen de fondo hacia la derecha */
    .carousel-slide:first-child .slide-bg {
        background-position: right center;
    }
    
    .slide-bg {
        background-attachment: scroll;
    }
    
    /* Ajustar altura del carrusel en móvil */
    .hero-carousel {
        height: 100dvh; /* Altura completa de la ventana */
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-section {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        padding-top: 1rem;
        padding-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        padding: 0 1.5rem 1.5rem;
        line-height: 1.5;
    }
    
    .whatsapp-text {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .carousel-logo {
        height: 200px;
        margin-bottom: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        padding-top: 0.8rem;
        padding-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        padding: 0 1rem 1rem;
        line-height: 1.4;
    }
    
    .whatsapp-text {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .location {
        height: 100vh;
    }
    
    .location-info {
        top: 5px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .logo-head {
        height: 45px;
    }
    
    .nav-brand-text {
        display: flex;
    }
    
    .brand-line-1 {
        font-size: 1rem;
    }
    
    .brand-line-2 {
        font-size: 0.8rem;
    }
}
