
/* ================================================
   HIGHLAND DENTAL CENTER
   LOCATION SECTION
================================================ */

.hdc-location {
    --loc-teal: #647f82;
    --loc-dark: #3f5f63;
    --loc-deep: #29484d;
    --loc-gold: #f4cf7a;
    --loc-cream: #faf8f3;
    --loc-text: #536467;

    padding: 110px 0;
    background: linear-gradient(
        180deg,
        #faf8f3 0%,
        #ffffff 100%
    );

    font-family: "Poppins", sans-serif;
}

.hdc-location *,
.hdc-location *::before,
.hdc-location *::after {
    box-sizing: border-box;
}

.hdc-location-container {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

/* HEADER */

.hdc-location-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.hdc-location-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--loc-dark);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hdc-location-heading h2 {
    margin: 0 0 23px;
    color: var(--loc-deep);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.13;
}

.hdc-location-heading h2 span {
    display: block;
    color: var(--loc-teal);
}

.hdc-location-heading p {
    margin: 0;
    color: var(--loc-text);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
}

/* MAIN TWO COLUMN LAYOUT */

.hdc-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr)
                           minmax(0, 1.15fr);
    gap: 30px;
    align-items: stretch;
}

/* INFORMATION CARD */

.hdc-location-info {
    padding: 45px 38px;
    border: 1px solid rgba(63,95,99,0.12);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(38,60,64,0.08);
}

.hdc-location-label {
    color: var(--loc-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hdc-location-info h3 {
    margin: 13px 0 35px;
    color: var(--loc-deep);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ADDRESS AND PHONE */

.hdc-location-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.hdc-location-icon {
    display: flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(100,127,130,0.11);
    color: var(--loc-dark);
}

.hdc-location-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hdc-location-detail strong {
    display: block;
    margin-bottom: 7px;
    color: var(--loc-deep);
    font-size: 0.96rem;
    font-weight: 600;
}

.hdc-location-detail address,
.hdc-location-detail a {
    margin: 0;
    color: var(--loc-text);
    font-size: 0.96rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75;
    text-decoration: none;
}

.hdc-location-detail a:hover {
    color: var(--loc-deep);
    text-decoration: underline;
}

.hdc-location-note {
    margin: 20px 0 27px;
    color: var(--loc-text);
    font-size: 0.91rem;
    line-height: 1.7;
}

/* BUTTONS */

.hdc-location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hdc-location-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.hdc-location-primary {
    color: var(--loc-cream) !important;
    background: var(--loc-dark);
}

.hdc-location-primary:hover {
    color: #ffffff !important;
    background: var(--loc-deep);
    transform: translateY(-2px);
}

.hdc-location-secondary {
    color: var(--loc-deep) !important;
    border-color: rgba(63,95,99,0.25);
    background: #ffffff;
}

.hdc-location-secondary:hover {
    color: var(--loc-deep) !important;
    border-color: var(--loc-gold);
    background: var(--loc-cream);
}

.hdc-location-button:focus-visible {
    outline: 3px solid var(--loc-gold);
    outline-offset: 4px;
}

/* MAP */

.hdc-location-map {
    min-width: 0;
    min-height: 465px;
    overflow: hidden;
    border: 5px solid #ffffff;
    border-radius: 28px;
    background: #f1ede4;
    box-shadow: 0 20px 50px rgba(38,60,64,0.10);
}

.hdc-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 465px;
    border: 0;
}

/* TABLETS */

@media (max-width: 991.98px) {
    .hdc-location {
        padding: 85px 0;
    }

    .hdc-location-grid {
        grid-template-columns: 1fr;
    }

    .hdc-location-info {
        padding: 38px;
    }

    .hdc-location-map,
    .hdc-location-map iframe {
        min-height: 430px;
    }
}

/* PHONES */

@media (max-width: 575.98px) {
    .hdc-location {
        padding: 65px 0;
    }

    .hdc-location-container {
        width: calc(100% - 28px);
    }

    .hdc-location-heading {
        margin-bottom: 35px;
    }

    .hdc-location-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .hdc-location-info {
        padding: 29px 22px;
        border-radius: 22px;
    }

    .hdc-location-info h3 {
        font-size: 1.4rem;
    }

    .hdc-location-actions {
        flex-direction: column;
    }

    .hdc-location-button {
        width: 100%;
    }

    .hdc-location-map,
    .hdc-location-map iframe {
        min-height: 350px;
    }

    .hdc-location-map {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdc-location-button {
        transition: none;
    }
}

