/* =========================================================================
   ALBA AGENCY - Exact Image Replica
   ========================================================================= */

:root {
    /* Colors from reference image */
    --color-bg-white: #FFFFFF;
    --color-text-hero: #1A262E; /* Very dark slate for huge ALBA AGENCY */
    --color-header-bg: #35565F; /* Dark Teal base */
    --color-header-pattern: #26434D; /* Darker rings */
    --color-header-btn: #478B99;
    --color-nav-text: #E8F0F2;
    --color-btn-cta: #2D6C7E;
    
    --color-orbit: #DFE4E8;
    --color-card-text: #111111;
    --color-card-sub: #333333;
    
    /* Fonts */
    --font-bebas: 'Bebas Neue', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    background-color: var(--color-bg-white);
    font-family: var(--font-inter);
    color: var(--color-card-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: url('cursor-alba.png') 24 24, auto;
}

/* Custom Cursor for interactive elements */
a, button, .svc-card, .brand-logo, select {
    cursor: url('cursor-alba.png') 24 24, pointer !important;
}

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100px; /* Taller to fit user logo image nicely */
    background-color: var(--color-header-bg);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 999999; /* Absolute top priority over everything to catch clicks */
    transition: height 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.navbar-scrolled {
    height: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-color: rgba(53, 86, 95, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar.navbar-scrolled .header-pattern {
    opacity: 0.65 !important;
    transition: opacity 0.4s ease;
}

/* CSS recreation of the interlocking ring pattern */
.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    z-index: 1;
    /* user background is set via inline style HTML */
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-img {
    height: 60px; /* Scale logo to fit comfortably inside the 100px navbar */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: height 0.4s ease;
}

.navbar.navbar-scrolled .logo-img {
    height: 48px; /* Shrinks tightly with navbar */
}

.logo-text-top {
    font-family: var(--font-montserrat);
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 300; /* Thin font like the image */
    line-height: 1;
    letter-spacing: 0.1em;
}

.logo-text-bottom {
    font-family: var(--font-montserrat);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    align-self: flex-end; /* Agency pushes correctly to right */
    margin-top: 2px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.header-btn {
    appearance: none;
    background-color: var(--color-header-btn);
    color: #FFFFFF;
    border: none;
    border-radius: 50px; /* Fully rounded edge */
    padding: 0.6rem 1.8rem;
    font-family: var(--font-inter);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-btn:hover {
    background-color: #55a6b7;
}

/* =========================================================================
   Main Hero Structure (2 Columns)
   ========================================================================= */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 130px 5% 4rem; /* Matching the spacing + navbar padding */
    min-height: 100vh; /* Fill the screen */
    position: relative;
    z-index: 200; /* Ensures the detaching lens flies over all subsequent sections */
}

/* --- LEFT COLUMN: TEXT --- */
.hero-text-column {
    width: 45%; /* Narrowed back down to prevent overlap */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-bebas);
    font-size: clamp(5rem, 8.5vw, 10rem); /* Restored to perfect balanced proportion */
    color: var(--color-text-hero);
    line-height: 0.85;
    margin-bottom: 0px;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-title-dynamic {
    font-family: var(--font-bebas);
    font-size: clamp(5rem, 8.5vw, 10rem); /* Matches top size */
    line-height: 0.85;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 3.5rem;
    white-space: nowrap;
}

#dynamic-text {
    /* exact multi-color gradient from image */
    background: linear-gradient(90deg, #62919F 0%, #395267 20%, #CE6738 50%, #C45F2C 70%, #6899A9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor {
    color: #C45F2C;
    font-weight: 400;
    animation: blink 1s step-end infinite;
    padding-left: 5px;
}

@keyframes blink { 50% { opacity: 0; } }

.cta-btn {
    appearance: none;
    border: none;
    background-color: var(--color-btn-cta);
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 2.8rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    background-color: #357f93;
}

/* --- RIGHT COLUMN: 3D ORBIT GRAPHICS --- */
.hero-visual-column {
    width: 55%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.orbit-container {
    position: relative;
    width: 550px;
    height: 550px;
}

.orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--color-orbit);
    z-index: 1;
}

/* Center Lens Image */
.lens-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    z-index: 5;
    cursor: pointer;
    /* Removed blend-mode so the transparent alpha lens keeps its shiny reflections intact */
}

.lens-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* A heavy shadow exactly as in the mock */
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.4));
}

/* Orbit Logo Text under the Lens */
.orbit-logo-text {
    position: absolute;
    top: 85%; /* Just below the lens */
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    display: flex;
    flex-direction: column;
    z-index: 2;
    background: #fff; /* covers the orbit ring behind it like in the image */
    padding: 0 20px;
}

.orbit-logo-alba {
    font-family: var(--font-montserrat);
    color: var(--color-text-hero);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.1em;
}

