/* ProCallNow landing page */

:root {
    --teal: #14a3ad;
    --teal-dark: #0d7f87;
    --amber: #f5a623;
    --navy: #17293f;
    --ink: #2b3a4f;
    --muted: #68788e;
    --bg: #ffffff;
    --bg-soft: #f4f8f9;
    --line: #e3ebee;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 560px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    width: 52px;
}

    .brand-mark.small {
        width: 36px;
    }

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .main-nav a {
        text-decoration: none;
        color: var(--ink);
        font-weight: 600;
        font-size: .95rem;
    }

        .main-nav a:hover {
            color: var(--teal-dark);
        }

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    padding: 14px 30px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 6px 18px rgba(23,41,63,.35);
}

    .btn-primary:hover {
        background: #0f1e30;
        transform: translateY(-1px);
    }

.btn-ghost {
    border: 2px solid var(--line);
    color: var(--navy);
    background: #fff;
}

    .btn-ghost:hover {
        border-color: var(--teal);
        color: var(--teal-dark);
    }

.btn-small {
    padding: 10px 20px;
    font-size: .9rem;
    background: var(--navy);
    color: #fff;
}

    .btn-small:hover {
        background: var(--teal-dark);
        color: #fff;
    }

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, #f2fafb 0%, #ffffff 100%);
    padding: 72px 0 56px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(20,163,173,.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 18px;
}

.hero h1 {
    font-size: 3.1rem;
    line-height: 1.12;
    color: var(--navy);
    margin: 0 0 18px;
    letter-spacing: -1.5px;
}

    .hero h1 .accent {
        color: var(--teal);
    }

.lede {
    font-size: 1.2rem;
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-art img {
    border-radius: 24px;
}

/* Strip */
.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 22px;
    text-align: center;
}

.strip strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
}

.strip span {
    color: var(--muted);
    font-size: .92rem;
}

/* Sections */
.section {
    padding: 76px 0;
}

.section-alt {
    background: var(--bg-soft);
}

.section h2 {
    color: var(--navy);
    font-size: 2rem;
    letter-spacing: -.8px;
    margin: 0 0 10px;
    text-align: center;
}

.section-sub {
    color: var(--muted);
    text-align: center;
    margin: 0 auto 40px;
    max-width: 38rem;
    font-size: 1.08rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: 0 4px 14px rgba(23,41,63,.05);
}

.card-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--amber);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.2rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

    .topics span {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 10px 20px;
        font-weight: 600;
        color: var(--navy);
        font-size: .95rem;
    }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

    .split h2 {
        text-align: left;
    }

.ticks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

    .ticks li {
        padding: 8px 0 8px 34px;
        position: relative;
        font-weight: 600;
        color: var(--navy);
    }

        .ticks li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 8px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(20,163,173,.14);
            color: var(--teal-dark);
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .85rem;
        }

.expert-art img {
    border-radius: 24px;
}

