/* ============================================================
   Service-page design system — light professional theme
   Used by: expert-testimony.html, consulting.html, speaking.html
   Inspired by the homepage brand (Inter, blue→red gradient accents)
   but self-contained: do NOT load styles.css alongside this file.
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #16181d;
    --body-text: #3d4351;
    --muted: #6b7280;
    --paper: #ffffff;
    --wash: #f7f7f5;
    --wash-deep: #efefec;
    --line: #e5e5e2;
    --blue: #2563EB;
    --blue-deep: #1d4ed8;
    --red: #DC2626;
    --grad: linear-gradient(90deg, #2563EB, #DC2626);
    --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06);
    --shadow-md: 0 10px 30px rgba(22, 24, 29, 0.08);
    --shadow-lg: 0 24px 60px rgba(22, 24, 29, 0.12);
    --radius: 14px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--paper);
    color: var(--body-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a {
    color: var(--blue);
}

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

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

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

.site-header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 68px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    text-decoration: none;
}

.brand .brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand .brand-tag {
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav a {
    color: var(--body-text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--blue);
}

.site-nav a.active {
    color: var(--ink);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-grad {
    background: linear-gradient(115deg, var(--blue) 0%, #7c3aed 55%, var(--red) 120%);
    color: #fff;
    font-size: 1.05rem;
    padding: 1.05rem 2.4rem;
}

.btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}

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

.site-nav a.header-cta {
    padding: 0.6rem 1.4rem;
    font-size: 0.88rem;
    white-space: nowrap;
    color: #fff;
}

.site-nav a.header-cta:hover {
    color: #fff;
}

/* ---------------- Hero ---------------- */
.svc-hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(600px 320px at 12% -10%, rgba(37, 99, 235, 0.09), transparent 70%),
        radial-gradient(560px 300px at 92% 0%, rgba(220, 38, 38, 0.07), transparent 70%),
        var(--wash);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.svc-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.1rem;
}

.svc-hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.svc-hero .lede {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--body-text);
    max-width: 58ch;
    margin-bottom: 1.8rem;
}

.cred-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.2rem;
}

.chip {
    display: inline-block;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.chip::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad);
    margin-right: 0.55rem;
    vertical-align: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-photo {
    position: relative;
}

.hero-photo img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.hero-photo::after {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border-radius: 18px;
    background: var(--grad);
    opacity: 0.14;
    z-index: -1;
}

.photo-card {
    margin-top: 1.4rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.25rem;
    text-align: center;
}

.photo-card strong {
    color: var(--ink);
    display: block;
    font-size: 1rem;
}

.photo-card span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------------- Stat band ---------------- */
.stat-band {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 2.4rem 0;
}

.stat-band .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

.stat .stat-label {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0.3rem;
}

/* ---------------- Sections ---------------- */
.svc-section {
    padding: 5rem 0;
}

.svc-section.alt {
    background: var(--wash);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.2rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    display: inline-block;
    position: relative;
    padding-bottom: 0.9rem;
}

.section-head h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad);
}

.section-head p {
    margin-top: 1.2rem;
    font-size: 1.08rem;
    color: var(--body-text);
}

/* ---------------- Card grids ---------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.svc-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
}

.svc-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.svc-card p {
    font-size: 0.96rem;
    color: var(--body-text);
}

.svc-card .card-index {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.8rem;
}

/* Feature panels: heading + rich list */
.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--shadow-sm);
}

.panel.accent-blue {
    border-top: 3px solid var(--blue);
}

.panel.accent-red {
    border-top: 3px solid var(--red);
}

.panel h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.panel .panel-sub {
    color: var(--muted);
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    font-size: 0.97rem;
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.28rem;
    border-radius: 50%;
    background:
        linear-gradient(var(--paper), var(--paper)) padding-box,
        var(--grad) border-box;
    border: 2px solid transparent;
    position: relative;
}

.check-list li strong {
    color: var(--ink);
}

/* ---------------- Process steps ---------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.6rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

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

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.92rem;
    color: var(--body-text);
}

/* ---------------- FAQ ---------------- */
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 2rem;
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--blue);
}

.faq-item:nth-child(even) {
    border-left-color: var(--red);
}

.faq-item h3 {
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
}

.faq-item p {
    font-size: 0.97rem;
}

/* ---------------- Quote / pull ---------------- */
.pull {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.55;
}

.pull em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------- Contact form ---------------- */
.svc-contact {
    padding: 5rem 0;
    background:
        radial-gradient(560px 300px at 88% 110%, rgba(220, 38, 38, 0.07), transparent 70%),
        radial-gradient(600px 320px at 8% 100%, rgba(37, 99, 235, 0.08), transparent 70%),
        var(--wash);
    border-top: 1px solid var(--line);
}

.form-shell {
    max-width: 720px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 2.8rem;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.45rem;
}

.form-input,
.form-textarea,
select.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 0.6rem;
}

.form-note {
    text-align: center;
    font-size: 0.83rem;
    color: var(--muted);
    margin-top: 1.1rem;
}

.success-message {
    display: none;
    text-align: center;
    padding: 1.6rem;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 12px;
    margin-top: 1.4rem;
    color: var(--ink);
}

.success-message.show {
    display: block;
}

/* ---------------- Footer (dark, ties back to the homepage) ---------------- */
.svc-footer {
    background: #0f1013;
    color: #a1a1aa;
    padding: 3.2rem 0 2.6rem;
}

.svc-footer .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

.svc-footer .footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
}

.svc-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
}

.svc-footer nav a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.svc-footer nav a:hover {
    color: #fff;
}

.svc-footer .fine {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
    .svc-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-photo {
        max-width: 420px;
        margin: 0 auto;
    }

    .card-grid,
    .card-grid.cols-2,
    .steps {
        grid-template-columns: 1fr;
    }

    .stat-band .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .site-nav .nav-link {
        display: none;
    }

    .site-nav a.header-cta {
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }

    .panel {
        padding: 1.7rem;
    }

    .form-shell {
        padding: 1.8rem;
    }

    .svc-section {
        padding: 3.5rem 0;
    }

    .svc-hero {
        padding: 3.2rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
