/* ==================== HOME PAGE ==================== */

/* ================= HERO ================= */
.home-hero {
    position: relative;
    padding: 64px 0 96px;
    overflow: hidden;
    background: var(--cream-50);
}

.home-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.home-hero__blob-1 {
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle at 30% 40%, var(--sage-100), var(--cream-100) 70%);
    border-radius: var(--radius-blob);
    top: -120px;
    right: -140px;
    opacity: 0.7;
    filter: blur(1px);
}

.home-hero__blob-2 {
    position: absolute;
    width: 260px;
    height: 260px;
    background: var(--clay-100);
    border-radius: var(--radius-blob-2);
    bottom: -80px;
    left: 40%;
    opacity: 0.35;
    filter: blur(2px);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-hero__text { max-width: 560px; }

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.home-hero__eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.home-hero__title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1.04;
    color: var(--text);
}

.home-hero__desc {
    margin-top: 24px;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 480px;
}

.home-hero__ctas {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.home-hero__meta {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.home-hero__meta-item span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.home-hero__meta-item b {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* Photo side */
.home-hero__photo-wrap { position: relative; }

.home-hero__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-blob);
    overflow: hidden;
    background: linear-gradient(150deg, var(--clay-100) 0%, var(--sage-100) 100%);
    box-shadow: var(--shadow-photo);
}

.home-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__photo-badge {
    position: absolute;
    z-index: 3;
    bottom: -22px;
    left: -22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.home-hero__photo-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-500);
    flex-shrink: 0;
}

.home-hero__photo-badge-text {
    font-size: 0.78rem;
    color: var(--text);
    white-space: nowrap;
}

.home-hero__photo-badge-text b { font-weight: 500; }

/* ================= QUOTE ================= */
.home-quote {
    padding: 64px 0;
    background: var(--cream-100);
}

.home-quote__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-quote__mark {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 300;
    font-size: 7rem;
    line-height: 0.8;
    color: var(--terra-100);
    display: block;
    margin-bottom: -40px;
}

.home-quote__text {
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
}

.home-quote__cite {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-style: normal;
}

.home-quote__cite::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.home-quote__image {
    aspect-ratio: 1;
    border-radius: var(--radius-blob);
    overflow: hidden;
    position: relative;
    background: linear-gradient(140deg, var(--sage-100), var(--clay-100));
}

.home-quote__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= LOCATIONS ================= */
.home-locations {
    padding: 64px 0;
}

.home-locations__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 72px;
}

.home-locations__head h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-top: 14px;
}

.home-locations__head p {
    margin-top: 14px;
    color: var(--text-muted);
}

.home-locations__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.home-locations__map {
    aspect-ratio: 4/5;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: visible;
    border: 1px solid var(--border);
    background: var(--cream-100);
    position: relative;
}

#locations-map {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 1;
}

/* Map Search Box */
.map-search {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 300px;
    max-width: calc(100% - 24px);
    z-index: 2;
}

.map-search__bar {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-search__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.map-search__icon svg {
    width: 18px;
    height: 18px;
}

.map-search__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px 10px 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--text);
    background: transparent;
    height: 44px;
    min-width: 0;
}

.map-search__input::placeholder {
    color: var(--text-muted);
}

.map-search__results {
    display: none;
    margin-top: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}

.map-search__results--active {
    display: block;
}

.map-search__result {
    padding: 10px 14px;
    font-size: var(--fs-sm);
    color: var(--text);
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color var(--dur-fast), color var(--dur-fast);
}

.map-search__result:last-child {
    border-bottom: none;
}

.map-search__result:hover {
    background: var(--cream-50);
    color: var(--primary);
}

.home-locations__side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Remote card */
.remote-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--sage-500);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.remote-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-blob);
    background: rgba(255,255,255,0.08);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

.remote-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    color: #fff;
}

.remote-card__icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
}

.remote-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.remote-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.remote-card .btn--primary {
    background: #fff;
    color: var(--sage-700);
    border-color: #fff;
    position: relative;
    z-index: 1;
}

.remote-card .btn--primary:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
}

.remote-card .btn-primary {
    background: #fff;
    color: var(--sage-700);
    border-color: #fff;
    position: relative;
    z-index: 1;
}

.remote-card .btn-primary:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
}

/* Clinic list */
.clinic-list-section {
    flex: 1;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clinic-list-title {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}

.clinic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: none;
    overflow-y: visible;
}

.clinic-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: padding var(--dur-fast), background-color var(--dur-fast);
}

.clinic-item:last-child { border-bottom: 0; }
.clinic-item:hover { padding-left: 8px; }

.clinic-item:has(.stretched-link):hover {
    cursor: pointer;
}

.clinic-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clay-500);
    flex-shrink: 0;
    transition: background-color var(--dur-fast);
}

.clinic-item:hover .clinic-dot {
    background: var(--primary);
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.clinic-info strong,
.clinic-info a strong,
.clinic-info b {
    display: block;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
    letter-spacing: -0.005em;
    transition: color var(--dur-fast);
}

.clinic-item:hover .clinic-info strong {
    color: var(--primary);
}

.clinic-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.clinic-item__arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform var(--dur-fast), color var(--dur-fast);
}

.clinic-item:hover .clinic-item__arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ================= TESTIMONIALS ================= */
.home-testimonials {
    padding: 64px 0;
    background: var(--cream-100);
}

.home-testimonials__head {
    text-align: center;
    margin-bottom: 64px;
}

.home-testimonials__head .eyebrow {
    color: var(--text-muted);
}

.home-testimonials__head h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.home-testimonials__stage {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.home-testimonials__card {
    padding: 64px 72px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-testimonials__mark {
    position: absolute;
    top: -36px;
    left: 48px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    line-height: 1;
    font-weight: 300;
    pointer-events: none;
}

.home-testimonials__text {
    font-style: italic;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.45;
    color: var(--text);
    letter-spacing: -0.01em;
    transition: opacity 0.28s;
}

.home-testimonials__author {
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.28s;
}

.home-testimonials__author::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.home-testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    align-items: center;
}

.home-testimonials__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--dur-fast), color var(--dur-fast);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-sans);
}

.home-testimonials__btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.home-testimonials__btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.home-testimonials__dots {
    display: flex;
    gap: 6px;
    margin: 0 12px;
    align-items: center;
}

.home-testimonials__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: width var(--dur-fast), background var(--dur-fast);
    cursor: pointer;
    border: none;
    padding: 0;
}

.home-testimonials__dot.is-active {
    width: 20px;
    border-radius: 3px;
    background: var(--primary);
}

/* ================= CTA SECTION ================= */
.home-cta {
    padding: 64px 0;
}

.home-cta__inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 88px 72px;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-cta__inner::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: var(--sage-50);
    border-radius: var(--radius-blob);
    bottom: -120px;
    right: -80px;
    filter: blur(0.5px);
    pointer-events: none;
}

.home-cta__inner::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: var(--clay-50);
    border-radius: var(--radius-blob-2);
    top: -60px;
    left: 40%;
    pointer-events: none;
}

.home-cta__inner > * { position: relative; z-index: 1; }

.home-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 520px;
    margin-top: 14px;
}

.home-cta p {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 460px;
}

.home-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
