/*
 * pharos-design-v2.css
 * Site-wide design improvements:
 *   #1  Amber accent colour
 *   #2  Sticky glassmorphism nav
 *   #3  Footer quick-links styles
 *   #9  Diagonal section transitions
 *   #10 Mobile header contact button
 */

/* ── 1. Amber accent colour token ────────────────────────────────────────── */
:root {
    --pharos-accent:       #E8920A;
    --pharos-accent-dark:  #c57608;
    --pharos-accent-light: rgba(232, 146, 10, 0.10);
}

/* Nav CTA button → amber */
.ppn-btn-cta {
    background: var(--pharos-accent) !important;
    color: #ffffff !important;
}

.ppn-btn-cta:hover {
    background: var(--pharos-accent-dark) !important;
    transform: translateY(-1px);
}

/* Active phase underline → amber instead of step-colour */
.ppn-item.ppn-active > .ppn-trigger {
    box-shadow: inset 0 -3px 0 var(--pharos-accent) !important;
}

/* Form submit buttons → amber */
.kb-forms-submit,
input[type="submit"],
button[type="submit"] {
    background-color: var(--pharos-accent) !important;
    border-color: var(--pharos-accent) !important;
    color: #ffffff !important;
}

.kb-forms-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: var(--pharos-accent-dark) !important;
    border-color: var(--pharos-accent-dark) !important;
}

/* ── 2. Sticky glassmorphism header ──────────────────────────────────────── */
/*
 * Kadence's #wrapper element has overflow:clip which normally blocks
 * position:sticky on the header. We fix this by overriding only overflow-y
 * to visible (allows sticky in the vertical axis) while keeping overflow-x
 * clipped (prevents horizontal shift from full-width blocks).
 */
#wrapper {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 989 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    transition: box-shadow 0.25s ease;
}

/* Kadence header row inner backgrounds must be transparent so the
   parent glass effect shows through */
.site-header .site-header-row-wrap,
.site-header .site-header-row-inner {
    background: transparent !important;
}

/* Shadow added by JS on scroll */
.site-header.pharos-scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07),
                0 6px 22px rgba(0, 0, 0, 0.07);
}

/* ── 3. Footer quick-links block ─────────────────────────────────────────── */
.pharos-footer-links {
    background: #0d1b2a;
    padding: 2.5rem 1.5rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.pharos-footer-links-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3.5rem;
}

.pharos-footer-links-col h4 {
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 0.625rem;
    padding: 0;
}

.pharos-footer-links-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pharos-footer-links-col ul li a {
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.8625rem;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.pharos-footer-links-col ul li a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .pharos-footer-links-inner {
        gap: 1.5rem 2rem;
    }
    .pharos-footer-links-col {
        min-width: 140px;
    }
}

/* ── 9. Diagonal section transitions — REMOVED ───────────────────────────── */

/* ── 10. Mobile header contact button ────────────────────────────────────── */
/*
 * Injected by JS into the Kadence header's mobile toggle row.
 * Hidden on desktop (> 1024px breakpoint).
 */
.pharos-mob-contact-btn {
    display: none;
    align-items: center;
    margin-right: 2px;
}

.pharos-mob-contact-btn a {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    background: var(--pharos-accent);
    color: #ffffff !important;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.15s ease;
}

.pharos-mob-contact-btn a:hover {
    background: var(--pharos-accent-dark);
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .pharos-mob-contact-btn {
        display: flex;
    }
}
