/* 
    OneProtection.ca - Ultra-Modern Premium Financial Aesthetic
    Focus: Transparency, Precision, and Sophistication
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap');

:root {
    /* New Color Palette - Editorial Finance */
    --primary-navy: #0D1B2A;
    --warm-gold: #B68A3C; /* Darkened for better contrast on cream */
    --cream: #F7F4EF;
    --light-gray: #E8E6E1;
    --slate: #475569; /* Darkened to 4.7:1 contrast ratio */
    
    /* Neutrals */
    --neutral-100: #FFFFFF;
    --neutral-200: #F3F4F6;
    --neutral-300: #D1D5DB;
    --neutral-400: #9CA3AF;
    --neutral-500: #475569;
    --neutral-900: #111827;

    /* Semantic Mappings */
    --bg-main: var(--neutral-100);
    --bg-alt: var(--cream);
    --text-main: var(--primary-navy);
    --text-muted: var(--slate);
    --primary: var(--primary-navy);
    --secondary: var(--warm-gold);
    --white: #ffffff;
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'DM Serif Display', serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 8px; /* New design uses 8px radius for buttons/cards */
    --shadow-card: 0px 4px 16px rgba(13, 27, 42, 0.08);
    --shadow-elevated: 0px 12px 32px rgba(13, 27, 42, 0.03);
}

/* Dark theme variables removed to enforce strict editorial styling */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Accounts for fixed header */
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Layout --- */

.container {
    max-width: 1600px; /* Expanded for ultra-modern wide feel */
    margin: 0 auto;
    padding: 0 4%; /* Flexible edge padding */
}

section {
    padding: 120px 0;
}

/* --- Typography --- */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 8vw, 4rem); margin-bottom: 1.5rem; } /* 64px on large screens */
h2 { font-size: clamp(2.25rem, 6vw, 3rem); margin-bottom: 1.25rem; } /* 48px on large screens */
h3 { font-size: clamp(1.75rem, 4vw, 2rem); margin-bottom: 1rem; } /* 32px on large screens */
h4 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; } /* 24px */

p.lead {
    font-size: 1.125rem; /* 18px Body Large */
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 600px;
    font-weight: 400;
}

body {
    font-size: 1rem; /* 16px Body */
    line-height: 1.5;
    font-family: var(--font-main);
}

.text-small { font-size: 0.875rem; line-height: 1.4; } /* 14px Body Small */
.caption { font-size: 0.75rem; font-weight: 500; } /* 12px Caption */

/* Mega Menu Styling */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(13, 27, 42, 0.12);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 550px;
    width: 95vw;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 8px;
    border-top: 3px solid var(--warm-gold);
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mega-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--warm-gold);
}

.mega-column ul {
    list-style: none;
    padding: 0;
}

.mega-column ul li {
    margin-bottom: 1.25rem;
}

.mega-column ul li a {
    display: flex;
    flex-direction: column;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--primary);
    opacity: 1;
    font-weight: 500;
}

.mega-column ul li a span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.mega-column ul li a:hover {
    color: var(--warm-gold);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.phone-link {
    font-size: 0.875rem;
    color: var(--slate);
}

.phone-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Partner Strip --- */

.partner-strip-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlap effect */
}

.partner-strip {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-elevated);
}

.partner-info {
    display: flex;
    gap: 1.5rem;
    border-right: 1px solid var(--light-gray);
    padding-right: 2rem;
}

.shield-icon {
    font-size: 2.5rem;
    color: var(--warm-gold);
}

.partner-text .label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
}

.partner-text .sub-label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.partner-text p {
    font-size: 0.75rem;
    color: var(--slate);
    line-height: 1.4;
}

.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.partner-logos img {
    max-height: 35px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 1024px) {
    .partner-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .partner-info {
        border-right: none;
        padding-right: 0;
        flex-direction: column;
        align-items: center;
    }
    .partner-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    font-family: var(--font-main);
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 8px;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--warm-gold);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* --- Enhanced CTA System --- */

