:root {
    --ink: #152724;
    --muted: #60716d;
    --surface: #ffffff;
    --surface-soft: #f4f7f6;
    --line: #d8e0de;
    --green: #123b35;
    --green-2: #1f6d5f;
    --teal: #0f8b83;
    --amber: #f2ad3c;
    --red: #b83b3b;
    --blue: #2f6fa3;
    --shadow: 0 14px 38px rgba(22, 44, 39, .10);
    --content: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body,
button,
input,
select,
textarea {
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    background: #fff;
    color: var(--green);
    border: 2px solid var(--green);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(216, 224, 222, .8);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(22, 44, 39, .08);
}

.site-header-inner {
    width: min(var(--content), calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.site-brand,
.footer-company {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
}

.site-brand-mark {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 18px;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    max-width: 210px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.primary-navigation {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.primary-navigation a {
    position: relative;
    padding: 11px 14px;
    color: #42534f;
    font-size: 14px;
    font-weight: 650;
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] {
    color: var(--green);
}

.primary-navigation a[aria-current="page"]::after {
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    background: var(--amber);
    content: "";
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact,
.cart-button,
.menu-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
}

.header-contact {
    padding: 0 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 650;
}

.cart-button {
    position: relative;
    padding: 0 13px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.cart-button b {
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--amber);
    color: #3d2a04;
    font-size: 11px;
}

.menu-toggle {
    display: none;
    width: 42px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green);
    cursor: pointer;
}

.public-shell {
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
}

.public-hero {
    position: relative;
    min-height: clamp(560px, 72vh, 760px);
    overflow: visible;
    background: #e8eeee;
    color: #fff;
}

.public-hero::before {
    position: absolute;
    inset: 0;
    background: url("../images/public-enterprise-hero.png") center center / cover no-repeat;
    content: "";
}

.public-hero::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 58%;
    background: rgba(10, 34, 31, .88);
    content: "";
}

.public-hero-inner {
    position: relative;
    z-index: 1;
    width: min(var(--content), calc(100% - 40px));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 64px 0 98px;
}

.public-hero-copy {
    max-width: 610px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--amber);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
}

.public-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 64px;
    line-height: 1.02;
}

.public-hero p {
    max-width: 600px;
    margin: 22px 0 0;
    color: #e7efed;
    font-size: 19px;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.button,
.button-secondary,
.button-quiet {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 750;
    cursor: pointer;
}

.button {
    background: var(--amber);
    color: #332300;
}

.button:hover {
    background: #ffc25b;
}

.button-secondary {
    background: var(--green);
    color: #fff;
}

.public-hero .button-secondary {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .12);
}

.button-quiet {
    border-color: var(--line);
    background: #fff;
    color: var(--green);
}

.hero-paths {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    transform: translateY(50%);
    border-radius: 7px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-paths a {
    min-height: 118px;
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    align-items: center;
    gap: 14px;
    padding: 22px;
    background: #fff;
    color: var(--ink);
    border-right: 1px solid var(--line);
}

.hero-paths a:last-child {
    border-right: 0;
}

.hero-paths a:hover {
    background: #f8faf9;
}

.hero-paths i:first-child {
    color: var(--teal);
    font-size: 28px;
}

.hero-paths span,
.hero-paths strong {
    display: block;
}

.hero-paths strong {
    font-size: 16px;
}

.hero-paths span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 76px 0;
}

.section-after-hero {
    padding-top: 128px;
}

.section-soft {
    background: var(--surface-soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.section-heading h2,
.page-heading h1,
.detail-copy h1,
.action-panel h1 {
    margin: 0;
    line-height: 1.12;
}

.section-heading h2 {
    font-size: 32px;
}

.section-heading p,
.page-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--green-2);
    font-weight: 750;
}

.product-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.service-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-card-media {
    position: relative;
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    background: #eef2f1;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #e8efed;
    color: #8aa09a;
    font-size: 42px;
}

.product-card-body,
.service-card {
    padding: 18px;
}

.product-card-body {
    padding-top: 16px;
}

.product-card small,
.service-card small {
    display: block;
    overflow: hidden;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-card h3,
.service-card h3 {
    margin: 7px 0 8px;
    font-size: 17px;
    line-height: 1.3;
}

.product-card p,
.service-card p {
    display: -webkit-box;
    min-height: 46px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-footer {
    display: flex;
    min-height: 48px;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e8edec;
}

.product-card-footer strong {
    color: var(--green);
    font-size: 15px;
}

.product-card-footer span {
    color: var(--green-2);
    font-size: 12px;
    font-weight: 750;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding-top: 24px;
}

.service-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 6px;
    background: #e3f1ef;
    color: var(--teal);
    font-size: 20px;
}

.service-card .text-link {
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
}

.cms-band {
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 46px;
    align-items: start;
}

.cms-band h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
}

.cms-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.cms-block h3 {
    margin: 0 0 9px;
    font-size: 18px;
}

.cms-block p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    padding: 72px 0 54px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.page-heading h1 {
    font-size: 44px;
}

.catalog-tools {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.catalog-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, .35fr) auto;
    gap: 10px;
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--muted);
    transform: translateY(-50%);
}

