/* =========================================
   Google Fonts Import (Modern & Premium Typography)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;900&family=Prata&display=swap');

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8F9F6; /* Clean, light natural off-white */
    color: #1A1F1C; /* Dark graphite instead of solid black */
    line-height: 1.6;
    margin: 0;
    padding: 0  ;
}

h1, h2, h3 {
    font-family: 'Prata', serif; /* Elegant, premium layout font */
    font-weight: 400;
    letter-spacing: 0.02em;
}

ul {
    list-style: none;
}

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

/* =========================================
   Header & Navigation (Symmetrical & Balanced)
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2%;
    color: #1A1F1C;
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    max-width: 96%; 
    margin: 0 auto; 
    border-radius: 14px; 
    background: #ffffff; 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    
    /* CAMBIO AQUÍ: Sombra modificada para mayor impacto */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); 
    
    transform: translateY(10px);
}

.logo-placeholder {
    height: 100px;   
    width: auto;
    display: block;
    margin-top: -20px;    
    margin-bottom: -40px; 
    margin-left: -10px; 
    position: relative; 
    z-index: 10;
}

.name-container {
    /* El truco maestro: empuja de forma automática todo el menú hacia la derecha, 
       obligando al logo a pegarse por completo a la izquierda */
    margin-right: auto; 
}

.name-container h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 900; 
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1A1F1C; 
    z-index: 10; 
    
    /* Alineación limpia y directa */
    text-align: left;
    white-space: nowrap; /* Evita que el nombre se rompa en dos renglones si se pega mucho */
}

.main-navbar ul {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.main-navbar a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
    color: #4A524D;
}

/* Symmetrical hover effect line */
.main-navbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #42b557; /* Fresh light green accent */
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-navbar a:hover::after {
    width: 100%;
}

.main-navbar a:hover {
    color: #42b557;
}

/* Symmetrical Quote Button Centered & Fixed */
.main-navbar .btn-quote {
    background-color: #42b557; 
    color: #FFFFFF !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0.8rem 1.8rem; /* Proporciones estilizadas para evitar tosquedad */
    border-radius: 8px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 14px rgba(64, 145, 108, 0.2);
    transition: all 0.3s ease !important;
}

.main-navbar .btn-quote:hover {
    background-color: #148e57;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
    transform: translateY(-1px);
}

/* Quita la línea verde de hover por debajo del botón */
.main-navbar .btn-quote::after {
    display: none !important;
}

/* =========================================
   Page Title Section (Symmetrical Inner Header)
   ========================================= */
.page-title-section {
    padding: 5rem 4% 3rem 4%;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title-section h1 {
    font-size: 3.5rem;
    color: #1A2E22; /* Premium rich dark green */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    /* 1. Mantenemos el header Fijo y centrado */
    header {
        position: fixed !important; /* <--- ESTO ES LO QUE HACE QUE TE SIGA */
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center; /* Centra el logo */
        align-items: center;
        padding: 1rem 5%;
        background: #ffffff; /* Asegúrate de que tenga fondo para que no se vea transparente al hacer scroll */
        border-radius: 0 0 14px 14px; /* Opcional: bordes redondeados solo abajo */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        transform: none; /* Quitamos el transform para que esté pegado al top */
    }
    
    .logo-placeholder {
        height: 50px; 
        margin: 0; /* Ya no necesita auto porque el header lo centra */
        display: block;
    }

    .name-container {
        display: none; 
    }

    /* 2. Botón Hamburguesa (Absolute lo saca del flujo para que no mueva el logo) */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: absolute; /* <--- Clave: se posiciona independiente del logo */
        right: 5%;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #1A1F1C;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Animación */
    .menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* 3. Menú desplegable */
    .main-navbar {
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-radius: 0 0 14px 14px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease-in-out;
    }

    .main-navbar.active {
        max-height: 350px;
        opacity: 1;
        pointer-events: auto;
        padding: 2rem 0;
    }

    .main-navbar ul {
        flex-direction: column;
        gap: 1.8rem;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .main-navbar a {
        font-size: 1rem;
    }

    /* Ajuste para que el título de la página no quede tapado por el header fixed */
    .page-title-section {
        padding-top: 8rem; 
    }
}
/* =========================================
   AQUI YA EMPIEZA EL CUERPO

/* =========================================
   Hero Section (Estructura Unificada y Controlada)
   ========================================= */
#home {
    position: relative;
    min-height: 85vh;
    
    /* REVISA QUE ESTA LÍNEA ESTÉ AQUÍ: */
    display: grid; 
    
    /* Esto es lo que querías para hacerlo mitad y mitad */
    grid-template-columns: 0.5fr 1fr; 
    
    align-items: center;
    gap: 4rem;
    padding: 4rem 6%;
    margin-top: 0rem; 
    padding-top: 14rem;
    overflow: hidden;
}
/* Fondo Difuminado Dinámico con tu imagen principal */
#home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/img/landscaping/2stock.png'); 
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.4); 
    transform: scale(1.02); 
    z-index: 0;
    will-change: filter, transform; 
}

