/* Areas We Cover page — Heritage Crest Build
   Pairs with about-contact.css (ac-hero, ac-cta) and kitchens-page.css (kp-marquee).
*/

/* ---------- Intro ---------- */
.aw-intro {
    background: #f7f5f1;
    padding: 90px 24px 50px;
}

.aw-intro-wrap {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.aw-intro-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a7a68;
    margin-bottom: 18px;
}

.aw-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    line-height: 1.15;
    color: #2b2018;
    margin: 0 0 24px;
    font-weight: 500;
}

.aw-intro p {
    font-size: 17px;
    line-height: 1.75;
    color: #4a3f36;
    max-width: 720px;
    margin: 0 auto 16px;
}

/* ---------- Live map section (Leaflet + CartoDB tiles) ---------- */
.aw-map-section {
    background: #f7f5f1;
    padding: 90px 24px;
}

.aw-map-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.aw-map-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b86a3a;
    margin-bottom: 16px;
}

.aw-map-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    line-height: 1.15;
    color: #2b2018;
    margin: 0 0 16px;
    font-weight: 500;
}

.aw-map-head p {
    font-size: 16px;
    line-height: 1.7;
    color: #4a3f36;
    margin: 0;
}

.aw-leaflet-map {
    max-width: 1200px;
    height: 540px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 60px rgba(43, 32, 24, 0.12);
    background: #f3eee5;
}

/* Drop the white default background on our pin marker */
.aw-pin {
    background: transparent;
    border: none;
}

/* ---------- Popup styling — match the site cream/brown palette ---------- */
.leaflet-popup-content-wrapper {
    background: #f7f5f1;
    color: #2b2018;
    border-radius: 5px;
    box-shadow: 0 8px 28px rgba(43, 32, 24, 0.18);
    padding: 4px 6px;
}

.leaflet-popup-content {
    margin: 12px 14px;
    line-height: 1.5;
}

.leaflet-popup-tip {
    background: #f7f5f1;
    box-shadow: 0 3px 10px rgba(43, 32, 24, 0.18);
}

.aw-popup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

.aw-popup-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b86a3a;
    font-weight: 600;
}

.aw-popup-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: #2b2018;
    line-height: 1.1;
    margin-bottom: 6px;
}

.aw-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b86a3a;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.2s ease, gap 0.25s ease;
}

.aw-popup-link:hover {
    color: #2b2018;
    gap: 10px;
}

/* Leaflet control buttons in the brand colour */
.leaflet-control-zoom a {
    background: #f7f5f1 !important;
    color: #2b2018 !important;
    border-color: rgba(43, 32, 24, 0.15) !important;
}

.leaflet-control-zoom a:hover {
    background: #2b2018 !important;
    color: #f7f5f1 !important;
}

.leaflet-control-attribution {
    background: rgba(247, 245, 241, 0.85) !important;
    font-size: 10px !important;
    color: #6a5d52 !important;
}

.leaflet-control-attribution a {
    color: #b86a3a !important;
}

/* ---------- Map markers ---------- */
.aw-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #2b2018;
    z-index: 2;
    cursor: pointer;
}

.aw-dot {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #b86a3a;
    box-shadow: 0 0 0 4px rgba(184, 106, 58, 0.18), 0 2px 6px rgba(43, 32, 24, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
}

/* Always-visible label sitting beside the dot */
.aw-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #2b2018;
    background: rgba(247, 245, 241, 0.95);
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 2px rgba(43, 32, 24, 0.08);
}

/* Labels that need to sit on the LEFT of the dot (so they don't run off the map
   or collide with nearby markers) */
.aw-marker:has(.aw-label-left) {
    flex-direction: row-reverse;
}

.aw-marker:hover .aw-dot,
.aw-marker:focus-visible .aw-dot {
    background: #2b2018;
    box-shadow: 0 0 0 5px rgba(43, 32, 24, 0.2), 0 4px 10px rgba(43, 32, 24, 0.3);
    transform: scale(1.2);
}

.aw-marker:hover .aw-label,
.aw-marker:focus-visible .aw-label {
    background: #2b2018;
    color: #f7f5f1;
    box-shadow: 0 4px 14px rgba(43, 32, 24, 0.25);
}

/* Gentle pulse animation on the dots */
@keyframes aw-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(184, 106, 58, 0.18), 0 2px 6px rgba(43, 32, 24, 0.2); }
    50%      { box-shadow: 0 0 0 8px rgba(184, 106, 58, 0.08), 0 2px 6px rgba(43, 32, 24, 0.2); }
}

.aw-dot {
    animation: aw-pulse 2.4s ease-in-out infinite;
}

.aw-marker:hover .aw-dot {
    animation: none;
}

/* ---------- Regions grid ---------- */
.aw-regions {
    background: #fffaf3;
    padding: 90px 24px;
}

.aw-regions .ac-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.aw-regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.aw-region {
    background: #f7f5f1;
    border-radius: 6px;
    padding: 36px 30px 30px;
    border: 1px solid rgba(43, 32, 24, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aw-region:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(43, 32, 24, 0.08);
}

.aw-region-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(43, 32, 24, 0.1);
}

.aw-region-num {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: #b86a3a;
    font-weight: 600;
}

.aw-region-head h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #2b2018;
    margin: 0;
    font-weight: 500;
}

.aw-region-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aw-region-list li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(43, 32, 24, 0.06);
    font-size: 15px;
}

.aw-region-list li:last-child {
    border-bottom: none;
}

.aw-region-list a {
    color: #2b2018;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.25s ease;
}

.aw-region-list a::after {
    content: '→';
    color: #b86a3a;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aw-region-list a:hover {
    color: #b86a3a;
}

.aw-region-list a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.aw-region-soft {
    color: #8a7a68;
    font-style: italic;
    font-size: 14px;
}

/* ---------- Surrounding-areas note ---------- */
.aw-surrounding {
    background: #f7f5f1;
    padding: 90px 24px;
    text-align: center;
}

.aw-surrounding-inner {
    max-width: 760px;
    margin: 0 auto;
}

.aw-surrounding-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b86a3a;
    margin-bottom: 18px;
}

.aw-surrounding h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    line-height: 1.2;
    color: #2b2018;
    margin: 0 0 22px;
    font-weight: 500;
}

.aw-surrounding p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a3f36;
    max-width: 660px;
    margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .aw-regions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .aw-leaflet-map { height: 460px; }
    .aw-map-head h2 { font-size: 34px; }
}

@media (max-width: 720px) {
    .aw-intro { padding: 60px 18px 30px; }
    .aw-intro h2 { font-size: 30px; }
    .aw-intro p { font-size: 15px; }

    .aw-map-section { padding: 60px 14px; }
    .aw-map-head h2 { font-size: 26px; }
    .aw-map-head p { font-size: 14px; }
    .aw-leaflet-map { height: 380px; border-radius: 4px; }

    .aw-regions { padding: 60px 18px; }
    .aw-regions-grid { grid-template-columns: 1fr; gap: 18px; }
    .aw-region { padding: 28px 22px 22px; }

    .aw-surrounding { padding: 60px 18px; }
    .aw-surrounding h2 { font-size: 28px; }
    .aw-surrounding p { font-size: 15px; }
}
