/* ===========================
   Contacts Component Styles
   =========================== */

.contacts-section {
    padding-block: var(--space-12);
}

@media (min-width: 768px) {
    .contacts-section {
        padding-block: var(--space-14);
    }
}

@media (min-width: 1024px) {
    .contacts-section {
        padding-block: var(--space-16);
    }
}

/* Section Header */
.contacts-section__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .contacts-section__title {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .contacts-section__title {
        font-size: 36px;
        margin-bottom: 16px;
    }
}

.contacts-section__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 32px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .contacts-section__subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
}

/* Layout - Two Column (Info + Map) */
.contacts-section__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, var(--bg-elev-1) 0%, var(--bg-elev-2) 100%);
}

@media (min-width: 1024px) {
    .contacts-section__layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Info Section */
.contacts-section__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

@media (min-width: 768px) {
    .contacts-section__info {
        gap: 28px;
    }
}

/* Contact Item */
.contacts-section__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .contacts-section__item {
        gap: 20px;
    }
}

/* Icon */
.contacts-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    min-width: 32px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .contacts-section__icon {
        font-size: 28px;
        min-width: 40px;
        width: 40px;
        height: 40px;
    }
}

/* Content Wrapper */
.contacts-section__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

/* Label */
.contacts-section__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    display: block;
}

@media (min-width: 768px) {
    .contacts-section__label {
        font-size: 13px;
    }
}

/* Value Text */
.contacts-section__value {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .contacts-section__value {
        font-size: 18px;
    }
}

/* Links */
.contacts-section__link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .contacts-section__link {
        transition: color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contacts-section__link {
        transition: none;
    }
}

.contacts-section__link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.contacts-section__link:active {
    color: var(--accent-active);
}

/* Messengers */
.contacts-section__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

@media (min-width: 768px) {
    .contacts-section__messengers {
        gap: 16px;
    }
}

.contacts-section__messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .contacts-section__messenger {
        transition: none;
    }
}

@media (min-width: 768px) {
    .contacts-section__messenger {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* WhatsApp */
.contacts-section__messenger--whatsapp {
    color: #25d366;
    background-color: rgba(37, 211, 102, 0.1);
}

.contacts-section__messenger--whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.2);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.contacts-section__messenger--whatsapp:active {
    background-color: rgba(37, 211, 102, 0.3);
}

/* Telegram */
.contacts-section__messenger--telegram {
    color: #0088cc;
    background-color: rgba(0, 136, 204, 0.1);
}

.contacts-section__messenger--telegram:hover {
    background-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.2);
}

.contacts-section__messenger--telegram:active {
    background-color: rgba(0, 136, 204, 0.3);
}

.contacts-section__messenger-icon {
    display: inline-block;
}

/* Map Section */
.contacts-section__map {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .contacts-section__map {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .contacts-section__map {
        min-height: 500px;
    }
}

/* Map iframe responsiveness */
.contacts-section__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contacts-section__map div {
    width: 100%;
    height: 100%;
}

.contacts-section__map div iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Variants & Modifiers */

/* Home Contacts - Optional styling (customizable) */

/* Page Contacts - Full width variant (customizable) */

/* Dark Mode Support (if implemented) */
@media (prefers-color-scheme: dark) {
    .contacts-section__link {
        color: var(--accent);
    }

    .contacts-section__link:hover {
        color: var(--accent-hover);
    }

    .contacts-section__messenger--whatsapp {
        background-color: rgba(37, 211, 102, 0.15);
    }

    .contacts-section__messenger--whatsapp:hover {
        background-color: rgba(37, 211, 102, 0.25);
    }

    .contacts-section__messenger--telegram {
        background-color: rgba(0, 136, 204, 0.15);
    }

    .contacts-section__messenger--telegram:hover {
        background-color: rgba(0, 136, 204, 0.25);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .contacts-section__link,
    .contacts-section__messenger {
        transition: none !important;
    }
}

/* Focus states for keyboard navigation */
.contacts-section__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.contacts-section__messenger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Homepage branch contact panel */
.home-contacts__head {
    margin-bottom: 28px;
}

.home-contacts__eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-contacts__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(145deg, var(--bg-elev-1), var(--bg-elev-2));
}

.home-contacts__details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
}

.home-contacts__shop {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.home-contacts__shop-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
}

.home-contacts__shop-mark svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.home-contacts__shop-name {
    margin: 0 0 4px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
}

.home-contacts__address {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.home-contacts__meta {
    display: grid;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.home-contacts__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-contacts__meta-item>svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    fill: none;
    stroke: var(--text-muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.home-contacts__meta-item>div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.home-contacts__meta-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 650;
}

.home-contacts__hours {
    display: flex;
    width: min(100%, 390px);
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--bg-elev-1) 90%, transparent);
}

.home-contacts__hours-content {
    min-width: 0;
    flex: 1;
}