.orbit-logo-agency {
    font-family: var(--font-montserrat);
    color: var(--color-text-hero);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    align-self: flex-end;
    margin-right: 15px;
}

.shutter {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%; /* Extends over the full interior lens area */
    height: 75%; /* Extends over the full interior lens area */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.1s;
}

.shutter.shutter-active { opacity: 1; }

.blade {
    position: absolute;
    top: -10%; left: 50%; width: 120%; height: 120%;
    background-color: #050a0f;
    transform-origin: 0% 50%;
    transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    border: 1px solid #1a2a3a;
}

/* Position 6 blades */
.blade-1 { transform: rotate(0deg)   translate(-100%, -50%); }
.blade-2 { transform: rotate(60deg)  translate(-100%, -50%); }
.blade-3 { transform: rotate(120deg) translate(-100%, -50%); }
.blade-4 { transform: rotate(180deg) translate(-100%, -50%); }
.blade-5 { transform: rotate(240deg) translate(-100%, -50%); }
.blade-6 { transform: rotate(300deg) translate(-100%, -50%); }

/* Active animation closes the blades over the aperture */
.shutter-active .blade-1 { transform: rotate(0deg)   translate(0%, -50%); }
.shutter-active .blade-2 { transform: rotate(60deg)  translate(0%, -50%); }
.shutter-active .blade-3 { transform: rotate(120deg) translate(0%, -50%); }
.shutter-active .blade-4 { transform: rotate(180deg) translate(0%, -50%); }
.shutter-active .blade-5 { transform: rotate(240deg) translate(0%, -50%); }
.shutter-active .blade-6 { transform: rotate(300deg) translate(0%, -50%); }


/* =========================================================================
   Floating Metric Cards - Exact Positioning & Styling
   ========================================================================= */
.metric-card {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Soft drop shadow matching image */
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Using transform-style to support the JS 3D pop effect */
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-card .card-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-card-text);
    line-height: 1.1;
    margin-bottom: 0.2rem;
    transform: translateZ(20px);
}

.metric-card .card-subtitle {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-card-sub);
    transform: translateZ(10px);
}

.metric-card.has-icon .card-title {
    font-size: 1.5rem; /* slightly smaller when icon present */
}

/* Orbit Mechanics & Card Nodes (approx 550x550) */
.cards-orbit-track {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    animation: orbitSpin 35s linear infinite;
    pointer-events: none;
    z-index: 10;
}

.orbit-node {
    position: absolute;
    width: 0; height: 0;
    animation: counterSpin 35s linear infinite;
    pointer-events: none;
}

@keyframes orbitSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes counterSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Precise nodes on the circle (radius 275px) */
.node-1 { top: 0; left: 50%; }
.node-2 { top: 50%; left: 100%; }
.node-3 { top: 85%; left: 85%; }
.node-4 { top: 50%; left: 0%; }

.card-centerer {
    position: absolute;
    top: -45px;
    left: -85px; /* Offset to center the 170x90 cards precisely on the dot */
    pointer-events: auto; /* Re-enable clicks/hover on the actual cards */
}

/* Ensure hover states just scale or pop up lightly */
.metric-card:hover { 
    transform: scale(1.05) translateZ(10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.12);
}

/* Icons in cards */
.speedometer {
    margin: 5px 0;
    transform: translateZ(15px);
}

/* =========================================================================
   Botanical Plant Asset - Exact Positioning
   ========================================================================= */
.plant-container {
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 280px;  /* Smaller, scaled properly underneath the ALBA text */
    height: auto;
    z-index: 30;
    pointer-events: none;
    /* Removed multiply blend mode since the new PNG has explicit transparency */
    transform-origin: bottom center;
    /* Set css variables used by js */
    --wind-x: 0deg;
    --wind-y: 0deg;
    transform: perspective(800px) rotateX(var(--wind-y)) rotateY(var(--wind-x)) skewX(calc(var(--wind-x) * -0.5));
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.plant-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Soft shadow on the ground */
    filter: drop-shadow(0 40px 15px rgba(0,0,0,0.1));
}


/* Responsive Fallbacks */
@media (max-width: 1200px) {
    .orbit-container { transform: scale(0.85); }
    .hero-title, .hero-title-dynamic { font-size: 7rem; }
}

@media (max-width: 1024px) {
    .hero-section { flex-direction: column; min-height: auto; padding-top: 4rem; }
    .hero-text-column { width: 100%; align-items: center; text-align: center; margin-bottom: 4rem; }
    .hero-visual-column { width: 100%; min-height: 550px; }
    .plant-container { bottom: -10%; left: 0%; }
}

@media (max-width: 768px) {
    .header-content { padding: 0 2rem; }
    .nav-links { display: none; /* Hide nav links on mobile */ }
    .orbit-container { transform: scale(0.6); }
    .hero-title, .hero-title-dynamic { font-size: 5rem; }
}

