:root {
    /* ==========================================================================
       VARIABLES DE COLORES
       ========================================================================== */
    --color-text-primary: #20292f;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-accent: #15c586;
    --color-grey-dark: #333333;
    --color-link-blue: #2D6351;
    --color-grey-light: #71818c;
    --color-bg-light: #f4f4f4;
    
    --color-verde-oscuro: #187351;
    --color-verde-oscuro-2: #084943;
    --color-fondo-verde-claro: #d1f2e3; /* Derivado de .bg-verde-claro */
    --color-fondo-verde-claro-2: #8ae0b0; /* Verde intenso para la barra de iconos */
    --color-fondo-crema: #ffdcad;
    --color-fondo-crema-2: #fdeed9; /* Derivado de .bg-crema */
    --color-amarillo: #ffaf03;
    --color-rojo: #d70613;
    --color-rojo-oscuro: #920b21;
    --color-naranja: #e2612b; /* Usado en precios y contadores */

    /* Transparencias */
    --bg-overlay-dark: rgba(0, 0, 0, 0.6);
    --bg-overlay-medium: rgba(0, 0, 0, 0.3);
    --bg-overlay-light: rgba(0, 0, 0, 0.15);
    --bg-white-50: rgba(255, 255, 255, 0.5);

    /* ==========================================================================
       VARIABLES DE FUENTES
       ========================================================================== */
    --font-primary: 'Segoe UI', 'Open Sans', Arial, sans-serif; /* Fallback */
    --font-heading: 'Arimo', Helvetica, Arial, Lucida, sans-serif; /* Títulos */
    --font-body: 'Inter', Helvetica, Arial, Lucida, sans-serif; /* Textos */
    --font-mono: 'Courier New', monospace;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* ==========================================================================
       VARIABLES DE IMÁGENES DE FONDO
       ========================================================================== */
    --img-hero: url("../assets/images/inicio/INICIO - NAYLAMP_fondo_hero.jpg");
    /* Services Backgrounds */
    --img-service-piscina: url("../assets/images/inicio/INICIO - NAYLAMP-23.jpg");
    --img-service-parrilla: url("../assets/images/inicio/INICIO - NAYLAMP-24.jpg");
    --img-service-bungalows: url("../assets/images/inicio/INICIO - NAYLAMP-25.jpg");
    --img-service-vistas: url("../assets/images/inicio/INICIO - NAYLAMP-26.jpg");
    
    --img-bg-bungalows-cta: url("../assets/images/bungalows/BUNGALOWS - NAYLAMP-02.jpg");
    --img-bg-nosotros-cta: url("../assets/images/nosotros/NOSOTROS.jpg");
    --img-bg-video: url("../assets/images/nosotros/NOSOTROS - NAYLAMP-02.jpg");
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-primary);
    line-height: 1.8; /* Increased line-height from page.css */
    font-size: 16px;
    overflow-x: hidden;
    background-color: white;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: none; /* Changed from uppercase to none */
}

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1500px; /* Ancho estándar extraído de page.css */
    margin: 0 auto;
    padding: 0;
}

.container-narrow {
    max-width: 1080px;
    margin: 0 auto;
}

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

.text-verde-oscuro { color: var(--color-verde-oscuro) !important; }
.text-naranja { color: var(--color-naranja) !important; }
.text-white { color: var(--color-white) !important; }

