/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-accent: #7EBEC5;
    --color-accent-hover: #1CA0A5;
    --color-brand: #0C4DA2;
    --color-brand-dark: #081972;
    --color-btn: #0C4DA2;
    --color-btn-hover: #081972;
    --color-text: #000000;
    --color-text-secondary: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f7f7f7;
    --color-border: #e0e0e0;
    --color-white: #ffffff;
    --color-footer-bg: #0C4DA2;
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-dark {
    background: var(--color-btn);
    color: var(--color-white);
    border-color: var(--color-btn);
}

.btn-dark:hover {
    background: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-btn);
    border-color: var(--color-btn);
}

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

.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

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

/* ===== TOP CONTACT BAR ===== */
.top-bar {
    background: var(--color-brand);
    color: var(--color-white);
    padding: 6px 0;
    border-bottom: none;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s;
}

.top-bar-left a:hover {
    color: var(--color-white);
}

.top-bar-left img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.top-bar-left svg {
    color: var(--color-white);
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-right .search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right .search-bar input {
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 200px;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.top-bar-right .search-bar input::placeholder {
    color: rgba(255,255,255,0.5);
}

.top-bar-right .search-bar input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.15);
}

/* ===== MAIN NAVIGATION ===== */
.navbar {
    background: var(--color-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.2);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-brand);
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--color-accent-hover);
}

.nav-menu > li > a.active {
    border: 1px solid var(--color-accent-hover);
    border-radius: 20px;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 260px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 200;
}

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

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--color-brand);
    transition: all 0.2s;
}

.dropdown li a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent-hover);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.2s;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 30px 0;
    background: var(--color-bg);
}

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

.hero-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-brand);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 50px 0;
    background: var(--color-bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== PARTNER LOGOS ===== */
.partner-logos {
    padding: 40px 0;
    text-align: center;
}

.partner-logos img {
    display: inline-block;
    max-width: 100%;
    margin: 10px auto;
}

/* ===== PRODUCT CATEGORY GRID ===== */
.products-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.products-section .section-title h2 {
    font-size: 2rem;
    color: var(--color-brand);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-image {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 14px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.product-card .btn {
    font-size: 0.85rem;
    padding: 8px 20px;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 50px 0;
    background: var(--color-bg);
    text-align: center;
}

.video-section h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.video-section p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 50px 0;
    background: var(--color-bg);
    text-align: center;
}

.cta h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--color-brand);
}

.cta p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 50px 0;
    background: var(--color-bg);
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--color-brand);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* ===== CONTACT PAGE ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-brand);
    border-radius: 8px;
    color: var(--color-white);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(12, 77, 162, 0.3);
}

.contact-card-icon {
    margin-bottom: 16px;
}

.contact-card-icon img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.contact-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-white);
}

.contact-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 2px;
}

.contact-card a:hover {
    text-decoration-color: var(--color-white);
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form + Map Grid */
.contact-form-section {
    padding: 40px 0;
}

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

.contact-form {
    max-width: 100%;
}

.contact-map {
    position: sticky;
    top: 80px;
}

.contact-map iframe {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--color-white);
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ===== TEAM DIRECTORY ===== */
.team-section {
    padding: 50px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.team-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 4px;
}

.team-card .team-role {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 6px;
}

.team-card .team-contact {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.team-card .team-contact a {
    color: var(--color-text-secondary);
}

.team-card .team-contact a:hover {
    color: var(--color-accent);
}

/* ===== CERTIFICATES PAGE ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all 0.2s;
}

.cert-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cert-card img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cert-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ===== CLIENTS PAGE ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    min-height: 100px;
    transition: all 0.3s;
}

.client-logo:hover {
    border-color: var(--color-accent);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-footer-bg);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}

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

.footer-logo-section {
    display: flex;
    flex-direction: column;
}

.footer-logo-section img {
    height: 70px;
    width: auto;
    max-width: 227px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-logo-section p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-contact-item img {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    filter: brightness(0) invert(1) opacity(0.7);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

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

.footer-hours {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-hours-content {
    display: flex;
    gap: 40px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-banking {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-banking p {
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
    font-size: 0.85rem;
}

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

.footer-payment {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-payment img {
    max-height: 36px;
}

.footer-payment p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

/* ===== RESPONSIVE ===== */
/* ===== MAP SECTION ===== */
.map-section {
    padding: 50px 0;
    background: var(--color-bg-light);
}

@media (max-width: 768px) {
    .map-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }

    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 16px 20px;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-hours-content {
        flex-direction: column;
        gap: 8px;
    }

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

    .section {
        padding: 40px 0;
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--color-brand);
    margin-bottom: 24px;
}

.page-header .breadcrumb {
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--color-brand);
}

/* ===== RICH TEXT (product descriptions copied from the old site) ===== */
.rich-text {
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.rich-text p {
    margin-bottom: 12px;
}

.rich-text a {
    color: var(--color-brand);
    text-decoration: underline;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin: 8px 8px 8px 0;
}

.rich-text ul,
.rich-text ol {
    padding-left: 22px;
    margin-bottom: 12px;
}

.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }

.rich-text table,
.variant-table {
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.9rem;
}

.rich-text td,
.rich-text th,
.variant-table td,
.variant-table th {
    border: 1px solid var(--color-border);
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}

.rich-text table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

/* ===== VARIANT (SIZE) TABLE ===== */
.variant-table-wrap {
    margin-top: 48px;
}

.variant-table-title {
    font-size: 1.3rem;
    color: var(--color-brand);
    margin-bottom: 12px;
}

.variant-table-scroll {
    overflow-x: auto;
}

.variant-table {
    width: 100%;
    min-width: 560px;
}

.variant-table th {
    background: var(--color-brand);
    color: var(--color-white);
    font-weight: 600;
    white-space: nowrap;
}

.variant-table tbody tr:nth-child(even) {
    background: var(--color-bg-light);
}

.variant-table a {
    color: var(--color-brand);
    font-weight: 600;
}

/* ===== VIDEOS ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--color-brand-dark);
    color: var(--color-white);
    text-align: center;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.announcement-bar a {
    color: var(--color-white);
    text-decoration: underline;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 1.5rem;
    color: var(--color-brand);
    text-align: center;
    margin: 48px 0 24px;
}