.home-contacts__hours-title {
    margin: 1px 0 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-contacts__hours-list {
    display: grid;
    margin: 0;
}

.home-contacts__hours-row {
    display: grid;
    grid-template-columns: minmax(92px, 1fr) auto;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.home-contacts__hours-row dt,
.home-contacts__hours-row dd {
    margin: 0;
}

.home-contacts__hours-row dt {
    color: var(--accent);
    font-weight: 650;
}

.home-contacts__hours-row dd {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.home-contacts__hours-row.is-muted dt,
.home-contacts__hours-row.is-muted dd {
    color: var(--text-muted);
    font-weight: 500;
}

.home-contacts__meta-item a {
    color: var(--text-primary);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.home-contacts__meta-item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.home-contacts__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.home-contacts__phone-desktop,
.home-contacts__call {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 17px;
    border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
    border-radius: var(--r-md);
    background: linear-gradient(145deg, var(--bg-elev-1), var(--bg-elev-2));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 3px 10px rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-contacts__phone-desktop svg,
.home-contacts__call svg {
    color: var(--accent);
}

.home-contacts__call:hover,
.home-contacts__phone-desktop:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

.home-contacts__call:active {
    transform: translateY(1px);
}

.home-contacts__phone-desktop svg,
.home-contacts__call svg,
.home-contacts__phone-secondary svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-contacts__phone-secondary {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--bg-elev-1) 72%, transparent);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-contacts__phone-secondary:hover {
    border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
    background: var(--accent-soft);
    color: var(--text-primary);
}

.home-contacts__call {
    display: none;
}

.home-contacts__call svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-contacts__whatsapp {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 140, 80, 0.35);
    border-radius: var(--r-md);
    background: rgba(22, 140, 80, 0.08);
    color: #168c50;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-contacts__whatsapp svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.home-contacts__whatsapp:hover {
    border-color: #168c50;
    background: rgba(22, 140, 80, 0.15);
}

.home-contacts__phone-mobile:focus-visible,
.home-contacts__whatsapp:focus-visible,
.home-contacts__route-trigger:focus-visible,
.home-contacts__route-options a:focus-visible,
.home-contacts__map-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.home-contacts__route-picker {
    position: relative;
    width: min(100%, 340px);
}

.home-contacts__route-trigger {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-elev-1);
    color: var(--text-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    list-style: none;
}

.home-contacts__route-trigger::-webkit-details-marker {
    display: none;
}

.home-contacts__route-trigger>svg:first-child,
.home-contacts__route-chevron {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-contacts__route-chevron {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    margin-left: auto;
    transition: transform 0.18s ease;
}

.home-contacts__route-picker[open] .home-contacts__route-chevron {
    transform: rotate(180deg);
}

.home-contacts__route-options {
    position: absolute;
    z-index: 2;
    top: calc(100% + 6px);
    left: 0;
    display: grid;
    width: 100%;
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-elev-1);
    box-shadow: var(--shadow-md);
}

.home-contacts__route-options a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    color: var(--text-primary);
    font-size: 0.9375rem;
    text-decoration: none;
}

.home-contacts__route-options a:hover {
    background: var(--accent-soft);
}

.home-contacts__route-badge {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 0.625rem;
    font-weight: 800;
}

.home-contacts__route-badge--2gis {
    background: #e7f5e9;
    color: #268d42;
}

.home-contacts__route-badge--google {
    background: #edf3ff;
    color: #4285f4;
    font-size: 1rem;
}

.home-contacts__route-note {
    margin: -14px 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.home-contacts__map {
    position: relative;
    display: none;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-elev-2);
}

.home-contacts__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.8) invert(0.88) hue-rotate(180deg) saturate(0.72) contrast(0.9);
}

.home-contacts__map-link {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg-elev-1);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
}

.home-contacts__map-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

@media (min-width: 768px) {
    .home-contacts__details {
        align-items: center;
        text-align: center;
    }

    .home-contacts__shop {
        justify-content: center;
        text-align: left;
    }

    .home-contacts__meta {
        width: min(100%, 390px);
        justify-items: center;
        text-align: left;
    }

    .home-contacts__meta-item {
        justify-content: center;
    }

    .home-contacts__actions {
        justify-content: center;
    }

    .home-contacts__route-note {
        text-align: center;
    }

    .home-contacts__map {
        display: block;
        min-height: 420px;
    }
}

@media (min-width: 1024px) {
    .home-contacts__layout {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
        gap: 32px;
    }

    .home-contacts__map {
        min-height: 440px;
    }
}

