/* ReActive Clinic - Public Website */
:root {
    --gold: #e6a800;
    --gold-light: #ffc107;
    --gold-soft: #fff8e1;
    --dark: #1a2233;
    --dark-soft: #2a3547;
    --text: #4b5563;
    --muted: #8b93a3;
    --line: #eef0f4;
    --bg: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Nav ── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1150px; margin: 0 auto; padding: 6px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-img { height: 64px; width: auto; display: block; }
.brand-logo {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px; font-weight: 700;
}
.brand-name { font-size: 20px; font-weight: 700; color: var(--dark); }
.brand-name span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; color: var(--dark); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
    padding: 10px 20px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: white; font-weight: 600; font-size: 14px; transition: 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(230,168,0,0.35); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* ── Layout ── */
.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #41464d 0%, #565c63 60%, #6b727a 100%);
    color: white; padding: 110px 0 120px; position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -120px; top: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,193,7,0.25), transparent 70%);
}
.hero-inner { max-width: 1150px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,193,7,0.12); color: var(--gold-light);
    border: 1px solid rgba(255,193,7,0.3); padding: 7px 16px; border-radius: 30px;
    font-size: 13px; font-weight: 500; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .hl { color: var(--gold-light); }
.hero p { font-size: 17px; color: #c3cbda; max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 14px 28px; border-radius: 10px; font-weight: 600;
    font-size: 15px; transition: 0.25s; cursor: pointer; border: none; font-family: 'Poppins', sans-serif;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: white; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(230,168,0,0.4); }
.btn-outline-w { border: 2px solid rgba(255,255,255,0.4); color: white; }
.btn-outline-w:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; }
.hero-stat .num { font-size: 30px; font-weight: 700; color: var(--gold-light); }
.hero-stat .lbl { font-size: 13px; color: #aab4c6; }
.hero-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 16px; color: var(--gold-light); margin-bottom: 12px; font-weight: 600; }
.hero-card ul { list-style: none; }
.hero-card li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; color: #c3cbda; display: flex; gap: 10px; align-items: flex-start; }
.hero-card li:last-child { border-bottom: none; }
.hero-card li::before { content: '✓'; color: var(--gold-light); font-weight: 700; }

/* ── Grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    padding: 28px; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,51,0.08); border-color: var(--gold-light); }
.card-icon {
    width: 52px; height: 52px; border-radius: 12px; font-size: 26px;
    background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* Service cards */
