/* ==========================================================================
   contact.php — page-only styles. Builds on theme.css (tokens + ph- components).
   Candidates to promote into theme.css: .ph-crumbs, select.ph-input,
   textarea.ph-input, .ph-direct (direct-contact card).
   ========================================================================== */

/* ---------- breadcrumb (on the red page hero) ---------- */
.ph-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0 0 var(--ph-s-4); padding: 0; list-style: none; font-size: var(--ph-fs-sm); }
.ph-crumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--ph-on-red-soft); }
.ph-crumbs li + li::before { content: "/"; opacity: .7; }
.ph-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.ph-crumbs a:hover { text-decoration-color: #fff; }

/* ---------- hero ---------- */
.ph-contact-hero { display: grid; gap: var(--ph-s-6); align-items: center; }
@media (min-width: 992px) {
    .ph-contact-hero { grid-template-columns: 1.1fr .9fr; gap: var(--ph-s-8); }
}
.ph-pagehero .ph-display { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem); margin-bottom: var(--ph-s-4) !important; }
.ph-pagehero .ph-hero__lead { margin-bottom: 0 !important; color: #fff; } /* white over the rays keeps it above 4.5:1 */
.ph-pagehero .ph-hero__points { margin-top: var(--ph-s-5) !important; }
@media (max-width: 479.98px) {
    .ph-pagehero .ph-hero__eyebrow { letter-spacing: .08em; padding-inline: .9em; }
    .ph-pagehero .ph-hero__lead { font-size: var(--ph-fs-lg); }
    .ph-direct__kicker { letter-spacing: .06em !important; }
    .ph-direct__item span.ph-direct__value { font-size: var(--ph-fs-sm); }
    a.ph-direct__item .ph-direct__go { display: none; }
}

/* ---------- direct contact card (call / WhatsApp / email / location) ---------- */
.ph-direct {
    position: relative;
    background: var(--ph-paper);
    color: var(--ph-ink-2);
    border-radius: var(--ph-r-xl);
    padding: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    box-shadow: var(--ph-shadow-lg);
}
.ph-direct__kicker { margin: 0 0 .35rem !important; font-size: var(--ph-fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-red-700); }
.ph-direct__number {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--ph-font-display);
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ph-ink) !important;
    font-variant-numeric: tabular-nums;
}
.ph-direct__number:hover { color: var(--ph-red-700) !important; }
.ph-direct__sub { margin: .25rem 0 var(--ph-s-5) !important; color: var(--ph-muted); font-size: var(--ph-fs-sm); }
.ph-direct .ph-btn-row > .ph-btn { flex: 1 1 180px; }
.ph-direct__list { display: grid; gap: 0; margin-top: var(--ph-s-5) !important; border-top: 1px solid var(--ph-line); }
.ph-direct__item {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 64px;
    padding-block: .65rem;
    border-bottom: 1px solid var(--ph-line);
}
.ph-direct__item:last-child { border-bottom: 0; padding-bottom: 0; }
.ph-direct__item .ph-icon-badge { width: 44px; height: 44px; font-size: 1rem; }
.ph-direct__item strong { display: block; font-size: var(--ph-fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ph-muted); line-height: 1.3; }
.ph-direct__item span.ph-direct__value { display: block; color: var(--ph-ink); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
a.ph-direct__item { color: inherit; }
a.ph-direct__item:hover .ph-direct__value { color: var(--ph-red-700); text-decoration: underline; text-underline-offset: 3px; }
a.ph-direct__item .ph-direct__go { margin-left: auto; color: var(--ph-red); font-size: .9rem; flex: none; transition: transform .2s var(--ph-ease); }
a.ph-direct__item:hover .ph-direct__go { transform: translateX(3px); }

/* ---------- form extras ---------- */
select.ph-input {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5E57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}
select.ph-input:invalid { color: #8C7F78; }
select.ph-input option { color: var(--ph-ink); }
textarea.ph-input { min-height: 128px; resize: vertical; line-height: 1.5; }
.ph-input-wrap--top > i { top: 1.15rem; transform: none; }
.ph-field__hint { font-size: var(--ph-fs-xs); color: var(--ph-muted); }
.ph-optional { font-weight: 500; color: var(--ph-muted); }
.ph-contact-form .ph-btn[type="submit"] { margin-top: var(--ph-s-5); }
.ph-contact-form .ph-form__note { justify-content: center; text-align: center; }
.ph-contact-form .ph-form__note a { color: var(--ph-red-700); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- why connect (mini cards in the enquiry aside) ---------- */
.ph-why { margin-top: var(--ph-s-2); }
.ph-why__title { font-size: var(--ph-fs-h3); margin-bottom: var(--ph-s-4) !important; }
.ph-why .ph-card { padding: var(--ph-s-5); }
.ph-why .ph-card__title { font-size: 1.2rem; }
.ph-why .ph-icon-badge { margin-bottom: .85rem; }
@media (min-width: 992px) {
    .ph-why .ph-grid--mini { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- areas + map link ---------- */
.ph-contact-areas .ph-btn-row { margin-top: var(--ph-s-5); }
