/* css/style.css - Versión Premium 2.0 */

/* --- FUENTES DE GOOGLE --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Playfair+Display:wght@600;700&display=swap');

/* --- VARIABLES DE DISEÑO DE LUJO --- */
:root {
    --color-bg-dark: #0D1117; /* Carbón profundo, casi negro */
    --color-bg-light: #161B22; /* Gris oscuro para paneles */
    --color-accent: #C9B47F;   /* Oro viejo / Bronce */
    --color-accent-hover: #E1D0A3; /* Acento más brillante para hover */
    --color-text-primary: #E6EDF3; /* Blanco roto, fácil de leer */
    --color-text-secondary: #8B949E; /* Gris claro para subtítulos y párrafos */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-fast: all 0.3s ease;
    --transition-slow: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- RESET Y ESTILOS BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* --- COMPONENTES GLOBALES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; color: var(--color-accent); }

p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: transparent;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.btn:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- EFECTO PARALLAX --- */
.parallax-bg {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* La magia del Parallax */
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(13, 17, 23, 1) 0%, rgba(13, 17, 23, 0.4) 50%, rgba(13, 17, 23, 0.8) 100%);
    z-index: 1;
}

/* --- ANIMACIÓN DE REVELADO AL SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER Y MENÚ HAMBURGUESA --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-primary);
    text-decoration: none;
    z-index: 1001; /* Para estar sobre el overlay */
    transition: color 0.3s ease;
}

.menu-toggle {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animación del ícono a 'X' */
.menu-toggle.active .bar-top {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active .bar-mid {
    opacity: 0;
}
.menu-toggle.active .bar-bottom {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- MENÚ OVERLAY PANTALLA COMPLETA --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    list-style: none;
    text-align: center;
}

.nav-item {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Animación escalonada de los links */
.nav-overlay.active .nav-item {
    opacity: 1;
    transform: translateY(0);
}
.nav-overlay.active .nav-item:nth-child(1) { transition-delay: 0.2s; }
.nav-overlay.active .nav-item:nth-child(2) { transition-delay: 0.3s; }
.nav-overlay.active .nav-item:nth-child(3) { transition-delay: 0.4s; }
.nav-overlay.active .nav-item:nth-child(4) { transition-delay: 0.5s; }
.nav-overlay.active .nav-item:nth-child(5) { transition-delay: 0.6s; }

.nav-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-text-primary);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

/* --- SECCIONES DE CONTENIDO GENERAL --- */
.text-center {
    text-align: center;
}
.text-center h2 {
    margin-bottom: 1rem;
}
.section-intro {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* --- TARJETAS DE SERVICIO (INDEX & SERVICIOS) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-light);
    padding: 40px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.service-card .card-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* --- PÁGINA "NOSOTROS" --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 500px;
}

/* --- PÁGINA "GALERÍA" --- */
.gallery-grid {
    column-count: 3;
    column-gap: 15px;
}
.gallery-item {
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}
.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- PÁGINA "CONTACTO" --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-info .icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    background-color: var(--color-bg-light);
    border: 1px solid #333;
    color: var(--color-text-primary);
    border-radius: 5px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-bg-light);
    padding: 80px 0 40px 0;
    border-top: 1px solid #2a2a2a;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-col a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}
.social-links a {
    font-size: 1.2rem;
    margin-right: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-content, .contact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        column-count: 2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .section {
        padding: 80px 0;
    }
    .gallery-grid {
        column-count: 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        margin-top: 20px;
    }
    .contact-grid {
        gap: 60px;
    }
}


/* ==== ENHANCEMENTS INDEX ==== */

