:root {
    --primary: #0754bd;
    --primary-hover: #0648a0;
    --primary-dark: #062d6b;
    --navy: #032b66;
    --deep-navy: #022352;
    --light-blue: #edf5ff;
    --pale-blue: #f6f9fe;
    --page-bg: #ffffff;
    --section-bg: #f7f9fc;
    --border: #dfe7f1;
    --border-dark: #cbd8e8;
    --text-main: #102d63;
    --text-body: #34445f;
    --text-muted: #758198;
    --white: #ffffff;
    --success: #16834b;
    --error: #c73737;
    --container-width: 1820px;
    --wide-width: 2200px;
    --radius-sm: 6px;
    --radius: 8px;
    --shadow: 0 18px 46px rgba(11, 45, 92, 0.12);
    --shadow-soft: 0 10px 28px rgba(11, 45, 92, 0.08);
    --focus-ring: 0 0 0 4px rgba(7, 84, 189, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Inter, Arial, "Helvetica Neue", sans-serif;
    color: var(--text-body);
    background: var(--page-bg);
    line-height: 1.58;
    overflow-wrap: anywhere;
    word-break: normal;
}

img,
svg {
    display: block;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.container {
    width: min(100% - 56px, var(--container-width));
    margin-inline: auto;
}

@media (min-width: 2100px) {
    .container {
        width: min(100% - 72px, var(--wide-width));
    }
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 12px 18px;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-sm);
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button--primary {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.button--outline {
    color: var(--primary);
    background: var(--white);
    border-color: var(--primary);
}

.button--outline:hover,
.button--outline:focus-visible {
    color: var(--white);
    background: var(--primary);
}

.button:active {
    transform: translateY(1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.9), transparent 18%),
        radial-gradient(circle at 78% 28%, rgba(7, 84, 189, 0.14), transparent 24%),
        linear-gradient(135deg, #f8fbff 0%, #e9f3ff 48%, #d8e8f6 100%);
}

.image-placeholder::before,
.image-placeholder::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.image-placeholder::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 84, 189, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 84, 189, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.35;
}

.image-placeholder::after {
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(7, 84, 189, 0.12);
    filter: blur(2px);
}

.contact-methods {
    position: relative;
    z-index: 4;
    margin-top: -44px;
    padding-bottom: 24px;
}

.contact-methods__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.contact-card,
.contact-form-panel,
.company-info-panel,
.office-card,
.benefits-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.contact-card {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 18px;
    overflow: hidden;
    border-color: #c9d9ea;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(11, 45, 92, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 3px;
    background: #052a64;
}

.contact-card:hover,
.contact-card:focus-visible {
    border-color: rgba(7, 84, 189, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.contact-card__icon,
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(7, 84, 189, 0.25);
    border-radius: var(--radius);
    background: var(--light-blue);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    color: #052a64;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.contact-card svg,
.info-icon svg,
.benefit-item svg,
.privacy-note svg,
.back-to-top svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card__icon svg {
    width: 48px;
    height: 48px;
    color: currentColor;
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-card .contact-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-card strong {
    color: #052a64;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-card .contact-card__desc {
    color: #62728b;
    font-size: 13px;
    line-height: 1.45;
    flex: 1;
}

.contact-card .contact-card__value {
    margin-top: 12px;
    padding-top: 12px;
    color: #07306d;
    border-top: 1px solid #d8e2ee;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-main {
    padding: 56px 0 34px;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
    gap: 28px;
    align-items: start;
}

.contact-form-panel,
.company-info-panel {
    padding: 36px;
}

.contact-form-panel h2,
.company-info-panel h2,
.office-service-section h2,
.contact-benefits h2,
.location-section h2 {
    margin-bottom: 24px;
    color: var(--text-main);
    font-size: clamp(32px, 2.2vw, 46px);
    line-height: 1.15;
    letter-spacing: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

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

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

.form-field label {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 800;
}

.form-field label span {
    color: var(--error);
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 56px;
    padding: 15px 17px;
    color: var(--text-body);
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-size: 16px;
    line-height: 1.45;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 168px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8994a8;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: var(--error);
}

.field-error {
    min-height: 20px;
    color: var(--error);
    font-size: 14px;
}

.form-submit {
    min-width: 260px;
    margin-top: 18px;
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.privacy-note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
}

.form-success {
    display: none;
    margin: 18px 0 0;
    padding: 14px 16px;
    color: var(--success);
    background: rgba(22, 131, 75, 0.1);
    border: 1px solid rgba(22, 131, 75, 0.22);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.form-success.is-visible {
    display: block;
}

.company-info-list {
    display: grid;
    gap: 22px;
}

.company-info-list li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.info-icon {
    width: 52px;
    height: 52px;
    border: 0;
}

.info-icon svg {
    width: 31px;
    height: 31px;
}

.company-info-list strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 19px;
    line-height: 1.25;
}

.company-info-list small {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.5;
}

.logistics-card {
    margin-top: 30px;
}

.logistics-card__content {
    display: none;
}

.logistics-map-image {
    height: 360px;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.company-info-cta {
    display: none;
}

.office-service-section,
.contact-benefits,
.location-section {
    padding: 34px 0;
}

.location-section {
    padding-bottom: 44px;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.office-card {
    display: grid;
    grid-template-columns: minmax(260px, 45%) minmax(0, 55%);
    gap: 28px;
    align-items: center;
    padding: 22px;
}

.office-image,
.logistics-image {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 16 / 10;
}

.office-image {
    background:
        linear-gradient(115deg, rgba(5, 51, 110, 0.76), rgba(17, 132, 211, 0.24)),
        repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.35) 20px 22px),
        linear-gradient(135deg, #dbe8f7, #eff6ff);
}

.logistics-image {
    background:
        radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.8), transparent 18%),
        linear-gradient(170deg, rgba(7, 84, 189, 0.55) 0 46%, rgba(2, 35, 82, 0.78) 47% 52%, #d6e9fb 53%),
        linear-gradient(135deg, #e4f0fb, #bcd4eb);
}

.office-card__content h3 {
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-size: 28px;
    line-height: 1.2;
}

.office-card__content h3 span {
    font-size: 22px;
    color: var(--text-main);
}

.office-card__content address {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    font-style: normal;
    font-size: 17px;
    line-height: 1.45;
}

.office-card__content address a {
    color: var(--text-body);
}

.office-card__content address a:hover,
.office-card__content address a:focus-visible {
    color: var(--primary);
}

.office-card__content p,
.service-list {
    margin-bottom: 0;
    color: var(--text-body);
    font-size: 17px;
}

.service-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.service-list li {
    position: relative;
    padding-left: 24px;
}

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

.benefits-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.benefit-item {
    min-height: 228px;
    padding: 34px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.benefit-item:nth-child(3n) {
    border-right: 0;
}

.benefit-item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.benefit-item:hover {
    background: var(--pale-blue);
}

.benefit-item svg {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--primary);
}

.benefit-item h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 23px;
    line-height: 1.22;
}

.benefit-item p {
    margin-bottom: 0;
    color: var(--text-body);
    font-size: 16px;
}

.location-section .map-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

body.map-fallback-fullscreen {
    overflow: hidden;
}

.location-section .map-wrapper.is-map-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
}

.location-section .map-container {
    width: 100%;
    height: 520px;
    min-height: 520px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light-blue);
}

.location-section .leaflet-container {
    font-family: inherit;
}

.location-map {
    height: 520px;
    border-color: var(--border-dark);
    background: #dff0ff;
}

.location-map::before,
.location-map::after {
    display: none;
}

.map-layer {
    position: absolute;
    inset: 0;
    transform-origin: 56% 48%;
    transition: transform 0.2s ease;
}

.map-layer svg {
    width: 100%;
    height: 100%;
}

.map-green {
    fill: #cbecd5;
    opacity: 0.72;
}

.map-river {
    fill: none;
    stroke: #85cef7;
    stroke-width: 28;
    stroke-linecap: round;
    opacity: 0.72;
}

.map-road {
    fill: none;
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 7;
}

.map-road.main {
    stroke: #f6e3a9;
    stroke-width: 10;
}

.map-city {
    fill: var(--text-main);
    font-size: 24px;
    font-weight: 800;
}

.map-city-sub {
    fill: var(--text-body);
    font-size: 18px;
    font-weight: 700;
}

.map-pin {
    position: absolute;
    left: 56%;
    top: 47%;
    width: 30px;
    height: 30px;
    background: var(--navy);
    border: 4px solid var(--white);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 8px 18px rgba(2, 35, 82, 0.24);
    transform: translate(-50%, -80%) rotate(-45deg);
}

.map-pin::after {
    content: "";
    position: absolute;
    inset: 7px;
    background: var(--white);
    border-radius: 50%;
}

.location-section .map-info-card {
    position: absolute;
    left: 32px;
    top: 32px;
    z-index: 500;
    width: min(460px, calc(100% - 128px));
    display: grid;
    gap: 14px;
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 16px;
}

.location-section .map-info-card strong {
    color: var(--text-main);
    font-size: 22px;
    line-height: 1.25;
}

.location-section .map-info-card span {
    color: var(--text-body);
    line-height: 1.5;
}

.map-route-link {
    justify-self: start;
    min-height: 32px;
    padding: 0;
    color: var(--primary);
    background: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 800;
}

.map-route-link:hover,
.map-route-link:focus-visible {
    color: var(--primary-hover);
    text-decoration: underline;
}

.location-section .map-controls {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1100;
    display: grid;
    gap: 132px;
}

.map-zoom {
    display: grid;
}

.map-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 10px rgba(11, 45, 92, 0.18);
    font-size: 27px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.map-button:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.map-button:last-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.map-controls > .map-button {
    border-radius: var(--radius-sm);
}

.map-button:hover,
.map-button:focus-visible {
    color: var(--primary);
    background: var(--light-blue);
}

.map-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.location-map:fullscreen,
.location-section .map-wrapper:fullscreen {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
}

.location-section .map-wrapper:fullscreen .map-container,
.location-section .map-wrapper.is-map-fullscreen .map-container {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
}

.contact-cta {
    padding-bottom: 48px;
}

.contact-cta__card {
    min-height: 132px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 28px 38px 28px 0;
    background: var(--light-blue);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cta-decoration {
    height: 100%;
    min-height: 132px;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 28% 40%, rgba(255, 255, 255, 0.94) 0 7px, rgba(7, 84, 189, 0.16) 8px 10px, transparent 11px),
        radial-gradient(circle at 68% 58%, rgba(255, 255, 255, 0.94) 0 6px, rgba(7, 84, 189, 0.14) 7px 9px, transparent 10px),
        linear-gradient(135deg, #eaf6ff, #d8eaf9);
}

.contact-cta h2 {
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 36px;
    line-height: 1.2;
}

.contact-cta p {
    margin-bottom: 0;
    color: var(--text-body);
    font-size: 18px;
}

.contact-cta__actions {
    display: flex;
    gap: 18px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: linear-gradient(120deg, var(--deep-navy), #053b83);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: 42px;
    padding: 42px 0;
}

.footer-brand p {
    max-width: 360px;
    margin: 16px 0 18px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-column__title {
    min-height: 30px;
    margin-bottom: 14px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    font-weight: 800;
    font-size: 16px;
    text-align: left;
}

.footer-column li {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--white);
    text-decoration: underline;
}

.button--footer {
    min-height: 42px;
    margin-top: 10px;
    padding-inline: 18px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
}

.button--footer:hover,
.button--footer:focus-visible {
    color: var(--deep-navy);
    background: var(--white);
}

.footer-bottom {
    min-height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 36px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--primary-hover);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1400px) {
    .contact-methods__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .company-info-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
        gap: 28px;
    }

    .company-info-panel h2 {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .logistics-card {
        margin-top: 0;
    }

    .logistics-map-image {
        height: 100%;
        min-height: 320px;
    }

    .office-card {
        grid-template-columns: 1fr;
    }

    .office-image,
    .logistics-image {
        min-height: 260px;
    }
}

@media (max-width: 992px) {
    .container {
        width: min(100% - 56px, var(--container-width));
    }

    .contact-methods {
        margin-top: -34px;
        padding-bottom: 36px;
    }

    .contact-card {
        min-height: 214px;
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 16px;
        padding: 34px 24px 26px;
    }

    .contact-card::before {
        width: 118px;
    }

    .contact-card__icon {
        width: 50px;
        height: 50px;
    }

    .contact-card__icon svg {
        width: 46px;
        height: 46px;
    }

    .contact-card strong {
        font-size: 21px;
    }

    .contact-card span span {
        margin-top: 10px;
        font-size: 16px;
    }

    .contact-card b {
        margin-top: 22px;
        padding-top: 20px;
        font-size: 19px;
    }

    .contact-form-panel,
    .company-info-panel {
        padding: 28px;
    }

    .company-info-panel {
        display: block;
    }

    .company-info-panel h2 {
        margin-bottom: 24px;
    }

    .logistics-card {
        margin-top: 28px;
    }

    .logistics-map-image {
        height: 300px;
    }

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

    .benefits-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-item,
    .benefit-item:nth-child(3n),
    .benefit-item:nth-last-child(-n + 3) {
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .benefit-item:nth-child(2n) {
        border-right: 0;
    }

    .benefit-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .contact-cta__card {
        grid-template-columns: 140px minmax(0, 1fr);
        padding-right: 24px;
    }

    .contact-cta__actions {
        grid-column: 2;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 40px, var(--container-width));
    }

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

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

    .form-field--full {
        grid-column: auto;
    }

    .contact-card {
        min-height: 180px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 26px 14px 18px;
    }

    .contact-card::before {
        width: 76px;
        height: 4px;
    }

    .contact-card__icon {
        width: 40px;
        height: 40px;
    }

    .contact-card__icon svg {
        width: 38px;
        height: 38px;
    }

    .contact-card strong {
        font-size: 15px;
    }

    .contact-card span span {
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.4;
    }

    .contact-card b {
        margin-top: 14px;
        padding-top: 13px;
        font-size: 13px;
    }

    .contact-form-panel h2,
    .company-info-panel h2,
    .office-service-section h2,
    .contact-benefits h2,
    .location-section h2 {
        font-size: 30px;
    }

    .company-info-panel {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .company-info-panel h2 {
        display: none;
    }

    .company-info-list {
        gap: 10px;
    }

    .company-info-list li {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        min-height: 80px;
        padding: 12px;
        background: var(--white);
        border: 1px solid rgba(224, 232, 244, 0.82);
        border-radius: 8px;
        box-shadow: 0 10px 26px rgba(11, 45, 92, 0.1);
    }

    .info-icon {
        width: 58px;
        height: 58px;
        background: #eef6ff;
        border: 0;
        border-radius: 8px;
    }

    .info-icon svg {
        width: 30px;
        height: 30px;
        color: #086ce4;
    }

    .company-info-list strong {
        margin-bottom: 5px;
        color: #0a3274;
        font-size: 17px;
        line-height: 1.22;
    }

    .company-info-list small {
        color: #2f446b;
        font-size: 15px;
        line-height: 1.45;
    }

    .logistics-card {
        position: relative;
        min-height: 360px;
        margin-top: 14px;
        overflow: hidden;
        background: #eef6ff;
        border: 1px solid rgba(224, 232, 244, 0.82);
        border-radius: 8px;
        box-shadow: 0 10px 26px rgba(11, 45, 92, 0.1);
    }

    .logistics-card__content {
        position: relative;
        z-index: 2;
        display: grid;
        gap: 10px;
        padding: 18px 18px 0;
        color: #0a3274;
    }

    .logistics-card__content strong {
        font-size: 18px;
        line-height: 1.25;
    }

    .logistics-card__content ul {
        display: grid;
        gap: 6px;
        margin: 0;
        padding: 0;
        color: #1c4073;
        font-size: 14px;
        line-height: 1.35;
    }

    .logistics-card__content li {
        position: relative;
        padding-left: 22px;
    }

    .logistics-card__content li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.16em;
        width: 14px;
        height: 14px;
        border: 2px solid #0874f2;
        border-radius: 50%;
        background:
            linear-gradient(135deg, transparent 50%, #0874f2 50%) 4px 6px / 5px 2px no-repeat,
            linear-gradient(45deg, transparent 50%, #0874f2 50%) 3px 7px / 3px 2px no-repeat;
    }

    .logistics-map-image {
        position: absolute;
        inset: 96px 0 0;
        height: auto;
        min-height: 0;
        border-radius: 0;
        background-position: center bottom;
        background-size: cover;
    }

    .company-info-cta {
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 34px;
        margin-top: 16px;
        padding: 0 20px;
        color: var(--white);
        background: linear-gradient(180deg, #0878f5, #0060d1);
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(0, 96, 209, 0.28);
        font-size: 18px;
        font-weight: 800;
    }

    .company-info-cta svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .office-card {
        padding: 18px;
    }

    .office-image,
    .logistics-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .benefits-card {
        grid-template-columns: 1fr;
    }

    .benefit-item,
    .benefit-item:nth-child(2n),
    .benefit-item:nth-child(3n),
    .benefit-item:nth-last-child(-n + 2),
    .benefit-item:nth-last-child(-n + 3) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .benefit-item:last-child {
        border-bottom: 0;
    }

    .location-section .map-container {
        height: 380px;
        min-height: 380px;
    }

    .location-section .map-info-card {
        left: 16px;
        top: 16px;
        width: min(260px, calc(100% - 86px));
        padding: 16px;
        font-size: 14px;
    }

    .location-section .map-info-card strong {
        font-size: 18px;
    }

    .map-route-link {
        font-size: 14px;
    }

    .location-section .map-controls {
        top: 16px;
        right: 16px;
        gap: 96px;
    }

    .contact-cta__card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .cta-decoration {
        display: none;
    }

    .contact-cta__actions {
        grid-column: auto;
        display: grid;
        gap: 12px;
    }

    .contact-cta__actions .button {
        width: 100%;
    }

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

    .footer-brand,
    .footer-contacts {
        padding-bottom: 18px;
    }

    .footer-column {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .footer-column__title {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
    }

    .footer-column ul {
        display: none;
        padding-bottom: 12px;
    }

    .footer-column.is-open ul {
        display: block;
    }

    .footer-bottom {
        display: grid;
    }

    .footer-bottom div {
        display: grid;
        gap: 8px;
    }
}

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

    .contact-main {
        padding-top: 38px;
    }

    .contact-form-panel,
    .company-info-panel {
        padding: 22px;
    }

    .company-info-panel {
        padding: 0;
    }

    .company-info-list li {
        min-height: 74px;
        padding: 10px;
    }

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

    .company-info-list strong {
        font-size: 16px;
    }

    .company-info-list small {
        font-size: 14px;
    }

    .logistics-card {
        min-height: 340px;
    }

    .logistics-card__content {
        padding: 16px 17px 0;
    }

    .logistics-card__content strong {
        font-size: 17px;
    }

    .logistics-card__content ul {
        font-size: 13.5px;
    }

    .logistics-map-image {
        top: 94px;
    }

    .company-info-cta {
        min-height: 54px;
        font-size: 17px;
    }

    .contact-card {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 158px;
        gap: 9px;
        padding: 22px 10px 14px;
    }

    .contact-card::before {
        width: 64px;
        height: 3px;
    }

    .contact-card__icon {
        width: 34px;
        height: 34px;
    }

    .contact-card__icon svg {
        width: 32px;
        height: 32px;
    }

    .contact-card__body {
        display: contents;
    }

    .contact-card strong {
        font-size: 13px;
    }

    .contact-card span span {
        margin-top: 6px;
        font-size: 10.5px;
        line-height: 1.35;
    }

    .contact-card b {
        margin-top: 12px;
        padding-top: 11px;
        font-size: 11px;
    }

    .office-card__content h3 {
        font-size: 24px;
    }

    .office-card__content h3 span {
        font-size: 19px;
    }

    .benefit-item {
        min-height: 0;
        padding: 26px 22px;
    }

    .location-section .map-container {
        height: 340px;
        min-height: 340px;
    }

    .location-section .map-info-card {
        top: 12px;
        width: calc(100% - 80px);
        padding: 14px;
    }

    .map-button {
        width: 42px;
        height: 42px;
    }

    .contact-cta h2 {
        font-size: 28px;
    }

    .form-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
