/*
Theme Name: Noohvia Contract Theme
Theme URI: http://noohviacontract.it/
Author: Antigravity
Description: A premium, Elementor-compatible theme for Noohvia Contract, featuring modern aesthetics and glassmorphism.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noohvia-contract
*/

/* =============================================
   1. CSS VARIABLES (:root)
   ============================================= */
:root {
    /* Brand Colors - New Palette */
    --primary-olive: #6e7a58;
    --primary-olive-light: #8b9675;
    --primary-olive-dark: #4b5539;
    --primary-olive-soft: #f4f6f1;

    --accent-gold: #e8c517;
    --accent-gold-light: #f5d93a;
    --accent-gold-dark: #c9a814;

    --accent-amber: #F59E0B;
    --accent-amber-light: #fbbf24;
    --accent-amber-dark: #d97706;

    /* Slate Gray */
    --slate: #4A5568;
    --slate-light: #64748b;
    --slate-dark: #2d3748;

    /* UI Colors */
    --bg-body: #fafaf9;
    --bg-card: #FFFFFF;
    --bg-light: #F9F9F9;
    --bg-cream: #f5f3ee;
    --text-main: #1a202c;
    --text-muted: #4A5568;
    --border-light: #e2e0d9;

    /* Design Tokens */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 9999px;
    --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 4px 20px -2px rgba(232, 197, 23, 0.4);
}

/* =============================================
   2. BASE STYLES & TYPOGRAPHY
   ============================================= */
/* Improved color contrast for accessibility */
body {
    color: #333;
    background-color: #fff;
}

/* Main body override */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

a {
    color: #003D7A;
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover,
a:focus {
    color: #002a5a;
}

/* =============================================
   3. ACCESSIBILITY & UTILITIES
   ============================================= */
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ARIA live regions */
.aria-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll to top button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #003D7A;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

#scrollToTopBtn:hover {
    opacity: 1;
    background-color: #002a5a;
}

#scrollToTopBtn .dashicons {
    font-size: 24px;
}

/* Section Backgrounds */
.section-alt {
    background-color: var(--bg-card);
}

.section-alt-2 {
    background-color: var(--bg-body);
}

/* =============================================
   4. LAYOUT & GRID UTILITIES
   ============================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-large {
    padding: 80px 0;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

[class*="col-"] {
    padding: 0 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }

    .col-md-4 {
        width: 33.33%;
    }

    .col-md-3 {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .col-lg-6 {
        width: 50%;
    }

    .col-lg-4 {
        width: 33.33%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-8 {
        width: 66.66%;
    }
}

/* Bento Grid Helper Classes */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card-large {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card-large {
        grid-column: span 2;
    }
}

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

    .bento-card-large {
        grid-column: span 1;
    }
}

/* Spacing Utilities */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 8px !important;
}

.mt-2 {
    margin-top: 16px !important;
}

.mt-3 {
    margin-top: 24px !important;
}

.mt-4 {
    margin-top: 32px !important;
}

.mt-5 {
    margin-top: 48px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 8px !important;
}

.mb-2 {
    margin-bottom: 16px !important;
}

.mb-3 {
    margin-bottom: 24px !important;
}

.mb-4 {
    margin-bottom: 32px !important;
}

.mb-5 {
    margin-bottom: 48px !important;
}

/* =============================================
   5. HEADER & NAVIGATION
   ============================================= */
