/* =========================================================
   VICTORIA PHARMACY — Clean / editorial
   ========================================================= */

:root {
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Figtree', system-ui, sans-serif;

    --ink:    #1a261e;
    --ink-2:  #4a5a4f;
    --ink-3:  #617068;
    --ink-4:  #aab3ad;

    --green:  #2C4C3B;
    --green-dk: #15261c;
    --gold:   #8d6a34;

    --wa:    #25D366;
    --wa-dk: #1daa53;

    --bg:     #ffffff;
    --paper:  #f7f4ed;     /* warm cream */
    --line:   #e7e3d8;     /* hairline */

    --maxw:   1100px;
    --gutter: 2rem;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-size: 17px;
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.02em;
}
em { font-style: italic; color: var(--green); font-weight: 500; }
.accent { font-style: italic; color: var(--green); font-weight: 500; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SKIP LINK ─────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: .9rem;
}
.skip-link:focus { left: 1rem; }

/* ── ACCESSIBILITY ─────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}
.section--dark :focus-visible,
.footer :focus-visible { outline-color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: .95rem;
    cursor: pointer;
    border: 1px solid transparent;
    padding: .9rem 1.5rem;
    min-height: 50px;
    border-radius: 999px;
    white-space: nowrap;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:active { transform: translateY(1px); }

.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: var(--wa-dk); }

.btn-wa-xs {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
    padding: .45rem 1rem;
    min-height: 36px;
    font-size: .85rem;
}
.btn-wa-xs:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* ── NAV ───────────────────────────────────────────────── */
.nav {
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.nav-logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
}
.nav-links {
    display: none;
    gap: 2.25rem;
    font-size: .92rem;
    color: var(--ink-2);
    list-style: none;
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.nav-cta-label { display: none; }
@media (min-width: 520px) { .nav-cta-label { display: inline; } }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
    padding: 6rem 0 7rem;
    background: var(--bg);
}
.hero .wrap {
    max-width: 760px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    color: var(--ink);
    margin-bottom: 1.75rem;
    letter-spacing: -.025em;
}

.hero-lede {
    font-size: 1.125rem;
    color: var(--ink-2);
    max-width: 460px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: stretch;
}
@media (min-width: 480px) {
    .hero-btns { flex-direction: row; align-items: center; justify-content: center; }
}

/* ── PLACEHOLDER (removed — image-free build) ──────────── */

/* ── SECTION ───────────────────────────────────────────── */
.section { padding: 7rem 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--green-dk); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark em, .section--dark .accent { color: var(--gold); }

.section-head {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 640px;
    margin-inline: auto;
}
.label {
    font-size: .85rem;
    color: var(--ink-3);
    margin-bottom: 1.25rem;
    letter-spacing: .02em;
}
.section--dark .label { color: rgba(255,255,255,.5); }
.section-head h2 {
    font-size: clamp(2.25rem, 4.6vw, 3.25rem);
    letter-spacing: -.02em;
}
.section-head--left { text-align: left; margin-inline: 0; }

/* ── HOW IT WORKS ──────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: 900px;
    margin-inline: auto;
}
@media (min-width: 760px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.step {
    text-align: center;
    padding: 0 .5rem;
}
.step-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    letter-spacing: .04em;
}
.step h3 {
    font-size: 1.625rem;
    margin-bottom: .9rem;
}
.step p {
    font-size: .98rem;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 28ch;
    margin-inline: auto;
}

/* ── SERVICES ──────────────────────────────────────────── */
.svc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 760px) {
    .svc { grid-template-columns: repeat(3, 1fr); }
}

.svc-item {
    padding: 2.5rem 1.75rem;
    border-top: 1px solid var(--line);
    text-align: center;
}
@media (min-width: 760px) {
    .svc-item { border-top: none; border-left: 1px solid var(--line); padding: 1rem 2rem; }
    .svc-item:first-child { border-left: none; }
}

.svc-item h3 {
    font-size: 1.75rem;
    margin-bottom: .9rem;
}
.svc-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .3rem .8rem;
    margin-bottom: 1rem;
}
.svc-item p {
    font-size: .98rem;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 32ch;
    margin-inline: auto;
}

/* ── INSTITUTIONAL ─────────────────────────────────────── */
.inst .wrap {
    max-width: 760px;
}
.inst h2 {
    font-size: clamp(2.25rem, 4.6vw, 3rem);
    margin-bottom: 1.75rem;
}
.inst-lede {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.62);
    max-width: 460px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}
.inst-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
    list-style: none;
}
.inst-tag {
    font-size: .85rem;
    color: rgba(255,255,255,.72);
    padding: .45rem .95rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
}