.bg-verde-claro { background-color: var(--color-fondo-verde-claro) !important; }
.bg-crema { background-color: var(--color-fondo-crema) !important; }
.bg-crema-claro { background-color: var(--color-fondo-crema-2) !important; }
.bg-white { background-color: var(--color-white) !important; }
.bg-verde-bar { background-color: var(--color-fondo-verde-claro-2) !important; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-column { flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-40 { gap: 40px; }

.mt-negative-24 { margin-top: -24px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.py-50 { padding-top: 50px; padding-bottom: 50px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.mb-20 { margin-bottom: 20px; }
.mb-50 { margin-bottom: 50px; }

/* Tipografía Responsiva (Exact Match page.css) */
.text-hero-title { 
    font-size: 86px; 
    line-height: 1.1; 
    letter-spacing: -1px; 
    text-transform: none; /* Changed from uppercase to none for Sentence case */
}
.text-section-title { font-size: 60px; line-height: 1.2; }
.text-subtitle { font-size: 42px; line-height: 1.3; }
.text-small-heading { font-size: 14px; letter-spacing: 0.08px; line-height: 1.6em; }

@media (max-width: 980px) {
    .text-hero-title { font-size: 60px; }
    .text-section-title { font-size: 40px; }
    .text-subtitle { font-size: 28px; }
}
@media (max-width: 767px) {
    .text-hero-title { font-size: 40px; }
    .text-section-title { font-size: 28px; }
    .text-subtitle { font-size: 24px; }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 100px; /* Pill shape match page.css */
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px; /* Reduced from 14 to match look */
    letter-spacing: 1px;
}

.btn-light {
    background-color: var(--color-fondo-verde-claro-2); /* The light green from page.css */
    color: var(--color-verde-oscuro);
}

.btn-light:hover {
    background-color: var(--color-verde-oscuro);
    color: var(--color-white);
}

.btn-verde {
    background-color: var(--color-verde-oscuro);
    color: var(--color-white);
}

.btn-verde:hover {
    background-color: var(--color-fondo-verde-claro-2);
    color: var(--color-verde-oscuro);
}

/* ==========================================================================
   LAYOUT SECTIONS
   ========================================================================== */

/* Header */
.main-header {
    background-color: var(--color-fondo-crema); /* Match page.css */
    box-shadow: 0 0 30px rgba(7,51,84,0.17);
    position: fixed; /* Changed from sticky to fixed for smart header */
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease; /* Smooth transition */
}

/* Smart Header States */
.main-header.header-hidden {
    transform: translateY(-100%); /* Move header up out of view */
    box-shadow: none;
}

.main-header.header-scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* Stronger shadow when scrolled */
}

/* Body Padding Correction due to Fixed Header */
body {
    padding-top: 90px; /* Compensate for fixed header height */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: 'Poppins', sans-serif; /* Match page.css */
    font-weight: 500;
    color: var(--color-verde-oscuro);
    font-size: 15px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-rojo-oscuro); /* Match active state */
}

/* Mobile Menu Trigger */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

@media (max-width: 980px) {
    .nav-menu { display: none; } /* Implementar JS para toggle */
    .mobile-menu-toggle { display: block; }
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%), var(--img-hero);
    background-size: cover;
    background-position: center;
    /* Height calculation: 100vh - header height to fit screen exactly */
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to bottom */
    color: var(--color-white);
    position: relative;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 60px; /* Space between text and cards */
}

/* Features Grid (Green Bar) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--color-fondo-verde-claro-2);
    width: 100%; /* Full width of container */
}

