:root {
    --bg-color: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --accent-gold: #d4af37;
    --card-bg: #2a2a2a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Utilidades --- */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.btn:hover { background-color: #c19b2e; }
.section-padding { padding: 80px 0; }
.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

.divider {
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto 30px;
}

/* --- Header / Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo span {
    font-size: 10px;
    font-family: var(--font-body);
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.lang-switch {
    display: flex;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}
.lang-switch button {
    background: none;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
}
.lang-switch button.active {
    background: var(--accent-gold);
    color: black;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    /* RUTA CORREGIDA AQUÍ */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/1bkgnd.png') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-style: italic;
}
.hero h1 span {
    font-style: normal;
    display: block;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.hero-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 1px solid white;
}
.hero-buttons .btn-outline:hover {
    background: white;
    color: black;
}

/* --- Estándar de Excelencia --- */
.excelencia {
    background-color: #1f1f1f;
}
.excelencia h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.excelencia p.intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}
.feature-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}
.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.feature-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- Servicios (Collages) --- */
.servicios {
    background-color: var(--bg-color);
}
.servicios-intro {
    max-width: 800px;
    margin-bottom: 50px;
}
.servicios-intro h2 { font-size: 2.5rem; margin-bottom: 20px; text-transform: uppercase;}
.servicios-intro p { color: var(--text-gray); margin-bottom: 20px;}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }

.service-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
    gap: 2px;
    background: #000;
}
.service-img-grid.style-1 > div:first-child { grid-row: span 2; }
.service-img-grid.style-2 > div:last-child { grid-column: span 2; grid-row: 2; }

.service-img {
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
}
.service-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-content p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 15px; }
.service-content a { color: var(--text-gray); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;}
.service-content a:hover { color: var(--accent-gold); }

/* --- Espacios de Vida (Galería) --- */
.espacios {
    background-color: #1f1f1f;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}
.gallery-item {
    height: 200px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* --- Proceso --- */
.proceso {
    background-color: var(--bg-color);
}
.process-steps {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.step-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}
.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--accent-gold);
    color: black;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.step-icon {
    color: var(--accent-gold);
    font-size: 24px;
    margin-top: 5px;
}
.step-content h3 { margin-bottom: 10px; }
.step-content p { color: var(--text-gray); font-size: 0.9rem; }

.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    /* RUTA CORREGIDA AQUÍ */
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/10bknd2.png') center/cover;
    border-radius: 8px;
}
.cta-section .icon { color: var(--accent-gold); font-size: 40px; margin-bottom: 20px;}
.cta-section h2 { margin-bottom: 15px; }
.cta-section p { color: var(--text-gray); margin-bottom: 20px; max-width: 600px; margin-left: auto; margin-right: auto;}

/* --- Acerca de Nosotros --- */
.nosotros {
    background-color: #1f1f1f;
}
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
}
.info-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
}
.info-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
.info-card p { color: var(--text-gray); margin-bottom: 15px; font-size: 0.9rem;}

.stats-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.stat { text-align: center; }
.stat-num { color: var(--accent-gold); font-size: 2.5rem; font-family: var(--font-heading); font-weight: bold;}
.stat-text { color: var(--text-gray); font-size: 0.9rem; }

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.valor-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
}
.valor-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

/* --- Contacto y Footer --- */
.contacto {
    background-color: var(--bg-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 40px auto 0;
}
.contact-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.contact-icon {
    color: var(--accent-gold);
    font-size: 24px;
    width: 40px;
    text-align: center;
}
.contact-info h4 { font-size: 1rem; margin-bottom: 5px;}
.contact-info p { color: var(--text-gray); font-size: 0.9rem; margin:0;}

.emergency-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}
.emergency-card h3 { margin-bottom: 15px; }
.emergency-card p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 20px;}

footer {
    background-color: #111;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-gold); }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}
.social-links a:hover { background: var(--accent-gold); color: black;}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .lang-switch { display: none; }
    
    .hero h1 { font-size: 2.5rem; }
    .excelencia h2 { font-size: 2rem; }
    
    .service-img-grid { grid-template-rows: 100px 100px; }
    
    .nosotros-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
    .nosotros-grid { grid-template-columns: 2fr 1fr; }
}
