:root {
    --red: #ef3b35;
    --red-dark: #c91f2f;
    --red-soft: #fff1ef;
    --ink: #111827;
    --text: #475569;
    --muted: #718096;
    --line: #e8edf5;
    --bg: #f7f8fc;
    --card: #ffffff;
    --radius-xl: 34px;
    --radius-lg: 26px;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, .08);
    --shadow-red: 0 36px 100px rgba(239, 59, 53, .28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(239, 59, 53, .08), transparent 28%),
        linear-gradient(180deg, #fff 0%, var(--bg) 42%);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    height: 78px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232,237,245,.9);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 112px;
    display: block;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header nav a {
    font-size: 14px;
    color: #526176;
    padding: 10px 13px;
    border-radius: 999px;
    transition: .2s ease;
}

.site-header nav a:hover {
    background: var(--red-soft);
    color: var(--red-dark);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    gap: 36px;
    align-items: center;
    padding: 64px 6% 54px;
    min-height: 660px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -160px;
    background: radial-gradient(circle, rgba(239, 59, 53, .18), transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red-dark);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -.1px;
    margin-bottom: 16px;
}

.breadcrumb {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5.8vw, 72px);
    line-height: .98;
    letter-spacing: -2.8px;
    color: var(--ink);
    max-width: 860px;
}

.hero p {
    margin: 0;
    font-size: 19px;
    line-height: 1.72;
    color: #5f6f85;
    max-width: 720px;
}

.search-box {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    padding: 12px;
    margin-top: 30px;
    max-width: 920px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.search-box select,
.search-box button {
    height: 58px;
    border-radius: 17px;
    font-size: 15px;
}

.search-box select {
    border: 1px solid #dfe7f1;
    background: #f8fafc;
    padding: 0 16px;
    color: #1f2937;
    outline: none;
}

.search-box select:focus {
    border-color: rgba(239, 59, 53, .45);
    box-shadow: 0 0 0 4px rgba(239, 59, 53, .10);
}

.search-box button {
    border: 0;
    padding: 0 24px;
    background: linear-gradient(135deg, #ff5148, #e11d38);
    color: white;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(225, 29, 56, .22);
    transition: .18s ease;
}

.search-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(225, 29, 56, .28);
}

.trust-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span,
.pill,
.small-badge,
.status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #5d6b82;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e5eaf2;
}

.hero-app-panel {
    position: relative;
    z-index: 2;
    min-height: 590px;
    border-radius: 38px;
    padding: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% -10%, rgba(255,255,255,.35), transparent 32%),
        radial-gradient(circle at 100% 10%, rgba(255,255,255,.20), transparent 28%),
        linear-gradient(160deg, #ff5a4f 0%, #ef3b35 46%, #b91c2b 100%);
    color: white;
    box-shadow: var(--shadow-red);
    border: 1px solid rgba(255,255,255,.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-app-panel::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}

.hero-app-panel::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
}

.hero-app-copy {
    position: relative;
    z-index: 2;
}

.small-badge.light,
.hero-app-copy .small-badge {
    background: rgba(255,255,255,.18);
    color: #fff;
    border-color: rgba(255,255,255,.28);
}

.hero-app-copy h2 {
    margin: 16px 0 10px;
    max-width: 390px;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.hero-app-copy p {
    max-width: 360px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
}

.app-store-button {
    display: inline-flex;
    margin-top: 20px;
}

.app-store-button img {
    height: 46px;
    display: block;
}

.hero-phone-img {
    position: relative;
    z-index: 2;
    width: min(78%, 288px);
    align-self: center;
    border-radius: 34px;
    filter: drop-shadow(0 30px 38px rgba(0,0,0,.30));
}

.ad-box {
    margin: 28px 6%;
    min-height: 112px;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: rgba(255,255,255,.75);
}

.ad-box.small {
    margin: 0;
    min-height: 260px;
}

.homepage-info {
    padding: 0 6% 56px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    padding: 0 6% 56px;
    align-items: start;
}

.section-card,
.side-card,
.app-banner {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: 0 18px 52px rgba(16, 24, 40, .045);
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-title h2,
.section-card h2,
.app-banner h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.14;
}

.section-title p,
.section-card p,
.side-card p,
.app-banner p {
    color: #64748b;
    line-height: 1.75;
}

.pill {
    background: var(--red-soft);
    color: var(--red-dark);
    border-color: rgba(239, 59, 53, .18);
    white-space: nowrap;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.feature-card {
    padding: 22px;
    border-radius: 24px;
    background: #fbfdff;
    border: 1px solid #edf2f7;
}

.feature-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    margin: 0;
}

.pharmacy-list {
    display: grid;
    gap: 16px;
}

.pharmacy-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid #e7edf5;
    border-radius: 26px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: .2s ease;
}