@media (max-width: 767px) {
    .home-contacts__layout {
        gap: 20px;
        padding: 18px;
    }

    .home-contacts__details {
        gap: 18px;
        align-items: stretch;
        text-align: left;
    }

    .home-contacts__hours {
        gap: 8px;
        padding: 12px;
    }

    .home-contacts__hours-row {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 8px;
        padding-block: 6px;
        font-size: 0.75rem;
    }

    .home-contacts__meta {
        width: 100%;
        justify-items: stretch;
    }

    .home-contacts__phone-desktop {
        display: none;
    }

    .home-contacts__call {
        display: inline-flex;
        max-width: calc(100vw - 112px);
        overflow: hidden;
        padding-inline: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-contacts__phone-secondary {
        min-height: 50px;
        padding: 10px 11px;
        font-size: 0.8125rem;
    }

    .home-contacts__route-picker {
        width: 100%;
    }

    .home-contacts__route-trigger {
        width: 100%;
    }

    .home-contacts__route-options {
        position: static;
        margin-top: 6px;
        box-shadow: none;
    }

    .home-contacts__route-note {
        margin-top: -12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-contacts__whatsapp,
    .home-contacts__route-chevron {
        transition: none;
    }
}

/* ===========================
   Contacts Page Styles
   =========================== */

.contacts-page {
    --contacts-ink: var(--text-primary);
    --contacts-muted: var(--text-muted);
    --contacts-line: var(--border);
    color: var(--text-primary);
}

.contacts-page__hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 76px);
    background:
        radial-gradient(ellipse at 82% 8%, rgba(59, 130, 246, 0.16), transparent 32%),
        linear-gradient(135deg, #151a21 0%, var(--bg) 62%);
    border-bottom: 1px solid var(--border);
}

.contacts-page__hero::after {
    position: absolute;
    right: max(3vw, calc((100vw - 1200px) / 2));
    bottom: -95px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.contacts-page__hero-inner {
    position: relative;
    z-index: 1;
}

.contacts-page__eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.contacts-page__title {
    max-width: 800px;
    margin: 0;
    color: var(--contacts-ink);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.02;
}

.contacts-page__lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.contacts-page__phones {
    display: grid;
    max-width: 780px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 14px;
    margin-top: 36px;
}

.contacts-page__phone {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 15px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: linear-gradient(145deg, var(--bg-elev-2), var(--bg-elev-1));
    color: var(--contacts-ink);
    box-shadow: var(--shadow-sm);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.contacts-page__phone:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contacts-page__phone-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacts-page__phone-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: var(--r-xs);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.125rem;
}

.contacts-page__phone-label,
.contacts-page__detail-label {
    color: var(--contacts-muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.contacts-page__phone-number {
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contacts-page__phone-number:hover {
    color: var(--accent);
}

.contacts-page__phone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 2px;
}

.contacts-page__action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: var(--r-xs);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.contacts-page__action--call {
    background: var(--accent);
    color: #fff;
}

.contacts-page__action--call:hover {
    background: var(--accent-hover);
    color: #fff;
}

.contacts-page__action--whatsapp {
    border-color: rgba(37, 211, 102, 0.42);
    background: rgba(37, 211, 102, 0.1);
    color: #79e6a0;
}

.contacts-page__action--whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.18);
    color: #a3f2bd;
}

.contacts-page__locations {
    padding-block: clamp(48px, 7vw, 88px);
    background-color: var(--bg);
}

.contacts-page__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.contacts-page__section-heading .contacts-page__eyebrow {
    margin-bottom: 8px;
}

.contacts-page__section-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--contacts-ink);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.contacts-page__branch-list {
    display: grid;
    gap: 18px;
}

.contacts-page__branch {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid var(--contacts-line);
    border-radius: 8px;
    background: var(--bg-elev-1);
}

.contacts-page__branch-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(22px, 3vw, 36px);
}

.contacts-page__branch-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.contacts-page__branch-index {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 800;
}

.contacts-page__branch-heading h3 {
    margin: 0;
    color: var(--contacts-ink);
    font-size: 1.375rem;
    line-height: 1.25;
}

.contacts-page__detail+.contacts-page__detail {
    margin-top: 21px;
}

.contacts-page__detail p {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contacts-page__detail--address {
    width: 100%;
    max-width: 460px;
    padding-left: 14px;
    border-left: 2px solid color-mix(in srgb, var(--accent) 72%, var(--border));
}

.contacts-page__detail--address .contacts-page__detail-label {
    color: var(--accent);
}

.contacts-page__detail--address p {
    color: var(--text-primary);
    font-weight: 550;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.contacts-page__branch-info>.contacts-page__hours {
    width: 100%;
    max-width: 390px;
    margin-top: 20px;
}

.contacts-page__map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: auto;
    padding-top: 26px;
}

.contacts-page__map-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.contacts-page__map-links a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contacts-page__map-links a span {
    font-size: 1rem;
}

.contacts-page__map {
    position: relative;
    min-width: 0;
    min-height: 320px;
    background: var(--bg-elev-2);
}

.contacts-page__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.8) invert(0.88) hue-rotate(180deg) saturate(0.72) contrast(0.9);
}

.contacts-page__empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed var(--contacts-line);
    border-radius: 8px;
    color: var(--contacts-muted);
}

@media (max-width: 767px) {
    .contacts-page__hero::after {
        right: -145px;
        bottom: -150px;
        width: 220px;
        height: 220px;
    }

    .contacts-page__phone {
        padding: 18px;
    }

    .contacts-page__section-heading {
        margin-bottom: 20px;
    }

    .contacts-page__branch {
        grid-template-columns: 1fr;
    }

    .contacts-page__branch-heading {
        margin-bottom: 21px;
    }

    .contacts-page__map-links {
        margin-top: 0;
        padding-top: 22px;
    }

    .contacts-page__map {
        min-height: 260px;
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {

    .contacts-page__phone,
    .contacts-page__action {
        transition: none;
    }
}