/* ── Contact Page Styles ─────────────────────────────────────────────────────
   Loaded only on page-contact.php via is_page_template() conditional.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Shared inner-page utilities ───────────────────────────────────────────── */
.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 14px;
}
.pill-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.section-sub {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

/* ── Page Hero ─────────────────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 65%, var(--navy-mid) 100%);
    padding: calc(var(--topbar-h) + var(--nav-h) + 64px) 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}
.page-hero-glow {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.14) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .pill-label { background: rgba(212,175,55,0.12); border-color: rgba(212,175,55,0.25); }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin: 16px 0 24px;
}
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }

/* ══ CONTACT BODY ════════════════════════════════════════════════════════ */
.contact-body {
    padding: 80px 0 100px;
    background: var(--white);
}
.contact-cols {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: start;
}
.contact-col-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.contact-col-sub {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0 0 32px;
}

/* ── Contact Form ── */
.cf-success-box {
    background: #f0faf4;
    border: 1px solid #a8d5b5;
    border-radius: 4px;
    padding: 40px 32px;
    text-align: center;
}
.cf-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2e9e5b;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.cf-success-box h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text-dark);
    margin: 0 0 10px;
}
.cf-success-box p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0 0 24px;
}
.cf-btn { display: inline-block; text-decoration: none; padding: 14px 32px; border-radius: 2px; font-family: var(--font-ui); font-size: 13px; font-weight: 700; }
.cf-btn-gold { background: var(--gold); color: var(--navy-dark); }
.cf-btn-gold:hover { background: var(--gold-light); }

.cf-error-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    border: 1px solid #f5c2c2;
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #c0392b;
    margin-bottom: 24px;
}
.cf-error-box svg { color: #c0392b; flex-shrink: 0; }

.cf-form { display: flex; flex-direction: column; gap: 0; }

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cf-field { margin-bottom: 20px; }

.cf-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.cf-req {
    color: #c0392b;
    margin-left: 2px;
    font-size: 13px;
}

.cf-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.cf-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
    background: var(--white);
}
select.cf-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.cf-textarea { resize: vertical; min-height: 130px; }

.cf-submit {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 14px;
}
.cf-submit:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

.cf-privacy {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* ── Contact Info ── */
.ci-card {
    background: var(--navy-dark);
    border-radius: 4px;
    padding: 36px 32px;
    margin-bottom: 20px;
}
.ci-card .contact-col-title { color: var(--white); }

.ci-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }

.ci-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.ci-label {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.ci-value {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
a.ci-value:hover { color: var(--gold); }
.ci-note {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.ci-wa-btn {
    width: 100%;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
    box-sizing: border-box;
}
.ci-wa-btn:hover { background: #1ebe5c; }

.ci-map-wrap {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}
.ci-map {
    width: 100%;
    height: 240px;
    border: none;
    display: block;
}

/* ══ FAQ ════════════════════════════════════════════════════════════════ */
.faq-section {
    padding: 80px 0 100px;
    background: var(--off-white);
}
.faq-header {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 48px;
}
.faq-header .pill-label { margin-bottom: 16px; }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
    border-radius: 4px 4px 0 0;
}
.faq-item:last-child { border-radius: 0 0 4px 4px; }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    user-select: none;
    transition: color 0.2s, background 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-q:hover { color: var(--navy); background: var(--off-white); }
.faq-item[open] > .faq-q { color: var(--navy); border-bottom: 1px solid var(--border); }

.faq-chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    margin-top: -4px;
}
.faq-item[open] > .faq-q .faq-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-a {
    padding: 20px 28px 24px;
}
.faq-a p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0;
}

/* ══ RESPONSIVE ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .contact-cols { grid-template-columns: 1fr; gap: 48px; }
    .contact-info-col { max-width: 560px; }
}
@media (max-width: 768px) {
    .contact-body, .faq-section { padding: 60px 0; }
    .cf-row { grid-template-columns: 1fr; }
    .page-hero { padding: calc(var(--topbar-h) + var(--nav-h) + 32px) 0 48px; }
    .faq-q { padding: 18px 20px; font-size: 15px; }
    .faq-a { padding: 16px 20px 20px; }
}
