/* FILE: client-django-sites/asholdings/static/css/styles.css
   DATE: 2026-05-14
   PURPOSE: Shared responsive design for the A.S Holdings landing and flour pages. */

:root {
    --bg: #fbf9f8;
    --surface: #ffffff;
    --surface-soft: #f5f3f2;
    --surface-muted: #efedec;
    --line: #c9cfca;
    --ink: #1b1c1b;
    --muted: #414846;
    --primary: #0f4928;
    --primary-2: #0f4928;
    --sage: #5f7468;
    --sage-soft: #d7ecdd;
    --sand: #f0e0ca;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--bg);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

a,
button,
input,
textarea {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        opacity 180ms ease;
}

button {
    font: inherit;
}

.page-loader {
    display: none;
}

.js-enabled .page-loader {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--bg);
    opacity: 1;
    visibility: visible;
    transition: opacity 360ms ease, visibility 360ms ease;
}

.js-enabled.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-mark {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.page-loader-mark img {
    width: 104px;
    height: 124px;
    object-fit: contain;
    animation: loaderLift 900ms ease infinite alternate;
}

.page-loader-mark span {
    position: relative;
    width: 128px;
    height: 3px;
    overflow: hidden;
    background: rgba(15, 73, 40, 0.16);
}

.page-loader-mark span::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 46%;
    background: var(--primary);
    animation: loaderLine 920ms ease-in-out infinite;
}

@keyframes loaderLift {
    from {
        transform: translateY(3px);
    }
    to {
        transform: translateY(-3px);
    }
}

@keyframes loaderLine {
    0% {
        transform: translateX(-115%);
    }
    100% {
        transform: translateX(245%);
    }
}

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

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(251, 249, 248, 0.94);
    border-bottom: 1px solid rgba(113, 121, 118, 0.22);
    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text small {
    color: var(--sage);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-icon {
    width: 61px;
    height: 61px;
    object-fit: contain;
}

.nav-toggle {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 73, 40, 0.22);
    border-radius: 4px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    width: 21px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(7px);
}

.nav-toggle:hover {
    border-color: var(--primary);
    background: var(--sage-soft);
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav a {
    padding: 29px 0 25px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.quote-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.quote-button,
.button-primary {
    border: 1px solid var(--primary);
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(15, 73, 40, 0.14);
}

.quote-button:hover,
.button-primary:hover {
    background: #0b3f23;
    box-shadow: 0 16px 34px rgba(15, 73, 40, 0.24);
    transform: translateY(-2px);
}

.button-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.button-secondary:hover {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(15, 73, 40, 0.18);
    transform: translateY(-2px);
}

.button-light {
    color: var(--primary);
    background: var(--sage-soft);
}

.button-light:hover {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.button-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.button-outline-light:hover {
    color: var(--primary);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    display: grid;
    min-height: 650px;
    overflow: hidden;
}

.hero > img,
.product-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 48, 32, 0.84), rgba(10, 48, 32, 0.46));
}

.hero-content {
    position: relative;
    z-index: 2;
    align-self: center;
    color: var(--white);
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: 58px;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--sage-soft);
    font-size: 23px;
    font-weight: 600;
}

.hero-copy {
    max-width: 680px;
    margin: 0 0 34px;
    font-size: 18px;
}

.hero-actions,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    padding: 104px 0;
}

.section-muted {
    background: var(--surface-soft);
    border-top: 1px solid rgba(113, 121, 118, 0.18);
    border-bottom: 1px solid rgba(113, 121, 118, 0.18);
}

.section-kicker {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker.light {
    color: var(--sage-soft);
}

.section h2,
.footer-contact h2 {
    margin: 0;
    color: var(--ink);
    font-size: 40px;
    line-height: 1.18;
}

.split-head {
    display: flex;
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
}

.head-line {
    flex: 1;
    height: 1px;
    margin-bottom: 16px;
    background: rgba(113, 121, 118, 0.28);
}

.centered {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.small-line {
    width: 90px;
    height: 3px;
    margin: 28px auto 0;
    background: var(--primary);
}

.offer-grid {
    display: grid;
    gap: 24px;
}

.featured-offer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-soft);
    border: 1px solid rgba(113, 121, 118, 0.24);
}

.offer-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.offer-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 46px;
}

.offer-body h3,
.service-cell h3,
.quality-grid h3 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.22;
}

.price {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.company-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.company-copy p {
    color: var(--muted);
    font-size: 18px;
}

.image-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.image-mosaic figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--surface-muted);
}

.image-mosaic figure:nth-child(2) {
    margin-top: 56px;
}

.image-mosaic .mosaic-wide {
    grid-column: 1 / -1;
    margin-top: 0;
}

.image-mosaic img {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    object-fit: cover;
}