.feature-item {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.feature-item:hover {
    background-color: var(--color-verde-oscuro);
}

.feature-item:hover .feature-title {
    color: var(--color-white) !important; /* Force white on hover */
}

.feature-item:hover .feature-icon {
    filter: brightness(0) invert(1); /* White icon on hover */
}

.feature-icon {
    height: 40px; /* Adjusted size */
    margin-bottom: 20px;
    transition: filter 0.3s ease;
}

.feature-title {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: var(--color-verde-oscuro); /* Dark green text initially */
    line-height: 1.6em;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto; /* Allow growth on mobile */
        padding-top: 100px; /* Space for header */
    }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { padding: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
}

/* Section: Donde las familias... */
.families-section {
}

.families-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.families-title-col {
    padding: 80px 40px;
    display: flex;
    align-items: center;
}

.families-content-col {
    padding: 80px 40px;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.counter-item { text-align: left; }
.counter-number {
    font-size: 60px;
    font-weight: var(--font-weight-bold);
    color: var(--color-naranja); /* Match page.css */
    font-family: var(--font-heading);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}
.counter-label {
    font-size: 14px;
    color: var(--color-grey-dark);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 980px) {
    .families-grid { grid-template-columns: 1fr; }
    .families-title-col, .families-content-col { padding: 40px 20px; }
}

/* Bungalows Grid */
.bungalows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Increased gap */
}

.bungalow-card {
    background: transparent;
}

.bungalow-image-container {
    position: relative;
    margin-bottom: 25px;
}

.bungalow-tag {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: #f28d01;
    color: white;
    padding: 8px 30px;
    border-radius: 12px 12px 12px 12px; /* Rounded bottom corners */
    font-weight: bold;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 16px;
}

.bungalow-img {
    width: 100%;
    transition: filter 0.3s ease;
    filter: saturate(100%); /* Normal color initially */
}

.bungalow-card:hover .bungalow-img {
    filter: saturate(0%); /* Black and white on hover */
}

.bungalow-price {
    color: var(--color-verde-oscuro);
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.bungalow-subtitle {
    font-size: 16px;
    color: var(--color-grey-dark);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bungalow-desc {
    font-size: 14px;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .bungalows-grid { grid-template-columns: 1fr; }
}

/* Services Row (Full Width Images) */
.services-section {
    width: 100%;
    padding: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.service-box {
    position: relative;
    padding: 14vw 20px; /* Altura basada en el diseño original (page.css) */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Logic - Colors on Hover */
.service-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0); /* Sin opacidad por defecto */
    transition: background-color 0.3s ease;
    z-index: 1;
}

/* Hover Colors (Inferred from project palette and image description) */
.service-piscina:hover::before {
    background-color: rgba(24, 115, 81, 0.85); /* Verde Oscuro (Teal/Aqua look) */
}
.service-parrilla:hover::before {
    background-color: rgba(226, 97, 43, 0.85); /* Naranja */
}
.service-bungalows:hover::before {
    background-color: rgba(138, 224, 176, 0.85); /* Verde Claro */
}
.service-vistas:hover::before {
    background-color: rgba(215, 6, 19, 0.85); /* Rojo */
}

.service-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.service-title {
    color: var(--color-white);
    font-size: 22px;
    text-transform: none; /* No uppercase */
    font-weight: var(--font-weight-bold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.7); /* Strong shadow for readability without overlay */
}

/* Specific Service Images */
.service-piscina { background-image: var(--img-service-piscina); }
.service-parrilla { background-image: var(--img-service-parrilla); }
.service-bungalows { background-image: var(--img-service-bungalows); }
.service-vistas { background-image: var(--img-service-vistas); }

@media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-box { padding: 20vw 20px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-box { padding: 30vw 20px; }
}

/* Why Choose Us */
.why-choose-us .blurb-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%; /* Take full height of parent */
}

.why-choose-us .blurb-item p {
    flex-grow: 1; /* Pushes the button to the bottom */
}

.blurb-icon-wrapper {
    margin-bottom: 20px;
}

.blurb-title {
    color: var(--color-verde-oscuro);
    font-size: 20px; /* Reduced from 23 to match visual hierarchy */
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Warmth Section (Calidez) */
.warmth-section .container {
    align-items: flex-start !important; /* Force top alignment */
}
details {
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-verde-oscuro);
}

summary {
    padding: 20px 0;
    color: var(--color-verde-oscuro);
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 30px;
    font-weight: 300;
}

details[open] summary::after {
    content: '-';
}

details p {
    padding-bottom: 20px;
    color: var(--color-text-primary);
}

/* Testimonials */
.testimonials-section {
    padding-top: 100px; /* +20% from 80px */
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 350px; /* Espacio para el contenido más alto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Ensure slider container does not clip the arrows */
    overflow: visible; 
}

.testimonial-item {
    display: none; /* Hidden by default */
    animation: fadeEffect 1s; /* Fading effect */
    width: 100%;
}

.testimonial-item.active {
    display: block; /* Show active slide */
}

/* Fading animation */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.testimonial-text {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    max-width: 800px;
    text-transform: none;
}

.testimonial-author {
    font-size: 16px;
}

/* Dots Navigation */
.slider-dots {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(226, 97, 43, 0.4); /* 40% opacity (60% transparency) */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active.dot, .dot:hover {
    background-color: var(--color-naranja);
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--color-verde-oscuro);
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
}

/* Position the "next button" to the right */
.next {
    right: -50px; /* Move outside */
    border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
    left: -50px; /* Move outside */
    border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
    background-color: transparent; /* Remove background on hover to look cleaner outside */
    transform: scale(1.2); /* Slight grow effect instead */
    color: var(--color-rojo-oscuro);
}

@media (max-width: 980px) {
    /* On smaller screens, keep them inside or just at the edge */
    .next { right: 0; }
    .prev { left: 0; }
    .prev:hover, .next:hover { background-color: rgba(24, 115, 81, 0.1); transform: none; }
}

@media (max-width: 768px) {
    .testimonial-text { font-size: 20px; }
    .testimonial-slider { min-height: 400px; }
    .prev, .next { font-size: 20px; padding: 10px; } /* Smaller arrows on mobile */
}

/* Social Media Icons */
.social-icons-container {
    display: flex;
    gap: 15px;
}

.social-icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-verde-oscuro);
    color: var(--color-white);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon-circle:hover {
    transform: translateY(-3px);
    background-color: var(--color-verde-oscuro-2); /* Slightly darker or different shade on hover */
}

.social-icon-circle svg {
    width: 20px;
    height: 20px;
    /* Ensure fill works for paths that use it, and stroke for others */
    fill: currentColor; 
}

/* Instagram uses stroke in my SVG code, let's fix that or make general rule */
.social-icon-circle svg[stroke] {
    fill: none;
}

/* Footer */
.main-footer {
    background-color: var(--color-fondo-crema); /* Match page.css section_8 */
    color: var(--color-white);
    padding: 0;
}

.footer-content {
    padding: 80px 0;
}

.footer-bottom {
    background-color: var(--color-fondo-verde-claro-2);
    color: var(--color-verde-oscuro);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 200px;
    transition: transform 0.3s;
}
.floating-btn:hover { transform: scale(1.05); }

/* ==========================================================================
   NOSOTROS PAGE STYLES
   ========================================================================== */
.about-section { padding-bottom: 80px; }
.about-content-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .about-content-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-text p { font-size: 18px; line-height: 1.8; color: var(--color-text-primary); margin-bottom: 20px; text-align: justify;top:0px; }
.about-image img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Stats Section */
.stats-section { padding: 100px 0; background-color: var(--color-fondo-crema-2); } /* Usar crema claro para coincidir con imagen */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 980px) { .stats-grid { grid-template-columns: 1fr; } }
.stats-counters { display: flex; flex-direction: column; gap: 40px; }
.stat-item { text-align: left; } /* Alineación a la izquierda */
.stat-number { font-size: 80px; font-weight: bold; color: var(--color-verde-oscuro); line-height: 1; display: block; margin-bottom: 10px; }
.stat-label { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: #666; }
.stat-divider { width: 100%; height: 2px; background-color: var(--color-verde-oscuro); opacity: 0.5; border: none; } /* Línea verde */

/* Video Section */
.video-section { position: relative; height: 600px; background-image: var(--img-bg-video); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.video-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); }
.play-btn { width: 100px; height: 100px; background-color: #d70613; border-radius: 50%; position: relative; z-index: 2; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background-color 0.3s ease; box-shadow: 0 0 30px rgba(0,0,0,0.3); }
.play-btn:hover { transform: scale(1.1); background-color: #b00510; }
.play-btn::after { content: ''; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 25px solid white; margin-left: 5px; }

/* Modal Video */
.video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.video-wrapper { position: relative; width: 80%; max-width: 1000px; aspect-ratio: 16/9; }
.video-wrapper iframe { width: 100%; height: 100%; border: none; }
.close-modal { position: absolute; top: -40px; right: 0; color: white; font-size: 30px; cursor: pointer; }

/* Warmth Section Image */
.warmth-img { width: 100%; border-radius: 10px; }

/* ==========================================================================
   SERVICIOS PAGE STYLES
   ========================================================================== */
.services-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.service-page-item { position: relative; padding: 180px 20px 20px; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: center; text-align: center; color: white; overflow: hidden; height: 300px; cursor: pointer; }
.service-page-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.2); transition: background 0.3s ease; }
.service-page-item:hover::before { background: rgba(0,0,0,0.5); }
.service-page-item h5 { position: relative; z-index: 2; font-size: 24px; font-weight: bold; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10001; /* Encima del header y todo lo demás */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

.close-image-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
}

