/* Contact - Wild Heritage */

#hd #a9 {
    background: var(--accent);
    color: #3d1f0a;
    font-weight: 600;
}

#zse1 {
    margin: 0;
    padding: 40px 0 64px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(26, 171, 232, .1), transparent 40%),
        var(--surface);
}

.faq-wrap {
    margin-top: 48px;
}

.faq-wrap h3 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    color: var(--ink);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(232, 137, 58, .2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 10px 24px rgba(7, 24, 36, .06);
    overflow: hidden;
    transition: box-shadow .35s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-body);
    min-height: 52px;
}

/* Keep FAQ question text as one unit (no Sri Lanka highlight / flex gaps) */
.faq-item summary .highlight-sri-lanka {
    color: inherit;
    font-weight: inherit;
    padding: 0;
    background: none;
    -webkit-text-fill-color: inherit;
    filter: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: auto;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
    font-family: var(--font-body);
}

#zd1 {
    margin-top: 28px;
}

.contact-reach {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 8px 0 40px;
}

.contact-reach-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    min-height: 112px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 192, 122, .18), transparent 50%),
        linear-gradient(135deg, #071824 0%, #102d42 55%, #163a52 100%);
    border: 1px solid rgba(232, 192, 122, .22);
    box-shadow: 0 18px 36px rgba(7, 24, 36, .22);
    transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .35s ease;
}

.contact-reach-media {
    position: relative;
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.contact-reach-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(7, 24, 36, .55) 100%);
}

.contact-reach-media-wa {
    background:
        radial-gradient(circle at 40% 40%, rgba(37, 211, 102, .55), transparent 55%),
        linear-gradient(160deg, #0d3b28 0%, #102d42 100%);
}

.contact-reach-media-wa::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/icons/whatsapp.png') center / 42px no-repeat;
    opacity: .9;
    z-index: 1;
}

.contact-reach-media-wa::after {
    background: linear-gradient(90deg, transparent 10%, rgba(7, 24, 36, .4) 100%);
}

.contact-reach-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 18px;
    min-width: 0;
}

.contact-reach-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--font-body);
}

.contact-reach-label .zi1 {
    float: none;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(79%) sepia(28%) saturate(618%) hue-rotate(358deg) brightness(98%);
}

.contact-reach-wa .contact-reach-label .zi1 {
    filter: none;
}

.zs2,
.zad1 {
    color: rgba(245, 243, 237, .92);
    font-size: .98rem;
    font-family: var(--font-body);
    letter-spacing: .01em;
    font-style: normal;
    line-height: 1.5;
    word-break: break-word;
}

.contact-reach-wa .zs2 {
    color: #b8f5d0;
}