/* =========================================================================
   Social Proof Ticker Strip
   ========================================================================= */
.social-proof {
    width: 100%;
    background-color: var(--color-bg-white);
    padding: 25px 0 35px; /* Adjusted padding to match new size */
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.03); /* Soft separation */
    position: relative;
    z-index: 50;
}

.social-title {
    text-align: center;
    font-family: var(--font-inter);
    color: #4A4A4A; 
    font-size: 0.95rem; /* Small like menu text */
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    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);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 40s linear infinite;
}

.carousel-group {
    display: flex;
    align-items: center;
    gap: 80px; /* Slightly wider gap for bigger logos */
    padding-right: 80px;
}

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

.brand-logo {
    height: 80px; /* Considerably larger presence */
    width: 140px; /* Uniform width constraint */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8; /* Clearer baseline visibility */
    transition: filter 0.15s ease-out, opacity 0.15s ease-out, transform 0.15s ease-out;
    cursor: pointer;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08); /* Pop */
}

/* =========================================================================
   About Us Section (Quienes Somos)
   ========================================================================= */
.about-section {
    position: relative;
    width: 100%;
    padding: 120px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Premium parallax scroll effect */
    /* Deep shadow overlay to ensure text is perfectly legible on the pattern */
    box-shadow: inset 0 0 160px rgba(15, 30, 35, 0.5);
    overflow: hidden;
}

.about-content {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2; /* Float above the background */
}

/* Left Column */
.about-text-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #FFFFFF;
}

