/* css/styles.css - Industrial Brutalism (High Contrast) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@400;700;800&display=swap');

:root {
    /* Brand Accent Colors */
    --color-green: #00d26a; 
    --color-white: #ffffff;
    --color-gray: #111111;
    
    /* Industrial Dark Palette */
    --bg-dark: #0a0a0a;
    --bg-darker: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-hover: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Syne', sans-serif;
    
    /* Utilities */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --letter-spacing-heading: -0.02em;
    --letter-spacing-text: 0em;
}

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

/* Fallback for touch devices */
@media (hover: none) and (pointer: coarse) {
    * { cursor: auto; }
}

html {
    /* Lenis takes over scrolling, but just in case */
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%; /* Hard boundary */
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Hide native scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}

/* Text Selection */
::selection {
    background-color: var(--color-green);
    color: #000;
}



/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-darker);
    z-index: 99999; /* Ensure it stays above EVERYTHING, including navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heartbeat 2s infinite ease-in-out;
}

.preloader-logo img {
    height: 200px;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}

.preloader-text {
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    opacity: 0;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--color-green);
    width: 0%;
}

/* Noise Texture (Matte printed feel) */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Background Grid Pattern */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
}

/* Typography Editorial Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

h1 strong, h2 strong, h3 strong {
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.micro-copy {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1rem;
}

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

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 8rem 0; /* Balanced vertical rhythm */
}

/* Editorial Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }

@media (max-width: 1024px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
    .grid-bento { grid-template-columns: repeat(2, 1fr); }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 3rem;
}

.section-header p {
    font-size: 1.3rem;
    max-width: 700px;
}

/* Magnetic Premium Buttons */
.magnetic-btn-wrapper {
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 4rem;
    border-radius: 100px;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-5px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--bg-darker);
    border-color: var(--color-white);
    transform: translateY(-5px);
}

/* Radical Layout Utilities */
.full-bleed {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 1.2rem; /* Reduced from 2rem */
}

@media (max-width: 1024px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
    .mosaic-grid > div {
        grid-column: span 1 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 300px;
    }
}

.team-image {
    grid-column: span 5;
    height: 600px;
}

.team-details {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    z-index: 10;
}

.team-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .team-details {
        padding: 2rem 1rem;
        text-align: center;
    }
    .team-stats {
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    .team-stats span {
        font-size: 3rem !important;
    }
}

.showcase-image {
    grid-column: span 7;
    height: 500px;
}

.showcase-details {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.service-mosaic-image {
    grid-column: span 7;
    height: 500px;
}

.service-mosaic-details {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    z-index: 10;
}

.service-mosaic-details .section-title {
    font-size: 2rem; /* Exact requested size */
    margin-bottom: 1.5rem;
}

/* Adjusting specific spans for different sections */
#construccion .service-mosaic-image { grid-column: span 6; height: 600px; }
#construccion .service-mosaic-details { grid-column: span 6; }
#remodelacion .service-mosaic-image { grid-column: span 7; height: 600px; }
#remodelacion .service-mosaic-details { grid-column: span 5; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

/* Contact Page Specifics */
.contact-grid {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.contact-form-side {
    flex: 1.2;
}

.contact-info-side {
    flex: 0.8;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.4);
}

.hours-box {
    background: rgba(0,0,0,0.8);
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Services Image Grid */
.services-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-image-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-image-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,210,106,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-image-card__media {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.service-image-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.8);
}

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

.service-image-card__content {
    padding: 2.5rem;
}

.service-image-card__content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-image-card__content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .services-image-grid {
        grid-template-columns: 1fr;
    }
}

.overlap-container {
    position: relative;
    padding: 5rem 0;
    overflow: hidden; /* Prevent background text from causing horizontal scroll */
}

.bg-outline-text {
    position: absolute;
    font-size: 20vw;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.image-card:hover::after {
    opacity: 1;
}

.image-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(-5px);
    border: 1px solid rgba(0,210,106,0.2);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.85);
}

.image-card:hover img {
    transform: scale(1.12);
    filter: brightness(1);
}

.info-box {
    background: var(--bg-dark);
    padding: 3rem;
    border: 1px solid var(--border-glass);
    border-radius: 0;
    position: relative;
    z-index: 5;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 10000;
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease,
                backdrop-filter 0.5s ease;
}

