/* Hero Overlay for Home 2 */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10; /* Above video and poster */
    color: #fff;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4)); /* Subtle gradient for text pop */
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-subline {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0,0,0,0.8);
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    font-weight: 600;
}

.hero-cta:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

/* Responsive Adjustments for Hero Overlay */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }
    .hero-subline {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    .hero-cta {
        padding: 12px 28px;
        font-size: 0.8rem;
    }
}

/* --- New Contact CTA Section --- */

:root {
    --_noise-texture: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><defs><filter id='n' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='3' stitchTiles='stitch' result='t'/><feColorMatrix type='saturate' values='0' in='t' result='g'/><feComponentTransfer in='g' result='a'><feFuncA type='linear' slope='0.5'/></feComponentTransfer></filter></defs><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    --_noise-size: 2.8%;
    --_gradient-blend-mode: normal;
    --_gradient-blur: 0px;
    --_gradient: radial-gradient(at 25% 42%, #453644 0px, transparent 50%), radial-gradient(at 72.8% 71.7%, #6B5E66 0px, transparent 50%), radial-gradient(at 84% 37%, #453644 0px, transparent 50%), radial-gradient(at 22.7% 79.3%, #C8E06A 0px, transparent 50%), radial-gradient(at 65.3% 99.4%, #453644 0px, transparent 50%);
}

.contact-cta-section {
    position: relative;
    width: 100%;
    /* Gradient + Noise Background */
    background-color: #000000;
    background: var(--_gradient) #000000;
    background-position: top center; /* Ensure top alignment */
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Ensure it covers */
    /* Mix blend mode can be tricky on containers with text inside if not separated, 
       but user requested mix-blend-mode on the container. 
       If text disappears, we might need a pseudo-element.
       Let's try applying it directly first as requested. */
    mix-blend-mode: var(--_gradient-blend-mode); 
    
    padding: 160px 20px 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
}

/* Noise Layer */
.contact-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--_noise-texture);
    background-size: var(--_noise-size);
    background-position: center;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0; /* Behind content */
    opacity: 0.7; /* Adjust opacity to make noise visible but not overwhelming */
}

/* Frosted Backdrop if needed (User provided class, let's add it if applicable or just leave for reference) 
   Since we have a noise layer, maybe we don't need a separate backdrop filter div unless requested.
   But let's ensure text is readable and above noise. */

.contact-cta-text,
.contact-cta-btn {
    position: relative;
    z-index: 1; /* Above noise */
}

/* Ensure it breaks out to full width if main has padding */
/* ... existing comments ... */

.contact-cta-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.6rem; /* ~26px */
    font-weight: 500; /* Medium */
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.contact-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; /* Rounded pill shape or matching site rounded corners? Site uses 4px mostly. Let's stick to site vibe but maybe softer. User said "Rounded corners matching the rest of the site." -> 4px */
    border-radius: 4px; 
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; /* Or system font? User said "style as subtle... text at slightly reduced opacity". */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-cta-btn:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments for Contact CTA */
@media (max-width: 768px) {
    .contact-cta-section {
        padding: 100px 20px 100px;
        margin-top: 40px;
    }
    
    .contact-cta-text {
        font-size: 1.25rem; /* ~20px */
        margin-bottom: 1.5rem;
    }
    
    .contact-cta-btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}
