
/* =========================================================
   CAVOMIR SUPPLY & IMPORT/EXPORT — DIVISION STYLES
   This file is scoped to the division pages.
   The Group header.php and footer.php remain unchanged.
   ========================================================= */

.supply-page {
    --supply-blue: #0B3D91;
    --supply-deep: #062A63;
    --supply-light: #EAF2FB;
    --supply-text: #172033;
    --supply-muted: #657086;
    --supply-border: #dfe6ef;
    background: #fff;
    color: var(--supply-text);
}

.supply-page * { box-sizing: border-box; }

.supply-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.supply-hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--supply-deep);
}

.supply-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,42,99,.94) 0%, rgba(6,42,99,.78) 42%, rgba(6,42,99,.30) 100%),
        url("assets/supply-bg.jpg") center/cover no-repeat;
}

.supply-hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    color: #fff;
}

.supply-eyebrow,
.supply-section-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.supply-eyebrow { color: #dce9ff; }

.supply-hero h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
    color: #fff;
}

.supply-hero p {
    max-width: 720px;
    margin: 0 0 34px;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
    color: rgba(255,255,255,.84);
}

.supply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.supply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .25s ease;
}

.supply-btn-primary {
    background: #fff;
    color: var(--supply-blue);
}

.supply-btn-primary:hover { transform: translateY(-2px); }

.supply-btn-outline {
    border-color: rgba(255,255,255,.45);
    color: #fff;
    background: rgba(255,255,255,.05);
}

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

.supply-intro {
    padding: 105px 0;
    background: #fff;
}

.supply-two-col {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.supply-section-label { color: var(--supply-blue); }

.supply-title {
    margin: 0 0 20px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.supply-copy {
    color: var(--supply-muted);
    font-size: 18px;
    line-height: 1.75;
}

.supply-image {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--supply-light);
}

.supply-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.supply-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6,42,99,.30));
    pointer-events: none;
}

.supply-light-section {
    padding: 105px 0;
    background: var(--supply-light);
}

.supply-center-head {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.supply-center-head .supply-copy { margin: 0; }

.supply-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.supply-service-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--supply-border);
    border-radius: 8px;
}

.supply-service-card img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
}

.supply-service-content {
    padding: 25px;
}

.supply-service-number {
    color: var(--supply-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.supply-service-card h3 {
    margin: 8px 0 10px;
    font-size: 23px;
}

.supply-service-card p {
    margin: 0;
    color: var(--supply-muted);
    line-height: 1.65;
}

.supply-categories {
    padding: 105px 0;
    background: #fff;
}

.supply-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.supply-category {
    padding: 25px 22px;
    border: 1px solid var(--supply-border);
    background: #fff;
    min-height: 130px;
}

.supply-category strong {
    display: block;
    margin-bottom: 7px;
    color: var(--supply-deep);
    font-size: 17px;
}

.supply-category span {
    color: var(--supply-muted);
    font-size: 14px;
    line-height: 1.55;
}

.supply-process {
    padding: 105px 0;
    background: #f7f9fc;
}

.supply-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--supply-border);
    border-bottom: 1px solid var(--supply-border);
}

.supply-step {
    padding: 32px 22px;
    min-height: 240px;
    border-right: 1px solid var(--supply-border);
}

.supply-step:last-child { border-right: 0; }

.supply-step-no {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    color: var(--supply-blue);
}

.supply-step h3 {
    margin: 14px 0 10px;
    font-size: 19px;
}

.supply-step p {
    margin: 0;
    color: var(--supply-muted);
    line-height: 1.6;
    font-size: 14px;
}

.supply-why {
    padding: 105px 0;
    background: #fff;
}

.supply-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.supply-visual-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.supply-visual {
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.supply-visual:first-child {
    grid-column: span 2;
    min-height: 300px;
}

.supply-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.supply-visual span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

.supply-check-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.supply-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--supply-border);
}

.supply-check b { color: var(--supply-blue); }

.supply-check span {
    color: var(--supply-muted);
    line-height: 1.55;
}

.supply-projects {
    padding: 105px 0;
    background: var(--supply-light);
}

.supply-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.supply-project-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--supply-border);
}

.supply-project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.supply-project-content {
    padding: 26px;
}

.supply-project-meta {
    margin-bottom: 9px;
    color: var(--supply-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.supply-project-content h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.supply-project-content p {
    margin: 0;
    color: var(--supply-muted);
    line-height: 1.65;
}

.supply-contact {
    padding: 110px 0;
    background: var(--supply-deep);
    color: #fff;
    text-align: center;
}

.supply-contact h2 {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: clamp(35px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -.035em;
    color: #fff;
}

.supply-contact p {
    max-width: 720px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.7;
}

.supply-contact-page {
    padding: 95px 0 110px;
    background: #f7f9fc;
}

.supply-contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
}

.supply-contact-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--supply-border);
}

.supply-contact-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
}

.supply-contact-card p {
    color: var(--supply-muted);
    line-height: 1.7;
}

.supply-contact-card a {
    color: var(--supply-blue);
    font-weight: 800;
    text-decoration: none;
}

