/* ==========================================================================
   COMPONENT: PATIENT JOURNEY — Premium Light Theme
   ========================================================================== */

.comp-journey {
    background: #fff;
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
    overflow: hidden;
}

/* Background ambient glow */
.comp-journey::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(201,169,110,0.08) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(107,71,168,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.comp-journey .container { position: relative; z-index: 1; }

/* ── Header ── */
.comp-journey__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(64px, 8vw, 90px);
}

.comp-journey__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold, #C9A96E);
    margin-bottom: var(--space-4, 1rem);
}
.comp-journey__eyebrow::before,
.comp-journey__eyebrow::after {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--gold, #C9A96E);
    border-radius: 2px;
}

.comp-journey__title {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 600;
    color: var(--text-primary, #1C1C1E);
    line-height: 1.1;
    margin: 0 0 var(--space-4);
}

.comp-journey__sub {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 1.05rem;
    color: var(--text-secondary, #4A4A52);
    line-height: 1.6;
    margin: 0;
}

/* ── Track Grid (Desktop) ── */
.comp-journey__track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    gap: 0;
}

/* ── Step ── */
.comp-journey__step {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 0 10px;
    z-index: 2;
}

.comp-journey__step-card {
    background: #fff;
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(28,28,30,0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comp-journey__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(107,71,168,0.08);
    border-color: var(--gold, #C9A96E);
}

/* Watermark Number */
.comp-journey__step-num {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: 6rem;
    color: rgba(28,28,30,0.03);
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

.comp-journey__step-card:hover .comp-journey__step-num {
    color: rgba(201,169,110,0.08); /* gold watermark */
    transform: translateX(-50%) translateY(5px);
}

/* Icon */
.comp-journey__icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 20px auto 24px;
    position: relative;
    z-index: 2;
    color: var(--gold, #C9A96E);
    box-shadow: 0 8px 16px rgba(201,169,110,0.15);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    flex-shrink: 0;
}
.comp-journey__icon svg { width: 28px; height: 28px; transition: transform 0.4s ease; }

.comp-journey__step-card:hover .comp-journey__icon {
    background: var(--gold, #C9A96E);
    border-color: var(--gold, #C9A96E);
    color: #fff;
    box-shadow: 0 12px 24px rgba(201,169,110,0.3);
    transform: scale(1.1);
}
.comp-journey__step-card:hover .comp-journey__icon svg { transform: scale(1.1); }

/* Text */
.comp-journey__content {
    position: relative;
    z-index: 2;
}

.comp-journey__content h4 {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary, #1C1C1E);
    margin-bottom: var(--space-3, 0.75rem);
    transition: color 0.3s ease;
}
.comp-journey__step-card:hover h4 { color: var(--gold, #C9A96E); }

.comp-journey__content p {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #4A4A52);
    margin: 0;
}

/* ── Connector Line ── */
.comp-journey__connector {
    flex: 0 0 clamp(20px, 3vw, 40px);
    height: 2px;
    margin-top: 100px; /* Align roughly with the icons inside the cards */
    position: relative;
    z-index: 1;
}

.comp-journey__connector-line {
    position: absolute;
    top: 0; left: -10px;
    width: calc(100% + 20px);
    height: 2px;
    background: rgba(28,28,30,0.1);
    overflow: hidden;
}

/* Sweeping animation on connector */
.comp-journey__connector-line::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold, #C9A96E), transparent);
    animation: flow 2.5s infinite ease-in-out;
}
@keyframes flow {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .comp-journey__track { flex-wrap: wrap; gap: 32px 0; }
    .comp-journey__step { flex: 0 0 50%; min-width: 50%; }
    .comp-journey__connector { display: none; }
}

@media (max-width: 575px) {
    .comp-journey__step { flex: 0 0 100%; min-width: 100%; }
    .comp-journey__step-card { padding: 32px 20px; }
}