.top-banner {
    background: linear-gradient(90deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-banner a {
    text-decoration: underline;
    margin-left: 8px;
}

.site-header {
    background-color: white;
    color: #333;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logos */
.site-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

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

.custom-logo-link img {
    max-height: 40px;
    width: auto;
    height: auto;
}

.header-logo {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-olive-dark);
}

.header-logo span {
    color: var(--accent-gold);
}

/* Menus & Nav */
.header-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-menu div,
.header-menu > ul,
.header-menu div > ul {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Submenu / Dropdown specific */
.header-menu li {
    position: relative;
    padding: 10px 0;
}

.header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #eee);
    border-radius: var(--radius-sm, 8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    z-index: 1000;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 8px 0;
    margin-top: -10px;
}

.header-menu li:hover > .sub-menu,
.header-menu li:focus-within > .sub-menu {
    display: flex;
}

.header-menu .sub-menu li {
    padding: 0;
}

.header-menu .sub-menu li a {
    display: block;
    padding: 10px 24px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.header-menu .sub-menu li a:hover {
    background-color: var(--bg-body, #fafaf9);
    color: var(--primary-olive);
}

.header-menu a:hover {
    color: var(--primary-olive);
}

.nav-wrapper {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Glassmorphism Classes */
.glass-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links-list,
.nav-links-list ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links-list a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.nav-links-list a:hover,
.nav-links-list a:focus {
    color: #003D7A;
    background-color: #f0f0f0;
}

.nav-links-list li a {
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    color: var(--text-main);
    transition: background 0.2s, color 0.2s;
    display: block;
    text-decoration: none;
}

.nav-links-list li a:hover,
.nav-links-list li.current-menu-item a {
    background-color: var(--primary-olive-soft);
    color: var(--primary-olive-dark);
}

/* Accessible buttons for Nav */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none;
}

.menu-toggle:focus {
    outline: 2px solid #005fcc;
}

@media (max-width: 992px) {
    .site-header {
        height: auto;
        padding: 16px 0;
    }

    .site-header .header-flex {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-menu {
        display: none;
    }

    .header-menu.active {
        display: block;
        width: 100%;
    }

    .site-header .btn-primary {
        display: none;
    }

    .glass-nav {
        padding: 8px 20px;
        position: relative;
    }

    .nav-cta {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-olive-dark);
        position: relative;
        transition: background 0.2s;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 24px;
        height: 2px;
        background: var(--primary-olive-dark);
        transition: transform 0.2s;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-links-list {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        padding: 0;
        margin-top: 12px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-light);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links-list.active {
        max-height: 500px;
        padding: 20px 0;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links-list ul {
        flex-direction: column;
        gap: 0;
    }

    /* Mobile Submenu overrides */
    .header-menu .sub-menu {
        display: flex !important;
        position: static;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0.02);
        padding: 0;
        margin: 0;
        min-width: 100%;
        border-radius: 0;
    }

    .header-menu .sub-menu li {
        width: 100%;
    }

    .nav-links-list li a {
        padding: 12px 24px;
        border-radius: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .header-menu .sub-menu li a {
        padding-left: 48px;
        font-size: 14px;
        color: var(--text-muted);
    }

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

/* =============================================
   6. UI COMPONENTS & BUTTONS
   ============================================= */
/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
    color: #1a202c;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Premium Card */
.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(110, 122, 88, 0.25);
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 197, 23, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.premium-card:hover::after {
    opacity: 1;
}

/* Base Buttons */
button,
input[type="submit"],
input[type="button"],
.btn,
.fluentform input[type="submit"] {
    background-color: #003D7A;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover,
.fluentform input[type="submit"]:hover,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
.btn:focus,
.fluentform input[type="submit"]:focus {
    background-color: #002a5a;
}

/* Theme Specific Buttons */
.btn-pill,
.btn {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    text-decoration: none;
}

.btn:hover,
.btn-pill:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px -2px rgba(110, 122, 88, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px -4px rgba(110, 122, 88, 0.5);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
    color: #1a202c;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px -2px rgba(232, 197, 23, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-olive);
    color: #fff;
}

/* =============================================
   7. FORMS & INPUTS (Global, CF7, FluentForms)
   ============================================= */
/* Base Form accessibility */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 16px;
    min-height: 44px;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #005fcc;
}

/* Fluent Form Widget (Final CTA) */
.fluentform_wrapper_3 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ff-el-form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.ff-el-form-control:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.ff-el-input--label label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ff-btn-submit {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ff-btn-submit:hover {
    background-color: #005177;
}

.ff-el-form-check-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ff_tc_checkbox {
    margin-right: 10px;
}

.fluentform label {
    color: var(--text-main) !important;
    font-weight: 600;
}

.ff-errors-in-stack {
    color: #d63638;
    margin-top: 10px;
}

.ff-el-form-control[placeholder="Seleziona Paese"] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 30px;
}

/* Universal Contact Form Styling (CF7, Fluent Forms, etc.) */
.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-olive), var(--accent-gold), var(--accent-amber));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form-control:not([type="submit"]),
.contact-form-wrapper .fluentform input:not([type="submit"]),
.contact-form-wrapper .fluentform select,
.contact-form-wrapper .fluentform textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    color: var(--text-main) !important;
    background-color: var(--bg-body) !important;
    transition: all 0.2s !important;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper .wpcf7-form-control:focus,
.contact-form-wrapper .fluentform input:focus {
    outline: none !important;
    border-color: var(--primary-olive) !important;
    box-shadow: 0 0 0 3px rgba(110, 122, 88, 0.15) !important;
    background-color: var(--bg-card) !important;
}

.contact-form-wrapper .btn-primary,
.contact-form-wrapper .wpcf7-submit,
.contact-form-wrapper .ff-btn-submit {
    width: 100% !important;
    padding: 18px !important;
    font-size: 16px !important;
    background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    border: none !important;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s !important;
}

.contact-form-wrapper .btn-primary:hover,
.contact-form-wrapper .wpcf7-submit:hover,
.contact-form-wrapper .ff-btn-submit:hover {
    box-shadow: 0 8px 25px -4px rgba(110, 122, 88, 0.5) !important;
    transform: translateY(-2px);
}

/* =============================================
   9. HOME & MAIN SECTIONS
   ============================================= */

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--primary-olive-dark);
    font-weight: 800;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-cta-group .btn-secondary {
    background: #eee;
    color: var(--text-main);
}

.hero-logos-strip {
    margin-top: 50px;
    display: flex;
    gap: 40px;
    opacity: 0.5;
    align-items: center;
}

.hero-logos-strip span {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-logos-strip b {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-img {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 20px 20px 0 var(--bg-light);
    background: #eee;
}

.stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-gold);
}

.stat-card b {
    display: block;
    font-size: 20px;
    color: var(--primary-olive-dark);
}

.stat-card span {
    font-size: 12px;
    color: var(--text-muted);
}

.stat-card.stat-1 {
    top: 20%;
    left: -30px;
}

.stat-card.stat-2 {
    top: 45%;
    left: -30px;
}

.stat-card.stat-3 {
    top: 70%;
    left: -30px;
}

/* --- Mission/Values Section --- */
.mission-section {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.mission-section h2 {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-olive-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.value-item h3 {
    margin: 20px 0 15px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
    font-size: 20px;
    color: var(--primary-olive-dark);
}

.value-item p {
    font-size: 15px;
    color: var(--text-muted);
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-olive-dark);
    margin-bottom: 16px;
}

.services-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-img {
    height: 250px;
    background: #eee;
    width: 100%;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--primary-olive-dark);
}

.service-info p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.features-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.features-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-olive-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.features-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(74, 85, 104, 0.2);
    border-color: var(--primary-olive);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-olive-soft) 0%, var(--bg-cream) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary-olive);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-olive-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .features-header h2 {
        font-size: 32px;
    }
}

/* --- Showcase Section --- */
.showcase {
    padding: 100px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 64px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--primary-olive-dark);
    font-size: 16px;
    transition: transform 0.2s;
}

.check-list li:hover {
    transform: translateX(4px);
}

.check-list li span {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    box-shadow: 0 2px 8px -2px rgba(110, 122, 88, 0.3);
}

.before-after-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.before-after-wrapper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* --- Coming Soon Fallback --- */
.coming-soon-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-card) 50%, var(--primary-olive-soft) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.coming-soon-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 197, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.coming-soon-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 122, 88, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.premium-title {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-olive-dark) 0%, var(--primary-olive) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.premium-text {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.coming-soon-visual {
    margin-top: 64px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 64px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(74, 85, 104, 0.15);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(232, 197, 23, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@media (max-width: 768px) {
    .premium-title {
        font-size: 40px;
    }

    .glass-card {
        padding: 40px 24px;
    }
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.cta-box {
    background: var(--primary-olive-dark);
    color: var(--white);
    padding: 80px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: -100px;
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    color: var(--white);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-box h2 span {
    color: var(--accent-gold);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0 40px;
    font-size: 18px;
}

/* --- FAQ & Form Section --- */
.faq-form-section {
    padding: 100px 0;
}

.faq-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-form-box h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-olive-dark);
    margin-bottom: 16px;
}

.contact-form-box>p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 15px;
    margin-top: 5px;
    background: var(--bg-card);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-olive);
}

.accordion-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary-olive-dark);
}