.close-image-modal:hover,
.close-image-modal:focus {
    color: var(--color-naranja);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@media (max-width: 768px) {
    .close-image-modal {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

/* Specific Service Images */
.svc-1 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-13.jpg'); }
.svc-2 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-14.jpg'); }
.svc-3 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-15.jpg'); }
.svc-4 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-16.jpg'); }
.svc-5 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-17.jpg'); }
.svc-6 { background-image: url('../assets/images/servicios/SERVICIOS - NAYLAMP-18.jpg'); }

@media (max-width: 980px) { .services-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-page-grid { grid-template-columns: 1fr; } }

/* Experience Section */
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 980px) { .experience-grid { grid-template-columns: 1fr; } }
.experience-blurb { display: flex; align-items: flex-start; margin-bottom: 40px; }
.experience-icon-circle { background-color: var(--color-verde-oscuro); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 20px; }
.experience-icon-circle img { width: 30px; height: auto; }

/* ==========================================================================
   CONTACTO PAGE STYLES
   ========================================================================== */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
@media (max-width: 980px) { .contact-page-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info-list { margin-top: 30px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-icon-wrap { width: 50px; height: 50px; border-radius: 50%; background-color: var(--color-verde-oscuro); display: flex; align-items: center; justify-content: center; margin-right: 20px; flex-shrink: 0; }
.contact-icon-wrap img { width: 24px; height: auto; filter: brightness(0) invert(1); }
.contact-item-content h4 { margin-bottom: 5px; font-size: 18px; }
.contact-item-content p { margin: 0; color: #555; line-height: 1.5; }

.contact-form-box { padding: 40px; background-color: #e8f8ef; border-radius: 20px; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 15px 20px; border: 1px solid rgba(24, 115, 81, 0.2); background-color: white; border-radius: 8px; font-family: var(--font-primary); font-size: 16px; color: var(--color-text-primary); outline: none; transition: border-color 0.3s; }
.form-control:focus { border-color: var(--color-verde-oscuro); }
.btn-submit { background-color: var(--color-verde-oscuro); color: white; border: none; padding: 15px 40px; border-radius: 50px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background 0.3s, transform 0.3s; width: 100%; }
.btn-submit:hover { background-color: var(--color-verde-oscuro-2); transform: translateY(-2px); }

.map-section iframe { display: block; width: 100%; height: 500px; border: 0; }

/* Gallery Modal Navigation */
.modal-prev,
.modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 10002;
    background-color: rgba(0,0,0,0.3);
    text-decoration: none;
}

.modal-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.modal-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
}