/* Navbar Scrolled Refinement */
.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 150px;
    object-fit: contain;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.navbar.scrolled .logo img {
    height: 110px;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu { display: none; }

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    z-index: 11000;
    mix-blend-mode: difference;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.menu-toggle:hover span:nth-child(1) { transform: translateX(5px); }
.menu-toggle:hover span:nth-child(2) { transform: translateX(-5px); }

.overlay-menu {
    position: fixed;
    top: 0; 
    right: 0;
    width: min(400px, 85vw); 
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-glass);
}

.overlay-menu.active {
    transform: translateX(0);
}

.overlay-links {
    list-style: none;
    text-align: right;
    padding: 0 4rem;
    width: 100%;
}

.overlay-links li {
    margin: 0.8rem 0;
    overflow: hidden;
}

.overlay-link {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.5rem); /* Reduced from 1.8rem-3.5rem */
    font-weight: 300;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
    letter-spacing: 0.05em;
}

.overlay-link:hover,
.overlay-link.active {
    color: var(--color-green);
    letter-spacing: 0.15em;
}

.overlay-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-green);
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    height: 100vh;
}

@media (max-width: 768px) {
    .overlay-link {
        font-size: clamp(1.2rem, 5vw, 1.6rem); /* Reduced from 1.4rem-2.2rem */
    }
    .overlay-links li {
        margin: 0.6rem 0;
    }
}

@media (max-height: 500px) {
    .overlay-link {
        font-size: 1.2rem;
    }
    .overlay-links li {
        margin: 0.4rem 0;
    }
}

/* Minimalist Bento Grid */
.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 1.2rem; /* Reduced from 2rem */
}

.services-bento.centered {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
}

.service-card {
    background: linear-gradient(145deg, rgba(20,20,20,0.6) 0%, rgba(10,10,10,0.8) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
    border-radius: inherit;
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(30,30,30,0.7) 0%, rgba(15,15,15,0.9) 100%);
    border-color: rgba(0, 210, 106, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 210, 106, 0.15), 0 0 20px rgba(0,0,0,0.8);
}

/* Cinematic Split Hero Section */
.hero-split {
    height: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    overflow: hidden;
    position: relative;
}

.hero-text-side {
    padding: 180px 4rem 4rem; /* Added safe zone for navbar/logo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: var(--bg-darker);
}

.hero-text-side .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.1rem); 
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-text-side p {
    max-width: 500px;
    margin-top: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: justify;
}

.hero-btns {
    margin-top: 2rem;
    margin-bottom: 2rem; /* Reduced from 4rem */
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-media-side {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-media-side video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute; 
    bottom: 8rem; 
    left: 4rem; 
    right: 2rem; 
    z-index: 10; 
    max-width: 80%;
}

/* Cinematic Hero Section */
.hero {
    height: 85vh; /* Proportional height to see next section */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg-dark));
    z-index: 1;
}

