/* Phase A brand overrides: colors, spacing, and base components */
:root {
    --primary-color: #0f7b6c;
    --primary-color-rgb: 15, 123, 108;
    --secondary-color: #f3b33d;
    --secondary-color-rgb: 243, 179, 61;
    --tertiary-color: #f3b33d;
    --quaternary-color: #10b981;
    --gradient-color: linear-gradient(92deg, #0f7b6c 0%, #159a88 100%);
    --gradient-revers-color: linear-gradient(92deg, #159a88 0%, #0f7b6c 100%);

    --text-color-1: #4b5e67;
    --text-color-2: #728692;
    --black-color: #10232d;
    --border-color-1: #d9e4ea;
    --border-color-2: #edf2f5;
    --bg-1: linear-gradient(180deg, #f7fbfd 0%, #f1f8fb 100%);
    --bg-2: linear-gradient(100deg, #eef8f7 0%, #f9f5eb 100%);
    --bg-3: #ffffff;
    --shadow-2: 0 14px 36px rgba(16, 35, 45, 0.08);
}

body {
    background: #f6fafc;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1360px;
    padding-left: 24px;
    padding-right: 24px;
}

h1, .h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.08;
}

h2, .h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.14;
}

h3, .h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.8rem);
    line-height: 1.22;
}

h4, .h4 {
    font-size: clamp(1.28rem, 2.2vw, 2rem);
    line-height: 1.28;
}

p {
    font-size: 1rem;
    line-height: 1.75;
}

section {
    z-index: 1;
}

.banner-section,
.work,
.commodity,
.faq,
.faq-two,
.blog,
.testimonial,
.contact {
    padding-top: 110px;
}

.common-title,
.common-title-container {
    margin-bottom: 42px;
}

.main-header .header-lower .inner-container,
.sticky-header .inner-container {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 35, 45, 0.08);
    box-shadow: 0 10px 26px rgba(16, 35, 45, 0.07);
    padding: 6px 18px;
    margin-top: 14px;
}

.main-header .navigation > li {
    margin-right: 26px;
    padding: 24px 0 22px;
}

.main-header .navigation > li > a {
    font-weight: 600;
    font-size: 15px;
    color: var(--black-color) !important;
}

.main-header .header-center-column {
    width: 100%;
    justify-content: space-between;
    gap: 24px;
}

.main-header .nav-outer {
    flex: 1;
}

.header-actions-cluster {
    flex-shrink: 0;
    gap: 10px;
}

.header-actions-cluster .cmn-dropdown-toggle {
    border-radius: 10px;
    border: 1px solid var(--border-color-1);
    background: #fff;
    padding: 8px 12px;
}

.header-actions-cluster .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--border-color-2);
    box-shadow: var(--shadow-2);
    padding: 8px;
}

.header-actions-cluster .region-list .item {
    border-radius: 8px;
    padding: 8px 10px;
}

.main-header.header-scrolled .header-lower .inner-container {
    margin-top: 8px;
}

.btn-1 {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 123, 108, 0.28);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
}

.btn-2 {
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
}

.round-btn {
    max-width: 120px;
    height: 120px;
}

.commodity-table,
.faq-accordion .accordion-item,
.blog-left-container,
.blog-right-single,
.testimonial-box,
.contact-form,
.contact-left-single {
    border-radius: 16px;
    border: 1px solid var(--border-color-2);
    box-shadow: var(--shadow-2);
    background: #fff;
}

.faq-accordion .accordion-button {
    font-weight: 600;
}

.main-footer {
    border-top: 1px solid var(--border-color-2);
    margin-top: 80px;
    background: linear-gradient(180deg, #f1f8fb 0%, #edf6f3 100%);
}

.footer-highlights {
    padding: 10px 0 34px;
}

.footer-highlight-card {
    height: 100%;
    border: 1px solid var(--border-color-2);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--gradient-color);
    font-size: 14px;
    flex-shrink: 0;
}

.footer-highlight-card h6 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-color-2) !important;
}

