/* Company and contacts pages — 2026 redesign */
:root {
    --safina-green: #2eaa08;
    --safina-green-dark: #238306;
    --safina-ink: #111b2e;
    --safina-muted: #6f7b8f;
    --safina-line: rgba(17, 27, 46, .09);
    --safina-soft: #f3f7f0;
    --safina-warm: #f7f3ec;
}

.company-page,
.contacts-page,
.delivery-page {
    overflow: hidden;
    color: var(--safina-ink);
    background:
        radial-gradient(circle at 8% 20%, rgba(46, 170, 8, .055), transparent 26rem),
        #fff;
}

.company-page *,
.contacts-page *,
.delivery-page * { box-sizing: border-box; }

.page-shell {
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
}

.page-section { padding: 92px 0; }

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--safina-green-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.page-kicker::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--safina-green);
    box-shadow: 0 0 0 6px rgba(46, 170, 8, .12);
    content: "";
}

.page-kicker--light { color: #fff; }
.page-kicker--light::before { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.14); }

.page-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.page-heading h2,
.company-story h2,
.contacts-location h2,
.contacts-details h2,
.company-cta h2,
.delivery-page h2 {
    margin: 0;
    color: var(--safina-ink);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.page-heading > p,
.company-story__content > p,
.company-story__cms,
.contacts-form-card > p,
.contacts-requisites > p {
    margin: 22px 0 0;
    color: var(--safina-muted);
    font-size: 17px;
    line-height: 1.7;
}

.page-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    text-align: left;
}

.page-heading--row > p {
    max-width: 460px;
    margin: 0 0 5px 40px;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.page-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.page-button:hover { transform: translateY(-2px); }
.page-button--primary { color: #fff !important; background: linear-gradient(135deg, #39bd0b, #269407); box-shadow: 0 14px 28px rgba(46, 170, 8, .2); }
.page-button--primary:hover { background: linear-gradient(135deg, #31aa09, #217f05); }
.page-button--light { color: var(--safina-ink) !important; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px var(--safina-line); }
.page-button--white { color: var(--safina-green-dark) !important; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.16); }

/* About hero */
.company-hero { padding: 52px 0 70px; }

.company-hero__grid {
    display: grid;
    min-height: 680px;
    grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #f3f7f0 0%, #fff 68%);
    box-shadow: 0 30px 80px rgba(26, 45, 20, .1);
}

.company-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px 38px 54px 68px;
}

.company-hero h1,
.contacts-hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--safina-ink);
    font-size: clamp(48px, 5.1vw, 76px);
    font-weight: 900;
    line-height: .99;
    letter-spacing: -.055em;
}

.company-hero__lead {
    max-width: 670px;
    margin: 28px 0 0;
    color: #536076;
    font-size: 19px;
    line-height: 1.65;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 54px;
    padding-top: 30px;
    border-top: 1px solid var(--safina-line);
}

