/* 
    BLACKBOYS.CL - DESIGN SYSTEM v2
    Inspired by Tesla (Radical Minimalism, Photography-First)
*/

:root {
    --bg-white: #FFFFFF;
    --surface-light: #F4F4F4;
    --text-primary: #171A20; /* Tesla Dark Gray */
    --text-secondary: rgba(23, 26, 32, 0.7);
    --accent-blue: #3E6AE1;
    --accent-blue-hover: #3457B1;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* Base resets & global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Snap Engine - Proximity (More natural, less restrictive) */
.snap-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y proximity;
    scrollbar-width: none;
}

.snap-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.snap-section {
    height: 85vh; /* Allows seeing the next section (peek effect) */
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 2rem; /* White background visibility between sections */
    background-color: var(--bg-white); /* Base color */
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    height: 85vh;
    padding: 0;
    overflow: hidden;
}

.slider-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 400%; /* 4 slides */
    height: 100%;
    transition: transform 0.6s var(--transition-smooth);
}

.slide {
    flex: 0 0 25%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    /* No fixed attachment inside slider - causes rendering issues */
    background-repeat: no-repeat;
}

.hero-slide {
    /* Background replaced by video element */
    background-image: none;
}

.slide[data-bg="networking"] {
    /* Background replaced by video element */
    background-image: none;
}

.slide[data-bg="fiber"] {
    /* Background replaced by video element */
    background-image: none;
}

/* Video background for fiber slide */
.video-slide {
    overflow: hidden;
}

.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.slide[data-bg="security"] {
    /* Background replaced by video element */
    background-image: none;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: background 0.3s, opacity 0.3s;
    opacity: 0.6;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Navigation - Fixed White Bar (Tesla Style) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4rem; /* Balanced consistent padding */
    z-index: 1000;
    background: var(--bg-white); /* Always white */
    border-bottom: 1px solid var(--glass-border);
    transition: none; /* No transition needed as it doesn't change */
}

/* Navbar scrolled class removed (no longer used) */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    /* Removed inversion filter for light mode */
    transition: transform 0.3s;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links li a:hover {
    opacity: 1;
}

/* Content Aesthetics (Tesla-Style) */
.hero-section {
    background-image: url('assets/hero_datacenter.png');
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

h1, h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* Buttons */
.actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.primary-btn {
    background-color: var(--text-primary);
    color: var(--bg-white);
    padding: 0.8rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s var(--transition-smooth), transform 0.2s;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.outline-btn {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    padding: 0.8rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.outline-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Service Details Section */
.service-details ul {
    list-style: none;
    margin-bottom: 3rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 3rem;
    font-size: 0.95rem;
}

.service-section[data-bg="networking"] {
    background-image: url('assets/networking_premium.png');
    background-size: cover;
    background-position: center;
}

.service-section[data-bg="fiber"] {
    background-image: url('assets/fiber_optic.png');
    background-size: cover;
    background-position: center;
}

.service-section[data-bg="security"] {
    background-image: url('assets/security_cctv.png');
    background-size: cover;
    background-position: center;
}

.service-section[data-bg="telephony"] {
    background-image: url('assets/hero_datacenter.png');
    background-size: cover;
    background-position: center;
}

/* ── Hitos Strip (Tesla specs style) ── */
.hitos-section {
    background-color: var(--bg-white);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.hitos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.hito-item {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hito-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.hito-item:nth-child(1) { transition-delay: 0.0s; }
.hito-item:nth-child(3) { transition-delay: 0.15s; }
.hito-item:nth-child(5) { transition-delay: 0.30s; }
.hito-item:nth-child(7) { transition-delay: 0.45s; }

.hito-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.hito-count {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.hito-unit {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
    margin-left: 0.15rem;
}

.hito-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}

.hito-divider {
    width: 1px;
    height: 60px;
    background: rgba(0,0,0,0.12);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hitos-grid {
        flex-wrap: wrap;
        gap: 2.5rem;
    }
    .hito-divider { display: none; }
    .hito-item { flex: 0 0 45%; }
}

/* ── Solutions Showcase (Horizontal Carousel) ── */
.solutions-section {
    background-color: var(--bg-white);
    padding: 2.5rem 0 2.5rem 0;
    width: 100%;
    overflow: hidden;
    position: relative; /* anchor for absolute arrows */
}

.solutions-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none; /* IE */
    padding: 0 4rem 1.5rem 4rem; /* side padding so first card aligns with nav */
    cursor: grab;
}

.solutions-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.solutions-carousel:active {
    cursor: grabbing;
}

.solution-card {
    position: relative;
    flex: 0 0 calc(48% - 8px); /* ~2 cards visible + hint of 3rd */
    height: 52vh;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
}

/* Triptych mosaic (cableado card) */
.card-triptych {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 2px; /* thin white separator between panels */
    overflow: hidden;
}

.triptych-panel {
    flex: 1;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .triptych-panel {
    transform: scale(1.04);
}

/* Image background with zoom-on-hover */
.solution-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .solution-card-bg {
    transform: scale(1.04);
}

/* Gradient overlay — strong contrast, not blue-tinted */
.solution-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.20) 45%,
        rgba(10, 10, 10, 0.78) 100%
    );
    z-index: 1;
}

/* All text content */
.solution-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2.5rem;
}

/* Category badge — top left */
.solution-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(23, 26, 32, 0.72); /* dark charcoal — better contrast */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.85rem;
    border-radius: 2px;
    align-self: flex-start;
}