/* ── LOCATIONS ─────────────────────────────────────────── */
.loc-list {
    max-width: 880px;
    margin-inline: auto;
    border-top: 1px solid var(--line);
    list-style: none;
}
.loc-list > li { display: contents; }
.loc-card {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: baseline;
}
@media (min-width: 760px) {
    .loc-card {
        grid-template-columns: 1.2fr 1fr auto;
        gap: 2.5rem;
        align-items: center;
    }
}
.loc-name {
    font-family: var(--serif);
    font-size: 1.875rem;
    color: var(--ink);
    margin-bottom: .25rem;
}
.loc-meta-line {
    font-size: .9rem;
    color: var(--ink-3);
    margin-top: .15rem;
}
.loc-meta-line em { color: var(--gold); font-style: italic; font-weight: 500; }
.loc-addr { font-size: .95rem; color: var(--ink-2); line-height: 1.55; font-style: normal; }
.loc-addr strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: .15rem; font-family: var(--serif); font-size: 1.05rem; }
.loc-contact {
    font-size: .95rem;
    color: var(--ink-2);
}
.loc-contact .hours { display: block; margin-bottom: .25rem; }
.loc-num {
    color: var(--ink);
    font-family: var(--sans);
}
.loc-num:hover { color: var(--green); }

/* ── CTA ───────────────────────────────────────────────── */
.cta {
    padding: 8rem 0;
    text-align: center;
    background: var(--bg);
}
.cta h2 {
    font-size: clamp(2.5rem, 5.2vw, 3.75rem);
    letter-spacing: -.025em;
    margin-bottom: 1.25rem;
    max-width: 16ch;
    margin-inline: auto;
}
.cta-lede {
    font-size: 1.0625rem;
    color: var(--ink-3);
    margin-bottom: 2.5rem;
    max-width: 420px;
    margin-inline: auto;
}
.cta-btns {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center;
    justify-content: center;
}
@media (min-width: 480px) {
    .cta-btns { flex-direction: row; }
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
    background: var(--green-dk);
    color: rgba(255,255,255,.55);
    padding: 4rem 0 2.5rem;
}
.footer .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 720px) {
    .footer .wrap {
        grid-template-columns: 1fr auto;
        align-items: end;
    }
}
.footer-logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: .35rem;
    font-weight: 600;
}
.footer p { font-size: .9rem; line-height: 1.6; max-width: 320px; }
.footer-meta {
    font-size: .82rem;
    color: rgba(255,255,255,.50);
    text-align: left;
    font-style: normal;
}
@media (min-width: 720px) { .footer-meta { text-align: right; } }
.footer-meta span { display: block; margin-bottom: .15rem; }
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: rgba(255,255,255,.50);
    transition: color .15s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── FUNNEL PAGES ───────────────────────────────────────── */
.funnel-nav .nav-links { display: none !important; }

.lang-toggle {
    font-size: .85rem;
    font-family: var(--sans);
    color: var(--ink-3);
    padding: .45rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink-2); }

.trust-bar {
    padding: 2.75rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.75rem;
    justify-content: center;
    list-style: none;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .88rem;
    color: var(--ink-2);
}
.trust-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.sticky-order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: .75rem 1.25rem;
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
}
.sticky-order-bar .btn { width: 100%; max-width: 420px; }
@media (min-width: 640px) { .sticky-order-bar { display: none; } }

@media (max-width: 639px) { .page-order { padding-bottom: 5.5rem; } }

/* ── POLICY PAGE ────────────────────────────────────────── */
.policy {
    padding: 5rem 0 7rem;
}
.policy-content {
    max-width: 720px;
    margin-inline: auto;
}
.policy-header {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.policy-header h1 {
    font-size: clamp(2rem, 4.5vw, 2.875rem);
    margin-bottom: .75rem;
}
.policy-meta {
    font-size: .875rem;
    color: var(--ink-3);
}
.policy-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
}
.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -.015em;
}
.policy-section p {
    margin-bottom: 1rem;
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.75;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul, .policy-section ol {
    margin: .5rem 0 1rem 1.35rem;
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.75;
}
.policy-section li { margin-bottom: .3rem; }
.policy-section strong { color: var(--ink); font-weight: 600; }
.policy-section a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.policy-section a:hover { color: var(--ink); }

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-page {
    padding: 5rem 0 7rem;
}
.contact-page-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 4.5rem;
}
.contact-page-header h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: .75rem;
    letter-spacing: -.025em;
}
.contact-page-header p {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.65;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 900px;
    margin-inline: auto;
}
@media (min-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 5rem;
        align-items: start;
    }
}
.contact-info-list {
    list-style: none;
    border-top: 1px solid var(--line);
}
.contact-info-list > li { display: contents; }
.contact-info-item {
    display: grid;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
    gap: .3rem;
}
.contact-info-label {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.contact-info-value {
    font-size: 1.05rem;
    color: var(--ink);
    font-family: var(--serif);
}
.contact-info-value a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-info-value a:hover { color: var(--ink); }
.contact-info-note {
    font-size: .85rem;
    color: var(--ink-3);
}
.contact-form-wrap h2 {
    font-size: 1.625rem;
    margin-bottom: 2rem;
    letter-spacing: -.015em;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.form-field label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-2);
}
.form-field input,
.form-field textarea {
    font-family: var(--sans);
    font-size: .975rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem 1rem;
    width: 100%;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(44, 76, 59, .08);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-4); }
.form-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}
.form-submit { margin-top: .5rem; }
.btn-green {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    width: 100%;
    justify-content: center;
}
.btn-green:hover { background: var(--green-dk); border-color: var(--green-dk); }