.footer-highlight-card a,
.footer-highlight-card p {
    color: var(--black-color) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-brand-note {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 420px;
}

.footer-copyright-content {
    border-top: 1px solid rgba(16, 35, 45, 0.1);
    padding-top: 20px;
}

.dark-theme body,
body.dark-theme {
    background: #091218;
}

.dark-theme .main-header .header-lower .inner-container,
.dark-theme .sticky-header .inner-container {
    background: rgba(9, 18, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.dark-theme .header-actions-cluster .cmn-dropdown-toggle {
    background: #0f1d26;
    border-color: rgba(255, 255, 255, 0.12);
}

.dark-theme .commodity-table,
.dark-theme .faq-accordion .accordion-item,
.dark-theme .blog-left-container,
.dark-theme .blog-right-single,
.dark-theme .testimonial-box,
.dark-theme .contact-form,
.dark-theme .contact-left-single {
    border-color: rgba(255, 255, 255, 0.08);
    background: #0f1d26;
    box-shadow: none;
}

.dark-theme .footer-highlight-card {
    background: #0f1d26;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .footer-highlight-card h6 {
    color: #8da3af !important;
}

.dark-theme .footer-highlight-card a,
.dark-theme .footer-highlight-card p {
    color: #e8f1f5 !important;
}

@media (max-width: 991px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .banner-section,
    .work,
    .commodity,
    .faq,
    .faq-two,
    .blog,
    .testimonial,
    .contact {
        padding-top: 82px;
    }

    .main-header .header-lower .inner-container,
    .sticky-header .inner-container {
        padding: 10px 14px;
    }

    .main-header .header-center-column {
        justify-content: flex-end;
    }

    .main-header .nav-outer {
        flex: initial;
    }

    .header-actions-cluster {
        gap: 8px;
    }

    .header-actions-cluster .header-login {
        display: none !important;
    }

    .footer-highlights {
        padding-bottom: 20px;
    }

    .main-header {
        margin-top: 12px;
    }

    .main-header .mobile-nav-toggler {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid var(--border-color-1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        line-height: 1;
        font-size: 18px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(16, 35, 45, 0.08);
    }

    .dark-theme .main-header .mobile-nav-toggler {
        background: #0f1d26;
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    .header-actions-cluster .header-language .cmn-dropdown-toggle,
    .header-actions-cluster .header-profile .cmn-dropdown-toggle {
        min-height: 42px;
    }

    .header-actions-cluster .header-language span {
        display: none;
    }

    .header-actions-cluster .header-language .cmn-dropdown-toggle {
        padding: 8px;
        border-radius: 12px;
        width: 42px;
        justify-content: center;
    }

    .header-actions-cluster .header-language .cmn-dropdown-toggle i {
        display: none;
    }

    .header-actions-cluster .header-profile .cmn-dropdown-toggle span {
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .main-header {
        margin-top: 8px;
    }

    .main-header .header-lower .inner-container,
    .sticky-header .inner-container {
        border-radius: 12px;
        padding: 8px 10px;
        margin-top: 4px;
    }

    .main-logo {
        width: 148px;
        height: 34px;
    }

    .header-actions-cluster {
        gap: 6px;
    }

    .header-actions-cluster .cmn-dropdown-toggle {
        border-radius: 10px;
        padding: 7px 8px;
    }

    .header-actions-cluster .header-profile .cmn-dropdown-toggle span {
        display: none;
    }

    .header-actions-cluster .header-profile .cmn-dropdown-toggle {
        width: 42px;
        justify-content: center;
    }

    .mobile-menu {
        width: min(100vw, 360px);
        padding-right: 0;
    }

    .mobile-menu .menu-box {
        border-left: 1px solid var(--border-color-2);
        padding-bottom: 16px;
    }

    .mobile-menu .nav-logo {
        margin-top: 14px;
        margin-bottom: 24px;
        padding: 8px 16px;
    }

    .mobile-menu .close-btn {
        top: 10px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 12px;
    }

    .mobile-menu .navigation li > a {
        padding: 13px 18px;
        font-size: 14px;
        line-height: 1.4;
        text-transform: capitalize;
    }

    .mobile-menu .navigation li ul li > a {
        font-size: 14px;
    }

    .mobile-menu .navigation li.dropdown .dropdown-btn {
        right: 10px;
        top: 8px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        line-height: 38px;
    }

    .mobile-menu .social-links {
        margin-top: 18px;
        padding: 10px 16px;
    }

    .mobile-menu .social-links li a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid var(--border-color-1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-highlights {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .footer-highlight-card {
        padding: 14px;
        border-radius: 12px;
    }

    .footer-highlight-card a,
    .footer-highlight-card p {
        font-size: 15px;
    }

    .footer-widget-container {
        padding-bottom: 20px;
    }

    .footer-widget {
        margin-top: 12px;
    }

    .footer-brand-note {
        margin-bottom: 14px;
    }

    .footer-newsletter-form input {
        min-height: 46px;
        padding-right: 40px;
    }

    .footer-newsletter-form button {
        min-width: 38px;
        min-height: 38px;
        border-radius: 10px;
    }

    .footer-copyright-content {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}