/* Header cristal + línea dorada */
.header{
    background: rgba(13,17,23,.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(191,168,122,.25); /* hilo dorado */
}

/* Hero – gradiente más fino */
.parallax-bg::after{
    background: linear-gradient(
        to top,
        rgba(13,17,23,.9) 0%,
        rgba(13,17,23,.35) 40%,
        rgba(13,17,23,0) 65%
    );
}

/* Sombra suave al texto hero para legibilidad */
.hero h1,
.hero p{
    text-shadow: 0 2px 4px rgba(0,0,0,.45);
}

/* --- Botón premium --- */
.btn{
    position: relative;
    overflow: hidden;
    border-radius: 60px;
    transition: color .3s ease, transform .3s ease;
}
.btn::before{               /* halo interno */
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    background: rgba(191,168,122,.15);
    opacity:0;
    transition:opacity .3s ease;
}
.btn:hover{
    background: var(--color-accent);
    color: #0d1117;
    transform: translateY(-4px);
}
.btn:hover::before{
    opacity:1;
}

/* Service cards – elegancia & levitación */
.service-card{
    border: 1px solid transparent;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    transition: box-shadow .35s ease, transform .35s ease;
}
.service-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

/* Iconos dorados menos saturados */
.service-card .card-icon{
    color: #bfa87a;
}

/* Ajustes responsivos sutiles */
@media(max-width:768px){
    .hero h1{font-size: clamp(2rem,8vw,3.2rem);}
    .service-card{padding:32px;}
}

/* ==== ENHANCEMENTS – SERVICIOS ==== */

/* 1. Hero refinado (mismo patrón que home) */
.hero.parallax-bg::after{
    background: linear-gradient(
        to top,
        rgba(13,17,23,.90) 0%,
        rgba(13,17,23,.35) 45%,
        rgba(13,17,23,0)   70%);
}
.hero.parallax-bg h1,
.hero.parallax-bg p{
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

/* 2. Bloque de servicio como “card” satinada */
.about-content{
    background: linear-gradient(145deg, rgba(22,27,34,.45), rgba(22,27,34,.25));
    border: 1px solid rgba(191,168,122,.18);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 18px 40px rgba(0,0,0,.20);
    transition: transform .45s var(--transition-fast), box-shadow .45s var(--transition-fast);
}
.about-content:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 60px rgba(0,0,0,.28);
}

/* 3. Imágenes con “pop” elegante */
.about-image-wrapper img{
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.30);
}

/* 4. Titulares dorados sutiles */
.about-text h3{
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: .5px;
}

/* 5. Listas refinadas */
.about-text ul{
    list-style: none;
    margin-top: 1rem;
}
.about-text ul li{
    position: relative;
    padding-left: 26px;
    margin-bottom: .75rem;
    color: var(--color-text-secondary);
}
.about-text ul li::before{
    content: '\\2022';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 1.2rem;
    line-height: 1;
}

/* 6. Ajustes responsivos */
@media(max-width:992px){
    .about-content{
        padding: 40px;
    }
}
@media(max-width:768px){
    .about-content{
        grid-template-columns: 1fr;     /* stack imagen+texto */
        text-align: center;
    }
    .about-image-wrapper{order:-1; margin-bottom: 40px;}
}

/* ==== ENHANCEMENTS – NOSOTROS ==== */

/* 1. Hero refinado */
.hero.parallax-bg::after{
    background: linear-gradient(to top,
        rgba(13,17,23,.92) 0%,
        rgba(13,17,23,.4) 45%,
        rgba(13,17,23,0) 70%);
}
.hero.parallax-bg h1,
.hero.parallax-bg p{
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

/* 2. Separador dorado antes de sección */
.section:first-of-type::before{
    content:'';
    display:block;
    width:120px;
    height:3px;
    margin:0 auto 60px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent) 50%,
        transparent 100%);
    opacity:.5;
}

/* 3. Card satinada del equipo */
.about-content{
    background: linear-gradient(145deg,
        rgba(22,27,34,.45),
        rgba(22,27,34,.25));
    border: 1px solid rgba(191,168,122,.18);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 18px 40px rgba(0,0,0,.20);
    transition: transform .45s var(--transition-fast),
                box-shadow .45s var(--transition-fast);
}
.about-content:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 60px rgba(0,0,0,.26);
}

/* 4. Imagen “studio” */
.about-image{
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
    object-fit: cover;
}

/* 5. Headings dorados elegantes */
.about-text h3{
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: .4px;
}
.about-text h2{
    margin-top:.5rem;
}

/* 6. Párrafos gris perla */
.about-text p{
    color: var(--color-text-secondary);
}

/* 7. Responsive */
@media(max-width:992px){
    .about-content{padding:40px;}
}
@media(max-width:768px){
    .about-content{
        grid-template-columns:1fr;
        text-align:center;
    }
    .about-image-wrapper{order:-1;margin-bottom:40px;}
}