.hero-background video {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero:hover .hero-background video {
    filter: brightness(0.5) saturate(100%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 9rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

/* Service Categories Detailed */
.service-category {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.category-header {
    margin-bottom: 3rem;
}

.service-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.service-grid-detailed.inverted {
    grid-template-columns: 1.5fr 1fr;
}

.service-info-card {
    padding-right: 2rem;
}

.service-grid-detailed.inverted .service-info-card {
    padding-right: 0;
    padding-left: 2rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(0, 210, 106, 0.3);
    transform: scale(1.02);
}

.feature-list li i {
    font-size: 1.1rem;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.service-gallery-grid img:hover {
    transform: scale(1.05);
}

/* Client Logo Grid */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    background: rgba(255,255,255,0.02);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid var(--border-glass);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 120px;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Specific adjustment for Gersys logo (it looks smaller than others) */
.logo-wrapper img[src*="logo_gersys"] {
    transform: scale(2.2);
}

.logo-wrapper img[src*="santa teresita living logo.avif"] {
    transform: scale(1.2);
}

.logo-centered {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

.logo-wrapper:hover img {
    opacity: 1;
}

@media (max-width: 1024px) {
    .client-logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 3rem;
    }
    .service-grid-detailed, .service-grid-detailed.inverted {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-info-card, .service-grid-detailed.inverted .service-info-card {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .client-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem;
    }
}



.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Logo Marquee (Editorial style, no white bg hack needed if we use contrast) */
.section-light {
    background-color: var(--bg-darker);
    color: var(--text-primary);
}

.section-light .section-header {
    border-color: var(--border-glass);
}

.section-light p {
    color: var(--text-secondary);
}

.section-light .marquee-content img,
.section-light .client-logo-grid img {
    height: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
}

.section-light .marquee-content img:hover,
.section-light .client-logo-grid img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* Specific adjustment for Gersys logo (it looks smaller than others) */
.marquee-content img[src*="logo_gersys.avif"] {
    height: 240px !important;
}

.marquee-content img[src*="santa teresita living logo.avif"] {
    height: 160px !important;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    display: flex;
    overflow: hidden;
    padding: 3rem 0;
}

.section-light .marquee-wrapper {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 8rem;
    padding: 0 4rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Image/Video Wrappers (Parallax Ready) */
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper img, .image-wrapper video {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
    display: block;
    transform: translateY(-10%); /* Start slightly offset */
}

/* IG Grid */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ig-embed-wrapper {
    border: 1px solid var(--border-glass);
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4/5;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

.faq-question {
    padding: 2rem 0;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding-bottom: 2rem;
    color: var(--text-secondary);
}

/* Inner Pages Header */
.page-header {
    height: 70vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.page-header p {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Modern Process Timeline */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.process-step:hover {
    background: rgba(255,255,255,0.02);
    border-color: rgba(0,210,106,0.3);
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -5px;
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition-smooth);
    z-index: 0;
}

.process-step:hover .step-number {
    color: rgba(0, 210, 106, 0.05);
    transform: scale(1.05);
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.step-content p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Conecting line for desktop */
.process-line {
    position: absolute;
    top: 50%;
    left: 2rem;
    width: calc(100% - 4rem);
    height: 1px;
    background: var(--border-glass);
    z-index: -1;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .process-line { display: none; }
}

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

/* Form */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
}

/* Footer - Mega Typography */
.footer {
    padding: 8rem 0 0;
    border-top: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6rem;
}

.footer-logo img {
    height: 140px;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-info {
    max-width: 300px;
    margin-top: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--color-green);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-mega-text {
    font-family: var(--font-heading);
    font-size: 15vw;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.03);
    margin: 2rem 0 0;
    user-select: none;
    letter-spacing: 0.1em;
    white-space: nowrap;
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(100px);
}

/* ==========================================================================
   14. RESPONSIVE ENGINE (Unified)
   ========================================================================== */

@media (max-width: 1200px) {
    .container { padding: 0 3rem; }
    .nav-container { padding: 0 3rem; }
}

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .nav-container { padding: 0 2rem; }
    .services-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    
    .menu-toggle { display: flex; }
    
    .navbar { padding: 0.8rem 0; }
    .navbar.scrolled { padding: 0.5rem 0; }
    
    .nav-container {
        padding: 0 1.2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo img { 
        height: 85px; 
        max-width: 60vw;
        object-fit: contain;
    }
    .navbar.scrolled .logo img { height: 65px; }

    .preloader-text {
        letter-spacing: 3px;
        font-size: 0.75rem;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .hero-text-side {
        padding: 8rem 1.2rem 4rem 1.2rem;
        text-align: center;
        align-items: center;
    }

    .hero-text-side .section-title {
        /* Inherits fluid clamp from global */
    }

    .hero-text-side p {
        margin: 1.5rem auto 0;
    }

    @media (max-height: 700px) {
        .hero-text-side { padding: 4rem 1.2rem; }
        .hero-text-side .section-title { font-size: 2.2rem; }
        .hero-btns { margin-top: 1rem; }
    }

    .hero-btns {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
    }
    
    .hero-media-side {
        height: 50vh;
    }

    .hero-video-overlay {
        bottom: 3rem; /* Lowered on mobile as requested */
        left: 1.5rem;
    }
    
    .services-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-large, .bento-tall, .bento-wide { grid-column: span 1; grid-row: auto; }
    
    .service-card {
        padding: 2rem 1.2rem; /* Reduced from 3rem to prevent overflow */
    }

    .service-card p a {
        word-break: break-word; /* Handle long handles like @multiserviciosgonpa */
    }
    
    .footer-container { flex-direction: column; align-items: flex-start; gap: 4rem; }
    .footer-links { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; padding: 2rem; }
    .footer-mega-text { font-size: 18vw; }

    .page-header {
        height: 50vh;
        padding-bottom: 3rem;
        text-align: center;
        align-items: center;
    }

    .page-header h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .showcase-image, .showcase-details {
        grid-column: span 1 !important;
        height: auto !important;
        min-height: 300px;
    }

    .showcase-details {
        padding: 2rem 1.2rem !important;
        text-align: center;
    }

    .ig-grid {
        grid-template-columns: 1fr !important;
    }

    .service-mosaic-image, .service-mosaic-details {
        grid-column: span 1 !important;
        height: auto !important;
        min-height: 300px;
    }

    .service-mosaic-details {
        padding: 2rem 1.2rem !important;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .bg-outline-text {
        font-size: 15vw !important;
        opacity: 0.3; /* Subtle on mobile */
    }

    .service-mosaic-details .section-title {
        font-size: 1rem;
    }

    .contact-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .hours-box {
        padding: 3rem 1.2rem;
    }

    .hours-box h3 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hours-box li {
        font-size: 0.95rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* CTA Split Section Styles */
.cta-split-section {
    background: var(--color-green);
    padding: 0;
}

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 500px;
}

.cta-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: black;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.1;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.cta-btns {
    margin-top: 2rem;
}

.cta-media {
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-split {
        grid-template-columns: 1fr;
        height: auto;
    }

    .cta-content {
        padding: 4rem 2rem;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-media {
        height: 300px;
    }
}

/* Impact Statistics Bento */
.stats-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 4rem 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0,210,106,0.05), transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,210,106,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.stat-header i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.4s ease;
}

.stat-card:hover .stat-header i {
    color: var(--color-green);
}

.stat-number.display-text {
    font-size: clamp(4rem, 6vw, 7rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .stats-bento {
        grid-template-columns: 1fr;
    }
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

/* Hover effect removed as requested */

.gallery-overlay .micro-copy {
    color: var(--color-green);
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-overlay h4 strong {
    color: var(--color-green);
}

/* Gallery Carousel */
.gallery-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.carousel-item {
    flex: 0 0 400px;
    height: 300px;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.02);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.carousel-control {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--color-green);
    color: var(--color-black);
    border-color: var(--color-green);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 20000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    z-index: 20001;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20002;
}

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

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 280px;
        height: 200px;
    }
}

/* Services Bento Grid Responsiveness */
.services-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-span-2 {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .bento-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .services-bento {
        grid-template-columns: 1fr;
    }
}

.bento-title-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

@media (max-width: 768px) {
    .bento-title-large {
        font-size: 1rem;
    }
}

/* Album Gallery */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.album-card {
    cursor: pointer;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-green);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.album-cover {
    width: 100%;
    height: 100%;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.album-overlay span {
    font-size: 0.8rem;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.album-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
}

.btn-ver-fotos {
    margin-top: 1.2rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(15px);
}

.album-card:hover .btn-ver-fotos {
    opacity: 1;
    transform: translateY(0);
    background: var(--color-green);
    color: var(--bg-dark);
    border-color: var(--color-green);
}

.btn-ver-fotos i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.album-card:hover .btn-ver-fotos i {
    transform: translateX(3px);
}

/* Album Lightbox Specifics */
.album-carousel {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
}

.carousel-slide-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.carousel-slide-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.carousel-counter {
    position: absolute;
    bottom: 40px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    .album-carousel {
        width: 100%;
        gap: 1rem;
    }
    .album-carousel .carousel-control {
        width: 40px;
        height: 40px;
    }
}

/* Hours Box Premium Design */
.hours-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.hours-box:hover {
    border-color: var(--color-green);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hours-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle at top right, rgba(0,210,106,0.1), transparent 70%);
    pointer-events: none;
}

.hours-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.hours-title i {
    font-size: 1.5rem;
    color: var(--color-green);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-fast);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background: rgba(255,255,255,0.02);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
}

.day-label {
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.time-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-open { background: var(--color-green); box-shadow: 0 0 10px var(--color-green); }
.status-closed { background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; }
.status-special { background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }

/* Services Horizontal Carousel */
.services-carousel-section {
    padding: 8rem 0;
    overflow: hidden;
    background: rgba(255,255,255,0.01);
    border-bottom: 1px solid var(--border-glass);
}

.services-carousel-container {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    padding: 2rem 8vw; /* Added horizontal padding */
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    scroll-behavior: smooth;
}

.services-carousel-container::-webkit-scrollbar {
    display: none;
}


.services-carousel-section {
    padding: 6rem 0;
    overflow: hidden;
    background: rgba(255,255,255,0.01);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

.carousel-progress-container {
    width: 250px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    margin: 1.5rem auto 3rem; /* Centered with more bottom space */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.carousel-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-green);
    box-shadow: 0 0 10px var(--color-green);
    transition: width 0.1s ease;
}

.carousel-hint {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    animation: pulseHint 2s infinite;
}

.carousel-hint i {
    font-size: 0.7rem;
    animation: slideArrow 1.5s infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes slideArrow {
    0% { transform: translateX(-5px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(5px); opacity: 0; }
}


.services-carousel-container:active {
    cursor: grabbing;
}


.service-carousel-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.service-carousel-card:hover {
    border-color: var(--color-green);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 106, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper i {
    font-size: 1.2rem;
    color: var(--color-green);
    filter: drop-shadow(0 0 5px var(--color-green));
}

.service-carousel-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.service-carousel-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .service-carousel-card {
        flex: 0 0 280px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-carousel-section { padding: 3rem 0; }
    .services-carousel-container { padding: 2rem 1.2rem; gap: 1.2rem; }
    .service-carousel-card { flex: 0 0 250px; min-height: 260px; }
}


.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.floating-contact__icon {
    width: 80px;
    height: 80px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-contact:hover .floating-contact__icon {
    background: #128c7e;
    transform: scale(0.9);
}

.floating-contact__close {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 32px; /* Increased size */
    height: 32px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
    z-index: 99; /* Very high */
    pointer-events: auto;
    border: 2px solid white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pseudo-element for even larger hit area */
.floating-contact__close::after {
    content: '';
    position: absolute;
    inset: -10px;
}

.floating-contact__close i {
    pointer-events: none;
}

.floating-contact__close:active {
    transform: scale(0.85);
}

@media (max-width: 1024px) {
    .floating-contact.is-active .floating-contact__close {
        display: flex;
    }
}

.floating-contact__image {
    position: absolute;
    bottom: 85px; /* Above the icon */
    right: 25px;
    width: 150px;
    opacity: 0;
    transform: translateY(30px) scale(0.4);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    pointer-events: none;
}

.floating-contact:hover .floating-contact__image,
.floating-contact.is-active .floating-contact__image {
    opacity: 1;
    transform: translateY(0) scale(1.1);
}

.floating-contact__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.floating-contact__label {
    position: absolute;
    right: 90px;
    background: #128c7e;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
    font-family: var(--font-primary);
}

.floating-contact:hover .floating-contact__label,
.floating-contact.is-active .floating-contact__label {
    opacity: 1;
    transform: translateX(0);
}

.floating-contact.is-dismissed .floating-contact__image,
.floating-contact.is-dismissed .floating-contact__label,
.floating-contact.is-dismissed .floating-contact__close {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    .floating-contact__icon {
        width: 65px;
        height: 65px;
        font-size: 2.2rem;
    }
    .floating-contact__image {
        width: 110px;
        bottom: 70px;
        right: 12px;
    }
    .floating-contact__label {
        right: 75px;
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

.cta-image-interactive {
    margin: 3rem auto;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
    --slider-width: 500px;
}

.before-after-slider {
    position: relative;
    width: var(--slider-width);
    height: var(--slider-width);
    cursor: ew-resize;
    user-select: none;
    overflow: hidden;
}

.img-container.before, .img-container.after {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.img-container.before {
    width: 100%;
    left: 0;
    z-index: 1;
}

.img-container.after {
    width: 0%; /* Start empty */
    right: 0;
    z-index: 2;
    pointer-events: none; /* Let clicks pass to parent slider */
}

.img-container img {
    width: var(--slider-width) !important;
    height: var(--slider-width) !important;
    object-fit: cover !important;
    display: block;
    max-width: none !important;
    position: absolute;
    top: 0;
    pointer-events: none; /* Prevent browser image drag */
}

.img-container.before img {
    left: 0;
}

.img-container.after img {
    right: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none; /* Let clicks go to the container */
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-green);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
    pointer-events: none;
    display: flex;
}

.slider-label.before {
    left: 20px;
}

.slider-label.after {
    right: 20px;
}

@media (max-width: 768px) {
    .cta-image-interactive {
        max-width: 320px;
        --slider-width: 320px;
    }
}

