/* ============================================================
   TAA Page Hero Widget
   Palette: Orange #F26522 | Blue #0072BC | Yellow #FFC20E | Green #39B54A
   ============================================================ */

/* ── Wrap ── */
.taa-ph-wrap {
    position: relative;
    overflow: hidden;
    background-color: #0d1b2a;
    font-family: inherit;
}

/* ── Overlay (image bg) ── */
.taa-ph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.88) 0%,
        rgba(0, 72, 124, 0.72) 60%,
        rgba(13, 27, 42, 0.80) 100%
    );
    opacity: 72%;
    z-index: 1;
}

/* ── Pattern background ── */
.taa-ph-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Subtle dot grid — refined, not noisy */
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Gradient wash over the pattern for depth */
.taa-ph-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 72, 188, 0.18) 0%,
        transparent 50%,
        rgba(242, 101, 34, 0.10) 100%
    );
    pointer-events: none;
}

/* ── Geometric decorative SVG ── */
.taa-ph-geo {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(200px, 35vw, 420px);
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
}

/* ── Inner container ── */
.taa-ph-inner {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Content column ── */
.taa-ph-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 680px;
    margin-top: 100px;
}

/* ── Breadcrumb ── */
.taa-ph-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.taa-ph-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.18s ease;
    display: inline-flex;
    align-items: center;
}

.taa-ph-breadcrumb a:hover {
    color: #FFC20E;
}

.taa-ph-bc-home {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.taa-ph-bc-sep {
    width: 10px;
    height: 10px;
    color: rgba(255, 255, 255, 0.30);
    flex-shrink: 0;
}

.taa-ph-bc-current {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Eyebrow row ── */
.taa-ph-eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

/* ── Four-colour accent bar — the signature element ── */
.taa-ph-accent-bar {
    display: flex;
    gap: 3px;
    align-items: stretch;
    height: 14px;
    flex-shrink: 0;
}

.taa-ph-accent-bar span {
    display: block;
    width: 4px;
    border-radius: 2px;
}

.taa-ph-ab-1 { background: #F26522; height: 14px; }
.taa-ph-ab-2 { background: #FFC20E; height: 10px; align-self: center; }
.taa-ph-ab-3 { background: #39B54A; height: 12px; align-self: flex-end; }
.taa-ph-ab-4 { background: #0072BC; height: 14px; }

/* ── Eyebrow label ── */
.taa-ph-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFC20E;
    line-height: 1;
}

/* ── Heading ── */
.taa-ph-heading {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 18px 0;
    padding: 0;
    letter-spacing: -0.02em;
    /* Subtle split: first word gets a colour hint via text-shadow warmth */
}

/* ── Sub-text ── */
.taa-ph-subtext {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.70);
    margin: 0 0 28px 0;
    padding: 0;
    font-weight: 400;
}

/* ── CTA Row ── */
.taa-ph-cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* ── Buttons ── */
.taa-ph-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.taa-ph-btn:hover {
    transform: translateY(-2px);
}

.taa-ph-btn-primary {
    background: #F26522;
    color: #ffffff;
    border: 2px solid #F26522;
    box-shadow: 0 4px 18px rgba(242, 101, 34, 0.35);
}

.taa-ph-btn-primary:hover {
    background: #d9581a;
    border-color: #d9581a;
    box-shadow: 0 8px 28px rgba(242, 101, 34, 0.45);
}

.taa-ph-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.taa-ph-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.07);
}

.taa-ph-btn-arrow {
    width: 15px;
    height: 15px;
    transition: transform 0.18s ease;
    flex-shrink: 0;
}

.taa-ph-btn-primary:hover .taa-ph-btn-arrow {
    transform: translateX(3px);
}

/* ── Wave divider ── */
.taa-ph-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 4;
    line-height: 0;
}

.taa-ph-wave svg {
    display: block;
    width: 100%;
    height: clamp(28px, 4vw, 56px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .taa-ph-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .taa-ph-inner {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .taa-ph-content {
        max-width: 100% !important;
    }

    .taa-ph-geo {
        opacity: 0.5;
        width: 200px;
    }

    .taa-ph-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .taa-ph-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .taa-ph-breadcrumb {
        font-size: 11px;
    }

    .taa-ph-heading {
        font-size: 1.6rem;
        letter-spacing: -0.01em;
    }

    .taa-ph-subtext {
        font-size: 14px;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .taa-ph-btn,
    .taa-ph-btn-arrow,
    .taa-ph-breadcrumb a {
        transition: none;
    }
}

/* ── Focus visible ── */
.taa-ph-btn:focus-visible,
.taa-ph-breadcrumb a:focus-visible {
    outline: 2px solid #FFC20E;
    outline-offset: 3px;
    border-radius: 4px;
}