.pharmacy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    border-color: rgba(239, 59, 53, .22);
}

.pharmacy-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff5148, #e11d38);
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(225, 29, 56, .22);
}

.status {
    background: #ecfdf3;
    color: #15803d;
    border-color: #bbf7d0;
}

.pharmacy-card h3 {
    margin: 12px 0 8px;
    font-size: 23px;
    line-height: 1.18;
    letter-spacing: -.5px;
}

.address {
    color: #475569;
    line-height: 1.65;
    margin: 0 0 10px;
}

.phone {
    margin: 0;
    color: #334155;
    font-weight: 700;
}

.phone a {
    color: var(--red-dark);
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 128px;
}

.btn {
    height: 44px;
    border-radius: 15px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    transition: .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #ff5148, #e11d38);
    color: white;
}

.btn-light {
    background: #f1f5f9;
    color: #172033;
}

.app-banner {
    display: grid;
    grid-template-columns: 1fr 170px;
    align-items: center;
    gap: 26px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at right bottom, rgba(255,255,255,.16), transparent 32%),
        linear-gradient(135deg, #ef4444, #b91c1c);
    border: 0;
    box-shadow: var(--shadow-red);
}

.app-banner h2 {
    color: #fff;
}

.app-banner p {
    color: rgba(255,255,255,.80);
}

.app-banner > img {
    width: 160px;
    justify-self: end;
    border-radius: 30px;
    filter: drop-shadow(0 18px 26px rgba(0,0,0,.25));
}

.seo-text {
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}

.faq details {
    border-top: 1px solid #eef2f7;
    padding: 18px 0;
}

.faq details:first-of-type {
    margin-top: 8px;
}

.faq summary {
    cursor: pointer;
    font-weight: 900;
    color: #182033;
}

.faq p {
    margin-bottom: 0;
}

.sidebar {
    position: sticky;
    top: 96px;
}

.side-card h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    letter-spacing: -.4px;
}

.download-card {
    color: #fff;
    background:
        radial-gradient(circle at right top, rgba(255,255,255,.16), transparent 35%),
        linear-gradient(150deg, #1f2937, #111827);
    border: 0;
}

.download-card p {
    color: rgba(255,255,255,.72);
}

.district-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.district-links a {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 14px;
    color: #475569;
    font-weight: 700;
    transition: .18s ease;
}

.district-links a:hover {
    background: var(--red-soft);
    color: var(--red-dark);
}

.empty-state {
    padding: 28px;
    border-radius: 24px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.empty-state h3 {
    margin-top: 0;
}

.footer {
    padding: 42px 6%;
    background: #111827;
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.footer p {
    color: #94a3b8;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #cbd5e1;
}

.footer nav a:hover {
    color: #fff;
}

.static-page {
    padding: 58px 6%;
    min-height: 70vh;
}

.static-card {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.static-card h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.static-card h2 {
    margin-top: 30px;
    font-size: 24px;
    letter-spacing: -.5px;
}

.static-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 17px;
}

.static-card a {
    color: var(--red-dark);
    font-weight: 800;
}

.contact-box {
    margin: 26px 0;
    padding: 22px;
    border-radius: 22px;
    background: var(--red-soft);
    border: 1px solid rgba(239, 59, 53, .16);
    display: grid;
    gap: 6px;
}

.legal-content {
    max-width: 980px;
}

@media (max-width: 760px) {
    .static-page {
        padding: 34px 5%;
    }

    .static-card {
        padding: 26px;
        border-radius: 26px;
    }
}

@media (max-width: 1080px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-app-panel {
        max-width: 620px;
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        height: auto;
        padding: 16px 5%;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-header nav {
        flex-wrap: wrap;
        gap: 4px;
    }

    .site-header nav a {
        padding: 8px 10px;
    }

    .hero {
        padding: 36px 5% 34px;
        gap: 26px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-box {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .hero-app-panel {
        min-height: auto;
        padding: 24px;
        border-radius: 30px;
    }

    .hero-app-copy h2 {
        font-size: 30px;
    }

    .hero-phone-img {
        width: min(82%, 250px);
        margin-top: 22px;
    }

    .homepage-info,
    .content-grid {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-card,
    .side-card,
    .app-banner {
        border-radius: 26px;
        padding: 22px;
    }

    .section-title {
        flex-direction: column;
    }

    .pharmacy-card {
        grid-template-columns: 1fr;
    }

    .pharmacy-icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .card-actions {
        flex-direction: row;
        min-width: 0;
    }

    .app-banner {
        grid-template-columns: 1fr;
    }

    .app-banner > img {
        width: 140px;
        justify-self: start;
    }

    .footer {
        flex-direction: column;
        padding: 34px 5%;
    }
}