/* Badge color variants */
.solution-badge--amber {
    background: rgba(180, 83, 9, 0.75);  /* warm amber */
    border-color: rgba(251, 191, 36, 0.4);
}

.solution-badge--emerald {
    background: rgba(6, 95, 70, 0.75);   /* deep emerald */
    border-color: rgba(52, 211, 153, 0.4);
}

.solution-badge--purple {
    background: rgba(88, 28, 135, 0.80); /* deep violet */
    border-color: rgba(192, 132, 252, 0.4);
}

/* Bottom area: title + copy + buttons */
.solution-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solution-card-bottom h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
    margin: 0;
}

.solution-card-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    opacity: 1;
}

/* Solution card buttons */
.solution-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sol-btn-primary {
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 0.6rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.sol-btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

.sol-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.6rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(6px);
    transition: background 0.3s, transform 0.2s;
}

.sol-btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Carousel navigation arrows — absolute left & right, vertically centered */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.carousel-arrow svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    display: block;
}

.carousel-arrow--left  { left: 1.25rem; }
.carousel-arrow--right { right: 1.25rem; }

/* Mobile: stack / narrower cards */
@media (max-width: 768px) {
    .solutions-carousel {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    .solution-card {
        flex: 0 0 85vw;
        height: 55vh;
    }
}

/* --- Specialized Services Section (High-Energy Overhaul) --- */
.specialized-section {
    background-color: #f9f9f9; /* Light, clean, energetic background */
    padding: 8rem 5vw;
    position: relative;
    z-index: 5;
    margin-top: -2rem; /* Pull up slightly to meet the carousel but with safe cleared space */
    scroll-snap-align: none; /* DO NOT SNAP HERE */
    display: block; /* Flow naturally */
}

.specialized-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.spec-title {
    color: #171A20 !important; /* Dark gray for visibility */
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    text-shadow: none !important;
}

.spec-subtitle {
    color: rgba(23, 26, 32, 0.7) !important;
    margin-bottom: 4rem;
    font-size: 1.2rem !important;
    text-shadow: none !important;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.spec-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 580px; /* Taller cards as requested */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
    text-align: left;
    scroll-snap-align: center;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.spec-card-img {
    width: 100%;
    height: 280px; /* More emphasis on photography */
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.spec-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.spec-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #171A20;
    font-weight: 700;
    line-height: 1.2;
}

.spec-card-content p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
    text-shadow: none;
    font-weight: 400;
}

/* Fix for Termofusión/Rack specific text visibility */
.spec-card-content p strong {
    color: var(--accent-blue);
}

/* --- Mission & Vision Section (Condensed Redesign) --- */
.mission-section {
    position: relative;
    background-color: #ffffff;
    background-image: url('assets/schematic_bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: 6rem 5vw 2rem 5vw; /* Reduced bottom padding */
    border-top: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.90);
    z-index: 1;
}

.mission-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mission-card {
    background: #f2f2f5;
    border-radius: 30px;
    padding: 3rem 3rem;
    text-align: center;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    background: #ececef;
}

.mission-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem auto;
    color: var(--accent-blue);
    opacity: 0.8;
}