.image-mosaic .mosaic-wide img {
    aspect-ratio: 2.15 / 1;
}

.image-mosaic figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 7px 10px;
    color: var(--white);
    background: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(113, 121, 118, 0.24);
    background: rgba(113, 121, 118, 0.24);
    gap: 1px;
}

.service-cell {
    min-width: 0;
    min-height: 360px;
    padding: 58px;
    background: var(--surface);
    overflow-wrap: break-word;
}

.service-cell-alt {
    background: var(--surface-soft);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
    color: var(--primary);
    background: rgba(204, 230, 209, 0.42);
    border-radius: 4px;
    font-weight: 800;
}

.service-image {
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.service-cell ul,
.check-list {
    display: grid;
    gap: 13px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-list-title {
    margin: 24px 0 -6px;
    color: var(--primary);
    font-weight: 800;
}

.service-cta {
    margin-top: 28px;
}

.service-cell li,
.check-list li {
    position: relative;
    padding-left: 26px;
}

.service-cell li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.quality-band {
    padding: 88px 0;
    color: var(--white);
    background: var(--primary);
}

.quality-band h2 {
    max-width: 820px;
    margin: 0 0 54px;
    font-size: 38px;
    line-height: 1.18;
}

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

.quality-grid span {
    display: block;
    margin-bottom: 18px;
    color: rgba(204, 230, 209, 0.3);
    font-size: 48px;
    font-weight: 800;
}

.quality-grid p {
    color: rgba(255, 255, 255, 0.76);
}

.footer-contact {
    background: var(--surface-muted);
    border-top: 1px solid rgba(113, 121, 118, 0.26);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 70px;
    padding: 104px 0 72px;
}

.request-panel {
    min-width: 0;
    padding: 48px;
    background: var(--surface);
    border: 1px solid rgba(113, 121, 118, 0.24);
}

.request-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
}

.request-form label {
    display: grid;
    gap: 8px;
}

.request-form span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.request-form input,
.request-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 2px solid rgba(113, 121, 118, 0.35);
    border-radius: 0;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--surface-soft);
    font: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
    outline: 0;
    border-bottom-color: var(--primary);
}

.request-form .wide,
.request-form button {
    grid-column: 1 / -1;
}

.request-form button {
    min-height: 48px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--white);
    background: var(--primary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 73, 40, 0.14);
}

.request-form button:hover {
    background: #0b3f23;
    box-shadow: 0 16px 34px rgba(15, 73, 40, 0.22);
    transform: translateY(-2px);
}

.form-status {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--primary);
    background: var(--surface-soft);
    color: var(--ink);
    font-weight: 700;
}

.form-status-error {
    border-left-color: #9a2f25;
}

.request-form .form-error {
    color: #9a2f25;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.contact-info {
    min-width: 0;
    align-self: start;
    padding-top: 8px;
}

.footer-logo {
    width: 148px;
    height: 176px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 24px;
}

.footer-text {
    max-width: 420px;
    color: var(--muted);
}

