/* YUKI HEALTH - Homepage only. */

/* Hero: HTML text over the cream left side of the artwork (desktop);
   on phones the text comes first and a tighter crop of the artwork follows. */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #FFF9F2;
    overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; order: 1; padding-block: var(--space-6) var(--space-5); }
.hero__art { order: 2; display: block; }
.hero__art img { width: 100%; height: auto; }
.hero h1 { margin-bottom: var(--space-4); }
.hero h1 span { display: block; color: var(--color-brand); }
.hero__lead { max-width: 46ch; font-size: var(--text-lg); color: var(--color-text-muted); }
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: var(--space-5) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__meta svg { flex: none; width: 18px; height: 18px; color: var(--color-brand); }
.hero__meta a { color: var(--color-text); font-weight: var(--weight-medium); }
.hero .btn-row { margin-top: var(--space-5); }

@media (min-width: 900px) {
    /* Desktop: text column on the left, artwork on the right fading into the cream */
    .hero { display: grid; grid-template-columns: 1fr; align-items: center; min-height: clamp(520px, 42vw, 640px); }
    .hero__inner, .hero__art { grid-area: 1 / 1; }
    .hero__art { justify-self: end; align-self: stretch; width: 58%; }
    .hero__art img {
        height: 100%;
        object-fit: cover;
        object-position: 40% 60%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
        mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    }
    .hero__inner { padding-block: var(--space-7) var(--space-8); }
    .hero__content { max-width: 44%; }
}

/* Quick links */
.quick-links { margin-top: calc(var(--space-6) * -1); position: relative; z-index: 1; }
.quick-links .grid { gap: var(--space-3); }
.quick-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 64px;
    padding: var(--space-3) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}
.quick-link:hover { border-color: var(--color-brand); color: var(--color-text); }
.quick-link .icon-badge { width: 40px; height: 40px; margin: 0; }
.quick-link small { display: block; font-weight: var(--weight-regular); color: var(--color-text-muted); font-size: var(--text-xs); }
@media (max-width: 639px) {
    .quick-links .grid { grid-template-columns: repeat(2, 1fr); }
    .quick-link { flex-direction: column; align-items: flex-start; }
}

.section-foot { margin-top: var(--space-5); }

/* THRIVE band */
.thrive-band { display: grid; gap: var(--space-6); align-items: center; }
.thrive-band__logo { width: min(100%, 360px); }
.thrive-steps {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-4) 0 var(--space-5);
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.thrive-steps li {
    counter-increment: step;
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}
.thrive-steps li::before { content: counter(step) ". "; color: var(--color-brand-ink); font-weight: var(--weight-bold); }
.dept-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.dept-list li {
    display: grid;
    gap: 2px;
    padding: var(--space-3) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}
.dept-list strong { font-size: var(--text-base); }
.dept-list span { color: var(--color-text-muted); }
.dept-list .tag { color: var(--color-brand-ink); font-weight: var(--weight-semibold); }
@media (min-width: 900px) {
    .thrive-band { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
}


/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 var(--space-4); font-size: var(--text-base); color: var(--color-text); }
.quote figcaption { margin-top: auto; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.quote figcaption span { display: block; font-weight: var(--weight-regular); color: var(--color-text-muted); font-size: var(--text-xs); }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.visit > * { min-width: 0; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; } }

/* Care team strip: all eight at a glance */
.team-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.team-intro .section-head { margin-bottom: 0; }
/* Everyone visible, no swiping: 2 columns on phones, 4 on tablet/desktop */
.team-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}
.team-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: var(--space-5) var(--space-3);
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    text-decoration: none;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.team-tile:hover { border-color: var(--color-brand); box-shadow: var(--shadow-md); color: var(--color-text); }
.team-tile img {
    width: 88px;
    height: 88px;
    margin-bottom: var(--space-3);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-surface);
    box-shadow: 0 0 0 1.5px var(--color-brand);
}
.team-tile strong { font-size: var(--text-sm); line-height: 1.3; }
.team-tile span { margin-top: 2px; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.35; }
@media (max-width: 767px) {
    .team-tile { padding: var(--space-4) var(--space-2); }
    .team-tile img { width: 72px; height: 72px; }
}
@media (min-width: 768px) {
    .team-strip { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
    .team-tile img { width: 96px; height: 96px; }
}

.team-strip__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}
.team-strip__dots { display: inline-flex; }
.team-strip__dots i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border-radius: 50%;
    background: var(--color-ivory);
    border: 2px solid var(--color-surface);
    box-shadow: 0 0 0 1px var(--color-line);
    color: var(--color-brand-ink);
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: var(--weight-bold);
}
.team-strip__dots i:first-child { margin-left: 0; }

/* Health Hub teaser */
.hub-teaser {
    display: grid;
    gap: var(--space-5);
    align-items: center;
    padding: var(--space-6) var(--space-5);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 66, 1, 0.10) 0 140px, transparent 141px),
        var(--color-surface);
    border: 1px solid var(--color-line);
}
.hub-teaser h2 { margin-bottom: var(--space-2); }
.hub-teaser__tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.hub-teaser__tools a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}
.hub-teaser__tools a::after { content: "→"; margin-left: auto; color: var(--color-brand-ink); }
.hub-teaser__tools a:hover { border-color: var(--color-brand); color: var(--color-text); }
@media (min-width: 900px) {
    .hub-teaser { grid-template-columns: 1fr 1.2fr; padding-inline: var(--space-7); gap: var(--space-7); }
}
@media (min-width: 1200px) { .hub-teaser__tools { grid-template-columns: repeat(3, 1fr); } }

/* Real clinic photo in the Visit card */
.visit__photo {
    width: calc(100% + var(--space-5) * 2);
    max-width: none;
    margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.visit .card { overflow: hidden; }

/* Services not yet confirmed */
.coming-soon {
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-4);
    border: 1px dashed var(--color-line);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.coming-soon strong { color: var(--color-text); }

.team-tile__initial { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: var(--space-3); border-radius: 50%; border: 3px solid var(--color-surface); box-shadow: 0 0 0 1.5px var(--color-brand); background: var(--color-brand-soft); color: var(--color-brand); font-size: 2rem; font-weight: 700; }