.btn-primary {
    display: inline-block;
    padding: 1.1rem 2.2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: 1px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-cta-navy {
    background: var(--primary-navy);
    color: var(--white);
    padding: 1.1rem 2.2rem; /* Restored to original authoritative size for Hero */
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Scoped Slim Header Version - Forces all header buttons to be small */
header .btn-cta-navy, 
header .btn-primary {
    padding: 0.5rem 1.2rem !important; /* Strictly forced slim size */
    font-size: 0.65rem !important;
    letter-spacing: 0.08em;
    gap: 0.5rem;
    height: auto !important;
    min-height: unset !important;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.btn-shimmer:hover::after {
    left: 120%;
    transition: all 0.6s ease;
}

.btn-hero {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: var(--warm-gold);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid var(--warm-gold);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-hero:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-premium {
    background: #0f172a;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cta-premium h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-premium h2 span {
    color: var(--warm-gold);
    font-style: italic;
}

.cta-premium p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.premium-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

/* --- Solutions Grid --- */

.solutions-section {
    padding: 120px 0;
    background: var(--bg-main);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-card:hover {
    border-color: var(--warm-gold);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--warm-gold);
    font-size: 1.5rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-card p {
    font-size: 1rem;
    color: var(--slate);
    margin-bottom: 2rem;
    flex-grow: 1;
}

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

/* --- Partner Logos --- */

.partner-grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.partner-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
    background: var(--surface);
}

.partner-card img {
    max-width: 140px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: grayscale(1);
    opacity: 0.4;
    transition: var(--transition);
}

.partner-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.partner-card p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Blog Cards --- */

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

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.blog-card .image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f1f5f9;
    border-radius: calc(var(--radius) / 2);
    margin-bottom: 1.5rem;
}

.blog-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Footer --- */

/* --- Footer Overhaul --- */
footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

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

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

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Mobile Navigation --- */

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Intermediate Screen Navigation Tuning (Defensive Design) */
@media (min-width: 1151px) and (max-width: 1300px) {
    .nav-links {
        gap: 1.25rem !important;
    }
    .logo img {
        width: 210px !important;
    }
    header .btn-cta-navy {
        padding: 0.5rem 1rem !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 1150px) {
    .container {
        padding: 0 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    header .btn-primary,
    header .btn-cta-navy {
        display: none !important; /* Hide in header on mobile, show in menu */
    }

    .nav-links .mobile-only {
        display: block;
        margin-top: 2rem;
    }

    /* Mobile Mega Menu */
    .mega-card {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        box-shadow: none !important;
        padding: 1rem 0 2rem !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
    }

    .has-mega.active .mega-card {
        display: block !important;
    }

    .mega-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .nav-links li {
        height: auto !important;
        flex-direction: column;
        align-items: flex-start !important;
        padding: 15px 0 !important;
    }

    .nav-links a {
        font-size: 1.1rem !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* --- Hero Responsive --- */

@media (max-width: 768px) {
    .hero-new {
        padding: 120px 0 80px;
        text-align: center;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

/* --- Partner Strip Responsive --- */

@media (max-width: 768px) {
    .partner-strip {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .partner-info {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 1.5rem;
        flex-direction: column;
    }

    .partner-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .partner-logos img {
        max-height: 25px;
    }
}

/* --- General Image Fix --- */
img {
    max-width: 100%;
    height: auto;
    display: inline-block; /* Changed from block to avoid full-width behavior in some contexts */
}

.logo img {
    width: 220px; /* Reduced from 280px to allow for a slimmer header */
    height: auto;
    max-height: 45px; /* Strictly cap height */
    display: block;
}

/* --- Footer Logo Fix --- */
footer .logo {
    display: inline-block !important; /* Force inline-block for footer logo link */
}

footer .logo img {
    max-width: 180px; /* Precise sizing for footer */
    height: auto;
}

/* --- Header Base & Layout --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.98); /* Back to Cream background */
    backdrop-filter: blur(15px);
    z-index: 1000;
    height: 65px; /* STRICT FIXED HEIGHT */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.logo img {
    height: 40px; /* Fixed height to prevent expansion */
    width: auto;
    display: block;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* --- Logo Styling --- */
.logo {
    display: flex !important;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0;
}

.logo img {
    height: auto;
    width: 280px; /* Increased to overcome padding */
    max-height: none;
    max-width: 100%;
    filter: brightness(0.2); /* Darken new asset for light header */
    display: block;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo-text .brand {
    font-family: var(--font-heading);
    font-size: 1.65rem; /* Increased for impact */
    color: var(--primary);
    font-weight: 700;
    line-height: 0.95;
    display: block;
    letter-spacing: -0.02em;
}

.logo-text .tagline {
    font-family: var(--font-main);
    font-size: 0.65rem; /* Slightly larger for clarity */
    color: var(--warm-gold);
    letter-spacing: 0.25em; /* Elegant spacing */
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    font-weight: 600;
}

/* --- Navigation Links & Dropdowns --- */
.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative; /* Base for dropdown */
    padding: 1rem 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--warm-gold);
}

/* Standard Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    max-width: 240px;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 0.5rem 0;
}

.dropdown-menu a {
    text-transform: none;
    font-size: 0.9rem;
    color: var(--primary);
    display: block;
    letter-spacing: 0;
}

.dropdown-menu a:hover {
    color: var(--warm-gold);
    transform: translateX(5px);
}

.nav-links li {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    height: 65px;
}

.has-mega:hover .mega-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-card {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    max-width: 600px;
    width: 90vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.mega-label {
    display: block;
    font-size: 0.65rem;
    color: var(--warm-gold);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.2);
    padding-bottom: 0.5rem;
}

.mega-col ul {
    list-style: none;
    padding: 0;
}

.mega-col ul li {
    padding: 0.75rem 0 !important;
}

.mega-col ul li a {
    text-transform: none !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.mega-col ul li a span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.mega-col ul li a:hover {
    color: var(--warm-gold) !important;
}

/* ===========================================
   HERO — FULL BACKGROUND IMAGE
   Image spans entire section. Left gradient
   overlay keeps text perfectly readable.
=========================================== */
.hero-full {
    position: relative;
    width: 100%;
    min-height: 90vh;
    margin-top: 65px; /* Back to matching the slim header height */
    background-color: var(--cream);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* The Image Layer - Now with a centered focus */
.hero-image-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: url('assets/hero_bg.png') no-repeat 75% 75% / cover; /* The Real 75% Sweet Spot */
    background-color: var(--cream);
    z-index: 1;
}

/* The Seamless Bridge Fade */
.hero-image-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--cream) 0%,
        var(--cream) 15%,
        rgba(247, 244, 239, 0.9) 30%,
        rgba(247, 244, 239, 0.4) 45%,
        transparent 70%
    );
    z-index: 2;
}

/* Clear old grid artifacts */
.hero-full::before, .hero-full::after {
    display: none !important;
}

.hero-full-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4rem 0; /* Align perfectly with container edge */
}

.hero-text-block {
    max-width: 750px;
    padding-left: 0;
}

/* Decorative Background Watermark (Large 'O' for OneProtection) */
.hero-full::before {
    content: 'O';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 45rem;
    color: var(--warm-gold);
    opacity: 0.05;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* Decorative Vertical Branding */
.hero-full::after {
    content: 'ONEPROTECTION • ADVISORY • EST. 2024';
    position: absolute;
    bottom: 8rem;
    left: 2.5rem;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.6em;
    color: var(--primary);
    opacity: 0.35;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    z-index: 3;
}

/* Bridge line removed for cleaner minimalist aesthetic */

.hero-text-block h1 {
    font-size: clamp(3.5rem, 6vw, 5rem); /* Massive, authoritative headline */
    margin-bottom: 2rem;
    line-height: 1;
}

.hero-text-block .hero-sub-text {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--warm-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-text-block h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    color: var(--primary-navy);
    line-height: 1.08;
    margin-bottom: 1.75rem;
    font-weight: 700;
    font-style: normal;
}

.hero-gold {
    color: var(--warm-gold);
    font-style: italic;
}

.hero-sub-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2.5rem;
    max-width: 420px;
}

.hero-full-actions {
    display: flex;
    flex-direction: row; /* Horizontal layout like the mockup */
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

/* Navy CTA button */
.btn-cta-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-navy);
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--primary-navy);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-cta-navy:hover {
    background: transparent;
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-cta-navy i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-cta-navy:hover i {
    transform: translateX(4px);
}

.hero-phone-row {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.hero-phone-row a {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===========================================
   PARTNERS BAND (second section)
=========================================== */
.partners-band {
    background: #fff;
    padding: 2.5rem 0 !important;
    border-top: 1px solid rgba(13, 27, 42, 0.06);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

.partners-band-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.partners-band-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-right: 1px solid rgba(13, 27, 42, 0.08);
    padding-right: 2rem;
}

.partners-band-info i {
    font-size: 1.8rem;
    color: var(--warm-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.partners-band-info strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.partners-band-info p {
    font-size: 0.8rem;
    color: var(--slate);
    line-height: 1.4;
    margin: 0;
}

.partners-band-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.partners-band-logos img {
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partners-band-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partners-band-logos img.logo-manulife { max-height: 25px; max-width: 110px; }
.partners-band-logos img.logo-equitable { max-height: 27px; max-width: 110px; }
.partners-band-logos img.logo-ia { max-height: 33px; max-width: 75px; }
.partners-band-logos img.logo-bmo { max-height: 33px; max-width: 90px; }
.partners-band-logos img.logo-ivari { max-height: 29px; max-width: 80px; }

/* Responsive */
@media (max-width: 991px) {
    .hero-full {
        min-height: 80vh;
        margin-top: 65px;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 60px;
    }
    
    .hero-image-layer {
        width: 100% !important;
        right: 0 !important;
        opacity: 0.8;
    }

    .hero-image-layer::before {
        background: linear-gradient(
            to bottom,
            rgba(247, 244, 239, 0.4) 0%,
            rgba(247, 244, 239, 0.8) 50%,
            var(--cream) 100%
        ) !important;
    }

    .hero-text-block {
        max-width: 100% !important;
        text-align: center;
        padding: 0 20px;
        z-index: 10;
    }

    .hero-text-block h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-sub-text {
        margin: 0 auto 2rem !important;
        font-size: 0.95rem !important;
    }

    .hero-full-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    /* Strict Header Fix */
    header .btn-cta-navy {
        display: none !important;
    }

    .partners-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .partners-band-info {
        border-right: none;
        border-bottom: 1px solid rgba(13, 27, 42, 0.08);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .partners-band-logos {
        justify-content: center;
    }
}



.hero-split-left {
    display: flex;
    align-items: center;
    background: var(--cream); /* solid — NO transparency */
    padding: 4rem 4rem 4rem 5rem;
    position: relative;
    z-index: 2;
}

.hero-split-content {
    max-width: 500px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--warm-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-split-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    color: var(--primary-navy);
    line-height: 1.1;
    margin-bottom: 1.75rem;
    font-weight: 700;
    font-style: normal;
}

.hero-gold {
    color: var(--warm-gold);
    font-style: italic;
}

.hero-sub-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 2.5rem;
    max-width: 420px;
}

.hero-split-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

/* Navy CTA button matching the design */
.btn-cta-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-navy);
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--primary-navy);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta-navy:hover {
    background: transparent;
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-cta-navy i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-cta-navy:hover i {
    transform: translateX(4px);
}

.hero-phone-row {
    font-size: 0.875rem;
    color: var(--slate);
}

.hero-phone-row a {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-split-right {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-split-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ===========================================
   PARTNERS BAND (second section)
=========================================== */
.partners-band {
    background: #fff;
    padding: 2.5rem 0 !important;
    border-top: 1px solid rgba(13, 27, 42, 0.06);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

.partners-band-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.partners-band-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-right: 1px solid rgba(13, 27, 42, 0.08);
    padding-right: 2rem;
}

.partners-band-info i {
    font-size: 1.8rem;
    color: var(--warm-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.partners-band-info strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.partners-band-info p {
    font-size: 0.8rem;
    color: var(--slate);
    line-height: 1.4;
    margin: 0;
}

.partners-band-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.partners-band-logos img {
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partners-band-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partners-band-logos img.logo-manulife { max-height: 25px; max-width: 110px; }
.partners-band-logos img.logo-equitable { max-height: 27px; max-width: 110px; }
.partners-band-logos img.logo-ia { max-height: 33px; max-width: 75px; }
.partners-band-logos img.logo-bmo { max-height: 33px; max-width: 90px; }
.partners-band-logos img.logo-ivari { max-height: 29px; max-width: 80px; }

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        margin-top: 70px;
    }
    .hero-split-right {
        height: 55vw;
        min-height: 260px;
    }
    .hero-split-left {
        padding: 3rem 1.5rem;
    }
    .partners-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .partners-band-info {
        border-right: none;
        border-bottom: 1px solid rgba(13, 27, 42, 0.08);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .partners-band-logos {
        justify-content: center;
    }
}

/* Keep old hero-master styles below for sub-pages that may reference it */
.hero-master {
    position: relative;
    min-height: 90vh;
    background: url('assets/uploads/hero_family.jpg') no-repeat;
    background-position: right center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    padding-top: 130px;
    padding-bottom: 220px;
    overflow: hidden;
}

.hero-master::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cream gradient so hero blends seamlessly into page background */
    background: linear-gradient(90deg, 
        #F7F4EF 0%, 
        #F7F4EF 42%, 
        rgba(247, 244, 239, 0.75) 58%, 
        transparent 88%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 500px; /* Strictly keep text on the left */
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 900;
}

.hero-copy .highlight {
    color: var(--warm-gold);
    font-style: italic;
}

.hero-copy .lead {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.7;
    margin-bottom: 3.5rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-hero:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.phone-box {
    font-weight: 600;
    color: var(--text-muted);
}

.phone-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* --- Floating Partner Strip --- */
.partner-strip-floating {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.strip-box {
    background: var(--cream);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(13, 27, 42, 0.08);
    border: 1px solid rgba(13, 27, 42, 0.06);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
}

.strip-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 1.5rem;
}

.strip-info i {
    font-size: 2.2rem;
    color: var(--warm-gold);
}

.strip-text span {
    display: block;
}

.strip-text .t1 {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.strip-text .t2 {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--primary);
}

.strip-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

.strip-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.strip-logos img {
    height: 22px;
    width: auto;
    filter: grayscale(1) opacity(0.7);
    transition: 0.3s;
    max-width: 110px;
}

.strip-logos img:hover {
    filter: grayscale(0) opacity(1);
}

@media (max-width: 1100px) {
    .strip-box {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .strip-info {
        border: none;
        padding: 0;
        flex-direction: column;
        gap: 1rem;
    }
    .strip-logos {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- Journey Section Restoration --- */
.journey-section {
    padding: 100px 0;
    background: var(--white);
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.journey-label {
    display: block;
    font-size: 0.75rem;
    color: var(--warm-gold);
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.journey-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.journey-content h2 span {
    color: var(--warm-gold);
}

.journey-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.journey-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 2rem;
    transition: 0.3s;
}

.btn-dark:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* --- Solutions Preview --- */
.solutions-preview {
    padding: 120px 0;
    background: var(--bg-alt);
}

.preview-header {
    margin-bottom: 5rem;
}

.preview-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    line-height: 1.2;
}

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

.preview-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center;
    transition: 0.4s;
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.p-icon {
    font-size: 3rem;
    color: var(--warm-gold);
    margin-bottom: 2.5rem;
}

.preview-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.preview-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.preview-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* --- Footer Master Restoration --- */
.footer-master {
    background: #0D1B2A;
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid-master {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 5rem;
    margin-bottom: 80px;
}

.f-logo {
    height: auto;
    width: 350px; /* Forced large width to overcome padding */
    max-width: 100%;
    max-height: none !important;
    margin-bottom: 2rem;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.f-col-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 0.95rem;
}

.f-col-links h4, .f-col-contact h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.f-col-links ul {
    list-style: none;
    padding: 0;
}

.f-col-links ul li {
    margin-bottom: 1.2rem;
}

.f-col-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

.f-col-links ul li a:hover {
    color: var(--warm-gold);
}

.c-info {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.c-info li {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.c-info li i {
    color: var(--warm-gold);
}

.btn-outline-f {
    display: block;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    text-align: center;
    padding: 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline-f:hover {
    border-color: var(--warm-gold);
    background: var(--warm-gold);
    color: var(--primary);
}

.footer-bottom-master {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.admin-access {
    color: inherit;
    text-decoration: none;
}

/* --- Interior Page Mastery --- */
:root {
    --bg-soft: var(--cream);
}

.hero-sub {
    padding: 85px 0 60px; /* Reduced top padding to eliminate empty gap */
    background: var(--cream);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
    position: relative;
}

/* NO ::before bar here — removed because it caused a visible gold line in heroes */

.hero-sub .container {
    max-width: 1400px;
}

.hero-sub h3 {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--warm-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    display: block;
}

.hero-sub h1 {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.8rem, 5.5vw, 5rem) !important;
    color: var(--primary-navy);
    line-height: 1.05;
    margin-bottom: 2rem !important;
    font-weight: 700;
    max-width: 900px;
}

.hero-sub h1 span {
    color: var(--warm-gold);
    font-style: italic;
}

.hero-sub .lead {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 0 !important;
}

.service-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(13, 27, 42, 0.07);
    align-items: start;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0; /* prevent grid blowout */
}

.service-info img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.3);
}

.service-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--primary-navy);
    line-height: 1.2;
    margin: 0;
}

.service-info p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.75;
    margin: 0;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px;
}

.service-image > div {
    height: 100%;
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
}

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

/* service-info styles defined above — see .service-info block */

@media (max-width: 991px) {
    .service-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-sub {
        padding: 140px 0 70px;
        text-align: center;
    }
    
    .hero-sub .lead {
        margin: 0 auto;
    }
}

/* --- Recruitment Page (Join Us) --- */
.recruit-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    color: var(--white);
    text-align: center;
}

.recruit-hero h1 {
    color: var(--white);
}

.recruit-hero .lead {
    color: rgba(255,255,255,0.8);
    margin: 0 auto 3.5rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 80px 0;
}

.benefit-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--warm-gold);
    margin-bottom: 2rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.success-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
}

.success-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.success-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.success-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(13,27,42,0.9), transparent);
    color: var(--white);
}

.success-overlay h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-overlay span {
    color: var(--warm-gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.apply-section {
    padding: 100px 0;
}

.apply-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 5rem;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}

.recruit-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.admin-access {
    opacity: 0.3;
    transition: 0.3s;
}

.admin-access:hover {
    opacity: 1;
    color: var(--warm-gold);
}

@media (max-width: 1150px) {
    .container {
        padding: 0 1.5rem;
    }

    .journey-grid, .footer-grid-master, .preview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-links {
        position: fixed;
        top: 60px; /* Match mobile header height */
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--cream);
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .mega-card {
        position: static;
        width: 100% !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 1rem;
        transform: none;
        display: none; /* Controlled by JS or hover */
        background: transparent;
        border: none;
        margin-top: 0.5rem;
    }

    .has-mega.active .mega-card {
        display: block;
    }

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

    .mega-label {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .mega-col ul li {
        padding: 0.4rem 0 !important;
        border-bottom: none;
    }

    .mega-col ul li a span {
        display: none; /* Simplify on mobile */
    }

    .btn-primary {
        display: none; /* Moved to mobile menu if needed, or hidden in header */
    }

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

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

    .apply-box {
        padding: 3rem 1.5rem;
    }

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    header {
        height: 60px !important;
    }

    /* Force hide CTA on mobile */
    header .btn-cta-navy {
        display: none !important;
    }

    .logo img {
        width: 160px; /* Smaller logo for mobile */
    }

    .hero-full {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin-top: 60px;
        background: var(--cream);
    }

    .hero-image-layer {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        order: 1 !important; 
        background-position: center !important;
        right: 0 !important;
        opacity: 1 !important;
    }

    /* Remove the overlay on stacked mobile view */
    .hero-image-layer::before {
        display: none !important;
    }

    .hero-full-content {
        order: 2 !important; /* Text second */
        padding: 40px 20px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hero-text-block {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .hero-full-actions {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1.25rem !important;
    }

    .hero-sub-text {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 0.95rem !important;
    }

    .partners-band-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partners-band-info {
        flex-direction: column;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 0 0 1.5rem 0;
    }

    .partners-band-logos {
        justify-content: center;
        gap: 1.5rem;
    }

    .solutions-grid, .blog-grid, .preview-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid-master {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .f-col-brand {
        text-align: center;
    }

    .f-logo {
        margin: 0 auto 1.5rem;
        width: 280px;
        height: auto;
    }

    .footer-bottom-master {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