/* ==== ENHANCEMENTS – GALERÍA ==== */

/* 1. Hero refinado (misma coherencia visual) */
.hero.parallax-bg::after{
    background: linear-gradient(
        to top,
        rgba(13,17,23,.92) 0%,
        rgba(13,17,23,.35) 45%,
        rgba(13,17,23,0)   70%);
}
.hero.parallax-bg h1,
.hero.parallax-bg p{
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

/* 2. Grid responsivo elegante */
.gallery-grid{
    column-count: 3;                 /* desktop ≥1200 px */
    column-gap: 20px;
}
@media (max-width: 1199px){
    .gallery-grid{column-count:2;}
}
@media (max-width: 768px){
    .gallery-grid{column-count:1;}
}

/* 3. Tarjeta-imagen premium */
.gallery-item{
    position:relative;
    margin-bottom:20px;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 12px 32px rgba(0,0,0,.25);
    transition:transform .45s ease;
}
.gallery-item:hover{
    transform:translateY(-6px) scale(1.02);
}

/* 4. Imagen con zoom suave */
.gallery-item img{
    width:100%;
    display:block;
    transition:transform .45s cubic-bezier(.23,1,.32,1);
}
.gallery-item:hover img{
    transform:scale(1.08);
}

/* 5. Overlay cristal + filo dorado */
.gallery-item .overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:22px;
    background:rgba(11,15,20,.55);
    backdrop-filter:blur(6px);
    color:var(--color-text-primary);
    font-size:1rem;
    font-weight:500;
    letter-spacing:.3px;
    border:1px solid rgba(191,168,122,.18);
    opacity:0;
    transform:translateY(14px);
    transition:opacity .35s ease, transform .35s ease;
}
.gallery-item:hover .overlay{
    opacity:1;
    transform:translateY(0);
}

/* 6. Fondo para texto overlay más legible en móviles */
@media (max-width:768px){
    .gallery-item .overlay{
        font-size:.95rem;
        padding:18px;
    }
}


/* ==== ENHANCEMENTS – CONTACTO ==== */

/* 1. Hero coherente con todo el sitio */
.hero.parallax-bg::after{
    background: linear-gradient(
        to top,
        rgba(13,17,23,.92) 0%,
        rgba(13,17,23,.35) 45%,
        rgba(13,17,23,0)   70%);
}
.hero.parallax-bg h1,
.hero.parallax-bg p{
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

/* 2. Caja satinada (columna izquierda) */
.contact-info{
    background: linear-gradient(145deg,
        rgba(22,27,34,.45),
        rgba(22,27,34,.25));
    border: 1px solid rgba(191,168,122,.18);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 18px 40px rgba(0,0,0,.20);
    transition: transform .45s var(--transition-fast),
                box-shadow .45s var(--transition-fast);
}
.contact-info:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 60px rgba(0,0,0,.26);
}

/* 3. Icono circular dorado */
.contact-info .icon{
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(191,168,122,.15);
    border-radius: 50%;
    text-align: center;
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-right: 18px;
}

/* 4. Campos “glass” en el formulario */
.contact-form input,
.contact-form textarea{
    background: rgba(22,27,34,.65);
    border: 1px solid rgba(191,168,122,.15);
    border-radius: 8px;
    color: var(--color-text-primary);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(191,168,122,.25);
}

/* 5. Botón halo */
.contact-form .btn{
    position: relative;
    overflow: hidden;
}
.contact-form .btn::before{               /* brillo interno */
    content:'';
    position:absolute;
    inset:0;
    background: rgba(191,168,122,.15);
    border-radius: inherit;
    opacity:0;
    transition:opacity .3s ease;
}
.contact-form .btn:hover::before{
    opacity:1;
}

/* 6. Responsive ajustes suaves */
@media(max-width:992px){
    .contact-info{padding:40px;}
}
@media(max-width:768px){
    .contact-grid{gap:60px;}
    .contact-info{order:2;}
}



/* esto es lo de la otra pagina */

