@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #02213D;
    /* Deep Blue - User Spec */
    --primary-light: #0d3b66;
    --accent: #FF9200;
    /* Orange - User Spec */
    --accent-hover: #e68400;
    --text-main: #02213D;
    /* Matching primary for strong text */
    --text-light: #475569;
    --bg-body: #E9E9E9;
    /* Light Grey - User Spec */
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --font-sans: 'Inter', system-ui, sans-serif;

    /* Fluid Base scaling */
    font-size: clamp(16px, 1rem + 0.25vw, 19px);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Explicit Mobile/Desktop Toggles */
.mobile-view-only {
    display: none !important;
}

.desktop-view-only {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-view-only {
        display: block !important;
    }

    .desktop-view-only {
        display: none !important;
    }
}

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

ul {
    list-style: none;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Mobile Menu Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Main Content */
main {
    flex: 1;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.page-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    /* Refined for 2-line wrapping */
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 450px;
    /* Forced narrower to strictly wrap in 2 lines on desktop */
    margin-left: auto;
    margin-right: auto;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #cbd5e1;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image {
    transform: scale(1.05);
}

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

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--accent-hover);
}

.faq-section details {
    border-top: 1px solid var(--text-light);
    padding: 0;
}

.faq-section details summary {
    cursor: pointer;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--text-light);
    background: none;
    transition: color 0.2s;
}

.faq-section details[open] summary {
    font-weight: 600;
    color: var(--accent);
}

.faq-section details p {
    margin: 0.5rem 0 1rem 0;
    padding-left: 0.5rem;
}


/* CTA Section */
/* CTA Section Container (Wrapper) */
.cta-section {
    background: transparent;
    padding: 0;
    margin-bottom: 4rem;
    box-shadow: none;
}

/* Individual Cards Common Styles */
.benefits-col,
.form-col {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.proposal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 1em;
    border-radius: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    padding: 1em;
    border: none;
    border-radius: 0.5em;
    background-color: var(--accent);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

/* Split Layout for CTA Section */
.cta-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Fluid grid */
    gap: 2rem;
    align-items: stretch;
    text-align: left;
}



.benefits-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    color: white;
}

.btn-social:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

@media (max-width: 1024px) {

    /* 1. HERO SECTION - Compact & Proportional */
    .hero-section {
        height: auto;
        min-height: auto;
        background-color: var(--primary);
        padding-bottom: 0;
        overflow: hidden;
        /* Ensure no spillover */
    }

    .hero-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Stack from top */
        position: relative;
        padding-top: 2rem;
        min-height: auto;
        /* Let content dictate height */
        gap: 1rem;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.4;
    }

    .hero-overlay-text {
        position: relative !important;
        order: 1;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 1.5rem;
        background: transparent !important;
        z-index: 2;
        margin-bottom: 1rem;
    }

    .hero-overlay-text h2 {
        font-size: 1.6rem !important;
        /* Compact Title */
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-stats {
        flex-direction: row !important;
        /* Side by side stats if they fit */
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-line {
        font-size: 0.9rem !important;
    }

    .hero-people-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 80vh;
        object-fit: contain;
        object-position: bottom center;
        z-index: 2;
        margin: 0 !important;
    }



    .steps-section {
        padding: 2rem 1rem 4rem !important;
        /* Reduce section padding */
    }

    .step-title {
        font-size: 1.3rem !important;
    }


    /* 2. CTA & FORM - Compact & Grid */
    .cta-section-wrapper {
        padding: 2rem 1rem !important;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-col,
    .form-col {
        border-radius: 12px !important;
        /* Slight radius for modern feel, or 0 if preferred */
        padding: 1.5rem !important;
    }

    /* Benefits Grid */
    .benefits-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 Columns */
        gap: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .benefits-list li {
        font-size: 0.85rem;
        margin-bottom: 0;
        padding-left: 1.2rem;
        line-height: 1.3;
    }

    .benefits-list li::before {
        font-size: 0.9rem;
        top: 0;
    }

    .benefits-title {
        font-size: 1.4rem !important;
        text-align: center;
        margin-bottom: 1.2rem;
    }

    /* Social Buttons - Stack on small screens for better sizing */
    .social-buttons {
        display: flex;
        flex-direction: column;
        /* Default to stack for guaranteed safety */
        gap: 0.75rem;
    }

    /* Only side-by-side if enough space (e.g. tablet) */
    @media (min-width: 640px) {
        .social-buttons {
            flex-direction: row;
        }
    }

    .btn-social {
        width: 100%;
        /* Full width when stacked */
        padding: 0.75rem;
        font-size: 0.9rem;
        justify-content: center;
        /* Allow text wrap if needed, or keep nowrap if ensuring width */
        white-space: normal;
        text-align: center;
    }

    /* Form Compact */
    .cta-title,
    .cta-description {
        text-align: center;
    }

    .cta-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        /* Always stack inputs on mobile */
        gap: 0.75rem;
    }

    /* Remove the weird 360px query */
    .form-group {
        width: 100%;
        margin-bottom: 0 !important;
    }

    .form-group {
        width: 100%;
        margin-bottom: 0 !important;
        /* Remove bottom margin in favor of gap */
    }

    .proposal-form {
        gap: 0.75rem;
        /* Consistent gap */
    }

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .form-group input,
    .form-select {
        padding: 0.6rem;
        font-size: 0.9rem;
        height: auto;
    }

    .btn-submit {
        padding: 0.8rem;
        font-size: 1rem;
        margin-top: 0.5rem;
        width: 100%;
    }


    /* 3. DIFFERENTIALS - Compact Grid */
    .differentials-section {
        margin: 2rem auto 3rem;
        padding-top: 0;
    }

    .differentials-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .differentials-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns fixed */
        gap: 1rem;
        justify-content: center;
    }

    .differential-item {
        flex: unset;
        /* Override flex */
        width: 100%;
        min-width: 0;
        gap: 0.5rem;
    }

    .diff-icon svg {
        width: 3em;
        /* Fluid icon size */
        height: 3em;
    }

    .differential-item h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    /* Add toggle logic in real adaptation if needed, keeping simple for now */
    .menu-toggle {
        display: block;
    }

    .page-title {
        font-size: 2rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }
}