.accordion-header span {
    color: var(--accent-gold);
    font-size: 20px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 40px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

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

.info-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 20px;
    color: var(--primary-olive-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-bottom: 0;
}

.contact-list li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list li strong {
    color: var(--primary-olive-dark);
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(110, 122, 88, 0.3);
}

.info-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.info-text span,
.info-text a {
    font-size: 15px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Sections Global Responsive Overrides */
@media (max-width: 992px) {

    .hero-grid,
    .values-grid,
    .services-grid,
    .faq-flex {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-main-img {
        height: 350px;
    }

    .stat-card {
        position: static;
        margin-bottom: 10px;
        width: 100%;
    }

    .cta-box {
        padding: 40px 20px;
        margin-bottom: 0;
    }

    .cta-box h2 {
        font-size: 28px;
    }
}

/* =============================================
   10. FOOTER
   ============================================= */
.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 80px 0 30px;
}

.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.site-footer .footer-col h4,
.site-footer .widget-title,
.site-footer .widgettitle {
    color: #fff;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

.site-footer .footer-links li {
    margin-bottom: 12px;
}

.site-footer .footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.site-footer .footer-links li a:hover {
    color: var(--accent-gold);
}

.site-footer p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Footer Logos */
.site-footer .text-logo,
.site-footer .footer-logo,
.site-footer .widget-text-logo {
    color: #fff;
    font-weight: 800;
    font-size: 20px !important;
    line-height: 1.2;
    margin-bottom: 16px;
    display: block;
}

.site-footer .custom-logo-link img,
.site-footer .footer-logo img {
    max-height: 45px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer .text-logo span,
.site-footer .footer-logo span {
    color: #fff;
}

.site-footer .footer-logo svg {
    filter: brightness(0) invert(1);
}

/* Ensure sufficient color contrast utility specifically for footer/header logic */
.site-footer {
    background-color: #f8f9fa;
    /* Note: original file had #0a0a0a then an override. Retained to preserve original cascade rules */
    color: #333;
}

.site-footer {
    background: #0a0a0a;
    /* Re-applied so the real design holds strong */
    color: #fff;
}

/* Contact Links Styling inside Footer */
.contact-link {
    color: var(--bg-card);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

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

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.2s ease;
}

.contact-link:hover::after {
    width: 100%;
}

/* WordPress Widgets Fallback */
.site-footer .widget {
    margin-bottom: 0;
}

.site-footer .search-form,
.site-footer .wp-block-latest-posts {
    margin-top: 20px;
}

.site-footer .footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer .footer-bottom p {
    margin: 0;
}

.site-footer .social-links {
    display: flex;
    gap: 20px;
}

.site-footer .social-links a {
    color: #fff;
    transition: color 0.2s;
}

.site-footer .social-links a:hover {
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 30px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   11. MOBILE HEADINGS - Unified responsive sizes
   ============================================= */
@media (max-width: 600px) {

    h1,
    .h1 {
        font-size: 28px !important;
    }

    h2,
    .h2 {
        font-size: 24px !important;
    }

    h3,
    .h3 {
        font-size: 20px !important;
    }

    h4,
    .h4 {
        font-size: 18px !important;
    }

    p,
    .text-body {
        font-size: 14px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .section-subtitle {
        font-size: 14px !important;
    }

    .hero-title {
        font-size: 28px !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
    }

    .feature-title {
        font-size: 18px !important;
    }

    .card-title {
        font-size: 18px !important;
    }

    .footer-heading {
        font-size: 16px !important;
    }

    .accordion-header {
        font-size: 14px !important;
    }

    .btn {
        font-size: 14px !important;
        padding: 10px 20px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-padding-large {
        padding: 50px 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}