/* === RESET BÁSICO Y CONFIGURACIÓN GLOBAL === */
:root {
    --color-primary: #ffffff; /* Negro profundo o gris muy oscuro */
    --color-secondary: #2c2c2c; /* Gris oscuro para acentos */
    --color-accent: #b08d57; /* Dorado/Bronce - El toque de lujo */
    --color-text-light: #f0f0f0; /* Texto claro sobre fondos oscuros */
    --color-text-dark: #333333; /* Texto oscuro sobre fondos claros */
    --color-light-bg: #f9f9f9; /* Fondo claro sutil */

    --font-primary: 'Playfair Display', serif; /* Para títulos y elementos destacados */
    --font-secondary: 'Montserrat', sans-serif; /* Para cuerpo de texto y UI */

    --container-width: 1200px;
    --section-padding: 60px 0; /* Reducido para pantallas pequeñas */
}

@media (min-width: 768px) {
    :root {
        --section-padding: 100px 0;
    }
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para REM */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: #070000; /* Fondo base, puede ser oscuro si prefieres */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 { font-size: 3rem; } /* Ajustar según diseño */
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.25rem;
    color: #555; /* Un gris más suave para párrafos */
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: darken(var(--color-accent), 10%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding: var(--section-padding);
}

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

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

.bg-dark {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p, .bg-dark a {
    color: var(--color-text-light);
}
.bg-dark a:hover {
    color: var(--color-accent);
}
.text-light { /* Para usar sobre fondos oscuros */
    color: var(--color-text-light) !important;
}
.text-light h1, .text-light h2, .text-light h3 {
    color: var(--color-text-light) !important;
}


/* === CABECERA Y NAVEGACIÓN === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.9); /* Fondo oscuro semitransparente */
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.site-header.scrolled { /* Clase añadida con JS al hacer scroll */
    background-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(255, 254, 254, 0.1);
}

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

.logo img {
    max-height: 40px; /* Ajusta según tu logo */
    filter: brightness(0) invert(1); /* Para logo oscuro sobre fondo oscuro, hacerlo blanco */
}
.site-header.scrolled .logo img {
     /* Mantener blanco o ajustar si es necesario */
}


.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Por encima del header pero debajo del menú full */
}

.hamburger-icon {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text-light);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Animación del botón hamburguesa a "X" */
.menu-toggle.active .hamburger-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .hamburger-icon:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .hamburger-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98); /* Fondo oscuro casi opaco */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.fullscreen-menu ul li a {
    font-family: var(--font-primary);
    font-size: 2.5rem; /* Grande y elegante */
    color: var(--color-text-light);
    display: block;
    padding: 15px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.fullscreen-menu ul li a:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

.close-menu-btn { /* Botón de cerrar ya no es necesario si la hamburguesa se transforma */
    display: none; /* Oculto, ya que el toggle hace de "X" */
}

/* === SECCIONES HERO === */
.hero-section {
    min-height: 90vh; /* Casi pantalla completa */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden; /* Para que el pseudo-elemento no se salga */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Efecto Parallax Básico (opcional, puede requerir JS para mejor efecto) */
.hero-home { background-image: url('../img/hero-home-placeholder.jpg'); /* REEMPLAZA ESTA IMAGEN */ background-attachment: fixed; }
.hero-nosotros { background-image: url('../img/hero-nosotros-placeholder.jpg'); /* REEMPLAZA ESTA IMAGEN */ background-attachment: fixed; }
.hero-proyectos { background-image: url('../img/hero-proyectos-placeholder.jpg'); /* REEMPLAZA ESTA IMAGEN */ background-attachment: fixed; }
.hero-servicios { background-image: url('../img/hero-servicios-placeholder.jpg'); /* REEMPLAZA ESTA IMAGEN */ background-attachment: fixed; }
.hero-contacto-minimal { background-color: var(--color-secondary); min-height: 50vh; } /* Sin imagen, más sutil */


/* Superposición oscura para legibilidad del texto sobre imagen */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-weight: 700; /* Playfair Display suele tener buen peso */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(240, 240, 240, 0.9);
    font-weight: 300; /* Montserrat light */
}

@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .fullscreen-menu ul li a { font-size: 3.5rem; }
}


/* === BOTONES === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-weight: 600; /* Montserrat semibold */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px; /* Sutilmente redondeado */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background-color: darken(var(--color-accent), 10%);
    border-color: darken(var(--color-accent), 10%);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.bg-dark .btn-secondary { /* Botón secundario sobre fondo oscuro */
    color: var(--color-text-light);
    border-color: var(--color-text-light);
}
.bg-dark .btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