.footer-slogan {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-company {
    margin: 28px 0 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-list {
    display: grid;
    gap: 28px;
    margin: 28px 0 0;
}

.contact-list div {
    display: grid;
    gap: 7px;
}

.contact-list dt {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
}

.company-registry {
    display: grid;
    gap: 4px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(113, 121, 118, 0.22);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.company-registry p {
    margin: 0;
}

.footer-bottom {
    display: grid;
    gap: 34px;
    padding: 58px 0 34px;
    border-top: 1px solid rgba(113, 121, 118, 0.22);
    color: var(--muted);
    font-size: 14px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-mark {
    display: inline-flex;
    flex: 0 0 auto;
}

.footer-bottom-logo {
    margin-bottom: 0;
}

.footer-content {
    display: grid;
    justify-items: end;
    gap: 28px;
    min-width: 0;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 28px;
}

.footer-menu a,
.footer-legal a {
    color: var(--ink);
    font-weight: 700;
}

.footer-service {
    margin: 0;
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(113, 121, 118, 0.18);
}

.footer-legal p {
    margin: 0;
}

.footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-menu a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

.map-consent {
    min-height: 320px;
    background: var(--surface-soft);
}

.map-consent-frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.map-consent-placeholder {
    display: grid;
    align-content: center;
    gap: 12px;
    min-height: 320px;
    padding: 28px;
    border: 1px solid rgba(15, 73, 40, 0.16);
}

.map-consent-title {
    margin: 0;
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}

.map-consent-text {
    margin: 0;
    color: var(--muted);
}

.map-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.legal-hero {
    padding: 104px 0 72px;
    color: var(--white);
    background: linear-gradient(120deg, rgba(15, 73, 40, 0.98), rgba(17, 78, 45, 0.86));
}

.legal-hero .section-kicker {
    color: var(--sage-soft);
}

.legal-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: 56px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.legal-section {
    padding: 80px 0;
    background: var(--bg);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.legal-card {
    min-width: 0;
    padding: 34px;
    background: var(--surface);
    border: 1px solid rgba(113, 121, 118, 0.22);
    overflow-wrap: break-word;
}

.legal-card-wide {
    grid-column: 1 / -1;
}

.legal-card h2 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 24px;
    line-height: 1.2;
}

.legal-card h2:not(:first-child) {
    margin-top: 30px;
}

.legal-card p {
    margin: 0 0 16px;
    color: var(--muted);
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card a {
    color: var(--ink);
    font-weight: 700;
}

.product-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    overflow: hidden;
}

.product-hero-large {
    min-height: 460px;
    place-items: center start;
}

.product-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(15, 73, 40, 0.58);
}

.product-hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--white);
    font-size: 52px;
    line-height: 1.08;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.product-hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    color: var(--white);
}

.product-hero-content h1 {
    max-width: 760px;
    text-align: left;
}

.product-hero-content p:not(.section-kicker) {
    max-width: 660px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.product-intro {
    padding-top: 66px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 52px;
    color: var(--muted);
    text-decoration: none;
}

.back-link:hover {
    color: var(--primary);
}

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

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(113, 121, 118, 0.24);
}

.product-summary h2 {
    margin: 0 0 22px;
    color: var(--primary);
    font-size: 38px;
    line-height: 1.2;
}

.product-summary > p {
    color: var(--muted);
    font-size: 17px;
}

.price-box {
    margin: 26px 0;
    padding: 26px;
    background: var(--surface-soft);
    border: 1px solid rgba(113, 121, 118, 0.28);
}

.price-box span {
    color: var(--muted);
}

.price-box strong {
    display: block;
    color: var(--primary);
    font-size: 38px;
    line-height: 1.15;
}

.price-box p {
    margin: 10px 0 0;
    color: var(--muted);
}

.table-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    border: 1px solid rgba(113, 121, 118, 0.24);
    background: var(--surface);
}

.product-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    text-align: left;
}

.product-table th,
.product-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(113, 121, 118, 0.18);
    vertical-align: top;
}

.product-table th {
    color: var(--primary);
    background: var(--surface-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-table td {
    color: var(--muted);
    font-weight: 600;
}

.product-table td:first-child {
    color: var(--ink);
    font-weight: 800;
}

.product-table tr:last-child td {
    border-bottom: 0;
}

.flour-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.flour-info-card {
    min-width: 0;
    padding: 34px;
    background: var(--surface);
    border: 1px solid rgba(113, 121, 118, 0.24);
}

.flour-info-card-wide {
    grid-column: 1 / -1;
}

.flour-info-card span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--primary);
    background: var(--sage-soft);
    font-weight: 800;
}

.flour-info-card h2,
.pdf-offer h2 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 30px;
    line-height: 1.22;
}

.flour-info-card p,
.pdf-offer p {
    color: var(--muted);
}

.delivery-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 8px 0 20px;
}

.delivery-list p {
    margin: 0;
}

.delivery-list strong {
    color: var(--ink);
}

.pdf-offer {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    background: var(--surface-soft);
    border: 1px solid rgba(113, 121, 118, 0.24);
}

.pdf-offer p {
    max-width: 720px;
    margin: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 78px;
}

.description-block h2,
.spec-card h2,
.logistics-copy h2 {
    margin: 0 0 26px;
    color: var(--primary);
    font-size: 30px;
    line-height: 1.24;
}

.description-block p {
    color: var(--muted);
    font-size: 17px;
}

.spec-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid rgba(113, 121, 118, 0.28);
    border-radius: 6px;
}

.spec-card dl {
    margin: 0;
}

.spec-card div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 0;
    border-top: 1px solid rgba(113, 121, 118, 0.18);
}

.spec-card dt {
    font-weight: 700;
}

.spec-card dd {
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.logistics-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    color: var(--white);
    background: var(--primary);
    border-radius: 8px;
}

.logistics-copy {
    padding: 58px;
}

.logistics-copy h2 {
    color: var(--white);
}

.logistics-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.metric-row {
    display: flex;
    gap: 64px;
    margin-top: 34px;
}

.metric-row strong {
    display: block;
    color: var(--white);
    font-size: 28px;
}

