.footer-v2 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    background: #2b2c2e;
    font-family: Montserrat, sans-serif;
}

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

.footer-v2 a {
    color: inherit;
}

.footer-v2__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 78px;
    overflow: hidden;
}

.footer-v2__top {
    display: grid;
    grid-template-columns: 400px 310px 340px;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.footer-v2__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 273px;
}

.footer-v2__brand--top,
.footer-v2__mobile-highlight,
.footer-v2__panel--details {
    display: none;
}

.footer-v2__brand--bottom {
    display: flex;
}

.footer-v2__contact-stack {
    display: contents;
}

.footer-v2__brand-link {
    display: block;
    line-height: 0;
}

.footer-v2__logo {
    display: block;
    position: relative;
    overflow: hidden;
    width: 130px;
    height: 42px;
}

.footer-v2__logo--custom {
    object-fit: contain;
}

.footer-v2__logo-wordmark {
    position: absolute;
    top: 3.48px;
    left: 14.55px;
    display: block;
    width: 115.454px;
    height: 38.355px;
    max-width: none;
}

.footer-v2__logo-tooth {
    position: absolute;
    display: block;
    width: 68.192px;
    height: 45.461px;
    background: url("../img/footer-v2-logo-gold-texture.webp") 0 0 / 100% 100% no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.footer-v2__logo-tooth--small {
    top: -10.034px;
    left: -50.611px;
    -webkit-mask-image: url("../img/footer-v2-logo-tooth-small-mask.svg");
    mask-image: url("../img/footer-v2-logo-tooth-small-mask.svg");
    -webkit-mask-position: 50.611px 10.034px;
    mask-position: 50.611px 10.034px;
    -webkit-mask-size: 11.746px 6.34px;
    mask-size: 11.746px 6.34px;
}

.footer-v2__logo-tooth--large {
    top: -6.567px;
    left: -36.074px;
    -webkit-mask-image: url("../img/footer-v2-logo-tooth-large-mask.svg");
    mask-image: url("../img/footer-v2-logo-tooth-large-mask.svg");
    -webkit-mask-position: 36.074px 6.567px;
    mask-position: 36.074px 6.567px;
    -webkit-mask-size: 17.896px 26.365px;
    mask-size: 17.896px 26.365px;
}

.footer-v2__tagline {
    margin: 0;
    color: #acb1b3;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-v2__panel-toggle {
    display: none;
}

.footer-v2__panel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.footer-v2__heading {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}

.footer-v2__nav,
.footer-v2__menu-columns {
    width: 100%;
}

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

.footer-v2__menu-column,
.footer-v2__services,
.footer-v2__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-v2__menu-item,
.footer-v2__services li,
.footer-v2__contact-item {
    margin: 0;
    padding: 0;
}

.footer-v2__menu-link-row {
    display: flex;
    align-items: center;
    min-height: 20px;
}

.footer-v2__menu-link-row > a,
.footer-v2__services a,
.footer-v2__contact-link {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

.footer-v2__menu-link-row > a {
    white-space: nowrap;
}

.footer-v2__services a {
    font-size: 14px;
    line-height: 24px;
}

.footer-v2__menu-link-row > a:hover,
.footer-v2__menu-link-row > a:focus-visible,
.footer-v2__services a:hover,
.footer-v2__services a:focus-visible,
.footer-v2__address:hover,
.footer-v2__address:focus-visible,
.footer-v2__developer:hover,
.footer-v2__developer:focus-visible {
    text-decoration: underline;
    text-underline-position: from-font;
}

.footer-v2__contact-link:hover .footer-v2__contact-text,
.footer-v2__contact-link:focus-visible .footer-v2__contact-text {
    text-decoration: underline;
    text-underline-position: from-font;
}

.footer-v2__services-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.footer-v2__chevron {
    display: block;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url('../img/icons/header/chevron.svg') center / contain no-repeat;
    mask: url('../img/icons/header/chevron.svg') center / contain no-repeat;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.footer-v2__services-toggle[aria-expanded="true"] .footer-v2__chevron,
.footer-v2__panel-toggle[aria-expanded="true"] .footer-v2__chevron {
    transform: rotate(0deg);
}

.footer-v2__services {
    gap: 16px;
    padding: 16px 0 0 24px;
}

.footer-v2__services[hidden],
.footer-v2 [hidden] {
    display: none;
}

.footer-v2__contacts {
    gap: 16px;
}

.footer-v2__contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-v2__contact-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.footer-v2__contact-icon--phone {
    -webkit-mask-image: url("../img/footer/phone.svg");
    mask-image: url("../img/footer/phone.svg");
}

.footer-v2__contact-icon--pin {
    -webkit-mask-image: url("../img/footer/pin.svg");
    mask-image: url("../img/footer/pin.svg");
}

.footer-v2__contact-icon--email {
    -webkit-mask-image: url("../img/footer/email.svg");
    mask-image: url("../img/footer/email.svg");
}

.footer-v2__contact-icon--facebook {
    -webkit-mask-image: url("../img/footer/facebook.svg");
    mask-image: url("../img/footer/facebook.svg");
}

.footer-v2__contact-icon--instagram {
    -webkit-mask-image: url("../img/footer/instagram.svg");
    mask-image: url("../img/footer/instagram.svg");
}

.footer-v2__panel--location .footer-v2__panel-content {
    gap: 16px;
}

.footer-v2__clinic-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 340px;
}

.footer-v2__clinic-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    margin: 0;
    padding: 6px 12px;
    color: #e5e3df;
    border: 1px solid rgba(229, 227, 223, 0.5);
    border-radius: 4px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.footer-v2__clinic-button.is-active {
    color: #111;
    border-color: #fff;
    background: #fff;
}

.footer-v2 .footer-v2__address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.footer-v2__map {
    position: relative;
    width: 340px;
    height: 194px;
    overflow: hidden;
    border-radius: 4px;
    background: #e5e3df;
}

.footer-v2__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-v2__map-image {
    position: absolute;
    top: -4px;
    left: 0;
    display: block;
    width: 100%;
    height: 212px;
    max-width: none;
    object-fit: cover;
}

.footer-v2__map-reviews {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    left: 15px;
    display: block;
    width: 150px;
    height: 45px;
}

 .footer-v2__map-link { position: absolute; z-index: 2; right: 12px; bottom: 15px; max-width: calc(100% - 185px); padding: 5px; border-radius: 3px; background: #fff; font-size: 11px; line-height: 16px; }

.footer-v2__divider {
    width: 100%;
    height: 1px;
    background: rgba(229, 227, 223, 0.15);
}

.footer-v2__bottom {
    display: grid;
    grid-template-columns: 273px minmax(0, 1fr) 280px;
    gap: 40px;
    align-items: end;
    width: 100%;
}

.footer-v2__company-details {
    margin: 0;
    color: #acb1b3;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-v2__company-card,
.footer-v2__company-title,
.footer-v2__company-fields,
.footer-v2__company-field {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}

.footer-v2__company-card + .footer-v2__company-card::before {
    content: " ";
}

.footer-v2__company-title::after {
    content: ": ";
}

.footer-v2__company-field:not(:last-child)::after {
    content: "; ";
}

.footer-v2__company-field:last-child::after {
    content: ".";
}

.footer-v2__credits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-v2__developer {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-v2__heart {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin: 0 1px;
}

.footer-v2__heart svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #e94235;
}

.footer-v2__policy-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-v2 .footer-v2__minor-protection,
.footer-v2 .footer-v2__privacy {
    display: block;
    color: #e5e3df;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: underline;
    text-underline-position: from-font;
    white-space: nowrap;
}

.footer-v2 button:focus-visible,
.footer-v2 a:focus-visible {
    outline: 2px solid #baddf1;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .footer-v2__inner {
        padding: 40px 32px;
    }

    .footer-v2__top {
        grid-template-columns: 273px 337px;
        grid-template-areas:
            "brand categories"
            "contacts location";
        row-gap: 60px;
    }

    .footer-v2__brand--top {
        display: flex;
        grid-area: brand;
    }

    .footer-v2__brand--bottom {
        display: none;
    }

    .footer-v2__panel--categories {
        grid-area: categories;
    }

    .footer-v2__contact-stack {
        display: block;
        grid-area: contacts;
    }

    .footer-v2__panel--location {
        grid-area: location;
    }

    .footer-v2__heading {
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
    }

    .footer-v2__menu-link-row > a,
    .footer-v2__services a,
    .footer-v2__contact-link,
    .footer-v2 .footer-v2__address {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-v2__bottom {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 40px;
        align-items: center;
    }

    .footer-v2__developer {
        font-size: 14px;
        line-height: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-v2__services {
        gap: 12px;
        padding-top: 12px;
    }
}

@media (min-width: 1025px) {
    .footer-v2__panel--location .footer-v2__panel-content {
        gap: 24px;
    }

    .footer-v2__panel--location .footer-v2__map {
        margin-top: -8px;
    }
}

@media (max-width: 767px) {
    .footer-v2__inner {
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-v2__top {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .footer-v2__contact-stack {
        display: contents;
    }

    .footer-v2__brand--top {
        gap: 20px;
        width: 100%;
        margin-bottom: 34px;
    }

    .footer-v2__tagline {
        max-width: 300px;
    }

    .footer-v2__mobile-highlight {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 34px;
    }

    .footer-v2__mobile-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        text-decoration: none;
    }

    .footer-v2__mobile-phone .footer-v2__contact-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .footer-v2__reviews {
        display: block;
        width: 172px;
        height: 52px;
        object-fit: contain;
    }

    .footer-v2__panel {
        width: 100%;
        overflow: hidden;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.05);
    }

    .footer-v2__panel--details {
        display: block;
    }

    .footer-v2__panel-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 12px 8px 12px 16px;
        color: #fff;
        border: 0;
        border-radius: 4px;
        background: transparent;
        font-family: inherit;
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        text-align: left;
        cursor: pointer;
    }

    .footer-v2__panel-toggle .footer-v2__chevron {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }

    .footer-v2__panel-content {
        gap: 16px;
        padding: 0 16px 16px;
    }

    .footer-v2--enhanced .footer-v2__panel-content[hidden] {
        display: none;
    }

    .footer-v2__heading {
        display: none;
    }

    .footer-v2__menu-columns {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .footer-v2__menu-column {
        display: contents;
    }

    .footer-v2__menu-item {
        order: var(--footer-item-order);
    }

    .footer-v2__menu-link-row > a,
    .footer-v2__services a,
    .footer-v2__contact-link,
    .footer-v2 .footer-v2__address {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-v2__services {
        gap: 16px;
        padding: 16px 0 0 24px;
    }

    .footer-v2__panel--contacts .footer-v2__panel-content {
        padding: 10px 16px 20px;
    }

    .footer-v2__panel--details .footer-v2__panel-content,
    .footer-v2__panel--location .footer-v2__panel-content {
        padding: 10px 16px 20px;
    }

    .footer-v2__company-details--panel {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        font-size: 14px;
        line-height: 24px;
    }

    .footer-v2__company-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .footer-v2__company-card + .footer-v2__company-card::before,
    .footer-v2__company-title::after,
    .footer-v2__company-field::after {
        content: none;
    }

    .footer-v2__company-title {
        display: block;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        line-height: 24px;
    }

    .footer-v2__company-fields {
        display: flex;
        flex-direction: column;
        margin: 0;
        color: #acb1b3;
    }

    .footer-v2__company-field {
        display: block;
    }

    .footer-v2__clinic-tabs,
    .footer-v2__map {
        width: 100%;
    }

    .footer-v2__clinic-button {
        padding-right: 6px;
        padding-left: 6px;
    }

    .footer-v2__map {
        height: 194px;
    }

    .footer-v2__divider {
        background: rgba(229, 227, 223, 0.12);
    }

    .footer-v2__bottom {
        display: block;
    }

    .footer-v2__company-details--bottom {
        display: none;
    }

    .footer-v2__credits {
        align-items: flex-start;
        gap: 16px;
    }

    .footer-v2__policy-links {
        align-items: flex-start;
        gap: 8px;
    }

    .footer-v2__developer,
    .footer-v2__minor-protection,
    .footer-v2__privacy {
        font-size: 14px;
        line-height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-v2__chevron,
    .footer-v2 a {
        transition: none;
    }
}

/* Sprint 2: Kraków artwork, truthful location fallback and editable details. */
.footer-v2__logo { height: 41.84px; }
.footer-v2__logo-art { display: block; position: relative; width: 130px; height: 41.84px; transform-origin: top left; }

.footer-v2__hours { font-size: 14px; line-height: 24px; }
.footer-v2__hours > span { display: block; }
.footer-v2__map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; padding: 24px 16px 70px; color: #2b2c2e; font-size: 14px; line-height: 20px; }
.footer-v2__map-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer-v2__map-image + .footer-v2__map-fallback { background: rgba(255,255,255,.85); }
.footer-v2__map iframe { position: absolute; inset: 0; }
.footer-v2__map iframe:not([src]) { display: none; }
.footer-v2 .footer-v2__map-link { color: #222; }
.footer-v2 .footer-v2__reviews { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 150px; height: 45px; padding: 5px 10px; color: #343434; border-radius: 4px; background: #fff; text-decoration: none; }
.footer-v2__reviews-name { font-family: Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 18px; }
.footer-v2__reviews-caption, .footer-v2__reviews-rating { font-size: 10px; line-height: 13px; }
.footer-v2 .footer-v2__reviews--desktop { position: absolute; z-index: 2; left: 15px; bottom: 15px; }
.footer-v2 a:focus-visible, .footer-v2 button:focus-visible { outline: 2px solid #dfbf81; outline-offset: 3px; }
.footer-v2 .footer-v2__reviews:focus-visible { outline-offset: -3px; outline-color: #245276; }
.footer-v2 .footer-v2__map-link:focus-visible { outline-color: #245276; }
.footer-v2:not(.footer-v2--enhanced) .footer-v2__panel-toggle,
.footer-v2:not(.footer-v2--enhanced) .footer-v2__services-toggle { display: none; }
.footer-v2:not(.footer-v2--enhanced) .footer-v2__heading { display: block; }

.footer-v2--credits-visible .scroll-top-btn { opacity: 0; visibility: hidden; pointer-events: none; }
.footer-v2__contact-text { overflow-wrap: anywhere; min-width: 0; }
.dnt-company-details { background: #f3f3f1; padding: 58px 80px; color: #111; font-family: Montserrat, sans-serif; }
.dnt-company-details--about { padding-top: 0; padding-bottom: 116px; }
.dnt-company-details__inner { max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: 320px minmax(0,1fr) minmax(0,1fr); gap: 30px; }
.dnt-company-details h2 { margin: 0; font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: 1.28px; }
.dnt-company-details h3 { margin: 0 0 24px; font-size: 18px; font-weight: 600; line-height: 24px; text-transform: uppercase; }
.dnt-company-details p { margin: 0; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0; overflow-wrap: anywhere; }
@media (min-width: 1025px) and (max-width: 1279px) {
    .footer-v2__inner { padding-inline: 32px; }
    .footer-v2__top { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.1fr); gap: 24px; }
    .footer-v2__map { width: 100%; }
    .footer-v2__menu-link-row > a, .footer-v2__contact-link { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 1024px) {
    .dnt-company-details { padding: 40px 32px; }
    .dnt-company-details--about { padding-top: 0; padding-bottom: 80px; }
}
@media (max-width: 767px) {
    .footer-v2__logo { width: 150px; height: 48.28px; }
    .footer-v2__logo-art { transform: scale(1.153846154); }
    .footer-v2__panel--categories .footer-v2__panel-content { padding-top: 10px; padding-bottom: 20px; }
    .footer-v2 .footer-v2__reviews { width: 172px; height: 52px; }
    .footer-v2 .footer-v2__reviews--desktop { display: none; }
    .footer-v2__map-link { max-width: calc(100% - 24px); left: 12px; right: auto; }
    .footer-v2__menu-link-row > a { white-space: normal; overflow-wrap: anywhere; }
    .footer-v2__developer { white-space: normal; }
    .footer-v2__panel-toggle > span:first-child { text-align: left; }
    .footer-v2__panel--location .footer-v2__heading { margin-bottom: 0; }
    .dnt-company-details { padding: 40px 20px; }
    .dnt-company-details--about { padding-top: 0; padding-bottom: 60px; }
    .dnt-company-details h2 { font-size: 24px; line-height: 32px; letter-spacing: .96px; margin-bottom: 24px; }
}
/* Figma's separator is a zero-height rule and does not add to the flex gaps. */
.footer-v2__divider { position: relative; height: 0; }
.footer-v2__divider::after { content: ''; position: absolute; inset: -1px 0 auto; height: 1px; background: rgba(229,227,223,.15); }
/* The supplied Google mark is cropped with CSS; rating/count remain live CMS text. */
.footer-v2 .footer-v2__reviews { flex-direction: row; align-items: center; justify-content: flex-start; gap: 5px; padding: 5px; border: 1px solid #ccc; }
.footer-v2__reviews-mark { flex: 0 0 38px; width: 38px; height: 32px; background: url('../img/footer/google-reviews.png') -13px -9px / 172px 52px no-repeat; }
.footer-v2__reviews-content { min-width: 0; display: flex; flex-direction: column; }
.footer-v2__reviews-name { font-size: 10px; font-weight: 400; line-height: 12px; white-space: nowrap; color: #666; }
.footer-v2__reviews-rating { display: flex; align-items: center; gap: 3px; font: 24px/24px Arial, sans-serif; color: #666; }
.footer-v2__reviews-meta { display: flex; flex-direction: column; }
.footer-v2__reviews-stars { font-size: 12px; line-height: 14px; letter-spacing: -1px; color: transparent; background: linear-gradient(to right,#fbbc04 var(--review-fill),#ddd var(--review-fill)); background-clip: text; }
.footer-v2__reviews-count { font: 7px/9px Arial, sans-serif; letter-spacing: .6px; white-space: nowrap; }
@media (max-width: 767px) {
    .footer-v2 .footer-v2__reviews { gap: 7px; padding: 7px; }
    .footer-v2__reviews-name { font-size: 11px; line-height: 13px; }
    .footer-v2__reviews-rating { font-size: 26px; line-height: 26px; }
    .footer-v2__reviews-stars { font-size: 14px; line-height: 16px; }
    .footer-v2__reviews-count { font-size: 8px; line-height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .footer-v2 .scroll-top-btn { animation: none; transition: none; }
}

/* Preserve the Polish layout; neutral cards never reuse another clinic's map. */
.footer-v2 { letter-spacing: 0; }
.footer-v2 [hidden] { display: none !important; }
.footer-v2__location { display: flex; flex-direction: column; gap: 16px; width: 100%; min-width: 0; }
.footer-v2__clinic-tabs, .footer-v2__map { max-width: 100%; }
.footer-v2:not(.footer-v2--enhanced) .footer-v2__clinic-tabs { display: none; }
.footer-v2__map-fallback { letter-spacing: 0; }
@media (min-width: 1025px) {
    .footer-v2__panel--location .footer-v2__location .footer-v2__map { margin-top: 0; }
}
@media (max-width: 1024px) {
    .dnt-company-details__inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
    .dnt-company-details h2 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .dnt-company-details__inner { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .dnt-company-details h2 { margin: 0; }
    .footer-v2__company-details--panel { letter-spacing: 0; }
    .footer-v2__company-field { overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
    .footer-v2 .footer-v2__minor-protection, .footer-v2 .footer-v2__privacy { white-space: normal; overflow-wrap: anywhere; }
}
/* Local Montserrat needs a few extra pixels; keep full text inside the card. */
@media (max-width: 767px) {
    .footer-v2__panel--contacts .footer-v2__panel-content,
    .footer-v2__panel--details .footer-v2__panel-content { padding-right: 4px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-v2__panel--location { width: 340px; }
}
.footer-v2__menu-item--services .footer-v2__menu-link-row > a { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.footer-v2__company-field { overflow-wrap: anywhere; }
/* Figma tablet: equal columns with a 30px gutter and 50px between rows. */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-v2__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; row-gap: 50px; }
    .footer-v2__contact-stack { width: 286px; max-width: 100%; }
    .footer-v2__panel--location .footer-v2__panel-content { gap: 24px; }
}