.hero-content {
    /* Corregido: Usamos relative en lugar de center */
    position: center; 
    z-index: 6;
    text-align: left; 
    
    /* 🛠️ EL TRUCO: Hace al contenedor más ancho que su propia columna 
       para que las palabras quepan en horizontal */
    width: 120%; 
    max-width: 460px; /* Un tope saludable para que no choque con la foto */
}

.hero-content h1 {
    font-size: 4rem;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-mint, #D8F3DC);
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.btn-quote-hero {
    display: inline-block;
    background-color: var(--primary-fresh, #42b557); 
    color: #FFFFFF;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 20px rgba(82, 183, 136, 0.3);
    transition: all 0.3s ease;
}

.btn-quote-hero:hover {
    background-color: #FFFFFF;
    color: var(--dark-slate, #222F26);
    transform: translateY(-2px);
}

/* Contenedor de la derecha - Mantiene la alineación rígida */
.hero-image-wrapper {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* =========================================
   Contenedor Seguro del Slider (Control de Altura)
   ========================================= */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 780px; 
    height: 480px; 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.15);
}

.slide-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    animation: sliderFade 12s infinite ease-in-out;
}

/* Asignamos una animación única a cada imagen usando su posición (sin modificar tu HTML) */
.slide-photo:nth-child(1) { animation: fade1 12s infinite; }
.slide-photo:nth-child(2) { animation: fade2 12s infinite; }
.slide-photo:nth-child(3) { animation: fade3 12s infinite; }

/* Imagen 1 (2.png): Visible del segundo 0 al 4 */
@keyframes fade1 {
    0%   { opacity: 1; transform: scale(1); }
    28%  { opacity: 1; transform: scale(1.03); }
    33%  { opacity: 0; transform: scale(1.04); }
    95%  { opacity: 0; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Imagen 2 (20.png): Visible del segundo 4 al 8 */
@keyframes fade2 {
    0%   { opacity: 0; transform: scale(1); }
    28%  { opacity: 0; transform: scale(1); }
    33%  { opacity: 1; transform: scale(1); }
    61%  { opacity: 1; transform: scale(1.03); }
    66%  { opacity: 0; transform: scale(1.04); }
    100% { opacity: 0; transform: scale(1); }
}

/* Imagen 3 (14.png): Visible del segundo 8 al 12 */
@keyframes fade3 {
    0%   { opacity: 0; transform: scale(1); }
    61%  { opacity: 0; transform: scale(1); }
    66%  { opacity: 1; transform: scale(1); }
    95%  { opacity: 1; transform: scale(1.03); }
    100% { opacity: 0; transform: scale(1.04); }
}

/* =========================================
   Ajustes Responsivos Protegidos
   ========================================= */
@media (max-width: 992px) {
    #home {
        grid-template-columns: 1fr;
        /* Forzamos al grid a centrar su contenido horizontalmente */
        justify-items: center; 
        text-align: center;
        gap: 3rem;
        padding-top: 11rem;
    }

    .hero-content {
        text-align: center;
        /* Volvemos el contenido flex para forzar que botones y textos se alineen al centro */
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100%;
    }

    .hero-content p {
        margin: 0 auto 2.5rem auto;
        max-width: 600px; /* Evita que el texto se estire demasiado a los lados */
    }

    .hero-image-wrapper {
        /* Es indispensable el display: flex para que el justify-content funcione */
        display: flex; 
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .hero-slider {
        height: 380px;
        width: 100%;
        max-width: 500px;
        /* Centra el bloque del slider por si el contenedor flex falla */
        margin: 0 auto; 
    }
}

@media (max-width: 768px) {
    #home {
        /* Opcional: Reducir un poco el padding superior en celular para que no quede tanto espacio en blanco */
        padding-top: 9rem; 
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-slider {
        height: 280px;
    }
}

/* =========================================
   SERVICES SECTION (Estructura Unificada y Controlada)
   ========================================= */
  
.services-hero {
    position: relative;
    width: 100%;
    min-height: 105vh; /* Ajusta este alto a tu gusto */
    
    /* 180px de padding arriba para que el texto baje y no lo tape el menú flotante */
    padding: 180px 24px 100px 24px; 
    
    /* CORREGIDO: Cambiamos la etiqueta <img> por la función url() de CSS */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('/img/landscaping/1stock.png') center/cover no-repeat;
   
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
 
.services-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
 
.services-hero__title {
    font-family: var(--font-head);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
 
.services-hero__title span {
    color: var(--accent);
}
 
.services-hero__subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-text);
    max-width: 520px;
    margin-top: 16px;
}
 
.services-hero__divider {
    margin-top: 40px;
    height: 1px;
    background: var(--gray-mid);
}
 
/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
.services-hero {
    position: relative;
    padding: 180px 24px; /* Cambié 2px por 24px para mejor espacio en los lados */
    width: 100%;
    text-align: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* TRUCO 1: Evita que el blur se desborde por los lados de la pantalla */
}

/* AQUÍ NACE EL FONDO CON BLUR */
.services-hero::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    
    /* Movemos tu fondo aquí */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('/img/landscaping/stock5.png') center/cover no-repeat;
    
    filter: blur(0px); /* TRUCO 2: Aquí controlas qué tan borroso lo quieres */
    transform: scale(1.05); /* TRUCO 3: El blur muerde los bordes; con esto escalamos la imagen un 5% para ocultar las esquinas transparentes */
    z-index: 1;
}

/* ASEGURAMOS QUE EL TEXTO QUEDE POR ENCIMA */
.services-hero__inner {
    position: relative;
    z-index: 2; /* Mayor que el z-index del fondo para que el texto se lea perfecto */
}

.services-hero__eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.services-hero__title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.services-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto;
}

/* Eliminamos la línea sobrante del hero para más minimalismo */
.services-hero__divider {
    display: none;
}
/* ==========================================================================
   SECCIONES DE SERVICIOS (Estructura Base Simétrica)
   ========================================================================== */
/* ==========================================================================
   VARIABLES DE COLOR LUMINOSAS
   ========================================================================== */
:root {
    --primary: #42b557;         /* Verde principal */
    --primary-dark: #2f8f41;    /* Verde para hover profundo */
    --bg-light-1: #F4F7F5;      /* Fondo sutil verde/gris para Landscaping */
    --bg-light-2: #FFFFFF;      /* Fondo blanco puro para Hardscaping */
    
    --text-dark: #1A1F1C;
    --text-muted: #5A635D;
    --white: #ffffff;
    
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   FONDOS PARA QUE RESALTEN LAS SECCIONES
   ========================================================================== */
.services-section {
    padding: 120px 24px;
    color: var(--text-dark);
}

/* Alternamos los fondos para separar visualmente sin usar colores oscuros */
.bg-soft-green {
    background-color: var(--bg-light-1);
}

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

/* ==========================================================================
   INTRODUCCIÓN (TÍTULOS CENTRADOS)
   ========================================================================== */
.section-intro {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRA EL CONTENEDOR */
    text-align: center;  /* CENTRA EL TEXTO */
}

.section-intro__content {
    max-width: 750px;
}

.section-intro__title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.section-intro__title em {
    font-style: normal;
    font-weight: 300;
    color: var(--primary);
}

.section-intro__desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   GRID SIMÉTRICO (2x2)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   TARJETAS (ESTADO NORMAL - BLANCAS Y LIMPIAS)
   ========================================================================== */
.service-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card__image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card__body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transition: var(--transition-smooth);
}

.service-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.service-card__desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    flex-grow: 1;
    transition: var(--transition-fast);
}

