.contact-page {
    margin: 0;
    background: #fdfdfd;
    color: #192723;
    font-family: "Segoe UI", Arial, sans-serif;
}

.contact-content {
    --contact-green: #177a49;
    --contact-line: #e1ebe4;
    --contact-tint: #f3f8f4;
    --contact-muted: #536a60;
    width: min(92%, 1440px);
    margin: 32px auto 48px;
}

.contact-content * { box-sizing: border-box; }
.contact-content :focus-visible { outline: 2px solid var(--contact-green); outline-offset: 3px; }

.contact-content h1 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: clamp(16px, 2.1vw, 32px);
}

.contact-panel {
    padding: clamp(18px, 2.3vw, 32px);
    border: 1px solid var(--contact-line);
    border-radius: 12px;
    background: #fff;
}

.contact-panel h2 {
    margin: 0 0 20px;
    font-size: clamp(21px, 1.9vw, 28px);
    line-height: 1.2;
    letter-spacing: -.015em;
}

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

.contact-field { grid-column: 1 / -1; }
.contact-field-half { grid-column: auto; }

.contact-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 650;
}

.contact-field :is(input, textarea) {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbdad0;
    border-radius: 7px;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1.5;
}

.contact-field textarea { min-height: 118px; resize: vertical; }
.contact-field :is(input, textarea):focus { border-color: var(--contact-green); }

.contact-send {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 21px;
    border: 0;
    border-radius: 999px;
    background: var(--contact-green);
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.contact-send:hover { background: #12643d; }

.contact-directory {
    display: flex;
    flex-direction: column;
}

.contact-regions { flex: 1; }

.contact-regions,
.contact-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-region {
    padding: clamp(14px, 1.4vw, 20px);
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    background: var(--contact-tint);
}

.contact-panel h3 {
    margin: 0 0 7px;
    color: var(--contact-green);
    font-size: 16px;
    line-height: 1.3;
}

.contact-name { margin: 0 0 6px; font-weight: 650; }

.contact-region ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-region a {
    color: #36594a;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-region a:hover { color: var(--contact-green); text-decoration: underline; }

.contact-locations { margin-top: clamp(16px, 2.1vw, 32px); }
.contact-location-grid { gap: 20px; }

.contact-location-grid > div {
    padding-inline-start: 14px;
    border-inline-start: 2px solid var(--contact-line);
}

.contact-location-grid address {
    color: var(--contact-muted);
    font-style: normal;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .contact-content { margin-top: 24px; }
    .contact-form, .contact-regions, .contact-location-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-send { justify-self: stretch; }
}
