.nh-build-map-section {
    width: 100%;
    padding: 56px 20px;
    background: #f5f5f5;
    box-sizing: border-box;
}

.nh-build-map-section * { box-sizing: border-box; }

.nh-build-map-section__inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.nh-build-map-section__header {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.nh-build-map-section__eyebrow {
    margin: 0 0 8px;
    color: #a61b1b;
    font: 700 14px/1.4 Lato, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nh-build-map-section__header h2 {
    margin: 0 0 12px;
    color: #232323;
    font: 800 clamp(30px, 3vw, 44px)/1.12 Lato, Arial, sans-serif;
}

.nh-build-map-section__lead,
.nh-build-map-section__privacy {
    margin: 0;
    color: #5d5d5d;
    font: 400 16px/1.55 Lato, Arial, sans-serif;
}

.nh-build-map-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(220px, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.nh-build-map-control {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #303030;
    font: 700 13px/1.3 Lato, Arial, sans-serif;
}

.nh-build-map-control input,
.nh-build-map-control select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font: 400 16px/1.2 Lato, Arial, sans-serif;
    outline: none;
}

.nh-build-map-control input:focus,
.nh-build-map-control select:focus {
    border-color: #a61b1b;
    box-shadow: 0 0 0 3px rgba(166, 27, 27, .12);
}

.nh-build-map-status {
    min-height: 24px;
    margin: 0 0 10px;
    color: #666;
    text-align: center;
    font: 400 14px/1.5 Lato, Arial, sans-serif;
}

.nh-build-map-canvas {
    width: 100%;
    height: min(68vh, 660px);
    min-height: 460px;
    overflow: hidden;
    border-radius: 18px;
    background: #e7e7e7;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
}

.nh-build-map-canvas--error {
    display: grid;
    place-items: center;
    min-height: 220px;
}

.nh-build-map-section__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

.nh-build-map-section__privacy { max-width: 720px; font-size: 14px; }

.nh-build-map-cta {
    display: inline-flex;
    min-height: 50px;
    padding: 10px 26px;
    align-items: center;
    justify-content: center;
    border: 2px solid #a61b1b;
    border-radius: 10px;
    background: #a61b1b;
    color: #fff !important;
    font: 700 15px/1.25 Lato, Arial, sans-serif;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}

.nh-build-map-cta:hover,
.nh-build-map-cta:focus-visible {
    background: #fff;
    color: #a61b1b !important;
}

.nh-build-map-info {
    max-width: 300px;
    padding: 2px 4px 4px;
    color: #252525;
    font: 400 14px/1.45 Lato, Arial, sans-serif;
}

.nh-build-map-info h3 {
    margin: 0 0 10px;
    color: #8f1717;
    font: 800 17px/1.25 Lato, Arial, sans-serif;
}

.nh-build-map-info div { margin: 3px 0; }
.nh-build-map-info p { margin: 10px 0 0; color: #6b6b6b; font-size: 12px; }

@media (max-width: 760px) {
    .nh-build-map-section { padding: 40px 12px; }
    .nh-build-map-controls { grid-template-columns: 1fr; }
    .nh-build-map-canvas { min-height: 430px; height: 62vh; border-radius: 14px; }
    .nh-build-map-section__footer { flex-direction: column; align-items: stretch; }
    .nh-build-map-section__privacy { text-align: center; }
    .nh-build-map-cta { width: 100%; }
}

.nh-build-map-info a {
    display: inline-block;
    margin-top: 10px;
    color: #8f1717;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