.service-card__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: var(--transition-fast);
}

/* ==========================================================================
   ANIMACIÓN HOVER (EL BLOQUE SE VUELVE VERDE Y EL TEXTO BLANCO)
   ========================================================================== */
.service-card:hover {
    transform: translateY(-12px);
    background-color: var(--primary); /* Fondo Verde Animado */
    box-shadow: 0 25px 50px rgba(66, 181, 87, 0.3);
    border-color: var(--primary);
}

/* Zoom suave en la imagen */
.service-card:hover .service-card__image img {
    transform: scale(1.08);
}

/* Todo el texto cambia a blanco */
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__link {
    color: var(--white);
}

/* Flecha se mueve ligeramente a la derecha */
.service-card:hover .service-card__link {
    letter-spacing: 2px;
}

/* ==========================================================================
   DIVISOR
   ========================================================================== */
.section-divider {
    width: 100%;
    background-color: var(--white); /* Fondo blanco para transición */
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.section-divider__line {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 20px;
    }
    
    .section-intro__title {
        font-size: 2.2rem;
    }

    .service-card__body {
        padding: 30px 20px;
    }
}


/* ==========================================================================
   PROJECTS SECTION (Estructura Base Simétrica)
   ========================================================================== */
   /* ==========================================================================
   ========================================================================== */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 60px; /* Espacio entre cada proyecto */
    max-width: 1200px;
    margin: 0 auto;
}