@media (min-width: 720px) {
    .contact-reach {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1100px) {
    .contact-reach {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-reach-card {
        grid-template-columns: 1fr;
        grid-template-rows: 120px 1fr;
        min-height: 240px;
    }

    .contact-reach-media::after {
        background: linear-gradient(180deg, transparent 25%, rgba(7, 24, 36, .75) 100%);
    }

    .contact-reach-media-wa::after {
        background: linear-gradient(180deg, transparent 20%, rgba(7, 24, 36, .7) 100%);
    }

    .contact-reach-body {
        padding: 18px 18px 22px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .contact-reach-card:hover {
        transform: translateY(-4px);
        border-color: rgba(232, 192, 122, .5);
        box-shadow: 0 26px 48px rgba(7, 24, 36, .32);
    }
}

.zh31 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--ink);
    padding-bottom: 5px;
    font-family: var(--font-display);
    font-weight: 600;
}

.zd6 {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.zd6[hidden] {
    display: none;
}

.zd8 {
    margin: 0 0 24px;
    display: flex;
}

.zg-name { grid-area: name; }
.zg-nationality { grid-area: nationality; }
.zg-email { grid-area: email; }
.zg-country { grid-area: country; }
.zg-phone { grid-area: phone; }
.zg-tour { grid-area: tour; }
.zg-date { grid-area: date; }
.zg-period { grid-area: period; }
.zg-days { grid-area: days; }
.zg-msg { grid-area: msg; }

.zd9 {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.zd9 .zbt1 {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.zbt2 {
    background: #25d366 !important;
}

.zdd {
    position: relative;
    width: 100%;
}

.zdd-btn {
    width: 100%;
    min-height: 48px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(12, 36, 54, .12);
    outline: none;
    font-size: 1rem;
    padding: 12px 40px 12px 16px;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    color: var(--ink);
    position: relative;
    border-radius: var(--radius);
}

.zdd-btn::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-75%) rotate(45deg);
    transition: transform .2s;
}

.zdd-open .zdd-btn::after {
    transform: translateY(-25%) rotate(-135deg);
}

.zdd-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(12, 36, 54, .12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.zdd-up .zdd-list {
    top: auto;
    bottom: calc(100% + 4px);
}

.zdd-list li {
    padding: 10px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    min-height: 44px;
}

.zdd-list li:hover {
    background: rgba(232, 192, 122, .2);
}

.zdd-list li.zdd-on {
    background: var(--ink);
    color: #fff;
}

.zs4 {
    background: transparent;
    color: var(--ink);
    padding: 12px 8px 12px 0;
    font-size: 1rem;
    width: auto;
    min-width: 140px;
    font-family: var(--font-body);
    font-weight: 600;
}

.zin1,
#sl,
#zsl1 {
    font-family: var(--font-body);
    width: 100%;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(12, 36, 54, .12);
    outline: none;
    font-size: 1rem;
    padding: 12px 16px;
    min-height: 48px;
    border-radius: var(--radius);
    color: var(--ink);
    box-sizing: border-box;
}

.zbt1 {
    width: auto;
    min-height: 50px;
    background: var(--accent);
    border: none;
    outline: none;
    padding: 14px 28px;
    font-size: 1.05rem;
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .35s var(--ease-out), box-shadow .35s ease;
}

.zd7 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 20px;
    justify-content: stretch;
    grid-template-areas:
        "name"
        "nationality"
        "email"
        "country"
        "phone"
        "tour"
        "date"
        "period"
        "days"
        "msg";
}

#zs5 {
    min-height: 120px;
}

#msg {
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

.zi2 {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.map-section {
    margin: 36px 0 28px;
}

.map-heading {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
}

.map-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(12, 36, 54, .1);
    background: #fff;
    box-shadow: var(--shadow);
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}

form {
    margin: 28px 0 24px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(12, 36, 54, .08);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.ko1 {
    color: #c0392b;
    position: absolute;
    top: 100%;
    left: 0;
    font-family: var(--font-body);
    font-size: .85rem;
    margin-top: 4px;
}

.ko2 {
    border: 1px solid #c0392b !important;
}

@media (min-width: 768px) {
    .zd7 {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "name nationality"
            "email country"
            "phone tour"
            "msg date"
            "msg period"
            "msg days";
    }

    .zd9 {
        width: auto;
        margin-left: 0;
        justify-content: flex-start;
    }

    .zs4 {
        width: 180px;
    }
}

@media (min-width: 900px) {
    .zd3 {
        width: 30%;
    }
}

@media (hover: hover) and (pointer: fine) {
    .zd3:hover {
        transform: translateY(-4px);
    }

    .zbt1:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(232, 137, 58, .35);
    }
}

@media only screen and (max-width: 875px) {
    .zi2 {
        display: none;
    }

    .zd5 {
        padding: 5px 0;
        text-align: left;
    }

    .zd4 {
        flex-direction: row;
        margin: 0;
    }

    .zi1 {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 523px) {
    .zd6,
    .zd8 {
        flex-direction: column;
    }

    .zs4,
    #zs5 {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .zd3 {
        width: 100%;
    }

    .zd2 {
        flex-direction: column;
    }
}
