/* /Components/Pages/About.razor.rz.scp.css */
/* About page — reproduces worldcaremd.com/about:
   tri-colour gradient banner, blue section headings, a bordered Medical
   Director card, and an Our Providers block with a soft blue/green glow. */

.about-hero[b-8bw365smwk] {
    /* Violet → blue → green diagonal wash, matching the live About banner
       (linear-gradient(157deg, #9647fa 15%, #1875f8 30%, #1acc96 75%)). */
    background: linear-gradient(157deg, var(--brand-violet) 15%, var(--brand-blue) 30%, var(--brand-green) 75%);
    color: #fff;
    text-align: center;
    padding: 4rem 0 4.25rem;
}

.about-hero h1[b-8bw365smwk] {
    color: #fff;
    margin-bottom: .5rem;
}

.about-hero p[b-8bw365smwk] {
    color: rgba(255, 255, 255, .92);
    font-size: 1.05rem;
    margin: 0;
}

/* Blue, centred section headings — match the live #1976f9 headings. */
.about-h[b-8bw365smwk] {
    color: var(--brand-blue);
    text-align: center;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    margin: 0 0 1.75rem;
}

/* Centred reading column with left-aligned body copy. */
.about-prose[b-8bw365smwk] {
    max-width: 720px;
    margin: 0 auto;
}

.about-prose p[b-8bw365smwk] {
    color: var(--brand-body);
    margin: 0 0 1.15rem;
}

.about-prose p:last-child[b-8bw365smwk] { margin-bottom: 0; }

/* Medical Director — bordered, rounded, shadowed card. */
.director-card[b-8bw365smwk] {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 15px;
    box-shadow: 0 7px 29px rgba(100, 100, 111, .2);
    padding: 2.5rem 2.75rem 2.75rem;
}

.director-card p[b-8bw365smwk] {
    color: var(--brand-body);
    margin: 0 0 1.15rem;
}

.director-card p:last-child[b-8bw365smwk] { margin-bottom: 0; }

/* Our Providers — soft blue/green glow drifting in from the right. */
.providers[b-8bw365smwk] {
    position: relative;
    overflow: hidden;
}