.search-field input,
.catalog-form select,
.action-form input,
.action-form select,
.action-form textarea,
.tracking-form input {
    width: 100%;
    border: 1px solid #bdc9c6;
    border-radius: 5px;
    outline: none;
    background: #fff;
}

.search-field input {
    height: 46px;
    padding: 0 14px 0 42px;
}

.catalog-form select {
    height: 46px;
    padding: 0 12px;
}

.search-field input:focus,
.catalog-form select:focus,
.action-form input:focus,
.action-form select:focus,
.action-form textarea:focus,
.tracking-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 139, 131, .12);
}

.catalog-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    font-size: 13px;
}

.pagination span {
    background: var(--green);
    color: #fff;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 50px 24px;
    border: 1px dashed #b8c5c2;
    border-radius: 7px;
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.empty-state i {
    display: block;
    margin-bottom: 12px;
    color: #91a49f;
    font-size: 34px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
    padding: 62px 0 76px;
}

.detail-media {
    position: sticky;
    top: 96px;
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #edf2f1;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-media .product-placeholder {
    font-size: 76px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs i {
    font-size: 9px;
}

.detail-copy h1 {
    max-width: 720px;
    font-size: 42px;
}

.detail-lead {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.detail-price {
    margin-top: 22px;
    color: var(--green);
    font-size: 25px;
    font-weight: 800;
}

.detail-price small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.detail-description {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.detail-description h2,
.related-section h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.detail-description p {
    color: #41514e;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--line);
}

.detail-fact {
    min-height: 76px;
    padding: 14px;
    background: #fff;
}

.detail-fact span,
.detail-fact strong {
    display: block;
}

.detail-fact span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.detail-fact strong {
    margin-top: 4px;
    font-size: 14px;
}

.related-section {
    padding: 54px 0 70px;
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.action-layout {
    display: grid;
    grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
    gap: 34px;
    align-items: start;
    padding: 58px 0 80px;
}

.action-summary,
.action-panel {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.action-summary {
    overflow: hidden;
}

.action-summary-media {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    background: #edf2f1;
}

.action-summary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-summary-body {
    padding: 20px;
}

.action-summary h2 {
    margin: 5px 0 8px;
    font-size: 21px;
}

.action-summary p {
    margin: 0;
    color: var(--muted);
}

.action-panel {
    padding: 30px;
}

.action-panel h1 {
    font-size: 34px;
}

.action-panel > p {
    margin: 9px 0 24px;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.action-form label {
    display: block;
    color: #354640;
    font-size: 13px;
    font-weight: 700;
}

.action-form input,
.action-form select {
    height: 44px;
    margin-top: 6px;
    padding: 0 11px;
}

.action-form textarea {
    min-height: 120px;
    margin-top: 6px;
    padding: 10px 11px;
    resize: vertical;
}

.form-wide {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.notice {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #f3c6c6;
    border-radius: 5px;
    background: #fff1f1;
    color: #8a2f2f;
}

.request-success {
    padding: 34px;
    border: 1px solid #a9d7c5;
    border-radius: 7px;
    background: #eef9f5;
    text-align: center;
}

.request-success i {
    color: var(--green-2);
    font-size: 40px;
}

.request-success h2 {
    margin: 10px 0 6px;
}

.request-reference {
    display: inline-block;
    margin: 14px 0 20px;
    padding: 9px 13px;
    border-radius: 4px;
    background: var(--green);
    color: #fff;
    font-family: Consolas, monospace;
}

.tracking-shell {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0 100px;
}

.tracking-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    box-shadow: var(--shadow);
}

.tracking-panel h1 {
    margin: 0;
    font-size: 38px;
}

.tracking-panel p {
    color: var(--muted);
}

.tracking-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 24px;
}

.tracking-form input {
    height: 46px;
    padding: 0 12px;
}

.content-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.content-page h1 {
    margin: 0 0 24px;
    font-size: 44px;
}

.content-body {
    color: #354640;
    font-size: 17px;
}

.content-block-list {
    display: grid;
    gap: 22px;
    margin-top: 36px;
}

.content-block-list article {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.site-footer {
    background: #102c28;
    color: #e9f0ee;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, .55fr) minmax(220px, .75fr);
    gap: 48px;
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0 38px;
}

.footer-company {
    align-items: flex-start;
}

.footer-company .site-brand-mark {
    background: var(--amber);
    color: #332300;
}

.footer-company strong,
.footer-links strong,
.footer-contact strong {
    display: block;
    margin-bottom: 10px;
}

.footer-company p {
    max-width: 480px;
    margin: 4px 0 0;
    color: #abc0bb;
    font-size: 13px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    color: #c9d8d4;
    font-size: 13px;
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    width: min(var(--content), calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #91aaa4;
    font-size: 12px;
}

@media (max-width: 1020px) {
    .site-header-inner {
        grid-template-columns: auto auto 1fr;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
        justify-self: end;
    }

    .primary-navigation {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 7px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a[aria-current="page"]::after {
        display: none;
    }

    .site-header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .header-contact {
        display: none;
    }

    .product-grid,
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-paths {
        grid-template-columns: 1fr;
        transform: translateY(72%);
    }

    .hero-paths a {
        min-height: 78px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section-after-hero {
        padding-top: 250px;
    }
}

@media (max-width: 760px) {
    .site-header-inner,
    .public-shell,
    .public-hero-inner,
    .hero-paths,
    .site-footer-inner,
    .site-footer-bottom {
        width: min(100% - 28px, var(--content));
    }

    .site-brand small,
    .cart-button span {
        display: none;
    }

    .site-header-actions {
        justify-self: end;
    }

    .public-hero {
        min-height: 620px;
    }

    .public-hero::before {
        background: url("../images/public-enterprise-hero.png") 63% center / cover no-repeat;
    }

    .public-hero::after {
        width: 100%;
        background: rgba(10, 34, 31, .76);
    }

    .public-hero-inner {
        align-items: end;
        padding-bottom: 156px;
    }

    .public-hero h1 {
        font-size: 44px;
    }

    .public-hero p {
        font-size: 16px;
    }

    .hero-paths {
        transform: translateY(78%);
    }

    .hero-paths a {
        grid-template-columns: 34px 1fr 16px;
        padding: 15px;
    }

    .hero-paths i:first-child {
        font-size: 22px;
    }

    .section {
        padding: 54px 0;
    }

    .section-after-hero {
        padding-top: 240px;
    }

    .section-heading,
    .page-heading {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .product-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-body,
    .service-card {
        padding: 14px;
    }

    .service-card {
        min-height: 238px;
    }

    .cms-band,
    .detail-layout,
    .action-layout,
    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .cms-blocks {
        grid-template-columns: 1fr;
    }

    .catalog-form {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        gap: 32px;
        padding-top: 32px;
    }

    .detail-media {
        position: static;
    }

    .detail-copy h1,
    .page-heading h1,
    .content-page h1 {
        font-size: 34px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-wide {
        grid-column: auto;
    }

    .site-footer-bottom {
        gap: 12px;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .product-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .product-card-media {
        aspect-ratio: 16 / 10;
    }

    .hero-actions .button,
    .hero-actions .button-secondary,
    .detail-actions .button,
    .detail-actions .button-secondary {
        width: 100%;
    }

    .action-panel,
    .tracking-panel {
        padding: 22px;
    }

    .tracking-form {
        grid-template-columns: 1fr;
    }
}