.supply-form {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--supply-border);
}

.supply-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.supply-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
}

.supply-form .full { grid-column: 1 / -1; }

.supply-form input,
.supply-form textarea,
.supply-form select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cfd8e5;
    background: #fff;
    color: var(--supply-text);
    font: inherit;
}

.supply-form textarea {
    min-height: 150px;
    resize: vertical;
}

.supply-form input:focus,
.supply-form textarea:focus,
.supply-form select:focus {
    outline: 2px solid rgba(11,61,145,.14);
    border-color: var(--supply-blue);
}

.supply-back {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--supply-blue);
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 900px) {
    .supply-two-col,
    .supply-why-grid,
    .supply-contact-grid {
        grid-template-columns: 1fr;
    }

    .supply-service-grid { grid-template-columns: 1fr 1fr; }
    .supply-category-grid { grid-template-columns: 1fr 1fr; }
    .supply-process-grid { grid-template-columns: 1fr; }
    .supply-step { border-right: 0; border-bottom: 1px solid var(--supply-border); }
    .supply-step:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
    .supply-container { width: min(100% - 28px, 1180px); }
    .supply-hero { min-height: 600px; }
    .supply-hero-inner { padding: 80px 0; }
    .supply-service-grid,
    .supply-category-grid,
    .supply-project-grid,
    .supply-form-grid {
        grid-template-columns: 1fr;
    }
    .supply-form .full { grid-column: auto; }
    .supply-image,
    .supply-image img { min-height: 320px; }
    .supply-visual:first-child { min-height: 230px; }
}

/* =========================================================
   DIVISION SHELL — SUPPLY & IMPORT/EXPORT
   The Group header/footer are intentionally replaced by the
   division shell while the visitor is inside this division.
   ========================================================= */

.division-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #dce5ef;
    box-shadow: 0 3px 18px rgba(6,42,99,.07);
}

.division-navigation-wrapper {
    width: 90%;
    max-width: 1500px;
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.division-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
    color: #062A63;
}

.division-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 44px;
}

.division-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    white-space: nowrap;
}

.division-brand-text strong {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 800;
}

.division-brand-text small {
    margin-top: 5px;
    color: #0B3D91;
    font-size: 8px;
    letter-spacing: 1.4px;
    font-weight: 800;
}

.division-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
}

.division-navigation a {
    position: relative;
    padding: 30px 0;
    color: #34465A;
    font-size: 13px;
    font-weight: 700;
}

.division-navigation a:hover,
.division-navigation a.active {
    color: #0B3D91;
}

.division-navigation a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;
    height: 2px;
    background: #0B3D91;
}

.division-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: #0B3D91;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    border-radius: 2px;
    transition: background .2s ease, transform .2s ease;
}

.division-nav-cta:hover {
    background: #062A63;
    color: #fff;
    transform: translateY(-1px);
}

.division-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.division-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #062A63;
}

.division-footer {
    position: relative;
    background: #162D42;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.08);
}

.division-footer-container {
    width: min(1200px, calc(100% - 44px));
    margin: 0 auto;
    padding: 58px 0 48px;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
    gap: 44px;
}

.division-footer-brand {
    min-width: 0;
}

.division-footer-logo-link {
    display: inline-flex;
    margin-bottom: 18px;
}

.division-footer-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.division-footer-brand-name {
    color: #C6A96B;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.division-footer-division-name {
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.division-footer-brand p {
    max-width: 330px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.7;
}

.division-footer-column h4 {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.division-footer-column a {
    display: block;
    width: fit-content;
    margin-bottom: 13px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.4;
    transition: color .2s ease, transform .2s ease;
}

.division-footer-column a:hover {
    color: #C6A96B;
    transform: translateX(2px);
}

.division-footer-contact a {
    color: rgba(255,255,255,.78);
}

.division-footer-bottom {
    width: min(1200px, calc(100% - 44px));
    margin: 0 auto;
    padding: 17px 0 20px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.48);
    font-size: 12px;
}

.return-to-group {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 3000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: #C6A96B;
    color: #062A63;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    border: 2px solid rgba(255,255,255,.8);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.return-to-group:hover,
.return-to-group:focus-visible {
    background: #D4B978;
    color: #062A63;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.24);
}

.return-to-group-arrow {
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.return-to-group-label {
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .division-navigation-wrapper {
        width: 92%;
        min-height: 70px;
    }

    .division-brand-logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .division-brand-text strong {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .division-brand-text small {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .division-navigation,
    .division-nav-cta {
        display: none;
    }

    .division-mobile-toggle {
        display: block;
    }

    .division-navigation.open {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5%;
        margin: 0;
        background: #fff;
        border-bottom: 1px solid #dce5ef;
        box-shadow: 0 14px 30px rgba(6,42,99,.10);
    }

    .division-navigation.open a {
        padding: 13px 0;
    }

    .division-navigation.open a.active::after {
        display: none;
    }

    .division-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 600px) {
    .division-footer-container {
        grid-template-columns: 1fr;
        padding-top: 45px;
    }

    .division-footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

    .return-to-group {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }
}