.service-card { display: flex; flex-direction: column; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-card .tag { font-size: 11px; padding: 4px 10px; border-radius: 20px; background: var(--gold-soft); color: var(--gold); font-weight: 500; }
.service-card .link { margin-top: auto; padding-top: 18px; color: var(--gold); font-weight: 600; font-size: 14px; }
.service-card .link:hover { text-decoration: underline; }

/* ── Journey timeline ── */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline-step { position: relative; text-align: center; }
.timeline-dot {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: white; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.timeline-step h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.timeline-step p { font-size: 13px; color: var(--muted); }

/* ── Tests list ── */
.test-row {
    display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.test-row:last-child { border-bottom: none; }
.test-check { color: var(--gold); font-size: 18px; margin-top: 2px; }
.test-row h4 { font-size: 16px; font-weight: 600; color: var(--dark); }
.test-row p { font-size: 14px; color: var(--muted); }

/* ── Team ── */
.team-grid { max-width: 1400px; }
.team-card { text-align: center; padding: 46px 32px; }
.team-avatar {
    width: 156px; height: 156px; border-radius: 50%; margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: white; font-size: 56px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 5px solid #fff; box-shadow: 0 8px 24px rgba(26,35,51,0.16);
}
.team-card h3 { font-size: 21px; font-weight: 600; color: var(--dark); }
.team-role { font-size: 15px; color: var(--gold); font-weight: 500; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--muted); }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
    font-size: 14px; font-family: 'Poppins', sans-serif; outline: none; transition: 0.2s;
    background: var(--white); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold-light); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-box {
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    padding: 40px; box-shadow: 0 8px 30px rgba(26,35,51,0.06);
}

/* ── Flash ── */
.flash {
    max-width: 1150px; margin: 20px auto 0; padding: 14px 20px; border-radius: 12px;
    font-size: 14px; font-weight: 500;
}
.flash.success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.flash.error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* ── Footer ── */
.footer { background: linear-gradient(135deg, #41464d 0%, #565c63 60%, #6b727a 100%); color: #c7ccd2; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { max-width: 1150px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: white; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer a { display: block; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer a:hover { color: var(--gold-light); }
.footer-about p { font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; font-size: 13px; }
.footer .brand-name { color: white; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,7,0.45); }
    70% { box-shadow: 0 0 0 14px rgba(255,193,7,0); }
}

.hero-badge, .hero h1, .hero p, .hero-btns, .hero-stats, .hero-card {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero p { animation-delay: 0.4s; }
.hero-btns { animation-delay: 0.55s; }
.hero-stats { animation-delay: 0.7s; }
.hero-card { animation-delay: 0.9s; }

.hero-wave {
    position: absolute; left: 0; right: 0; bottom: -2px; height: 90px;
    overflow: hidden; pointer-events: none;
}
.hero-wave .wave {
    position: absolute; bottom: 0; left: 0; width: 200%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2880 90'%3E%3Cpath d='M0,60 C240,90 480,30 720,45 C960,60 1200,90 1440,60 C1680,30 1920,45 2160,60 C2400,75 2640,45 2880,55 L2880,90 L0,90 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    animation: waveMove 14s linear infinite;
}
.hero-wave .wave.dark {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2880 90'%3E%3Cpath d='M0,60 C240,90 480,30 720,45 C960,60 1200,90 1440,60 C1680,30 1920,45 2160,60 C2400,75 2640,45 2880,55 L2880,90 L0,90 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    animation: waveMove 22s linear infinite; animation-delay: -8s; opacity: 0.9;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* Hover micro-interactions */
.card:hover .card-icon { transform: scale(1.08) rotate(-3deg); }
.card-icon { transition: transform 0.3s ease; }
.btn { transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.nav-cta { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hero-stat .num { display: inline-block; }
.hero-card li::before { animation: pulseDot 2.5s infinite; }

/* Float accent on service icon cards */
.team-avatar { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-card:hover .team-avatar { transform: scale(1.05); }

/* Team card link + view profile hover */
.team-view {
    display: inline-block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
    width: 100%; color: var(--gold); font-weight: 600; font-size: 14px;
    opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.team-card:hover .team-view { opacity: 1; transform: translateY(0); }
.team-card h3 { color: var(--dark); }

/* Therapist profile page */
.profile-head { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.profile-photo { width: 280px; height: 280px; border-radius: 20px; object-fit: cover; box-shadow: 0 12px 34px rgba(26,35,51,0.16); }
.profile-photo-fallback { width: 280px; height: 280px; border-radius: 20px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 110px; color: white; font-weight: 700; }
.profile-name { font-size: 38px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.profile-spec { font-size: 18px; color: var(--gold); font-weight: 500; margin-bottom: 18px; }
.profile-bio { font-size: 16px; color: var(--text); margin-bottom: 26px; }
.profile-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-info-item { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.profile-info-item .k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.profile-info-item .v { font-size: 14px; color: var(--dark); font-weight: 500; }
.profile-back { display: inline-block; margin-bottom: 30px; color: var(--gold); font-weight: 500; font-size: 14px; }
.profile-back:hover { text-decoration: underline; }
@media (max-width: 800px) {
    .profile-head { grid-template-columns: 1fr; }
    .profile-photo, .profile-photo-fallback { width: 100%; height: auto; aspect-ratio: 1; }
    .profile-info { grid-template-columns: 1fr; }
    .profile-name { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge, .hero h1, .hero p, .hero-btns, .hero-stats, .hero-card, .reveal, .hero-wave .wave { animation: none; transition: none; opacity: 1; transform: none; }
}

/* ── Redesign components ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.label-k {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gold); margin-bottom: 6px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-size: 12px; padding: 6px 14px; border-radius: 20px;
    background: var(--gold-soft); color: #b8860b; font-weight: 500;
}

/* Numbered steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; }
.step-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    padding: 30px; position: relative; transition: 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,51,0.08); border-color: var(--gold-light); }
.step-num {
    width: 46px; height: 46px; border-radius: 50%; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: white; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; position: relative; padding: 30px; }
.cat-num {
    position: absolute; top: 22px; right: 24px;
    font-size: 40px; font-weight: 800; color: var(--gold-soft); line-height: 1;
}
.cat-tile .card-icon { margin-bottom: 18px; }
.cat-tile h3 { font-size: 17px; margin-bottom: 8px; }
.cat-tile p { flex: 1; font-size: 13.5px; }
.cat-link { margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 14px; }

/* Outcome-measures ticker */
.ticker {
    overflow: hidden; height: 230px; position: relative;
    border: 1px solid var(--line); border-radius: 16px; background: var(--white);
    box-shadow: 0 8px 30px rgba(26,35,51,0.06); padding: 8px 0;
}
.ticker::before, .ticker::after {
    content: ''; position: absolute; left: 0; right: 0; height: 36px; z-index: 2; pointer-events: none;
}
.ticker::before { top: 0; background: linear-gradient(to bottom, #ffffff, rgba(255,255,255,0)); }
.ticker::after { bottom: 0; background: linear-gradient(to top, #ffffff, rgba(255,255,255,0)); }
.ticker-track { animation: tickerScroll 16s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.ticker-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 26px; border-bottom: 1px solid var(--line);
}
.ticker-item:last-child { border-bottom: none; }
.ticker-check { color: var(--gold); font-size: 18px; font-weight: 700; margin-top: 1px; }
.ticker-item h4 { font-size: 15px; font-weight: 600; color: var(--dark); }
.ticker-item p { font-size: 13px; color: var(--muted); }

/* Pricing cards */
.price-card { display: flex; flex-direction: column; text-align: center; }
.price-card h3 { margin-bottom: 10px; }
.price-tag { font-size: 34px; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.price-tag span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card p { flex: 1; }
.price-card .link { display: inline-block; margin-top: 20px; color: var(--gold); font-weight: 600; font-size: 14px; }
.offer-note {
    background: var(--gold-soft); border: 1px dashed var(--gold-light);
    border-radius: 14px; padding: 18px 26px; font-size: 15px; color: #7a5c00;
}
.other-note { font-size: 14px; color: var(--muted); font-style: italic; }

/* Gym package rows */
.pkg-list { display: grid; gap: 10px; }
.pkg-row {
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
    font-size: 14px; color: var(--dark); font-weight: 500;
}
.pkg-price { color: var(--gold); font-weight: 700; }
.pkg-pending { color: var(--muted); font-weight: 500; font-style: italic; }

/* Pending team badges */
.pending-avatar {
    background: var(--bg) !important; color: var(--muted) !important;
    border: 2px dashed var(--line) !important; font-size: 44px;
}
.pending-badge {
    display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 20px;
    background: var(--gold-soft); color: var(--gold); font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
}
.team-cred { font-weight: 400; color: var(--muted); font-size: 0.78em; }

/* Therapist profile */
.profile-side-card { display: grid; gap: 14px; margin-top: 22px; }
.profile-side-card .profile-info-item { margin: 0; }
.profile-sections { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 10px; }
.profile-section { border-left: 3px solid var(--gold-light); padding-left: 18px; }
.profile-section h3 {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gold); margin-bottom: 8px;
}
.profile-section p { font-size: 15px; color: var(--text); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; padding: 20px; gap: 18px;
        border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 70px 0 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 38px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