.about-subtitle {
    font-family: var(--font-inter);
    color: #A5C9D3; /* Subtle teal matches the aesthetic */
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-title {
    font-family: var(--font-bebas);
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.about-description {
    font-family: var(--font-inter);
    font-size: 1.15rem;
    line-height: 1.6;
    color: #E8F0F2;
    margin-bottom: 45px;
    max-width: 550px;
    font-weight: 300;
}

.about-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05); /* Ghost button style */
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.9rem 3.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-btn:hover {
    background-color: #FFFFFF;
    color: var(--color-header-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Right Column */
.about-visual-column {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatLogo 6s ease-in-out infinite; /* Living element */
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.about-logo {
    width: 100%;
    max-width: 420px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Mathematically eliminates the white background */
}

/* Specific Responsive Breakpoint */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 60px;
    }
    .about-text-column, .about-visual-column {
        width: 100%;
        align-items: center;
    }
    .about-title { font-size: 4rem; }
    .about-description { margin: 0 auto 35px; }
}

/* =========================================================================
   Services Section (3D Carousel)
   ========================================================================= */
/* =========================================================================
   New Dark Themed Services Section
   ========================================================================= */
.services-custom {
    background-color: #121214;
    padding: 100px 5%;
    width: 100%;
    color: #FFFFFF;
    font-family: var(--font-inter);
}

.services-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.title-custom {
    font-family: var(--font-bebas);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    letter-spacing: 1.5px;
}

.underline-purple {
    position: relative;
    display: inline-block;
}

.underline-purple::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #A855F7;
    border-radius: 3px;
}

.nav-arrows-custom {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.arrow-btn {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrow-btn:hover {
    background-color: #A855F7;
    border-color: #A855F7;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.services-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.svc-card {
    position: relative;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #1a1a1c;
}

.svc-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1) grayscale(100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.svc-card:hover {
    transform: scale(1.03);
}

.svc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.svc-card:hover::after {
    opacity: 0.7; /* lightens the dark gradient on hover */
}

/* Glow Logic based on the custom classes */
.svc-card.glow-blue:hover { box-shadow: 0 0 40px rgba(0, 123, 255, 0.5); }
.svc-card.glow-cyan:hover { box-shadow: 0 0 40px rgba(0, 255, 255, 0.5); }
.svc-card.glow-purple:hover { box-shadow: 0 0 40px rgba(168, 85, 247, 0.5); }
.svc-card.glow-white:hover { box-shadow: 0 0 40px rgba(255, 255, 255, 0.4); }

.svc-card-content {
    position: relative;
    z-index: 10;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.svc-card-title {
    font-family: var(--font-inter); /* Standard bold sans serif layout */
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    line-height: 1.1;
}

.svc-card-label {
    font-family: var(--font-inter);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.svc-card-desc {
    font-family: var(--font-inter);
    font-size: 0.85rem;
    line-height: 1.4;
    color: #D3D8DB;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.svc-card:hover .svc-card-desc {
    margin-top: 15px;
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
}

/* Specific glows for interior images to respond */
.svc-card.glow-blue:hover .svc-card-bg { filter: brightness(0.8) contrast(1.2) grayscale(0%) drop-shadow(0 0 10px #007BFF); }
.svc-card.glow-cyan:hover .svc-card-bg { filter: brightness(0.8) contrast(1.2) grayscale(0%) drop-shadow(0 0 10px #00FFFF); }
.svc-card.glow-purple:hover .svc-card-bg { filter: brightness(0.8) contrast(1.2) grayscale(0%) drop-shadow(0 0 10px #A855F7); }
.svc-card.glow-white:hover .svc-card-bg { filter: brightness(0.8) contrast(1.2) grayscale(0%) drop-shadow(0 0 10px #FFFFFF); }

/* =========================================================================
   Marketing & Growth Section
   ========================================================================= */
.marketing-growth {
    background-color: #121214;
    padding: 0 5%;
    width: 100%;
    min-height: 80vh; /* Se ve a lo largo */
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mg-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
}

.mg-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 20, 0.65); /* Overlay */
    z-index: 1;
}

.mg-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mg-supertitle {
    font-family: var(--font-inter);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 15px 0;
    color: #FFFFFF;
    text-transform: uppercase;
}

.mg-title {
    font-family: var(--font-inter);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    letter-spacing: 3px;
    color: #00FFFF; /* Cyan accent */
}

.mg-subtitle {
    font-family: var(--font-inter);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* =========================================================================
   Contact Section
   ========================================================================= */
.contact-section {
    background-color: #121214;
    padding: 120px 5%;
    width: 100%;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    mix-blend-mode: color-dodge;
}

.contact-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right center, rgba(168, 85, 247, 0.05) 0%, rgba(0, 255, 255, 0.05) 40%, rgba(18,18,20,1) 80%);
    z-index: 1;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* Left Side */
.contact-left {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-family: var(--font-inter);
    font-size: 4rem;
    font-weight: 800; /* Bold */
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-family: var(--font-inter);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0 0 50px 0;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-inter);
    font-size: 1.1rem;
    font-weight: 500;
    color: #E8F0F2;
    letter-spacing: 1px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    stroke: #00FFFF; /* Cyan glow */
    stroke-width: 2;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

/* Right Side - Glassmorphism Form */
.contact-right {
    width: 65%;
}

.glass-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group:nth-child(4) { /* Proyecto field */
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-inter);
    font-size: 0.8rem;
    font-weight: 600;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 10px 0;
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.2);
    font-weight: 500;
}

.form-control:focus {
    border-color: #A855F7;
    box-shadow: 0px 10px 15px -10px rgba(168, 85, 247, 0.3);
}

.textarea {
    resize: none;
    height: 60px;
    font-size: 1.3rem;
}

/* Submit Button */
.submit-btn {
    grid-column: 1 / -1;
    margin-top: 10px;
    background: linear-gradient(90deg, #00FFFF 0%, #A855F7 100%);
    color: #000000;
    border: none;
    padding: 22px 40px;
    font-family: var(--font-inter);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.4);
}

@media (max-width: 1200px) {
    .contact-container { flex-direction: column; gap: 60px; }
    .contact-left, .contact-right { width: 100%; }
    .contact-title { font-size: 3rem; }
    .services-grid-custom { grid-template-columns: repeat(2, 1fr); }
    .svc-card { height: 400px; }
    .title-custom { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .glass-form { grid-template-columns: 1fr; padding: 30px; }
    .contact-title { font-size: 2.5rem; }
    .services-grid-custom { grid-template-columns: 1fr; }
    .services-header-custom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .nav-arrows-custom { align-self: flex-end; }
    .title-custom { font-size: 2.8rem; }
}

/* =========================================================================
   FOOTER SECTION
   ========================================================================= */

.alba-footer {
    position: relative;
    background-color: #050505;
    padding-top: 130px;
    overflow: hidden;
    z-index: 10;
}

.footer-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    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');
    z-index: 0;
}

/* TOP ELEMENT */
.footer-top {
    position: relative;
    text-align: center;
    margin-bottom: 100px;
    z-index: 2;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-bebas);
    font-size: clamp(6rem, 15vw, 14rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.footer-manifesto {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding: 0 5%;
}

/* COLUMNS */
.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 40px;
    margin-bottom: 25px;
}

.footer-desc {
    color: #888888;
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 80%;
}

.footer-heading {
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-link {
    display: block;
    color: #888888;
    text-decoration: none;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transform: translateX(3px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #888888;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #00FFFF;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px rgba(0,255,255,0.5));
}

/* DIVIDER & BOTTOM */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #A855F7, #00FFFF, transparent);
    margin: 70px auto 30px;
    max-width: 1400px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #666666;
    font-size: 10px;
    letter-spacing: 2px;
}

/* INTERACTION: REVEAL ON SCROLL */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Response styles for mobile */
@media (max-width: 900px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
    .col-brand { grid-column: span 2; margin-bottom: 20px; }
}

@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .col-brand { grid-column: span 1; }
}