.btn-accent { /* Si necesitas un tercer estilo */
    background-color: var(--color-text-light); /* Sobre fondos oscuros */
    color: var(--color-primary);
    border-color: var(--color-text-light);
}
.btn-accent:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
}

/* === TÍTULOS DE SECCIÓN === */
.section-title {
    margin-bottom: 3rem; /* Más espacio debajo del título */
    position: relative;
    padding-bottom: 1rem; /* Espacio para la línea decorativa */
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after { /* Línea decorativa sutil */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}
.bg-dark .section-title::after {
    background-color: var(--color-text-light); /* O var(--color-accent) si se ve bien */
}

.section-intro-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* === PROYECTOS DESTACADOS / GALERÍA === */
.projects-grid, .projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card, .project-gallery-item {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}
.project-card:hover, .project-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.project-card-image, .project-gallery-image {
    width: 100%;
    height: 250px; /* Ajusta según necesidad */
    object-fit: cover; /* Asegura que la imagen cubra sin distorsión */
    background-color: #e0e0e0; /* Placeholder color */
}
.project-card-content {
    padding: 25px;
}
.project-card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.project-card-content p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}
.project-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Overlay para galería de proyectos */
.project-gallery-item {
    position: relative;
    display: block; /* Para que el <a> ocupe todo */
}
.project-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: var(--color-text-light);
    opacity: 1; /* Siempre visible o al hover */
    transition: opacity 0.3s ease;
}
.project-gallery-item:hover .project-gallery-overlay {
    /* opacity: 1; Si estaba oculto por defecto */
}
.project-gallery-overlay h3 {
    margin-bottom: 0.25rem;
    color: var(--color-text-light);
    font-size: 1.5rem;
}
.project-gallery-overlay span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* === TESTIMONIOS === */
.testimonial-section {
    /* Puede tener una imagen de fondo con parallax aquí */
    background-color: var(--color-secondary); /* O un color de acento oscuro */
    color: var(--color-text-light);
}
.testimonial-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-quote p {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}
.testimonial-quote cite {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-accent); /* O un color claro contrastante */
    display: block;
}

/* === PÁGINA NOSOTROS === */
.about-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.about-column-text, .about-column-image {
    flex: 1;
    min-width: 300px; /* Para que se apilen en móvil */
}
.about-column-image img {
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center; /* o left si prefieres */
}
.value-item {
    padding: 20px;
    /* border: 1px solid #eee; O un fondo sutil */
}
.value-item h3 {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

/* === PÁGINA SERVICIOS === */
.service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}
.service-item-reverse {
    flex-direction: row-reverse;
}
.service-item-image, .service-item-content {
    flex: 1;
    min-width: 300px;
}
.service-item-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    background-color: #e0e0e0; /* Placeholder */
}
.service-item-content h2 {
    margin-bottom: 1rem;
}
.service-divider {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 60px auto;
    width: 80%;
}

.process-section {
    /* Estilo para la sección de proceso */
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.process-step span {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-primary);
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* === PÁGINA CONTACTO === */
.contact-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}
.contact-info h2, .contact-form-container h2 {
    margin-bottom: 2rem;
}
.contact-info p {
    margin-bottom: 0.75rem;
}
.contact-info p strong {
    color: var(--color-primary);
}
.social-links-contact {
    margin-top: 2rem;
}
.social-links-contact img, .social-links-footer img {
    width: 24px; /* Ajusta el tamaño de los iconos */
    height: 24px;
    margin-right: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.social-links-contact img:hover, .social-links-footer img:hover {
    opacity: 1;
}
.bg-dark .social-links-footer img { /* Si los iconos son oscuros, para que se vean en footer oscuro */
    filter: brightness(0) invert(1);
}


.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.2); /* Sombra sutil al enfocar */
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.map-section {
    /* Si usas un iframe de Google Maps, puede que no necesite mucho estilo */
    /* Si es una imagen, puedes centrarla o darle estilo */
    padding: 0; /* Sin padding si el mapa va a borde a borde */
}
.map-section iframe {
    display: block; /* Eliminar espacio debajo del iframe */
}


