:root {
    --gold: #D4AF37;
    --gold-hover: #b8952e;
    --gold-light: #e6c667;
    --blue: #0074B7;
    /* Azul cerúleo refrescante y limpio */
    --blue-hover: #005a8f;
    --black: #111111;
    --grey: #eee;
    --cream: #f2e8d9;
    /* Crema fortalecido, beige rico y fuerte */
    --text-main: #333333;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Prevent body scroll when modal is active */
body.modal-open {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-strengthened-cream {
    background-color: var(--cream);
}

.bg-blue {
    background-color: var(--blue);
    color: white;
}

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

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

/* Fixed Navigation with Blue Background (from previous request) */
nav.fixed-nav {
    background: var(--blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-k {
    color: var(--white);
    font-weight: 300;
    font-size: 1.5rem;
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-k {
    color: var(--white);
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.9;
}

.logo-c {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-cta {
    background: transparent;
    border: none;
    color: var(--white) !important;
    padding: 0;
    border-radius: 0;
    font-weight: 600 !important;
    transition: 0.3s;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger active state */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* Hero Section with Elegant Image */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--black);
}

.badge {
    color: var(--black);
    background: var(--gold);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    margin: 25px 0;
    line-height: 1.1;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--black);
    background: var(--gold);
    padding: 13px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--gold-hover);
    color: var(--black);
}

/* Services (Grid with Real Images) */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.text-gold {
    color: var(--gold) !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 60px;
    font-weight: 300;
}

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

.service-card {
    background: white;
    padding: 0;
    /* padding removed for image flush */
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
}

.service-card.highlight-gold {
    border-bottom: 4px solid var(--gold);
}

.service-card.highlight-blue {
    border-bottom: 4px solid var(--blue);
}

/* Image styling within the card */
.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0);
    transition: 0.4s;
}

/* Content padding below the image */
.service-content {
    padding: 30px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--black);
}

.service-card p {
    font-size: 0.95rem;
    font-weight: 300;
}

/* Card Hover effects with image zoom and gold overlay */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.service-card:hover .service-image::after {
    background-color: rgba(212, 175, 55, 0.15);
    /* Soft Gold Overlay */
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-text li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Experience Section */
.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.experience-text h3 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.experience-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.experience-testimonials {
    margin-top: 40px;
}

.experience-testimonials h3 {
    color: var(--blue);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.testimonials {
    margin: 30px 0;
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.testimonials-stage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 278px;
    align-items: stretch;
    gap: 16px;
}

.testimonials.is-leaving {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(1px);
}

.testimonials.is-entering {
    opacity: 0;
    transform: translateY(-10px);
}

.testimonials blockquote {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 0;
    border-left: 4px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.testimonials cite {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: var(--blue);
    font-weight: 600;
}

.testimonials-meta {
    margin-top: 10px;
    min-height: 22px;
    font-size: 0.9rem;
    color: #6a6a6a;
    text-align: right;
    letter-spacing: 0.2px;
}

.experience-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Minimalist Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 116, 183, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 80vw;
    height: 70vh;
    max-width: 1000px;
    max-height: 700px;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 1001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1002;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 10px;
}

/* Contact Section (Refreshed layout) */
/* Contact Section adjustments */
.contact-card { 
    background: transparent; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: none;
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 0; 
}

/* Info Column */
.contact-info { 
    padding: 50px; 
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.whatsapp-box {
    margin-top: 40px;
    padding: 20px;
    background: var(--cream);
    border-radius: 8px;
    text-align: center;
}

.whatsapp-box p {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* WhatsApp Button Style */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366; /* WhatsApp Green */
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.4rem;
    margin-right: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Form Column */
.contact-form-wrapper { 
    padding: 50px; 
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* --- Estilos para el Formulario de Email --- */
.contact-form-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

/* Estilo para todos los inputs, selectores y el área de texto */
.contact-form-wrapper input, 
.contact-form-wrapper select, 
.contact-form-wrapper textarea {
    width: 100%;
    padding: 16px 18px 16px 45px; /* Adjusted for icon */
    border: 2px solid var(--gold);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    color: var(--black);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.1);
    font-weight: 400;
}

/* Placeholder styling */
.contact-form-wrapper input::placeholder,
.contact-form-wrapper select::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #888;
    font-style: italic;
    font-weight: 300;
}

/* Efecto cuando el usuario hace clic para escribir */
.contact-form-wrapper input:focus, 
.contact-form-wrapper select:focus, 
.contact-form-wrapper textarea:focus {
    border-color: var(--blue);
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    box-shadow: 0 0 15px rgba(0, 116, 183, 0.25);
    transform: translateY(-2px);
}

/* Input groups with icons */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 1rem;
    z-index: 1;
}

/* Adjust input padding for icons */
.contact-form-wrapper .input-group input,
.contact-form-wrapper .input-group select,
.contact-form-wrapper .input-group textarea {
    padding-left: 45px; /* Space for icon */
}

.contact-form-wrapper textarea {
    height: 120px;
    resize: vertical; /* Allow vertical resize */
    margin-bottom: 20px;
}

/* Estilo del Botón de Envío (Request Quote) */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: white;
    padding: 18px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--blue) 0%, #005a8f 100%);
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 116, 183, 0.5);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(-2px);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .hero {
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.8);
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        line-height: 45px;
    }
    
    .about-content,
    .experience-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image,
    .experience-image {
        order: -1; /* Image first on mobile */
        display: flex;
        justify-content: center;
    }
    
    .about-text,
    .experience-text {
        text-align: center;
    }
    
    .about-text h3,
    .experience-text h3 {
        text-align: center;
    }
    
    .about-text ul {
        text-align: left;
        display: inline-block;
    }
}

/* Footer (Manteniendo el azul para el cierre) */
footer { 
    padding: 40px 0; 
    background: var(--blue); 
    color: white;
    border-top: 4px solid var(--gold); 
}

/* Social Share Section */
.social-share {
    padding: 40px 0;
    background: var(--cream);
    text-align: center;
}

.social-share h3 {
    color: var(--blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-share p {
    color: var(--text-main);
    margin-bottom: 30px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    line-height: 50px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.facebook:hover {
    background: #166FE5;
    transform: translateY(-3px);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #d4832a 0%,#c65834 25%,#b8243b 50%,#a81e5e 75%,#9c1680 100%);
    transform: translateY(-3px);
}

/* Responsiveness */
@media (max-width: 768px) {

    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
    }

    .testimonials-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: 240px;
    }

    .testimonials {
        height: 285px;
    }

    .section-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero {
        height: auto;
        padding: 100px 0 80px;
    }

    .nav-container {
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px 12px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 24px;
        width: 45px;
        height: 45px;
    }

    .lightbox-content {
        width: 90vw;
        height: 60vh;
        max-width: 95vw;
        max-height: 80vh;
    }

}

@media (max-width: 560px) {
    .testimonials-stage {
        grid-template-columns: 1fr;
        height: 240px;
    }

    .testimonials {
        height: 285px;
    }
}