/* Steps Section */
.steps-section {
    padding: 2rem 2rem 6rem;
    background-color: var(--bg-body);
}

.steps-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    /* User requested shadowing */
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    background: var(--accent);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.differential-item:hover {
    transform: scale(1.1);
}

.faq-section,
.video-section,
.steps-section,
.articles-section,
.map-section {
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.video-section {
    text-align: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 1rem auto;
}

.steps-section {
    box-shadow: none;
}


/* Restored CSS */
.flag-icon {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 1rem;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Hourglass Animations */
.sand-top {
    transform-origin: bottom;
    animation: drainSand 4s linear infinite;
}

.sand-stream {
    animation: streamFlow 4s linear infinite;
}

.sand-bottom {
    transform-origin: bottom;
    transform: scaleY(0);
    animation: fillSand 4s linear infinite;
}

@keyframes drainSand {
    0% {
        transform: scaleY(1);
    }

    40% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(0);
    }

    90% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes fillSand {
    0% {
        transform: scaleY(0);
    }

    40% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1);
    }

    90% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(0);
    }
}

@keyframes streamFlow {
    0% {
        opacity: 1;
        height: 70px;
    }

    40% {
        opacity: 1;
        height: 70px;
    }

    41% {
        opacity: 0;
    }

    89% {
        opacity: 0;
    }

    90% {
        opacity: 1;
        height: 70px;
    }

    100% {
        opacity: 1;
        height: 70px;
    }
}

/* =========================================
   Unified Mobile Responsiveness (Refined)
   ========================================= */

/* =========================================
   Unified Fluid Responsiveness (Final Polish)
   ========================================= */

@media (max-width: 1024px) {

    /* --- Fluid Typography & Spacing --- */
    :root {
        --fluid-pad: clamp(1.5rem, 4vw, 3rem);
    }

    /* Hero Section */
    /* Hero Section - Optimized for Mobile */
    /* Hero Section - Optimized for Mobile */
    /* Hero Section - Optimized for Mobile (Strict Desktop Scaling) */
    /* Hero Section - Old Styles Removed */
    /* .hero-wrapper styles for legacy hero deleted. New hero uses .new-hero structure defined above. */
    /* Fixed corrupt CSS */
    /* Hero Section styles removed */

    /* CTA Section - Fixed "Tables out of square" */
    .cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .benefits-col,
    .form-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: clamp(1.5rem, 5vw, 2.5rem) !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        /* Prevent margin overflow */
    }

    .form-group input,
    .form-select {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Global Section Padding */
    .section-container,
    .site-footer {
        padding-left: clamp(1rem, 3vw, 2rem) !important;
        padding-right: clamp(1rem, 3vw, 2rem) !important;
    }

    /* Grids to Stack */
    .differentials-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }

    .hero-stats {
        flex-direction: column;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        /* Stack Benefits on small screens */
    }
}