.mission-card h2 {
    color: var(--text-primary) !important;
    font-size: 2rem !important;
    margin-bottom: 1rem;
    text-shadow: none !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.mission-card p {
    color: #333 !important;
    font-size: 1.1rem !important;
    line-height: 1.7;
    text-shadow: none !important;
    margin: 0;
    font-weight: 400;
}

/* Visual Bridge to Contact */
.mission-section-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 2rem; /* Reduced from 5rem */
}

.comp-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-primary);
    border: 1.2px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

@media (max-width: 1100px) {
    .mission-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .mission-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }
    .mission-card h2 {
        font-size: 1.8rem !important;
    }
}

/* Contact Section Tweaks */
.contact-section {
    background-color: var(--bg-white);
    padding: 4rem 5vw 8rem 5vw; /* Reduced top padding from 8rem to 4rem */
    scroll-snap-align: none;
    display: block;
    min-height: auto;
    text-align: center; /* Center all text */
}

.contact-section .content {
    max-width: 1400px;
    margin: 0 auto; /* Center content block */
}

.contact-section h2 {
    color: #171A20 !important;
    text-shadow: none !important;
}

.contact-section p {
    color: rgba(23, 26, 32, 0.7) !important;
    text-shadow: none !important;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Grid Adjustments */
@media (max-width: 1400px) {
    .specialized-grid {
        grid-template-columns: repeat(3, 1fr); /* Back to 3 columns on smaller desktops */
    }
}

@media (max-width: 1100px) {
    .specialized-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .specialized-section {
        padding: 5rem 0; /* Full width for carousel */
    }
    .spec-title, .spec-subtitle {
        padding: 0 1.5rem;
    }
    .specialized-grid {
        display: flex; /* Carousel behavior */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 2rem 2rem 2rem;
        gap: 20px;
        scrollbar-width: none;
    }
    .specialized-grid::-webkit-scrollbar {
        display: none;
    }
    .spec-card {
        flex: 0 0 85vw; /* Large cards for mobile */
        height: auto;
        min-height: 520px;
    }
    .spec-card-img {
        height: 220px;
    }
}

/* ── Form Styling ── */
.contact-section {
    background-color: var(--bg-white);
}

/* Override text color for white-background sections */
.contact-section h2,
.contact-section p {
    color: var(--text-primary);
    text-shadow: none;
}

.minimal-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.minimal-form input, 
.minimal-form textarea {
    width: 100%;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.minimal-form input:focus, 
.minimal-form textarea:focus {
    border-color: var(--accent-blue);
}

.minimal-form textarea {
    min-height: 150px;
    resize: none;
}

.full-width {
    width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

/* ── Contact Grid & Info ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr; /* Form gets its original width back, while the rest expands */
    gap: 6rem;
    align-items: start;
    margin-top: 4rem;
}

.contact-details-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Text beside Map */
    gap: 3rem;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 1rem;
}

.contact-map-col {
    width: 100%;
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.map-container iframe {
    display: block;
    filter: grayscale(1) invert(0.9) contrast(0.8) brightness(0.9);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover iframe {
    filter: grayscale(0.2) invert(0) contrast(1) brightness(1);
}

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

.info-item h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent-blue);
}

/* ── Footer Styling (Redesigned) ── */
.main-footer {
    background: #0c0d0e;
    color: white;
    padding: 6rem 5vw 2rem 5vw;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-col p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-shadow: none;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
    display: block;
    /* Use screen blend mode to make any black background transparent */
    /* and invert only if the original logo is black on white */
    filter: invert(1);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.contact-col strong {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.2rem;
}

.contact-col a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 1.5rem auto;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Form Overrides */
.minimal-form {
    max-width: none;
    margin: 0;
}
