/* ============================================================
   NTM Connect — Hero (dark search section)

   Dark editorial banner. Centered eyebrow flanked by hairline
   rules, large serif headline with italic-teal accent, short
   paragraph, then the search form: two transparent inputs
   side-by-side on desktop, stacked on mobile, with a teal
   submit button.

   Mirrors the contact hero typography contract but specialised
   for search input rather than channel cards.
   ============================================================ */

.ntm-connect-hero {
    position: relative;
    background-color: var(--ntm-bg-dark);
    color: #ffffff;
    padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 64px) clamp(56px, 7vw, 112px);
    overflow: hidden;
    isolation: isolate;
}

.ntm-connect-hero__glow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: clamp(220px, 26vw, 460px);
    height: clamp(220px, 26vw, 460px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(42, 139, 148, 0.42) 0%,
        rgba(42, 139, 148, 0.20) 30%,
        rgba(42, 139, 148, 0.06) 60%,
        rgba(42, 139, 148, 0.015) 80%,
        rgba(42, 139, 148, 0) 100%
    );
    filter: blur(12px);
}

.ntm-connect-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--ntm-container-max, 1392px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 72px);
}

/* ---------- Headline block ---------- */
.ntm-connect-hero__head {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.2vw, 28px);
}

.ntm-connect-hero__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 1.4vw, 20px);
}

.ntm-connect-hero__eyebrow-rule {
    display: inline-block;
    width: clamp(28px, 3vw, 44px);
    height: 1px;
    background-color: var(--ntm-accent-teal);
    opacity: 0.85;
}

.ntm-connect-hero__headline {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 1.1;
    letter-spacing: 0.005em;
    color: #ffffff;
}

.ntm-connect-hero__headline-roman {
    font-style: normal;
}

.ntm-connect-hero__headline-italic {
    font-style: italic;
    color: var(--ntm-accent-teal);
    margin-left: 0.18em;
}

.ntm-connect-hero__description {
    margin: 0 auto;
    max-width: 680px;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Search form ---------- */
.ntm-connect-hero__form {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: clamp(10px, 1.4vw, 14px);
    align-items: stretch;
}

.ntm-connect-hero__field {
    position: relative;
    display: flex;
    align-items: center;
}

.ntm-connect-hero__field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.ntm-connect-hero__field-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ntm-connect-hero__input {
    width: 100%;
    height: clamp(54px, 5vw, 62px);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-family: var(--ntm-font-sans);
    font-size: clamp(0.95rem, 1vw, 1rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    padding: 0 18px 0 48px;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.ntm-connect-hero__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

.ntm-connect-hero__input:focus {
    outline: none;
    border-color: var(--ntm-accent-teal);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(42, 139, 148, 0.18);
}

.ntm-connect-hero__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: clamp(54px, 5vw, 62px);
    padding: 0 clamp(24px, 2.6vw, 36px);
    background-color: var(--ntm-accent-teal);
    color: #ffffff;
    border: 1px solid var(--ntm-accent-teal);
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.ntm-connect-hero__submit:hover,
.ntm-connect-hero__submit:focus-visible {
    background-color: transparent;
    color: var(--ntm-accent-teal);
    border-color: var(--ntm-accent-teal);
    outline: none;
}

.ntm-connect-hero__submit svg {
    width: 14px;
    height: 14px;
}

/* ---------- Result summary line under the form ---------- */
.ntm-connect-hero__summary {
    margin: 0 auto;
    max-width: 880px;
    text-align: center;
    font-family: var(--ntm-font-sans);
    font-size: clamp(0.8125rem, 0.85vw, 0.875rem);
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
}

.ntm-connect-hero__summary-emph {
    color: #ffffff;
    font-weight: 600;
}

.ntm-connect-hero__summary-reset {
    color: var(--ntm-accent-teal);
    margin-left: 10px;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 139, 148, 0.4);
    padding-bottom: 1px;
    transition: opacity 0.18s ease;
}

.ntm-connect-hero__summary-reset:hover {
    opacity: 0.8;
    color: var(--ntm-accent-teal);
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .ntm-connect-hero__form {
        grid-template-columns: minmax(0, 1fr);
    }
    .ntm-connect-hero__submit {
        height: 54px;
    }
}