/* Make refill cleaner by just flipping the hourglass? 
   For now, a simple drain/fill loop is fine. 
   Improving the loop logic:
   0-45%: Draining top, Filling bottom
   45-50%: Pause
   50-95%: Flip (rotate) - requires container animation
   95-100%: Reset
*/

.hourglass-svg {
    animation: rotateGlass 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes rotateGlass {

    0%,
    45% {
        transform: rotate(0deg);
    }

    50%,
    95% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.advantage-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-md) !important;
}

/* Refactored Styles */

/* Hero Section */
.hero-wrapper {
    position: relative;
    width: 100%;
}

.hero-people-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: 50%;
    object-fit: contain;
    object-position: bottom left;
    z-index: 1;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-overlay-text {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    max-width: 600px;
}

.hero-overlay-text h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.stat-line {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* CTA & Form */
.section-container {
    padding-top: 0;
}

.cta-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

.cta-title-left,
.cta-description-left {
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
    font-weight: 500;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-select {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    appearance: none;
}

.form-select option {
    color: black;
}

.form-help-text {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #94a3b8;
}

/* Differentials */
.differentials-section {
    max-width: 1200px;
    width: 90%;
    margin: 1rem auto 4rem;
    background: transparent;
    text-align: center;
}

.differentials-title {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.differentials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    row-gap: 2rem;
}

.differential-item {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    cursor: default;
}

.diff-icon {
    color: var(--primary);
}

.differential-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Video Section */
.video-section {
    margin: 1rem auto;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 80%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Articles */
.articles-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Map */
.map-title {
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    /* Fluid font size */
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.map-wrapper {
    position: relative;
    padding-bottom: 400px;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.map-wrapper iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* Footer */
.site-footer {
    padding: 4rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start;  Default for footer cols, explicit for logo col */
}

.footer-logo {
    height: 180px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-heading {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-subtext {
    opacity: 0.9;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list-item {
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Additional Refactoring Fixes */
.steps-layout {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.steps-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    /* Even smaller to fit in 2 lines */
    /* Refined for 2-line wrapping */
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 950px;
    /* Wider to ensure 2 lines */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.logo-img {
    height: 120px;
}

.container-dos-cards {
    margin-top: 50px;
}

.contact-icon-highlight {
    background-color: var(--accent) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}


/* Contact Page - Light Theme Cards */
.card-light {
    background: var(--white) !important;
    /* Override gradient */
    color: var(--text-main) !important;
    border: 1px solid #e2e8f0;
}

.card-light .benefits-title,
.card-light .cta-title {
    color: var(--primary);
}

.card-light .cta-description {
    color: var(--text-light);
}

.card-light .form-group input,
.card-light .form-group select,
.card-light .form-group textarea {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
}

.card-light .form-group input::placeholder,
.card-light .form-group textarea::placeholder {
    color: #94a3b8;
}

.card-light .form-group input:focus,
.card-light .form-group select:focus,
.card-light .form-group textarea:focus {
    background: var(--white);
    border-color: var(--accent);
}

.card-light select option {
    color: var(--text-main);
}

/* News Page CTA Specifics */
.news-page-cta .cta-title,
.news-page-cta .cta-description {
    color: var(--primary) !important;
}

.news-page-cta .form-group input {
    background: white;
    border: 1px solid #cbd5e1;
    color: var(--primary);
}

.news-page-cta .form-group input::placeholder {
    color: var(--primary);
    opacity: 0.7;
}

.news-page-cta .form-group input:focus {
    border-color: var(--primary);
    background: white;
}

/* Contact Page Specific Styles */
.hero-contact {
    box-shadow: none;
    margin-bottom: 0;
}

.hero-contact-wrapper {
    min-height: auto;
    padding: 4rem 2rem;
    background: var(--primary);
    text-align: center;
}

.hero-contact-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-contact-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.cta-wrapper-contact {
    align-items: flex-start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-highlight {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    /* Assuming a background based on context elsewhere or keeping consistent */
    font-size: 1.5rem;
}

.contact-icon-highlight:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.btn-facebook {
    background: #1877F2;
}

.textarea-field {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    resize: vertical;
}

.textarea-field:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.map-section-contact {
    margin-top: 0;
}

/* Article Pages Styling */
.article-container {
    max-width: 1000px;
    /* Increased from 800px */
    width: 90%;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.article-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 1.15rem;
    /* Slightly larger for better reading */
    line-height: 1.9;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-heading {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.article-subheading {
    color: var(--primary-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-list {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.article-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.article-highlight-box {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    border-left: 5px solid var(--accent);
}

.highlight-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.article-cta-container {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 3rem;
}

.btn-article-cta {
    display: inline-block;
    width: auto;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-size: 1.2rem;
}

.article-tag-highlight {
    background: rgba(255, 146, 0, 0.15);
    /* Light orange background */
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-subtitle {
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Specific Article Responsive Adjustments */
@media (max-width: 768px) {
    .article-container {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .article-main-image {
        height: 250px;
        margin-bottom: 2rem;
    }

    .article-heading {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
        /* Ensure title scales down */
    }

    .article-body {
        font-size: 1.05rem;
    }

    /* Mobile‑first adjustments */
    @media (max-width: 480px) {

        /* Hero */
        .hero-section {
            height: auto;
            min-height: auto;
            padding: 1rem;
        }

        .hero-wrapper {
            padding-top: 1rem;
        }

        .hero-overlay-text {
            font-size: 1.2rem;
            text-align: center;
            padding: 0 1rem;
        }

        .hero-people-overlay {
            max-height: 45vh;
            margin: 0 auto;
        }

        /* CTA & Form */
        .cta-wrapper {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .benefits-col,
        .form-col {
            padding: 1rem;
            border-radius: 12px;
        }

        .form-group input,
        .form-select,
        .btn-submit {
            height: 3.5em;
            /* Fluid height relative to font */
            /* Touchable targets */
            font-size: 1rem;
        }

        /* Benefits List */
        .benefits-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem 1rem;
        }

        /* Social Buttons */
        .social-buttons {
            flex-direction: row;
            gap: 0.75rem;
        }

        /* Differentials */
        .differentials-grid {
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .diff-icon svg {
            width: 36px;
            height: 36px;
        }

        .differential-item h3 {
            font-size: 0.85rem;
        }

        /* Steps */
        .steps-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .step-card {
            padding: 1rem;
        }

        .step-title {
            font-size: 1.2rem;
        }

        /* Articles */
        .articles-grid {
            grid-template-columns: 1fr;
        }

        /* Footer */
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
    }
}

/* =========================================
   NEW HERO SECTION (Relocated for Scope)
   ========================================= */
.new-hero {
    background-color: #001E35;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.new-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 2rem 2rem 0;
    position: relative;
    min-height: 500px;
}

.new-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.new-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    display: block;
    margin-bottom: -1px;
}

.new-hero-content {
    flex: 1;
    color: var(--white);
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 4rem;
    max-width: 800px;
}

.new-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.new-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

/* Mobile Responsiveness (New Hero) - Adjusted to 768px */
@media (max-width: 768px) {
    .new-hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        /* Pack items at bottom */
        padding: 1rem 1rem 0;
        min-height: 0 !important;
        /* Force collapse */
        gap: 0.5rem;
        /* Small controlled gap */
    }

    .new-hero-image {
        width: 100%;
        max-width: 400px;
        flex: none;
        order: 2;
        margin-bottom: 0;
    }

    .new-hero-content {
        width: 100%;
        flex: none;
        padding: 0 1rem 0;
        /* Remove bottom padding, rely on gap */
        margin-bottom: 0;
        text-align: center;
        order: 1;
    }

    .new-hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        margin-bottom: 1rem;
    }

    .stat-item {
        font-size: 0.6rem;
        padding-left: 0.4rem;
        border-left-width: 2px;
    }

    .new-hero-image img {
        max-height: 280px;
        margin-bottom: -2px;
        display: block;
    }

    .new-hero {
        background-color: #001E35 !important;
        height: auto !important;
        min-height: auto !important;
    }

    .new-hero-content,
    .new-hero-content h1,
    .new-hero-content p {
        color: white !important;
    }
}

/* =========================================
   CRITICAL VISIBILITY UTILITIES (Enforced)
   ========================================= */
.mobile-view-only {
    display: none !important;
}

.desktop-view-only {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-view-only {
        display: block !important;
    }

    .desktop-view-only {
        display: none !important;
    }
}