/* Estructura de la tarjeta horizontal */
.project-card {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

/* TRUCO ELEGANTE: Alterna la imagen a izquierda y derecha automáticamente */
.project-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Contenedor de las dos imágenes (Mitad de la tarjeta) */
.project-card__images {
    flex: 0 0 55%; /* Toma el 55% del ancho total */
    display: flex;
}

.project-card__img-wrapper {
    width: 50%; /* Cada imagen toma la mitad de su contenedor */
    position: relative;
    overflow: hidden;
}

.project-card__img-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 380px; /* Altura de la "imagen larga" */
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Etiquetas "Before" y "After" */
.project-card__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(26, 31, 28, 0.7);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.project-card__badge--after {
    background-color: var(--primary); /* El 'After' resalta en verde */
}

/* Contenedor del texto (Otra mitad de la tarjeta) */
.project-card__content {
    flex: 0 0 45%; /* Toma el 45% del ancho total */
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.project-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.project-card__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    transition: var(--transition-fast);
}

.project-card__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: var(--transition-fast);
}

/* ==========================================================================
   ANIMACIÓN HOVER PARA PROYECTOS
   ========================================================================== */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(66, 181, 87, 0.2);
    border-color: var(--primary);
}

.project-card:hover .project-card__img-wrapper img {
    transform: scale(1.05); /* Efecto zoom en el antes y después */
}

/* El fondo del texto se vuelve verde oscuro/vibrante */
.project-card:hover .project-card__content {
    background-color: var(--primary);
}

/* Todo el texto cambia a blanco */
.project-card:hover .project-card__title,
.project-card:hover .project-card__desc,
.project-card:hover .project-card__link {
    color: var(--white);
}

/* Animación de la flechita */
.project-card:hover .project-card__link {
    letter-spacing: 2px;
}

/* ==========================================================================
   RESPONSIVE (Tablets y Móviles)
   ========================================================================== */
@media (max-width: 992px) {
    /* En pantallas chicas, la tarjeta se vuelve vertical */
    .project-card, 
    .project-card:nth-child(even) {
        flex-direction: column;
    }

    .project-card__images, 
    .project-card__content {
        flex: none;
        width: 100%;
    }

    .project-card__img-wrapper img {
        min-height: 300px;
    }

    .project-card__content {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    /* En celulares, ponemos el Before arriba y el After abajo para que se vean bien */
    .project-card__images {
        flex-direction: column; 
    }
    
    .project-card__img-wrapper {
        width: 100%;
    }
    
    .project-card__img-wrapper img {
        min-height: 250px;
    }
}

/* ==========================================================================
   CONTACT US SECTION (Estructura Base Simétrica)
   ========================================================================== */
   /* ==========================================================================
   ========================================================================== */
   /* ==========================================================================
   CONTACT SECTION STYLES
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* La columna del formulario es ligeramente más ancha */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   TARJETAS DE INFORMACIÓN (HOVER VERDE CON TEXTO BLANCO)
   ========================================================================== */
.contact-info-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.contact-info-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition-fast);
}

