.contact-page {
    padding-top: 28px;
}

.contact-page .page-hero {
    padding: 54px 60px;
}

.contact-hero {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 14px;
}

.contact-hero p {
    color: #F4DFD0;
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}

.contact-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 14px;
    margin: 34px 0 0;
}

.contact-meta .info-card {
    margin: 0;
}

.contact-info-card {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(117, 27, 27, .35);
}

.contact-info-card .ic {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.contact-info-card .ic svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-card h3 {
    margin: 0 0 6px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink);
}

.contact-info-card p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-info-card a {
    color: var(--brand);
    font-weight: 700;
}

.contact-split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
    margin-top: 34px;
    align-items: start;
}

.contact-panel {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-panel h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0 0 6px;
    color: var(--ink);
}

.contact-panel .panel-sub {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 20px;
}

.contact-form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin: 14px 0 8px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .7px;
}

.contact-field {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 13.5px;
    background: var(--bg);
    outline: 0;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-field:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px var(--ring);
}

.contact-field.error {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(228, 87, 66, .16);
}

textarea.contact-field {
    resize: vertical;
    min-height: 120px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form-error {
    color: var(--coral);
    font-size: 12px;
    margin: 6px 0 0;
    font-weight: 600;
}

.contact-submit {
    border: 0;
    border-radius: 12px;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 800;
    padding: 14px 20px;
    font-size: 13.5px;
    margin-top: 20px;
    box-shadow: 0 10px 22px rgba(117, 27, 27, .28);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(117, 27, 27, .38);
}

.geo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--bg);
}

.geo-wrap .geo-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #B9C6BB;
    flex: none;
    transition: background .25s ease;
}

.geo-wrap.has-fix .geo-dot {
    background: #3FA763;
    box-shadow: 0 0 0 4px rgba(63, 167, 99, .18);
}

.geo-wrap .geo-text {
    font-size: 12px;
    color: var(--muted);
    flex: 1;
}

.geo-wrap .geo-btn {
    border: 0;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
    font-size: 11.5px;
    padding: 8px 12px;
    border-radius: 9px;
    transition: background .2s ease, transform .2s ease;
}

.geo-wrap .geo-btn:hover {
    background: #EFD5C8;
    transform: translateY(-1px);
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-map-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    line-height: 0;
}

.contact-map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.contact-map-card {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 12px;
}

.contact-map-card .geo-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-soft);
}

.contact-map-card .geo-line svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
    fill: none;
    stroke: var(--brand);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-map-card b {
    color: var(--ink);
    font-weight: 700;
}

.contact-success {
    border-radius: 13px;
    background: #E9F4EC;
    border: 1px solid #BFDFC9;
    color: #27623A;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 16px;
    margin-bottom: 18px;
}

@keyframes map-pop {
    from { opacity: .4; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.contact-pop {
    animation: map-pop .6s var(--ease) both;
}

@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; }
    .contact-map-frame iframe { height: 340px; }
}

@media (max-width: 560px) {
    .contact-page .page-hero { padding: 38px 24px; }
    .contact-hero h1 { font-size: 30px; }
    .contact-row { grid-template-columns: 1fr; gap: 0; }
}