:root {
    --primary: #CD5C5C;
    --primary-dark: #b22222;
    --dark-background: #505050;
    --dark-accent: #6a2c2c;
    --light-grey: #f5f5f5;
    --text-dark: #333;
    --text-light: #e0e0e0;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(205, 92, 92, 0.4);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 10px;
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.whatsapp-btn {
    background-color: #25d366;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.map-btn {
    background-color: #4285F4;
    margin-top: 30px; 
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white); 
}

.map-btn:hover {
    background-color: #3567D3;
}

.lang-btn {
    background-color: rgba(205, 92, 92, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.lang-btn:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.lang-btn i {
    margin-right: 5px;
}

.section-padding {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-title span {
    color: var(--text-dark);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.dark-section .section-title h2 {
    color: var(--primary);
}

.dark-section .section-title p {
    color: var(--text-light);
}

header {
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(205, 92, 92, 0.9) 50%, rgba(178, 34, 34, 0.95) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: var(--navbar-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

header .navbar .logo,
header .navbar .nav-links a,
header .mobile-menu-btn {
    color: var(--text-dark);
}

.logo {
    color: var(--text-dark);
    font-size: 2.0rem;
}

.logo span { 
    color: var(--primary); 
}

header .navbar .nav-links a:hover {
    color: var(--dark-background);
    background-color: rgba(0, 0, 0, 0.08);
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: calc(0px - var(--navbar-height));
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(50, 20, 20, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: var(--white);
    padding-top: var(--navbar-height);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.features {
    display: none;
}

.service-item {
    background: var(--white);
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-img {
    flex: 1;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.service-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-text h3 { 
    color: var(--primary); 
    margin-bottom: 15px; 
}

.service-text h3 i {
    color: var(--text-dark);
    margin-right: 10px;
}

.extended-benefits {
    background-color: var(--dark-background);
    color: var(--white);
}

.extended-benefits .section-title p {
    color: var(--white);
}

.extended-benefits .section-title .subtitle-white {
    color: var(--white);
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(205, 92, 92, 0.3);
}

.benefit-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
    min-width: 40px;
}

.process { 
    background-color: var(--light-grey); 
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.gallery {
    background: linear-gradient(135deg, #3d3d3d 0%, #4a4a4a 50%, #5a4a4a 100%);
    color: var(--white);
    padding: 100px 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.ba-slide {
    flex-shrink: 0;
    padding: 15px;
}

.three-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    height: 500px;
}

.two-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 500px;
}

.image-panel {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.image-panel:hover {
    transform: scale(1.02);
}

.video-panel {
    background: none;
}

.video-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.panel-label {
    display: none;
}

.carousel-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.carousel-nav button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(205, 92, 92, 0.6);
    margin: 0 10px;
    pointer-events: auto;
    opacity: 1;
}

.carousel-nav button:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(205, 92, 92, 0.8);
}

.nav-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

.dot {
    height: 10px;
    width: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

#contact-cta {
    background-color: var(--white);
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#contact-cta .section-title h2 {
    color: var(--primary);
}

#contact-cta .section-title span {
    color: var(--text-dark);
}

#contact-cta .section-title p {
    color: #666;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
    padding: 0 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    max-width: 300px;
    flex-shrink: 0;
    color: var(--text-dark);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

footer {
    background-color: var(--dark-background);
    color: var(--text-light);
    padding: 0 0 20px;
    padding-top: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    transition: color 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
    opacity: 0.85;
}

@media (min-width: 769px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.hide-cta {
    display: none;
}

.fade-in, .fade-left, .fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    transform: translateY(30px);
}

.fade-in.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .fade-left {
        transform: translateX(-50px);
    }

    .fade-right {
        transform: translateX(50px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 2.5rem; 
    }
    
    .navbar { 
        padding: 0 20px; 
    }
    
    .nav-links { 
        display: none; 
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    .service-item { 
        flex-direction: column; 
    }
    
    .service-img { 
        height: 200px; 
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        right: 0;
        width: 70%;
        max-width: 300px;
        background-color: var(--dark-background);
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-links.active a {
        color: var(--white);
        padding: 10px 0;
    }
    
    .nav-links.active .lang-btn {
        background-color: rgba(205, 92, 92, 0.2);
        color: var(--white);
        margin-top: 10px;
    }
    
    .nav-links.active .lang-btn:hover {
        background-color: var(--primary);
    }
    
    header {
        height: auto;
    }
    
    .fade-left,
    .fade-right {
        transform: translateY(30px);
    }
    
    .three-panel-grid,
    .two-panel-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }
    
    .image-panel {
        height: 250px;
    }
    
    .carousel-nav button {
        padding: 10px 8px;
        font-size: 1.2rem;
        margin: 0 5px;
    }
}