.contact-info-card__row {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-info-card__row:last-child {
    margin-bottom: 0;
}

.contact-info-card__row strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.contact-info-card__row p,
.contact-info-card__link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

/* Efecto Hover interactivo igual a servicios/proyectos */
.contact-info-card:hover {
    transform: translateY(-6px);
    background-color: var(--primary);
    box-shadow: 0 20px 40px rgba(66, 181, 87, 0.25);
}

.contact-info-card:hover .contact-info-card__title,
.contact-info-card:hover .contact-info-card__row p,
.contact-info-card:hover .contact-info-card__link {
    color: var(--white);
}

.contact-info-card:hover .contact-info-card__row strong {
    color: rgba(255, 255, 255, 0.75);
}

/* Botones de Redes Sociales Internos */
.social-links-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 10px 20px;
    background-color: var(--bg-light-1);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

.contact-info-card--socials:hover .social-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-info-card--socials:hover .social-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ==========================================================================
   TARJETA DEL FORMULARIO (DISEÑO PREMIUM LUMINOSO)
   ========================================================================== */
.contact-form-card {
    background-color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-form-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    font-size: 1rem;
    background-color: var(--bg-light-1);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a8a3;
}

/* Enfoque del input en verde */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(66, 181, 87, 0.1);
}

/* Botón de Enviar */
.btn-submit-form {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-submit-form:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(66, 181, 87, 0.2);
}

/* ==========================================================================
   CONTENEDOR DEL MAPA DE GOOGLE MAPS
   ========================================================================== */
.contact-map-container {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-map-container iframe {
    display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptación a Móviles y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Pasa a una sola columna en pantallas medianas */
        gap: 32px;
    }
    
    .contact-form-card {
        padding: 35px;
    }
}

@media (max-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr; /* Divide los campos Nombre y Teléfono en vertical para celulares */
        gap: 0;
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

/* ==========================================================================
   ESTIMATE
   ========================================================================== */
   /* ==========================================================================

   ========================================================================== */
   /* ==========================================================================
   FREE ESTIMATE PREMIUM DASHBOARD LAYOUT
   ========================================================================== */
.estimate-container {
    max-width: 900px; /* Contenedor centrado y compacto para lectura fácil */
    margin: 0 auto;
    padding-bottom: 80px;
}

.estimate-dashboard-form {
    background-color: var(--white);
    border-radius: 24px; /* Bordes más curvos para un look moderno de app */
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Bloques secuenciales de formulario */
.estimate-step-block {
    margin-bottom: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid #edf1ee; /* Separación sutil entre pasos */
}

.estimate-step-block:nth-last-of-type(1) {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: 0;
}

/* Encabezados de pasos */
.estimate-step-block__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    background-color: var(--bg-light-1);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(66, 181, 87, 0.15);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    margin-top: -12px;
}

/* Grillas Internas del Formulario */
.estimate-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.estimate-form-grid--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

/* ==========================================================================
   SERVICES CHECKBOX TILES (GRID INTERACTIVO)
   ========================================================================== */
.services-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.checkbox-tile {
    position: relative;
    cursor: pointer;
}

.checkbox-tile input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-tile__label {
    display: block;
    padding: 16px 10px;
    background-color: var(--bg-light-1);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: var(--transition-fast);
    user-select: none;
}

/* Efectos Hover y Active del Grid de Servicios */
.checkbox-tile:hover .checkbox-tile__label {
    background-color: #eef7f0;
    border-color: var(--primary);
}

.checkbox-tile input:checked + .checkbox-tile__label {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(66, 181, 87, 0.2);
}

/* Menu Desplegable Estilizado */
.estimate-step-block select {
    padding: 14px 18px;
    font-size: 1rem;
    background-color: var(--bg-light-1);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    font-family: inherit;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a1f1c'><path d='M1 3.5l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.estimate-step-block select:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary);
}

/* ==========================================================================
   RADIO PILLS CONTAINER (MÉTODO DE CONTACTO)
   ========================================================================== */
.radio-pills-container {
    display: flex;
    background-color: var(--bg-light-1);
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.02);
}