.company-stat strong {
    display: block;
    color: var(--safina-green-dark);
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.company-stat span {
    display: block;
    margin-top: 9px;
    color: var(--safina-muted);
    font-size: 13px;
    font-weight: 600;
}

.company-hero__visual { position: relative; min-height: 620px; overflow: hidden; }
.company-hero__visual::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 18%;
    background: linear-gradient(90deg, #fff, transparent);
    content: "";
    pointer-events: none;
}
.company-hero__visual img { width: 100%; height: 100%; object-fit: cover; }

.company-hero__note {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 1;
    max-width: 260px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
    color: #fff;
    background: rgba(12, 24, 15, .55);
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
}
.company-hero__note span { display: block; margin-bottom: 4px; color: #b8f3a5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.company-hero__note strong { font-size: 16px; line-height: 1.4; }

/* Story */
.company-story__grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: 76px; align-items: center; }
.company-story__media { position: relative; height: 590px; }
.company-story__media img { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; box-shadow: 0 26px 70px rgba(19, 36, 14, .14); }
.company-story__stamp {
    position: absolute;
    right: -24px;
    bottom: 34px;
    display: flex;
    width: 180px;
    height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 9px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    background: var(--safina-green);
    box-shadow: 0 20px 50px rgba(46, 170, 8, .25);
}
.company-story__stamp strong { font-size: 30px; font-weight: 900; }
.company-story__stamp span { max-width: 100px; margin-top: 4px; font-size: 12px; line-height: 1.3; }
.company-story__cms > *:first-child { margin-top: 0; }
.company-story__cms > * { color: inherit; font: inherit; }

.company-checklist { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.company-checklist li { position: relative; padding-left: 34px; color: #354258; font-size: 16px; font-weight: 650; line-height: 1.5; }
.company-checklist li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--safina-green);
    content: "✓";
    font-size: 13px;
    font-weight: 900;
}

/* Principles */
.company-principles { background: var(--safina-soft); }
.company-principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.company-principle {
    min-height: 300px;
    padding: 34px;
    border: 1px solid rgba(46, 170, 8, .08);
    border-radius: 24px;
    background: rgba(255,255,255,.8);
    transition: transform .25s ease, border-color .25s ease;
}
.company-principle:hover { transform: translateY(-6px); border-color: rgba(46, 170, 8, .3); }
.company-principle__number { display: block; color: rgba(46, 170, 8, .28); font-size: 48px; font-weight: 900; line-height: 1; }
.company-principle h3 { margin: 46px 0 14px; font-size: 22px; font-weight: 850; line-height: 1.2; }
.company-principle p { margin: 0; color: var(--safina-muted); font-size: 15px; line-height: 1.65; }

/* Production */
.company-production__grid { display: grid; height: 620px; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.company-production__item { position: relative; overflow: hidden; border-radius: 24px; color: #fff !important; }
.company-production__item--large { grid-row: 1 / 3; }
.company-production__item::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(6, 12, 8, .8)); content: ""; }
.company-production__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.company-production__item:hover img { transform: scale(1.035); }
.company-production__item span { position: absolute; right: 24px; bottom: 22px; left: 24px; z-index: 1; }
.company-production__item b { display: block; font-size: 21px; font-weight: 850; }
.company-production__item small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 13px; }

