/**
 * AlloDentiste Contact Info Widget
 * Two-column layout: info panel (left) + Google Map (right)
 */

/* ================================================================
   Outer container
   ================================================================ */
.allo-contact-info-widget {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px var(--allo-gutter);
}

/* ================================================================
   Two-column grid
   ================================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: start;
}

/* ================================================================
   Left panel: info
   ================================================================ */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ---- Eyebrow + heading ---- */
.contact-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00A1AD;
}

.contact-heading {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.15;
}

/* ================================================================
   Contact details: phone + address
   ================================================================ */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon.contact-icon-bg {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 161, 173, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00A1AD;
}

.contact-phone {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    text-decoration: none;
    line-height: 44px;       /* vertically centre against icon */
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.contact-phone:hover {
    color: #00A1AD;
}

.contact-address {
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    color: #555555;
    text-decoration: none;
    line-height: 1.55;
    padding-top: 10px;
    transition: color 0.2s ease;
}

a.contact-address:hover {
    color: #00A1AD;
}

/* ================================================================
   Working Hours panel
   ================================================================ */
.contact-hours {
    background-color: #F7FCFD;
    border: 1px solid #CCE9EC;
    border-radius: 16px;
    padding: 24px 28px;
}

.contact-hours-heading {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00A1AD;
}

.contact-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 161, 173, 0.1);
    font-size: 0.9rem;
}

.contact-hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-hours-row:first-child {
    padding-top: 0;
}

/* Today highlight */
.contact-hours-row.is-today {
    background-color: rgba(0, 161, 173, 0.06);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
}

.contact-hours-row.is-today .contact-info-hours-day {
    color: #00A1AD;
    font-weight: 700;
}

.contact-info-hours-day {
    font-weight: 600;
    color: #1A1A1A;
}

/* Closed row */
.contact-hours-row.is-closed .contact-info-hours-day {
    color: #AAAAAA;
    font-weight: 400;
}

.contact-info-hours-time {
    color: #555555;
    font-weight: 400;
}

.contact-info-hours-time.closed-label {
    color: #BBBBBB;
    font-style: italic;
}

/* ================================================================
   CTA Links
   ================================================================ */
.contact-info-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-info-link {
    color: #00A1AD;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-info-link:hover {
    color: #008A94;
}

.contact-info-link-separator {
    color: #CCCCCC;
    user-select: none;
}

/* ================================================================
   Social Media Icons
   ================================================================ */
.contact-social-media {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 161, 173, 0.08);
    color: #00A1AD;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-social-icon:hover {
    background-color: #00A1AD;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 161, 173, 0.25);
}

/* ================================================================
   Right panel: map
   ================================================================ */
.contact-map-panel {
    position: sticky;
    top: 40px;
}

.contact-map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    line-height: 0;   /* kills gap under iframe */
}

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

/* ================================================================
   Responsive — tablet (≤ 960px)
   ================================================================ */
@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-map-panel {
        position: static;
    }

    /* Override inline height so map is fixed on mobile */
    .contact-map-wrapper {
        height: 380px !important;
    }
}

/* ================================================================
   Responsive — mobile (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
    .contact-heading {
        font-size: 1.75rem;
    }

    .contact-hours {
        padding: 18px 20px;
    }

    .contact-map-wrapper {
        height: 300px !important;
    }
}