.radio-pill {
    flex: 1;
    position: relative;
    cursor: pointer;
    text-align: center;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-pill__label {
    display: block;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.radio-pill input:checked + .radio-pill__label {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ==========================================================================
   FILE UPLOAD DRAG/DROP ZONE
   ========================================================================== */
.file-upload-zone {
    position: relative;
    border: 2px dashed #cbd5ce;
    background-color: var(--bg-light-1);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.file-upload-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-zone__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none; /* Permite que el click atraviese al input */
}

.upload-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.file-upload-zone__label strong {
    color: var(--primary);
}

.upload-limit {
    font-size: 0.8rem;
    margin-top: 6px;
    color: #909c94;
}

.file-upload-zone:hover {
    border-color: var(--primary);
    background-color: #f3faf5;
}

/* ==========================================================================
   BOTÓN DE ENVÍO Y ZONA INFERIOR
   ========================================================================== */
.estimate-submit-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-submit-estimate {
    width: 100%;
    padding: 18px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px rgba(66, 181, 87, 0.15);
}

.btn-submit-estimate:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(66, 181, 87, 0.3);
}

.submit-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptación Móvil y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .estimate-dashboard-form {
        padding: 40px;
    }
    .services-checkbox-grid {
        grid-template-columns: repeat(3, 1fr); /* Reducción de columnas en tablet */
    }
}

@media (max-width: 768px) {
    .estimate-form-grid, 
    .estimate-form-grid--split {
        grid-template-columns: 1fr; /* Una columna para inputs en celulares */
        gap: 20px;
    }
    .services-checkbox-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .estimate-dashboard-form {
        padding: 25px 20px;
    }
    .services-checkbox-grid {
        grid-template-columns: 1fr; /* Una sola columna para los servicios en teléfonos chicos */
    }
    .step-title {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   inicio parte 2
   ========================================================================== */
   /* ==========================================================================

   ========================================================================== */
/* ==========================================================================
   HOME PAGE - HERO SECTION
   ========================================================================== */
.home-hero {
    /* IMPORTANTE: El padding-top de 180px evita que el header absoluto tape el texto */
    padding: 180px 4% 100px 4%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #edf1ee;
}

.home-hero__container {
    max-width: 850px;
}

.home-hero__subtitle {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.home-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.home-hero__title em {
    font-style: normal;
    color: var(--primary);
}

.home-hero__tagline {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.home-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Botones del Home */
.btn-primary-home {
    padding: 15px 32px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.btn-primary-home:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(66, 181, 87, 0.2);
}

.btn-secondary-home {
    padding: 15px 32px;
    background-color: var(--bg-light-1);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.03);
}

.btn-secondary-home:hover {
    background-color: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Etiquetas pequeñas decorativas */
.section-tag {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

/* ==========================================================================
   HOME PAGE - ABOUT MINI SUMMARY
   ========================================================================== */
.home-about-section {
    padding: 100px 4%;
    max-width: 1200px;
    margin: 0 auto;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-about__intro h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 24px;
}

.home-about__intro p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.home-about__cta-box {
    margin-top: 35px;
    background-color: var(--bg-light-1);
    padding: 20px 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0,0,0,0.02);
}

.home-about__cta-box span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cta-phone {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.cta-phone:hover {
    color: var(--primary-dark);
}

/* Tarjetas laterales de Misión, Visión, Valores */
.home-about__pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf1ee;
    transition: var(--transition-smooth);
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: var(--transition-fast);
}

/* Tags de Valores */
.values-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.values-tags span {
    background-color: var(--bg-light-1);
    color: var(--text-dark);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    transition: var(--transition-fast);
}

/* HOVER ANIMATION (Mismo estilo verde reactivo de la marca) */
.pillar-card:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(66, 181, 87, 0.15);
    border-color: var(--primary);
}

.pillar-card:hover h3,
.pillar-card:hover p {
    color: var(--white);
}

.pillar-card:hover .values-tags span {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ==========================================================================
   HOME PAGE - SERVICES TEASER GRID
   ========================================================================== */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.teaser-card {
    background-color: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    
    /* Centramos todo el contenido del bloque */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Contenedor de la foto Circular Estética */
.teaser-card__image-wrapper {
    width: 160px; /* Tamaño grande y uniforme */
    height: 160px;
    border-radius: 50%;
    overflow: hidden; /* Corta la imagen en círculo perfecto */
    margin-bottom: 24px;
    border: 4px solid var(--white); /* Borde elegante */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Sombra suave para la foto */
    transition: var(--transition-smooth);
}

.teaser-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la foto se deforme o estire */
    transition: var(--transition-smooth);
}

.teaser-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
    transition: var(--transition-fast);
}

.teaser-card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

/* Botón del apartado */
.teaser-card__btn {
    display: inline-block;
    margin-top: auto; /* Empuja el botón siempre al fondo aunque cambie el texto */
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hover Global de las Tarjetas
   ========================================================================== */
.teaser-card:hover {
    background-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(66, 181, 87, 0.2);
}

/* Cambio de color de textos en Hover */
.teaser-card:hover .teaser-card__title,
.teaser-card:hover .teaser-card__desc {
    color: var(--white);
}

/* Efecto en la imagen al hacer Hover en la tarjeta */
.teaser-card:hover .teaser-card__image-wrapper img {
    transform: scale(1.1); /* Efecto zoom elegante */
}

/* El botón se adapta al fondo verde del Hover */
.teaser-card:hover .teaser-card__btn {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Bloque inferior de cierre (Se mantiene igual) */
.teaser-footer-action {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.teaser-footer-action p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}
/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .teaser-grid {
        grid-template-columns: repeat(2, 1fr); /* Pasa a 2x2 en pantallas medianas */
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .home-hero__title {
        font-size: 2.8rem;
    }
    .home-about-grid {
        grid-template-columns: 1fr; /* Una sola columna para sección About */
        gap: 40px;
    }
    .home-about__intro {
        text-align: center;
    }
    .home-about__cta-box {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 576px) {
    .home-hero {
        padding: 16px 4% 60px 4%;
    }
    .home-hero__title {
        font-size: 2.2rem;
    }
    .home-hero__actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary-home, .btn-secondary-home {
        width: 100%;
        text-align: center;
    }
    .teaser-grid {
        grid-template-columns: 1fr; /* Una sola columna para servicios en móvil */
    }
    .home-about__intro h2 {
        font-size: 1.8rem;
    }
    .home-about__cta-box {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
}
/* ==========================================================================
  FOOTER


   ========================================================================== */
/* ==========================================================================
   SECCIÓN DE RESEÑAS CON FOTO Y LÍNEA DE FONDO (ESTILO PREMIUM)
   ========================================================================== */
.footer-reviews-section {
    padding: 80px 20px;
    background-color: var(--bg-light-1); /* Color de fondo base de la sección */
    position: relative; /* Necesario para la línea decorativa de fondo */
    overflow: hidden; /* Mantiene la línea dentro de los límites */
}

/* Línea divisoria decorativa de fondo (puedes cambiar la altura o el color) */
.reviews-background-line {
    position: absolute;
    top: 50%; /* Se sitúa en el medio verticalmente */
    left: 0;
    width: 100%;
    height: 3px; /* Grosor de la línea */
    background-color: var(--primary); /* Usamos el color verde primario */
    opacity: 0.15; /* Sutil para no distraer */
    z-index: 1; /* Detrás del contenido */
    transform: translateY(-50%); /* Centrado exacto */
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Por encima de la línea decorativa */
}

.reviews-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==========================================================================
   TARJETA DE RESEÑA (Adaptada de contact-info-card)
   ========================================================================== */
.review-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.review-top-meta {
    margin-bottom: 16px;
}

.review-stars {
    color: #f39c12; /* Color dorado para las estrellas */
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1; /* Empuja el autor hacia abajo uniformemente */
    transition: var(--transition-fast);
}

/* ==========================================================================
   CONTENEDOR DEL AUTOR (CON FOTO)
   ========================================================================== */
.review-author-container {
    display: flex;
    align-items: center; /* Centra verticalmente la foto y el texto */
    gap: 15px; /* Espacio entre foto y texto */
    border-top: 1px solid rgba(0,0,0,0.05); /* Línea divisoria interna */
    padding-top: 20px;
    margin-top: auto; /* Asegura que esté siempre al fondo */
    transition: var(--transition-fast);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Foto circular */
    object-fit: cover; /* Asegura que la imagen no se deforme */
    border: 3px solid var(--bg-light-1); /* Borde decorativo inicial */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-info strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary); /* Verde inicial igual que strong en contacto */
    margin-bottom: 2px;
    transition: var(--transition-fast);
}

.review-author-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

/* ==========================================================================
   EFECTO HOVER INTERACTIVO (Mismo estilo que tus tarjetas de contacto)
   ========================================================================== */
.review-card:hover {
    transform: translateY(-6px);
    background-color: var(--primary); /* Fondo verde */
    box-shadow: 0 20px 40px rgba(66, 181, 87, 0.25);
}

/* Cambio de color de textos en Hover */
.review-card:hover .review-text,
.review-card:hover .review-author-info span {
    color: var(--white);
}

.review-card:hover .review-stars {
    color: var(--white); /* Las estrellas se vuelven blancas */
}

.review-card:hover .review-author-info strong {
    color: rgba(255, 255, 255, 0.9); /* Blanco suave para el nombre */
}

/* Adaptación del avatar y línea interna en Hover */
.review-card:hover .review-author-container {
    border-top-color: rgba(255, 255, 255, 0.2); /* Línea interna más tenue */
}

.review-card:hover .review-avatar {
    border-color: rgba(255, 255, 255, 0.4); /* El borde de la foto cambia */
}

/* ==========================================================================
   RESPONSIVE DESIGN (Reseñas)
   ========================================================================== */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .footer-reviews-section {
        padding: 60px 15px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
    }
    
    .review-card {
        padding: 25px;
    }
}
/* ==========================================================================
  FOOTER 2


   ========================================================================== */

/* ==========================================================================
   FOOTER (FONDO VERDE PRIMARIO)
   ========================================================================== */
.main-footer {
    background-color: var(--primary); /* Utiliza tu verde característico */
    color: var(--white);
    padding-top: 70px;
    font-family: inherit;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr; /* Distribución del espacio */
    gap: 50px;
    margin-bottom: 50px;
}

/* ==========================================================================
   COLUMNAS Y CONTENIDO
   ========================================================================== */
/* 1. Volvemos la columna un contenedor flex vertical */
.footer-column.brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea todo a la izquierda */
}

/* 2. Ajustamos el contenedor del logo (el enlace) */
.footer-logo {
    display: inline-block; /* Para que respete las dimensiones de la imagen */
    margin-bottom: 16px;   /* ¡ESTE ES TU GAP! Ajústalo a tu gusto (ej. 12px, 16px, 20px) */
    text-decoration: none;
}

/* 3. Tu imagen limpia */
.footer-logo img {
    max-width: 300px;
    height: 200px;
    display: block; /* Elimina espacios fantasmas debajo de la imagen */
}

/* 4. Tu descripción (se queda igual, pero ahora sí respetará el espacio) */
.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 16px; /* Espacio antes de las redes sociales */
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

/* Pequeña línea debajo de los títulos */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

/* ==========================================================================
   LISTA DE CONTACTO Y ENLACES
   ========================================================================== */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.footer-contact-list svg {
    color: var(--white);
    opacity: 0.9;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-contact-list a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-circle:hover {
    background-color: var(--white);
    color: var(--primary); /* Al pasar el mouse, el ícono se vuelve verde */
    transform: translateY(-3px);
}

/* ==========================================================================
   BOTÓN DE CONTACTO (CTA)
   ========================================================================== */
.footer-cta-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-footer-contact {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    background-color: var(--white);
    color: var(--primary); /* Texto verde */
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    align-self: flex-start; /* Evita que el botón se estire */
}

.btn-footer-contact:hover {
    background-color: var(--bg-light-1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   BARRA DE COPYRIGHT (BOTTOM)
   ========================================================================== */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15); /* Oscurece ligeramente el fondo verde */
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Footer)
   ========================================================================== */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
    
    .brand-column {
        grid-column: 1 / -1; /* El logo ocupa todo el ancho arriba */
        align-items: center;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 0; /* Mantiene la línea a la izquierda para las otras columnas */
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        gap: 40px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Centra la rayita en móvil */
    }
    
    .contact-column, .cta-column {
        align-items: center;
        text-align: center;
    }
    
    .btn-footer-contact {
        align-self: center; /* Centra el botón en móvil */
    }
}