/* Waitlist */
.section-cta {
    background: linear-gradient(180deg, var(--navy) 0%, #0f1d30 100%);
}

    .section-cta h2, .section-cta .section-sub {
        color: #fff;
    }

    .section-cta .section-sub {
        opacity: .75;
    }

.waitlist-form {
    background: #fff;
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 18px 50px rgba(0,0,0,.3);
}

    .waitlist-form label {
        display: block;
        font-weight: 700;
        color: var(--navy);
        font-size: .92rem;
        margin-bottom: 18px;
    }

    .waitlist-form input[type="text"],
    .waitlist-form input[type="email"],
    .waitlist-form select {
        display: block;
        width: 100%;
        margin-top: 8px;
        border: 2px solid var(--line);
        border-radius: 10px;
        padding: 13px 14px;
        font-size: 1rem;
        font-family: inherit;
        color: var(--ink);
        background: #fff;
    }

        .waitlist-form input:focus, .waitlist-form select:focus {
            outline: none;
            border-color: var(--teal);
        }

.opt {
    font-weight: 400;
    color: var(--muted);
}

.honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.fine {
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
    margin: 14px 0 0;
}

.notice {
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.notice-ok {
    background: #e6f7f0;
    border: 1px solid #bfe8d6;
    color: #14663f;
}

.notice-err {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #a02a2a;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .footer-inner p {
        margin: 0;
        color: var(--muted);
        font-size: .9rem;
    }

/* Responsive */
@media (max-width: 860px) {
    .hero-inner, .split {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 0 40px;
    }

        .hero h1 {
            font-size: 2.3rem;
        }

    .hero-art {
        max-width: 420px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .strip-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .main-nav a:not(.btn):not(.nav-keep) {
        display: none;
    }

    .section {
        padding: 56px 0;
    }
    /* Compact header on small screens: logo + Find a pro + button need room */
    .brand-mark {
        width: 38px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand {
        gap: 8px;
    }

    .main-nav {
        gap: 10px;
    }

        .main-nav a.nav-keep {
            font-size: .85rem;
        }

        .main-nav .btn-small {
            padding: 9px 14px;
            font-size: .8rem;
        }
}

/* Fix: nav link color was overriding button text (specificity) */
.main-nav a.btn {
    color: #fff;
}

/* ---------- Expert discovery ---------- */
.search-bar {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto 22px;
}

    .search-bar input[type="search"] {
        flex: 1;
        padding: 14px 18px;
        border: 1px solid var(--line);
        border-radius: 999px;
        font-size: 1rem;
        font-family: inherit;
        background: #fff;
        color: var(--ink);
    }

        .search-bar input[type="search"]:focus {
            outline: none;
            border-color: var(--teal);
            box-shadow: 0 0 0 3px rgba(20,163,173,.15);
        }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.chips-static {
    justify-content: flex-start;
    margin-bottom: 0;
}

.chip {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    text-decoration: none;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

a.chip:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
}

.chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.result-count {
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
    margin: 0 0 18px;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.expert-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .expert-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(23,41,63,.10);
    }

.expert-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.avatar-lg {
    width: 84px;
    height: 84px;
    font-size: 1.8rem;
}

.av1 {
    background: linear-gradient(135deg, #14a3ad, #0d7f87);
}

.av2 {
    background: linear-gradient(135deg, #f0a832, #d98a12);
}

.av3 {
    background: linear-gradient(135deg, #17293f, #2c4a6b);
}

.av4 {
    background: linear-gradient(135deg, #7c5cbf, #5a3f96);
}

.avail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    background: #f1f4f6;
    padding: 6px 12px;
    border-radius: 999px;
}

    .avail .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #b9c2c9;
    }

    .avail.on {
        color: #0d7f87;
        background: rgba(20,163,173,.12);
    }

        .avail.on .dot {
            background: #18b26b;
            animation: pulse 1.8s infinite;
        }

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.expert-card h3 {
    margin: 0 0 2px;
    font-size: 1.15rem;
    color: var(--navy);
}

.expert-title {
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--teal-dark);
    font-size: .95rem;
}

.expert-tagline {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .92rem;
}

.expert-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.rate {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
}

    .rate small {
        font-weight: 600;
        font-size: .8rem;
        color: var(--muted);
    }

.stars {
    font-weight: 700;
    color: #d98a12;
}

    .stars small {
        font-weight: 600;
        color: var(--muted);
    }

.empty-state {
    text-align: center;
    padding: 48px 0;
    color: var(--muted);
}

    .empty-state p {
        margin: 0 0 12px;
    }

.back-link {
    color: var(--teal-dark);
    text-decoration: none;
    font-weight: 600;
}

    .back-link:hover {
        text-decoration: underline;
    }

/* ---------- Expert profile ---------- */
.profile-head {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 18px 0 24px;
}

.profile-name {
    margin: 0 0 2px;
    font-size: 1.7rem;
    text-align: left;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 8px;
    text-align: center;
}

    .stat strong {
        display: block;
        font-size: 1.3rem;
        color: var(--navy);
    }

    .stat span {
        font-size: .82rem;
        color: var(--muted);
    }

.profile-sub {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 10px;
    text-align: left;
}

.profile-bio {
    color: var(--ink);
    line-height: 1.65;
    margin: 0 0 26px;
}

.cta-panel {
    margin-top: 32px;
    background: linear-gradient(180deg, #f2fafb 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
}

    .cta-panel h3 {
        margin: 0 0 8px;
        color: var(--navy);
    }

    .cta-panel p {
        color: var(--muted);
        margin: 0 0 18px;
    }

/* Landing-page topic pills become links into discovery */
.topics a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    color: var(--navy);
    font-size: .95rem;
    text-decoration: none;
    transition: border-color .12s ease, color .12s ease;
}

    .topics a:hover {
        border-color: var(--teal);
        color: var(--teal-dark);
    }

@media (max-width: 640px) {
    .search-bar {
        flex-direction: column;
    }

        .search-bar .btn {
            width: 100%;
        }

    .profile-head {
        flex-direction: column;
        text-align: center;
    }

    .profile-name {
        text-align: center;
    }

    .stat-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
}

/* Preview note on discovery page */
.preview-note {
    text-align: center;
    font-size: .88rem;
    color: var(--muted);
    background: rgba(20,163,173,.08);
    border: 1px dashed rgba(20,163,173,.35);
    border-radius: 12px;
    padding: 10px 18px;
    max-width: 560px;
    margin: 0 auto 26px;
}