/* Useful links */
.company-links { padding-top: 20px; }
.company-links__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.company-link-card {
    position: relative;
    min-height: 290px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--safina-line);
    border-radius: 24px;
    color: var(--safina-ink) !important;
    text-decoration: none !important;
    background: #fff;
    transition: transform .25s ease, border-color .25s ease;
}
.company-link-card::after {
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,170,8,.17), rgba(46,170,8,0) 70%);
    content: "";
}
.company-link-card:hover { transform: translateY(-5px); border-color: rgba(46,170,8,.35); }
.company-link-card__eyebrow { color: var(--safina-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.company-link-card h3 { margin: 32px 0 12px; font-size: 26px; font-weight: 900; }
.company-link-card p { max-width: 350px; margin: 0; color: var(--safina-muted); font-size: 15px; line-height: 1.6; }
.company-link-card b { position: absolute; bottom: 30px; left: 34px; color: var(--safina-green-dark); font-size: 14px; }
.company-link-card b span { margin-left: 8px; font-size: 20px; }

.company-cta { padding-top: 30px; }
.company-cta__inner {
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 54px 64px;
    overflow: hidden;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.13), transparent 18rem),
        linear-gradient(135deg, #163c16, #2da308);
}
.company-cta h2 { max-width: 840px; color: #fff; }
.company-cta p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; }
.company-cta .page-button { flex: 0 0 auto; }

/* Contacts */
.contacts-hero { padding: 72px 0 170px; background: linear-gradient(135deg, #eef6ea, #fff 70%); }
.contacts-hero__inner { text-align: center; }
.contacts-hero h1 { margin-inline: auto; }
.contacts-hero p { max-width: 760px; margin: 28px auto 0; color: var(--safina-muted); font-size: 19px; line-height: 1.65; }

.contacts-channels { position: relative; z-index: 2; margin-top: -100px; }
.contacts-channels__grid { display: grid; grid-template-columns: 1.08fr .92fr 1.18fr; gap: 18px; }
.contact-channel {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--safina-line);
    border-radius: 24px;
    color: var(--safina-ink) !important;
    text-decoration: none !important;
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 60px rgba(22, 44, 17, .09);
    transition: transform .25s ease, border-color .25s ease;
}
.contact-channel:hover { transform: translateY(-4px); border-color: rgba(46,170,8,.3); }
.contact-channel__label { margin-bottom: 23px; color: var(--safina-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-channel strong,
.contact-channel__phones a { display: block; color: var(--safina-ink); font-size: 22px; font-weight: 850; line-height: 1.45; text-decoration: none !important; }
.contact-channel small { margin-top: auto; padding-top: 20px; color: var(--safina-muted); font-size: 13px; }
.contact-channel__phones { display: grid; gap: 2px; }
.contact-messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-messenger { display: inline-flex; height: 42px; align-items: center; gap: 8px; padding: 0 13px; border-radius: 11px; color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none !important; }
.contact-messenger img { width: 22px; height: 22px; object-fit: contain; }
.contact-messenger svg { display: block; flex: 0 0 22px; }
.contact-messenger span { font-size: 11px; font-weight: 900; }
.contact-messenger--max { background: #5c74f6; }
.contact-messenger--tg { background: #21a8df; }
.contact-messenger--wa { background: #18c66b; }

.contacts-location { padding-bottom: 54px; }
.contacts-location__grid {
    display: grid;
    min-height: 610px;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .75fr);
    overflow: hidden;
    border: 1px solid var(--safina-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(20, 42, 16, .09);
}
.contacts-map,
.contacts-map #map-card { min-height: 610px; width: 100%; }
.contacts-location__card { display: flex; flex-direction: column; justify-content: center; padding: 52px; background: #fff; }
.contacts-location__card p { margin: 22px 0 0; color: #4f5b70; font-size: 17px; line-height: 1.7; }
.contacts-route { display: inline-flex; align-items: center; gap: 9px; margin-top: 25px; color: var(--safina-green-dark) !important; font-size: 15px; font-weight: 800; text-decoration: none !important; }
.contacts-route span { font-size: 21px; transition: transform .2s ease; }
.contacts-route:hover span { transform: translateX(4px); }
.contacts-schedule { margin: 38px 0 0; padding-top: 26px; border-top: 1px solid var(--safina-line); }
.contacts-schedule div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; }
.contacts-schedule dt { color: var(--safina-muted); font-weight: 600; }
.contacts-schedule dd { margin: 0; color: var(--safina-ink); font-weight: 800; }

.contacts-details { padding-top: 44px; }
.contacts-details__grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 20px; }
.contacts-requisites,
.contacts-form-card { padding: 48px; border: 1px solid var(--safina-line); border-radius: 26px; background: #fff; }
.contacts-requisites dl { margin: 34px 0 0; }
.contacts-requisites dl div { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--safina-line); }
.contacts-requisites dt { color: var(--safina-muted); font-weight: 600; }
.contacts-requisites dd { margin: 0; color: var(--safina-ink); font-weight: 800; }
.contacts-form-card { background: var(--safina-soft); }
.contacts-form { display: grid; gap: 17px; margin-top: 28px; }
.contacts-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contacts-form label { display: grid; gap: 8px; margin: 0; color: #354258; font-size: 13px; font-weight: 800; }
.contacts-form label small { color: var(--safina-muted); font-weight: 500; }
.contacts-form input,
.contacts-form textarea {
    width: 100%;
    border: 1px solid rgba(17,27,46,.12);
    border-radius: 12px;
    outline: none;
    color: var(--safina-ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contacts-form input { height: 52px; padding: 0 15px; }
.contacts-form textarea { min-height: 104px; padding: 14px 15px; resize: vertical; }
.contacts-form input:focus,
.contacts-form textarea:focus { border-color: rgba(46,170,8,.6); box-shadow: 0 0 0 4px rgba(46,170,8,.08); }
.contacts-form .page-button { justify-self: start; min-width: 210px; }
.contacts-form__privacy { color: var(--safina-muted); font-size: 11px; line-height: 1.5; }

/* Contacts visual hero */
.contacts-hero {
    padding: 52px 0 160px;
    background:
        radial-gradient(circle at 10% 30%, rgba(46, 170, 8, .1), transparent 22rem),
        linear-gradient(135deg, #eef6ea, #fff 70%);
}
.contacts-hero__grid {
    display: grid;
    min-height: 570px;
    grid-template-columns: .85fr 1.15fr;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(26, 45, 20, .1);
}
.contacts-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 34px 60px 62px;
    text-align: left;
}
.contacts-hero h1 { margin: 0; }
.contacts-hero p { margin: 26px 0 0; }
.contacts-hero .page-button { margin-top: 30px; }
.contacts-hero__visual { position: relative; min-height: 570px; overflow: hidden; }
.contacts-hero__visual::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 16%;
    background: linear-gradient(90deg, #fff, transparent);
    content: "";
}
.contacts-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.contacts-hero__note {
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 2;
    display: grid;
    gap: 4px;
    padding: 18px 21px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 17px;
    color: #fff;
    background: rgba(10, 24, 12, .58);
    backdrop-filter: blur(14px);
}
.contacts-hero__note strong { font-size: 15px; }
.contacts-hero__note span { color: rgba(255, 255, 255, .72); font-size: 12px; }

/* Delivery */
.delivery-hero { padding: 52px 0 70px; }
.delivery-hero__grid {
    display: grid;
    min-height: 680px;
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #f3f7f0 0%, #fff 70%);
    box-shadow: 0 30px 80px rgba(26, 45, 20, .1);
}
.delivery-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 36px 54px 68px;
}
.delivery-hero h1 {
    margin: 0;
    color: var(--safina-ink);
    font-size: clamp(48px, 5vw, 74px);
    font-weight: 900;
    line-height: .99;
    letter-spacing: -.055em;
}
.delivery-hero__content > p {
    max-width: 660px;
    margin: 27px 0 0;
    color: #536076;
    font-size: 18px;
    line-height: 1.65;
}
.delivery-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 46px;
    padding-top: 27px;
    border-top: 1px solid var(--safina-line);
}
.delivery-hero__facts strong { display: block; color: var(--safina-green-dark); font-size: 18px; font-weight: 900; }
.delivery-hero__facts span { display: block; margin-top: 7px; color: var(--safina-muted); font-size: 12px; line-height: 1.35; }
.delivery-hero__visual { position: relative; min-height: 620px; overflow: hidden; }
.delivery-hero__visual::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 18%;
    background: linear-gradient(90deg, #fff, transparent);
    content: "";
}
.delivery-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.delivery-hero__note {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    max-width: 280px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 18px;
    color: #fff;
    background: rgba(10, 24, 12, .57);
    backdrop-filter: blur(14px);
}
.delivery-hero__note span { display: block; margin-bottom: 5px; color: #b8f3a5; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.delivery-hero__note strong { font-size: 15px; line-height: 1.4; }

.delivery-process { background: var(--safina-soft); }
.delivery-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.delivery-step {
    position: relative;
    min-height: 300px;
    padding: 31px;
    border: 1px solid rgba(46,170,8,.08);
    border-radius: 23px;
    background: #fff;
    transition: transform .25s ease, border-color .25s ease;
}
.delivery-step:hover { transform: translateY(-5px); border-color: rgba(46,170,8,.3); }
.delivery-step > span { color: rgba(46,170,8,.26); font-size: 43px; font-weight: 900; line-height: 1; }
.delivery-step__icon {
    display: grid;
    width: 47px;
    height: 47px;
    margin-top: 28px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #43c312, #268d07);
    box-shadow: 0 11px 25px rgba(46,170,8,.2);
    font-size: 22px;
    font-weight: 900;
}
.delivery-step h3 { margin: 25px 0 12px; font-size: 21px; font-weight: 900; line-height: 1.2; }
.delivery-step p { margin: 0; color: var(--safina-muted); font-size: 14px; line-height: 1.65; }

.delivery-options { position: relative; overflow: hidden; }
.delivery-options::before {
    position: absolute;
    top: -140px;
    left: -160px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(46,170,8,.055);
    content: "";
}
.delivery-options__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.delivery-options__content > h2,
.delivery-care__content > h2 { margin: 0; }
.delivery-options__content > p,
.delivery-care__content > p {
    margin: 22px 0 0;
    color: var(--safina-muted);
    font-size: 17px;
    line-height: 1.7;
}
.delivery-options__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 34px; }
.delivery-options__list article { padding: 23px; border: 1px solid var(--safina-line); border-radius: 18px; background: #fff; }
.delivery-options__list strong { display: block; color: var(--safina-ink); font-size: 16px; line-height: 1.35; }
.delivery-options__list p { margin: 10px 0 0; color: var(--safina-muted); font-size: 13px; line-height: 1.55; }
.delivery-options__card {
    padding: 44px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0, rgba(255,255,255,.13), transparent 15rem),
        linear-gradient(145deg, #182816, #2f9b0d);
    box-shadow: 0 30px 70px rgba(25, 67, 14, .2);
}
.delivery-options__eyebrow { display: block; color: #bdf2ab; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.delivery-options__card ul { display: grid; gap: 14px; margin: 27px 0 33px; padding: 0; list-style: none; }
.delivery-options__card li { position: relative; padding-left: 28px; color: rgba(255,255,255,.84); font-size: 15px; }
.delivery-options__card li::before { position: absolute; left: 0; color: #a9ef8f; content: "✓"; font-weight: 900; }

.delivery-care { padding-top: 48px; background: var(--safina-soft); }
.delivery-care__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.delivery-care__media { position: relative; height: 560px; }
.delivery-care__media img { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; box-shadow: 0 26px 70px rgba(19,36,14,.14); }

.delivery-faq { padding-bottom: 54px; }
.delivery-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.delivery-faq details { padding: 0 25px; border: 1px solid var(--safina-line); border-radius: 18px; background: #fff; }
.delivery-faq summary {
    position: relative;
    padding: 23px 38px 23px 0;
    color: var(--safina-ink);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
.delivery-faq summary::-webkit-details-marker { display: none; }
.delivery-faq summary::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--safina-green-dark);
    background: #eef8e9;
    content: "+";
    font-size: 21px;
    line-height: 26px;
    text-align: center;
    transform: translateY(-50%);
}
.delivery-faq details[open] summary::after { content: "−"; }
.delivery-faq details p { margin: -2px 0 23px; color: var(--safina-muted); font-size: 14px; line-height: 1.65; }

.delivery-cta { padding-top: 34px; }
.delivery-cta__inner {
    display: flex;
    min-height: 310px;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 52px 62px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,.14), transparent 18rem),
        linear-gradient(135deg, #163c16, #2da308);
}
.delivery-cta h2 { max-width: 760px; color: #fff; }
.delivery-cta p { max-width: 680px; margin: 18px 0 0; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.6; }
.delivery-cta__actions { display: grid; flex: 0 0 auto; gap: 14px; text-align: center; }
.delivery-cta__actions > a { color: #fff; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1199px) {
    .page-shell { width: min(1120px, calc(100% - 36px)); }
    .company-hero__grid { grid-template-columns: 1fr .85fr; min-height: 610px; }
    .company-hero__content { padding: 56px 30px 48px 50px; }
    .company-story__grid { gap: 50px; }
    .company-principles__grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-channels__grid { grid-template-columns: 1fr 1fr; }
    .contact-channel--messengers { grid-column: 1 / 3; }
    .contacts-hero__grid { grid-template-columns: .9fr 1.1fr; }
    .contacts-hero__inner { padding: 50px 30px 50px 48px; }
    .delivery-hero__grid { grid-template-columns: 1fr .9fr; min-height: 610px; }
    .delivery-hero__content { padding: 54px 30px 48px 50px; }
    .delivery-process__grid { grid-template-columns: repeat(2, 1fr); }
    .delivery-options__grid { gap: 35px; }
    .delivery-options__list { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .page-section { padding: 70px 0; }
    .company-hero { padding-top: 24px; }
    .company-hero__grid { grid-template-columns: 1fr; }
    .company-hero__content { order: 2; padding: 48px; }
    .company-hero__visual { min-height: 440px; }
    .company-hero__visual::after { inset: auto 0 0; width: auto; height: 18%; background: linear-gradient(transparent, #fff); }
    .company-story__grid { grid-template-columns: 1fr; }
    .company-story__media { height: 520px; }
    .company-story__stamp { right: 24px; }
    .company-production__grid { height: 800px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr .8fr; }
    .company-production__item--large { grid-row: auto; grid-column: 1 / 3; }
    .company-links__grid { grid-template-columns: 1fr; }
    .company-link-card { min-height: 250px; }
    .company-cta__inner { align-items: flex-start; flex-direction: column; }
    .contacts-location__grid { grid-template-columns: 1fr; }
    .contacts-map, .contacts-map #map-card { min-height: 470px; }
    .contacts-location__card { padding: 42px; }
    .contacts-details__grid { grid-template-columns: 1fr; }
    .contacts-hero { padding-top: 24px; }
    .contacts-hero__grid { grid-template-columns: 1fr; }
    .contacts-hero__inner { order: 2; padding: 46px; }
    .contacts-hero__visual { min-height: 430px; }
    .contacts-hero__visual::before { inset: auto 0 0; width: auto; height: 18%; background: linear-gradient(transparent, #fff); }
    .delivery-hero { padding-top: 24px; }
    .delivery-hero__grid { grid-template-columns: 1fr; }
    .delivery-hero__content { order: 2; padding: 48px; }
    .delivery-hero__visual { min-height: 440px; }
    .delivery-hero__visual::before { inset: auto 0 0; width: auto; height: 18%; background: linear-gradient(transparent, #fff); }
    .delivery-options__grid,
    .delivery-care__grid { grid-template-columns: 1fr; }
    .delivery-care__media { height: 500px; }
    .delivery-faq__grid { grid-template-columns: 1fr; }
    .delivery-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
    .page-shell { width: calc(100% - 28px); }
    .page-section { padding: 54px 0; }
    .page-kicker { margin-bottom: 15px; font-size: 10px; }
    .page-heading { margin-bottom: 32px; }
    .page-heading h2,
    .company-story h2,
    .contacts-location h2,
    .contacts-details h2,
    .company-cta h2 { font-size: 34px; }
    .page-heading--row { display: block; }
    .page-heading--row > p { margin: 18px 0 0; }
    .company-hero__grid { min-height: 0; border-radius: 22px; }
    .company-hero__visual { min-height: 310px; }
    .company-hero__note { right: 14px; bottom: 14px; max-width: 215px; padding: 13px 16px; }
    .company-hero__content { padding: 34px 22px 30px; }
    .company-hero h1,
    .contacts-hero h1 { font-size: 40px; line-height: 1.02; }
    .company-hero__lead,
    .contacts-hero p { margin-top: 20px; font-size: 16px; }
    .page-actions { display: grid; margin-top: 26px; }
    .page-button { width: 100%; min-height: 50px; padding: 0 18px; }
    .company-stats { grid-template-columns: 1fr 1fr; margin-top: 34px; }
    .company-stat strong { font-size: 26px; }
    .company-story__grid { gap: 38px; }
    .company-story__media { height: 390px; }
    .company-story__stamp { right: 14px; bottom: 14px; width: 136px; height: 136px; border-width: 6px; }
    .company-story__stamp strong { font-size: 24px; }
    .company-principles__grid { grid-template-columns: 1fr; }
    .company-principle { min-height: 0; padding: 27px; }
    .company-principle h3 { margin-top: 24px; }
    .company-production__grid { display: grid; height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
    .company-production__item,
    .company-production__item--large { grid-column: auto; grid-row: auto; height: 300px; }
    .company-link-card { padding: 28px; }
    .company-link-card b { left: 28px; }
    .company-cta__inner { min-height: 0; padding: 38px 26px; border-radius: 22px; }
    .contacts-hero { padding: 52px 0 120px; }
    .contacts-channels { margin-top: -76px; }
    .contacts-channels__grid { grid-template-columns: 1fr; }
    .contact-channel--messengers { grid-column: auto; }
    .contact-channel { min-height: 210px; padding: 27px; }
    .contact-channel strong,
    .contact-channel__phones a { font-size: 19px; }
    .contacts-location__grid { border-radius: 22px; }
    .contacts-map, .contacts-map #map-card { min-height: 390px; }
    .contacts-location__card { padding: 32px 25px; }
    .contacts-details { padding-top: 20px; }
    .contacts-requisites,
    .contacts-form-card { padding: 30px 24px; border-radius: 21px; }
    .contacts-requisites dl div { grid-template-columns: 1fr; gap: 5px; }
    .contacts-form__row { grid-template-columns: 1fr; }
    .contacts-form .page-button { width: 100%; }
    .contacts-hero { padding: 20px 0 110px; }
    .contacts-hero__grid { border-radius: 22px; }
    .contacts-hero__visual { min-height: 285px; }
    .contacts-hero__inner { padding: 32px 22px 35px; }
    .contacts-hero .page-button { width: 100%; }
    .contacts-hero__note { right: 13px; bottom: 13px; padding: 13px 15px; }
    .delivery-hero__grid { min-height: 0; border-radius: 22px; }
    .delivery-hero__visual { min-height: 300px; }
    .delivery-hero__content { padding: 34px 22px 31px; }
    .delivery-hero h1 { font-size: 40px; line-height: 1.02; }
    .delivery-hero__content > p { margin-top: 20px; font-size: 16px; }
    .delivery-hero__facts { grid-template-columns: 1fr 1fr; margin-top: 34px; }
    .delivery-hero__note { right: 14px; bottom: 14px; max-width: 220px; padding: 13px 16px; }
    .delivery-process__grid { grid-template-columns: 1fr; }
    .delivery-step { min-height: 0; padding: 27px; }
    .delivery-options__grid,
    .delivery-care__grid { gap: 34px; }
    .delivery-options__list { margin-top: 27px; }
    .delivery-options__card { padding: 31px 24px; border-radius: 22px; }
    .delivery-care__media { height: 340px; }
    .delivery-faq details { padding: 0 20px; }
    .delivery-cta__inner { min-height: 0; padding: 37px 25px; border-radius: 22px; }
    .delivery-cta__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .company-page *,
    .contacts-page *,
    .delivery-page *,
    .privacy-page * { scroll-behavior: auto !important; transition: none !important; }
}

/* Privacy policy */
.privacy-page {
    color: #111a2d;
    background:
        radial-gradient(circle at 8% 18%, rgba(55, 163, 3, .07), transparent 24%),
        linear-gradient(180deg, #f8fbf6 0, #fff 520px);
}
.privacy-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 92px;
    background: #15200f;
    color: #fff;
}
.privacy-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 82% 28%, rgba(114, 215, 58, .28), transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: auto, 38px 38px;
    opacity: .85;
}
.privacy-hero::after {
    position: absolute;
    right: -120px;
    bottom: -210px;
    width: 540px;
    height: 540px;
    border: 100px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
    content: "";
}
.privacy-hero .page-shell { position: relative; z-index: 1; }
.privacy-hero .page-kicker { color: #91df6b; }
.privacy-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(46px, 5.4vw, 78px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.045em;
}
.privacy-hero h1 em { color: #70ce41; font-style: normal; }
.privacy-hero > .page-shell > p {
    max-width: 720px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.65;
}
.privacy-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}
.privacy-hero__meta span {
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .74);
    backdrop-filter: blur(12px);
}
.privacy-hero__meta b { margin-right: 7px; color: #fff; }
.privacy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}
.privacy-nav {
    position: sticky;
    top: calc(var(--header-height, 100px) + 24px);
    padding: 24px;
    border: 1px solid #e3eadf;
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 60px rgba(19, 36, 12, .08);
    backdrop-filter: blur(18px);
}
.privacy-nav > strong {
    display: block;
    margin-bottom: 17px;
    font-size: 18px;
}
.privacy-nav nav { display: grid; }
.privacy-nav a {
    display: grid;
    grid-template-columns: 29px 1fr;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid #edf1eb;
    color: #586273;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.privacy-nav a:hover { color: #2fad00; transform: translateX(3px); }
.privacy-nav a span { color: #37a303; font-size: 11px; font-weight: 800; }
.privacy-document {
    min-width: 0;
    padding: 12px 0 0;
}
.privacy-intro {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 17px;
    align-items: start;
    padding: 24px;
    border: 1px solid #dcebd5;
    border-radius: 18px;
    background: #f2f9ef;
}
.privacy-intro > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #37a303;
    color: #fff;
    font: 800 20px/1 Georgia, serif;
}
.privacy-intro p { margin: 0; }
.privacy-document section {
    position: relative;
    padding: 56px 0 5px 72px;
    scroll-margin-top: calc(var(--header-height, 100px) + 35px);
}
.privacy-document section + section { border-top: 1px solid #e8ede6; }
.privacy-document__number {
    position: absolute;
    top: 59px;
    left: 0;
    color: #bcdcab;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.04em;
}
.privacy-document h2 {
    margin: 0 0 22px;
    color: #111a2d;
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.privacy-document p,
.privacy-document li {
    color: #586273;
    font-size: 16px;
    line-height: 1.75;
}
.privacy-document p { margin: 0 0 16px; }
.privacy-document a { color: #258d00; text-decoration: underline; text-underline-offset: 3px; }
.privacy-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.privacy-list li { position: relative; padding-left: 28px; }
.privacy-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    border: 3px solid #dff1d6;
    border-radius: 50%;
    background: #37a303;
    box-sizing: content-box;
    content: "";
}
.privacy-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid #e2e9df;
    border-radius: 17px;
}
.privacy-facts div { display: grid; gap: 7px; padding: 22px; border-right: 1px solid #e2e9df; border-bottom: 1px solid #e2e9df; }
.privacy-facts div:nth-child(2n) { border-right: 0; }
.privacy-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.privacy-facts span,
.privacy-contact span { color: #889282; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.privacy-facts b { color: #202838; font-size: 15px; line-height: 1.5; }
.privacy-table-wrap { overflow-x: auto; margin-bottom: 20px; border: 1px solid #e1e8de; border-radius: 17px; }
.privacy-table { width: 100%; min-width: 690px; border-collapse: collapse; }
.privacy-table th,
.privacy-table td { padding: 17px 19px; border-bottom: 1px solid #e8ede6; text-align: left; vertical-align: top; }
.privacy-table th { background: #f2f7ef; color: #253021; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.privacy-table td { color: #586273; font-size: 14px; line-height: 1.55; }
.privacy-table tr:last-child td { border-bottom: 0; }
.privacy-cookie-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 22px 0;
}
.privacy-cookie-card div {
    display: grid;
    gap: 9px;
    padding: 22px;
    border-radius: 16px;
    background: #f5f7f4;
}
.privacy-cookie-card b { color: #253021; }
.privacy-cookie-card span { color: #667064; font-size: 14px; line-height: 1.6; }
.privacy-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}
.privacy-contact > div { display: grid; gap: 8px; padding: 22px; border-radius: 16px; background: #15200f; }
.privacy-contact a { color: #fff; font-size: 16px; font-weight: 700; text-decoration-color: rgba(255, 255, 255, .3); }
.contacts-form__privacy a,
.form-privacy-note a,
.footer-privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy-note { display: block; margin: 12px 0 0; color: #778070; font-size: 12px; line-height: 1.5; text-align: center; }
.footer-privacy { color: rgba(255, 255, 255, .62); font-size: 13px; }

@media (max-width: 991px) {
    .privacy-hero { padding: 82px 0 72px; }
    .privacy-layout { grid-template-columns: 1fr; gap: 28px; }
    .privacy-nav { position: static; padding: 19px 22px; }
    .privacy-nav nav { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 767px) {
    .privacy-hero { padding: 56px 0 50px; }
    .privacy-hero h1 { font-size: 39px; }
    .privacy-hero h1 br { display: none; }
    .privacy-hero > .page-shell > p { margin-top: 23px; font-size: 15px; }
    .privacy-hero__meta { display: grid; margin-top: 28px; }
    .privacy-hero__meta span { border-radius: 15px; font-size: 13px; line-height: 1.45; }
    .privacy-nav nav { grid-template-columns: 1fr; }
    .privacy-document { padding-top: 0; }
    .privacy-intro { grid-template-columns: 36px 1fr; padding: 20px; }
    .privacy-intro > span { width: 36px; height: 36px; font-size: 17px; }
    .privacy-document section { padding: 46px 0 2px; }
    .privacy-document__number { position: static; display: inline-block; margin-bottom: 9px; font-size: 16px; }
    .privacy-document h2 { font-size: 27px; }
    .privacy-document p,
    .privacy-document li { font-size: 15px; line-height: 1.68; }
    .privacy-facts,
    .privacy-cookie-card,
    .privacy-contact { grid-template-columns: 1fr; }
    .privacy-facts div { border-right: 0; }
    .privacy-facts div:nth-last-child(2) { border-bottom: 1px solid #e2e9df; }
    .privacy-contact a { font-size: 15px; }
}
