/* ===================================================
   Layout: Contact
   File:   template-parts/flexible/contact/contact.css
=================================================== */


.AH_contact_section {
    background-color: #faf7f0;
    padding: 5.5rem 0 5rem;
    position: relative;
    border-top: 1px solid #e8e0d6;
    border-bottom: 1px solid #e8e0d6;
}

/* ── Section Header ────────────────────────────────────────── */
.AH_contact_header_row {
    margin-bottom: 3.5rem;
}

.AH_contact_subtitle {
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.78rem;
    color: #b8932a;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.9rem;
    position: relative;
}

.AH_contact_title {
    font-family: var(--header-font, 'Lora', serif);
    font-size: 2.5rem;
    color: #1a1a14;
    font-weight: 400;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.AH_contact_desc {
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 1.05rem;
    color: #6e6e66;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 680px;
}

/* ── Contact Cards Grid ────────────────────────────────────── */
.AH_contact_cards_row {
    margin-bottom: 3rem;
}

.AH_contact_card {
    background: #ffffff;
    border: 1px solid #e8e0d6;
    border-radius: 12px;
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.35s ease;
    overflow: hidden;
}

.AH_contact_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.35s ease;
}

.AH_contact_card:hover {
    transform: translateY(0px);
    box-shadow: 0 16px 36px rgba(30, 61, 47, 0.08);
    border-color: #d1c5b4;
}

.AH_contact_card--whatsapp:hover::before {
    background: #25D366;
}

.AH_contact_card--email:hover::before {
    background: #b8932a;
}

.AH_contact_card--location:hover::before {
    background: #1e3d2f;
}

/* ── Card Badge ────────────────────────────────────────────── */
.AH_contact_card_badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a7431;
    background: rgba(37, 211, 102, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.AH_contact_card_badge--subtle {
    color: #6e6e66;
    background: #f3eee6;
}

.AH_contact_pulse_dot {
    width: 7px;
    height: 7px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: AH_pulse 2s infinite;
}

@keyframes AH_pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ── Card Icons ────────────────────────────────────────────── */
.AH_contact_icon_wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.35rem;
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.AH_contact_card:hover .AH_contact_icon_wrap {
    transform: scale(1.08);
}

.AH_contact_icon_wrap--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #128C7E;
}

.AH_contact_icon_wrap--mail {
    background: rgba(184, 147, 42, 0.12);
    color: #b8932a;
}

.AH_contact_icon_wrap--location {
    background: rgba(30, 61, 47, 0.1);
    color: #1e3d2f;
}

/* ── Card Content ──────────────────────────────────────────── */
.AH_contact_card_title {
    font-family: var(--header-font, 'Lora', serif);
    font-size: 1.35rem;
    color: #1a1a14;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.AH_contact_card_desc {
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.9rem;
    color: #6e6e66;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 2.8em;
}

.AH_contact_detail_box {
    background: #faf7f0;
    border: 1px dashed #d8cfc2;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.AH_contact_detail_label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c857b;
    margin-bottom: 0.3rem;
}

.AH_contact_detail_val {
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3d2f;
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
    transition: color 0.2s ease;
}

.AH_contact_detail_val:hover {
    color: #b8932a;
}

.AH_contact_address_text {
    font-size: 0.9rem;
    color: #2d2d26;
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

.AH_contact_hours_text {
    font-size: 0.8rem;
    color: #7b756b;
    display: inline-flex;
    align-items: center;
}

/* ── Buttons ───────────────────────────────────────────────── */
.AH_contact_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.AH_contact_btn--whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

.AH_contact_btn--whatsapp:hover {
    background-color: #1ebe5d;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.AH_contact_btn--email {
    background-color: #1e3d2f;
    color: #ffffff;
}

.AH_contact_btn--email:hover {
    background-color: #b8932a;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(184, 147, 42, 0.35);
}

.AH_contact_btn--outline {
    background-color: transparent;
    color: #1e3d2f;
    border-color: #1e3d2f;
}

.AH_contact_btn--outline:hover {
    background-color: #1e3d2f;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(30, 61, 47, 0.2);
}

/* ── Trust Bar ─────────────────────────────────────────────── */
.AH_contact_trust_bar {
    background: #ffffff;
    border: 1px solid #e8e0d6;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
}

.AH_contact_trust_title {
    font-family: var(--header-font, 'Lora', serif);
    font-size: 1.1rem;
    color: #1a1a14;
    font-weight: 500;
    display: block;
    margin-bottom: 0.2rem;
}

.AH_contact_trust_sub {
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.88rem;
    color: #6e6e66;
    display: block;
}

.AH_contact_pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--body-font, 'Work Sans', sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    color: #1e3d2f;
    background: #f5f2e9;
    border: 1px solid #e2dacd;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.AH_contact_pill i {
    color: #b8932a;
    font-size: 0.95rem;
}

.AH_contact_pill:hover {
    background: #ede6d8;
    border-color: #d1c3af;
}

/* ── Responsive Queries ────────────────────────────────────── */
@media (max-width: 991px) {
    .AH_contact_section {
        padding: 4rem 0 3.5rem;
    }
    .AH_contact_title {
        font-size: 2.15rem;
    }
    .AH_contact_card_desc {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .AH_contact_section {
        padding: 3.5rem 0 3rem;
    }
    .AH_contact_title {
        font-size: 1.85rem;
    }
    .AH_contact_card {
        padding: 1.75rem 1.5rem;
    }
    .AH_contact_trust_bar {
        padding: 1.25rem 1.25rem;
    }
    .AH_contact_pills {
        justify-content: flex-start !important;
    }
}