.providers[b-8bw365smwk]::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -8%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(26, 204, 150, .22), rgba(24, 117, 248, .14) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.providers .container[b-8bw365smwk] {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .director-card[b-8bw365smwk] { padding: 1.75rem 1.5rem; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ===== HERO ============================================================= */
/* Full-viewport hero. The navy→green gradient AND the blue parallelogram are
   baked into Banner-home.webp (same asset the live site uses), set as a cover
   background. Height fills the screen minus the 76px sticky header. */
.hero[b-dwlyg686cq] {
    position: relative;
    background: url('/assets/hero-banner-bg.webp') 100% 100% / cover no-repeat;
    overflow: hidden;
    /* Fill the viewport and tuck up under the (transparent) sticky header so the
       banner shows edge-to-edge on landing. */
    min-height: 100vh;
    margin-top: -76px;
    padding-top: 76px;
    display: flex;
    align-items: stretch;
}

.hero-inner[b-dwlyg686cq] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-copy h1[b-dwlyg686cq] {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-copy .brandword[b-dwlyg686cq] {
    font-family: var(--brand-display);
    font-weight: 700;
}

.hero-sub[b-dwlyg686cq] {
    color: rgba(255, 255, 255, .92);
    font-size: 1.05rem;
    max-width: 440px;
    margin-bottom: 2rem;
}

.btn-hero[b-dwlyg686cq] {
    background: var(--brand-green);
    color: #fff;
    box-shadow: 0 10px 24px rgba(26, 204, 150, .4);
}

.btn-hero:hover[b-dwlyg686cq] { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }

.hero-copy[b-dwlyg686cq] { align-self: center; padding: 1.5rem 0; }

.hero-doctor[b-dwlyg686cq] {
    align-self: stretch;
    justify-self: center;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

/* Fixed box + contain so all four carousel portraits share one footprint and
   the swap doesn't shift the layout. Anchored to the bottom of the hero. */
.hero-doctor img[b-dwlyg686cq] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transition: opacity .45s ease;
}

/* ===== ABOUT ============================================================ */
.about-inner[b-dwlyg686cq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-media[b-dwlyg686cq] {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.about-shape[b-dwlyg686cq] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    max-width: 80%;
    z-index: 1;
}

/* Decorative green glow behind the provider photo. Was a ~94 KB blurred webp;
   now a pure CSS radial-gradient (0 KB) — a blur is trivial to reproduce and
   scales crisply at any size. */
.about-glow[b-dwlyg686cq] {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(26, 204, 150, .55) 0%,
        rgba(26, 204, 150, .28) 45%,
        rgba(26, 204, 150, 0) 72%);
    filter: blur(18px);
    opacity: .8;
    z-index: 0;
    pointer-events: none;
}

.about-photo[b-dwlyg686cq] {
    position: relative;
    z-index: 2;
    width: 400px;
    max-width: 86%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--brand-shadow-lg);
}

.about-copy h2[b-dwlyg686cq] { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.about-copy p[b-dwlyg686cq] { color: var(--brand-muted); font-size: 1rem; }

.t[b-dwlyg686cq] { color: var(--brand-green); }

.center[b-dwlyg686cq] { text-align: center; }

/* ===== WHY ============================================================== */
.why[b-dwlyg686cq] { position: relative; }

.why h2.center[b-dwlyg686cq] { margin-bottom: 3rem; }

.why-grid[b-dwlyg686cq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 4rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: start;
}

.why-col[b-dwlyg686cq] { display: flex; flex-direction: column; gap: 1.1rem; }
.why-col-right[b-dwlyg686cq] { padding-top: 3.5rem; }

.why-pill[b-dwlyg686cq] {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    padding: .85rem 1.1rem;
    box-shadow: 0 6px 18px rgba(13, 27, 54, .05);
    font-weight: 500;
    color: var(--brand-ink);
}

.pill-check[b-dwlyg686cq] {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .72rem;
}

/* ===== HOW IT WORKS ===================================================== */
.how h2.center[b-dwlyg686cq] { margin-bottom: 3rem; }

.how-grid[b-dwlyg686cq] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.how-step[b-dwlyg686cq] { text-align: center; }

/* The pulled SVGs are self-contained 80×80 icons (rounded panel + gradient
   stroke baked in), so the wrapper just sizes and centres them. */
.how-icon[b-dwlyg686cq] {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.how-icon img[b-dwlyg686cq] { width: 80px; height: 80px; display: block; }

.how-step h3[b-dwlyg686cq] { font-size: 1.2rem; margin-bottom: .6rem; }
.how-step p[b-dwlyg686cq] { color: var(--brand-muted); font-size: .95rem; max-width: 300px; margin: 0 auto; }

/* ===== CONDITIONS ====================================================== */
.conditions[b-dwlyg686cq] { background: var(--brand-bg-soft); }

.cond-head[b-dwlyg686cq] {
    color: #000;
    font-weight: 600;
    font-size: clamp(1.6rem, 3.6vw, 36px);
    line-height: 1.28; /* ~46px at 36px, matching the live site */
    margin-bottom: 3rem;
}

.cond-label[b-dwlyg686cq] {
    font-family: var(--brand-font);
    font-weight: 500;
    font-size: 20px;
    color: #000;
    margin: 2.5rem 0 1.25rem;
}

.cond-grid[b-dwlyg686cq] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Gradient-border chip matching the live site: a blue→green 1px border around a
   light-blue→white fill, achieved with stacked padding-box / border-box gradients. */
.cond-card[b-dwlyg686cq] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 80px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background:
        linear-gradient(#d0e4ff 0%, #ffffff 100%) padding-box,
        linear-gradient(#095dd5 0%, #81f0d3 75%) border-box;
}

.cond-card img[b-dwlyg686cq] { width: 60px; height: 60px; flex: none; }
.cond-card span[b-dwlyg686cq] { font-size: 16px; color: #000; font-weight: 400; }

.cond-foot[b-dwlyg686cq] {
    text-align: center;
    color: var(--brand-muted);
    margin-top: 2.5rem;
    font-size: .95rem;
}

/* ===== PET CARE ======================================================== */
.pet[b-dwlyg686cq] { padding-bottom: 0; }

.pet-inner[b-dwlyg686cq] { max-width: 760px; text-align: center; margin: 0 auto; }
.pet-copy h2[b-dwlyg686cq] { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pet-copy p[b-dwlyg686cq] { color: var(--brand-muted); max-width: 620px; margin: 0 auto 1.75rem; }

.pet-banner[b-dwlyg686cq] {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 2.5rem auto 0;
}

/* ===== CONTACT ========================================================= */
.contact[b-dwlyg686cq] { background: var(--brand-bg-soft); }
.contact h2.center[b-dwlyg686cq] { margin-bottom: 3rem; }

.contact-grid[b-dwlyg686cq] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.contact-card[b-dwlyg686cq] {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--brand-blue-dark);
    color: #fff;
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
}

.cc-icon[b-dwlyg686cq] {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.contact-card strong[b-dwlyg686cq] { display: block; font-weight: 600; margin-bottom: .15rem; }
.contact-card .cc-note[b-dwlyg686cq] { display: block; font-size: .9rem; color: rgba(255, 255, 255, .85); margin-bottom: .15rem; }
.contact-card a[b-dwlyg686cq] { color: #fff; font-weight: 500; }
.contact-card a:hover[b-dwlyg686cq] { color: var(--brand-green); }

/* ===== RESPONSIVE ====================================================== */
@media (max-width: 980px) {
    /* Full-viewport hero adapted from the desktop two-column layout: the single
       left-aligned text block (heading + button, no subtitle) sits up top and
       the cycling doctor portraits are anchored to the bottom of the gradient. */
    .hero-inner[b-dwlyg686cq] {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0;
    }
    .hero-copy[b-dwlyg686cq] { align-self: start; padding: 2rem 0 1rem; }
    .hero-doctor[b-dwlyg686cq] { display: flex; }
    .hero-sub[b-dwlyg686cq] { display: none; }
    .hero[b-dwlyg686cq] { min-height: 100vh; }
    .about-inner[b-dwlyg686cq] { grid-template-columns: 1fr; }
    .about-media[b-dwlyg686cq] { min-height: 380px; }
    .cond-grid[b-dwlyg686cq] { grid-template-columns: repeat(2, 1fr); }
    .how-grid[b-dwlyg686cq] { grid-template-columns: 1fr; gap: 2rem; }
    .why-col-right[b-dwlyg686cq] { padding-top: 0; }
}

@media (max-width: 640px) {
    .why-grid[b-dwlyg686cq] { grid-template-columns: 1fr; gap: 1rem; }
    .cond-grid[b-dwlyg686cq] { grid-template-columns: 1fr; }
    .contact-grid[b-dwlyg686cq] { grid-template-columns: 1fr; }
}