.metric-row span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logistics-card img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: nowrap;
        min-height: 72px;
        padding: 10px 0;
    }

    .brand {
        min-width: 0;
    }

    .brand-icon {
        width: 56px;
        height: 56px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .quote-button {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        flex: none;
        min-width: auto;
        padding: 10px;
        justify-content: stretch;
        background: var(--bg);
        border: 1px solid rgba(15, 73, 40, 0.18);
        box-shadow: 0 24px 70px rgba(15, 73, 40, 0.2);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        backdrop-filter: blur(14px);
    }

    .site-header.is-nav-open .site-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(113, 121, 118, 0.18);
        white-space: nowrap;
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav a:hover,
    .site-nav a.is-active {
        background: rgba(15, 73, 40, 0.08);
        border-bottom-color: rgba(113, 121, 118, 0.18);
    }

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

    .featured-offer,
    .company-grid,
    .service-grid,
    .product-grid,
    .detail-grid,
    .logistics-card,
    .contact-grid,
    .legal-grid,
    .flour-info-grid {
        grid-template-columns: 1fr;
    }

    .quality-grid,
    .offer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .logistics-card img {
        min-height: 320px;
    }

    .legal-card-wide {
        grid-column: auto;
    }

    .flour-info-card-wide {
        grid-column: auto;
    }

    .delivery-list {
        grid-template-columns: 1fr;
    }

    .pdf-offer {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-grid {
        gap: 52px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 32px, 1280px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand {
        max-width: calc(100% - 58px);
        gap: 10px;
        font-size: 16px;
    }

    .brand-icon {
        width: 52px;
        height: 52px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text > span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .site-nav {
        top: calc(100% + 8px);
    }

    .hero {
        min-height: 620px;
    }

    .hero-content h1,
    .product-hero h1 {
        font-size: 32px;
    }

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

    .product-hero-content p:not(.section-kicker) {
        font-size: 17px;
    }

    .price-box strong {
        font-size: 31px;
    }

    .hero-content h1 {
        max-width: 100%;
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .section {
        padding: 70px 0;
    }

    .legal-hero {
        padding: 70px 0 54px;
    }

    .legal-hero h1 {
        font-size: 28px;
    }

    .legal-section {
        padding: 54px 0;
    }

    .section h2,
    .footer-contact h2 {
        font-size: 30px;
    }

    .split-head {
        display: block;
        margin-bottom: 34px;
    }

    .head-line {
        display: none;
    }

    .offer-grid,
    .quality-grid,
    .service-grid,
    .request-form {
        grid-template-columns: 1fr;
    }

    .offer-body,
    .service-cell,
    .request-panel,
    .logistics-copy,
    .flour-info-card,
    .pdf-offer {
        padding: 28px;
    }

    .contact-grid {
        gap: 42px;
        padding: 72px 0 52px;
    }

    .request-form input,
    .request-form textarea {
        font-size: 16px;
    }

    .footer-logo {
        width: 128px;
        height: 152px;
    }

    .footer-bottom-logo {
        width: 118px;
        height: 140px;
    }

    .footer-service {
        font-size: 19px;
    }

    .product-table {
        min-width: 680px;
    }

    .product-table th,
    .product-table td {
        padding: 15px 16px;
    }

    .image-mosaic figure:nth-child(2) {
        margin-top: 28px;
    }

    .quality-band h2,
    .product-summary h2 {
        font-size: 30px;
    }

    .footer-bottom {
        padding-top: 46px;
    }

    .footer-main,
    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        justify-items: start;
    }

    .footer-menu {
        justify-content: flex-start;
    }

    .footer-service {
        text-align: left;
    }

    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .cookie-consent-inner,
    .legal-card {
        padding: 22px;
    }

    .cookie-consent-head,
    .cookie-consent-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-consent-actions .cookie-btn {
        width: 100%;
    }

    .metric-row {
        gap: 34px;
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 580px;
    }

    .hero-actions,
    .product-actions,
    .map-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .product-actions .button,
    .map-consent-actions .cookie-btn {
        width: 100%;
    }

    .featured-offer {
        display: block;
    }

    .offer-image img,
    .service-image {
        min-height: 260px;
    }

    .image-mosaic {
        grid-template-columns: 1fr;
    }

    .image-mosaic figure:nth-child(2) {
        margin-top: 0;
    }

    .image-mosaic .mosaic-wide {
        grid-column: auto;
    }

    .product-hero-large {
        min-height: 430px;
    }

    .product-hero-content {
        width: min(100% - 32px, 1280px);
    }

    .price-box {
        padding: 22px;
    }

    .price-box strong {
        font-size: 28px;
    }

    .flour-info-card h2,
    .pdf-offer h2,
    .description-block h2,
    .spec-card h2,
    .logistics-copy h2 {
        font-size: 26px;
    }

    .metric-row {
        flex-direction: column;
        gap: 18px;
    }

    .metric-row p {
        margin: 0;
    }

    .contact-company {
        font-size: 20px;
    }

    .footer-menu,
    .footer-legal nav {
        flex-direction: column;
        gap: 12px;
    }
}