/* === FOOTER === */
.site-footer {
    /* background-color: var(--color-primary); Ya está en .bg-dark */
    /* color: var(--color-text-light); */
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px; /* Espacio antes del bottom */
}
.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light); /* O var(--color-accent) */
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.75rem;
}
.footer-column ul li a, .footer-column p a {
    color: rgba(240, 240, 240, 0.8);
    transition: color 0.3s ease;
}
.footer-column ul li a:hover, .footer-column p a:hover {
    color: var(--color-accent);
}
.footer-column p {
    color: rgba(240, 240, 240, 0.7);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
.footer-bottom p {
    margin-bottom: 0;
    color: rgba(240, 240, 240, 0.6);
}
.footer-bottom a {
    color: rgba(240, 240, 240, 0.7);
}
.footer-bottom a:hover {
    color: var(--color-accent);
}

/* === MEDIA QUERIES PARA RESPONSIVE === */
@media (max-width: 767px) {
    html { font-size: 15px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .fullscreen-menu ul li a { font-size: 2rem; }

    .about-columns, .service-item, .contact-columns {
        flex-direction: column;
    }
    .service-item-reverse {
        flex-direction: column; /* Mantiene el orden en móvil */
    }
    .header-container {
        padding-left: 5%; /* Más espacio para el logo y hamburguesa */
        padding-right: 5%;
    }
}

/* === PLACEHOLDER IMAGE STYLING === */
/* Esto es para que tus placeholders <img> se vean un poco mejor antes de poner las imágenes reales */
img[src="#"], img:not([src]) {
    background-color: #f0f0f0; /* Un gris claro */
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 150px; /* Altura mínima para que se vean */
}
img[src="#"]::after, img:not([src])::after {
    content: attr(alt) " (placeholder)";
    color: #888;
    font-size: 0.9em;
    font-family: sans-serif;
}
/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px; /* Distancia desde abajo */
    right: 40px;  /* Distancia desde la derecha */
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: #FFF; /* Color del icono */
    border-radius: 50px; /* Para hacerlo circular */
    text-align: center;
    font-size: 30px; /* Tamaño del icono */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100; /* Asegurar que esté por encima de otros elementos */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Efecto sutil al pasar el cursor */
    background-color: #1DAE50; /* Un verde un poco más oscuro al hover */
    color: #FFF; /* Asegurar que el icono siga blanco */
}

.whatsapp-float i { /* Si usas Font Awesome para el icono */
    margin: 0; /* Resetear márgenes si el icono los tiene */
    color: #FFF !important; /* Forzar color blanco para el icono */
}
.whatsapp-float img { /* Si usas una imagen SVG */
    width: 35px; /* Ajusta el tamaño de tu SVG */
    height: 35px;
}

/* Ajustes para móviles pequeños */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}


.social-links-footer a i, .social-links-contact a i {
    font-size: 24px; /* Tamaño del icono */
    margin-right: 15px;
    color: var(--color-text-light); /* O el color que necesites */
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.social-links-footer a:hover i, .social-links-contact a:hover i {
    opacity: 1;
    color: var(--color-accent); /* Color al pasar el cursor */
}
.bg-dark .social-links-footer a i { /* Asegurar que se vean bien en fondo oscuro */
    color: var(--color-text-light);
}
.bg-dark .social-links-footer a:hover i {
    color: var(--color-accent);
}

.hero-section.hero-nosotros{
    background-image: url('/img/compresor_01.png'); /* Cambia esta ruta a la imagen que quieras */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white; /* Para que el texto se vea bien sobre la imagen */
    text-align: center;
}

.hero-section.hero-home {
    background-image: url('/img/compresor_01.png'); /* Cambia esta ruta a la imagen que quieras */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white; /* Para que el texto se vea bien sobre la imagen */
    text-align: center;
}

.hero-section.hero-proyectos{
background-image: url('/img/evaporador.png'); /* Cambia esta ruta a la imagen que quieras */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100vh; /* Ocupa toda la altura de la pantalla */
display: flex;
align-items: center;
justify-content: center;
position: relative;
color: white; /* Para que el texto se vea bien sobre la imagen */
text-align: center;
}

.hero-section.hero-servicios{
    background-image: url('/img/sube_vidiro.png'); /* Cambia esta ruta a la imagen que quieras */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white; /* Para que el texto se vea bien sobre la imagen */
    text-align: center;   
}