/* =========================================================
   Weekly Blooms - florist subscription template
   Palette
     soft yellow   #fdf3c4
     sage green    #9eb39a
     warm cream    #fbf6ee
     dusty rose    #d8a59a
     dark text     #2a2418
     burgundy      #5c2024
   Fonts: Playfair Display (serif), Inter (sans)
   ========================================================= */

:root {
    --wb-yellow: #fdf3c4;
    --wb-yellow-soft: #fef8de;
    --wb-sage: #9eb39a;
    --wb-sage-dark: #7a9077;
    --wb-cream: #fbf6ee;
    --wb-rose: #d8a59a;
    --wb-rose-soft: #e8c2b9;
    --wb-text: #2a2418;
    --wb-text-soft: #5c5340;
    --wb-burgundy: #5c2024;
    --wb-line: rgba(42, 36, 24, 0.12);
    --wb-shadow: 0 18px 40px rgba(42, 36, 24, 0.08);
    --wb-radius: 22px;
    --wb-radius-sm: 14px;
    --wb-max: 1200px;
    --wb-display: 'Playfair Display', 'Times New Roman', serif;
    --wb-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
[x-cloak] { display: none !important; }

body.wb-body {
    font-family: var(--wb-body);
    color: var(--wb-text);
    background: var(--wb-cream);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wb-main { display: block; }

/* ---------- preview banner ---------- */
.preview-banner {
    background: var(--wb-yellow);
    color: var(--wb-burgundy);
    text-align: center;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(92, 32, 36, 0.2);
}

/* ---------- typography helpers ---------- */
.wb-eyebrow {
    display: inline-block;
    font-family: var(--wb-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wb-burgundy);
    margin-bottom: 18px;
}
.wb-eyebrow--cream { color: var(--wb-cream); }

.wb-section-title {
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--wb-text);
    letter-spacing: -0.01em;
}
.wb-section-title--cream { color: var(--wb-cream); }

/* ---------- buttons ---------- */
.wb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    line-height: 1.1;
    white-space: nowrap;
}
.wb-btn:hover { transform: translateY(-1px); }

.wb-btn--sage {
    background: var(--wb-sage);
    color: #fff;
    box-shadow: 0 10px 24px rgba(122, 144, 119, 0.28);
}
.wb-btn--sage:hover { background: var(--wb-sage-dark); }

.wb-btn--outline {
    background: transparent;
    color: var(--wb-text);
    border-color: var(--wb-text);
}
.wb-btn--outline:hover { background: var(--wb-text); color: var(--wb-cream); }

.wb-btn--cream {
    background: var(--wb-cream);
    color: var(--wb-text);
}
.wb-btn--cream:hover { background: #fff; }

.wb-btn--block { width: 100%; }
.wb-btn--lg { padding: 18px 36px; font-size: 16px; }

/* ---------- header ---------- */
.wb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--wb-cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--wb-line);
}

.wb-topbar {
    background: var(--wb-sage);
    color: var(--wb-cream);
    font-size: 13px;
}
.wb-topbar__inner {
    max-width: var(--wb-max);
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.wb-topbar__info { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
.wb-topbar__leaf { font-size: 15px; }
.wb-topbar__phone { font-weight: 600; letter-spacing: 0.04em; }
.wb-topbar__phone:hover { text-decoration: underline; }

.wb-header__main { background: var(--wb-cream); }
.wb-header__inner {
    max-width: var(--wb-max);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wb-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--wb-display);
    font-style: italic;
    font-weight: 600;
    font-size: 26px;
    color: var(--wb-text);
    letter-spacing: -0.01em;
}
.wb-logo__leaf {
    color: var(--wb-sage);
    font-size: 22px;
    transform: rotate(-12deg);
    display: inline-block;
}
.wb-logo--footer { color: var(--wb-cream); }
.wb-logo--footer .wb-logo__leaf { color: var(--wb-yellow); }

.wb-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}
.wb-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--wb-text);
    position: relative;
    padding: 4px 0;
    transition: color 0.18s ease;
}
.wb-nav a:hover { color: var(--wb-burgundy); }
.wb-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--wb-sage);
    border-radius: 2px;
}

/* ---------- hero ---------- */
.wb-hero {
    background: linear-gradient(180deg, var(--wb-yellow) 0%, var(--wb-yellow-soft) 60%, var(--wb-cream) 100%);
    overflow: hidden;
    position: relative;
}
.wb-hero__inner {
    max-width: var(--wb-max);
    margin: 0 auto;
    padding: 90px 24px 110px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.wb-hero__title {
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 22px;
    color: var(--wb-text);
}
.wb-hero__lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--wb-text-soft);
    margin: 0 0 32px;
    max-width: 520px;
}
.wb-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.wb-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--wb-text-soft);
    font-size: 14px;
}
.wb-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.wb-hero__meta-item span {
    color: var(--wb-burgundy);
    font-size: 14px;
}

.wb-hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--wb-radius);
    box-shadow: var(--wb-shadow);
    overflow: visible;
}
.wb-hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--wb-radius);
}
.wb-hero__badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: var(--wb-cream);
    color: var(--wb-text);
    padding: 14px 22px;
    border-radius: var(--wb-radius-sm);
    box-shadow: var(--wb-shadow);
    border: 1px solid var(--wb-line);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}
.wb-hero__badge strong {
    font-family: var(--wb-display);
    font-style: italic;
    font-size: 17px;
    color: var(--wb-burgundy);
}

/* ---------- subscriptions ---------- */
.wb-subs { background: var(--wb-cream); padding: 100px 0; }
.wb-subs__inner { max-width: var(--wb-max); margin: 0 auto; padding: 0 24px; }
.wb-subs__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.wb-subs__lead { font-size: 17px; color: var(--wb-text-soft); margin: 0; }

.wb-subs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.wb-plan {
    position: relative;
    background: #fff;
    border-radius: var(--wb-radius);
    overflow: hidden;
    border: 1px solid var(--wb-line);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wb-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--wb-shadow);
}
.wb-plan--featured {
    background: var(--wb-yellow);
    border-color: var(--wb-burgundy);
    box-shadow: 0 24px 48px rgba(92, 32, 36, 0.12);
    transform: translateY(-8px);
}
.wb-plan--featured:hover { transform: translateY(-12px); }

.wb-plan__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--wb-burgundy);
    color: var(--wb-cream);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 2;
}

.wb-plan__photo {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.wb-plan__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.wb-plan__name {
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: 28px;
    margin: 0 0 6px;
    color: var(--wb-text);
}
.wb-plan__desc {
    color: var(--wb-text-soft);
    font-size: 14px;
    margin: 0 0 20px;
    font-style: italic;
}
.wb-plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 22px;
}
.wb-plan__amount {
    font-family: var(--wb-display);
    font-size: 44px;
    font-weight: 600;
    color: var(--wb-burgundy);
    line-height: 1;
}
.wb-plan__cycle { color: var(--wb-text-soft); font-size: 14px; }

.wb-plan__features { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.wb-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--wb-line);
    font-size: 14.5px;
    color: var(--wb-text);
}
.wb-plan__features li:last-child { border-bottom: none; }
.wb-plan__check {
    color: var(--wb-sage-dark);
    font-size: 14px;
    margin-top: 2px;
}
.wb-plan--featured .wb-plan__check { color: var(--wb-burgundy); }

/* ---------- seasonal ---------- */
.wb-seasonal {
    background: linear-gradient(180deg, var(--wb-yellow-soft) 0%, var(--wb-yellow) 100%);
    padding: 100px 0;
}
.wb-seasonal__inner { max-width: var(--wb-max); margin: 0 auto; padding: 0 24px; }
.wb-seasonal__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.wb-seasonal__lead { font-size: 17px; color: var(--wb-text-soft); margin: 0; }

.wb-seasonal__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.wb-tile {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--wb-radius);
    box-shadow: var(--wb-shadow);
    background: #ddd;
    aspect-ratio: 3 / 4;
}

.wb-tile__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.wb-tile:hover .wb-tile__photo { transform: scale(1.05); }

.wb-tile__caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(251, 246, 238, 0.94);
    padding: 10px 14px;
    border-radius: var(--wb-radius-sm);
    font-size: 13px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wb-tile__caption strong {
    display: block;
    font-family: var(--wb-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--wb-text);
}
.wb-tile__caption em {
    color: var(--wb-text-soft);
    font-size: 12.5px;
}

.wb-seasonal__note {
    margin: 36px 0 0;
    text-align: center;
    color: var(--wb-text-soft);
    font-size: 14px;
    font-style: italic;
}
.wb-seasonal__note span { color: var(--wb-burgundy); margin-right: 4px; }

/* ---------- about ---------- */
.wb-about {
    background: var(--wb-sage);
    color: var(--wb-cream);
    padding: 100px 0;
    overflow: hidden;
}
.wb-about__inner {
    max-width: var(--wb-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.wb-about__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--wb-radius);
    overflow: visible;
}
.wb-about__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--wb-radius);
    box-shadow: var(--wb-shadow);
}
.wb-about__sticker {
    position: absolute;
    bottom: -24px;
    right: -20px;
    background: var(--wb-yellow);
    color: var(--wb-text);
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--wb-shadow);
    transform: rotate(-8deg);
    border: 2px solid var(--wb-cream);
}
.wb-about__sticker strong {
    font-family: var(--wb-display);
    font-style: italic;
    font-size: 18px;
    color: var(--wb-burgundy);
    line-height: 1;
}
.wb-about__sticker span {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-top: 4px;
    color: var(--wb-text-soft);
}

.wb-about__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--wb-cream);
    margin: 0 0 28px;
    opacity: 0.92;
}

.wb-about__features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.wb-about__features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.wb-about__check {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wb-cream);
    color: var(--wb-sage-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-top: 2px;
}
.wb-about__features li > div strong {
    display: block;
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--wb-cream);
    margin-bottom: 2px;
}
.wb-about__features li > div p {
    margin: 0;
    color: var(--wb-cream);
    opacity: 0.82;
    font-size: 14.5px;
}

/* ---------- final CTA ---------- */
.wb-cta {
    background: var(--wb-rose);
    padding: 90px 24px;
    text-align: center;
    color: var(--wb-text);
    position: relative;
}
.wb-cta__inner { max-width: 640px; margin: 0 auto; }
.wb-cta__leaf {
    display: inline-block;
    font-size: 36px;
    color: var(--wb-burgundy);
    transform: rotate(-12deg);
    margin-bottom: 14px;
}
.wb-cta__title {
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--wb-burgundy);
    letter-spacing: -0.01em;
}
.wb-cta__lead {
    font-size: 17px;
    margin: 0 0 32px;
    color: var(--wb-text);
    opacity: 0.85;
}
.wb-cta__phone {
    margin: 22px 0 0;
    font-size: 14.5px;
    color: var(--wb-text);
    font-style: italic;
}
.wb-cta__phone a {
    color: var(--wb-burgundy);
    font-weight: 600;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.wb-footer {
    background: var(--wb-sage-dark);
    color: var(--wb-cream);
    padding: 72px 24px 36px;
}
.wb-footer__inner {
    max-width: var(--wb-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}
.wb-footer__col h4 {
    font-family: var(--wb-display);
    font-weight: 500;
    font-style: italic;
    font-size: 19px;
    margin: 0 0 18px;
    color: var(--wb-yellow);
}
.wb-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wb-footer__col a {
    color: var(--wb-cream);
    opacity: 0.82;
    font-size: 14.5px;
    transition: opacity 0.18s ease;
}
.wb-footer__col a:hover { opacity: 1; text-decoration: underline; }

.wb-footer__col--brand .wb-logo { color: var(--wb-cream); }
.wb-footer__tagline {
    margin: 16px 0 18px;
    font-size: 14.5px;
    color: var(--wb-cream);
    opacity: 0.85;
    max-width: 340px;
    font-style: italic;
}
.wb-footer__social {
    display: flex;
    gap: 8px;
}
.wb-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(251, 246, 238, 0.12);
    color: var(--wb-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    opacity: 1;
}
.wb-footer__social a:hover { background: var(--wb-yellow); color: var(--wb-text); }

.wb-footer__contact li { color: var(--wb-cream); opacity: 0.82; font-size: 14.5px; }

.wb-footer__divider {
    max-width: var(--wb-max);
    margin: 56px auto 18px;
    height: 1px;
    background: rgba(251, 246, 238, 0.2);
}
.wb-footer__bottom {
    max-width: var(--wb-max);
    margin: 0 auto;
    text-align: center;
    color: var(--wb-cream);
    opacity: 0.75;
    font-size: 14px;
    font-family: var(--wb-display);
    font-style: italic;
}

/* ---------- contact / generic / 404 ---------- */
.contact-page { padding: 80px 24px; max-width: var(--wb-max); margin: 0 auto; }
.contact-page h1 {
    font-family: var(--wb-display);
    font-weight: 500;
    font-size: 44px;
    margin: 0 0 24px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius-sm);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--wb-text);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid var(--wb-sage);
    outline-offset: 1px;
}
.contact-form .hp { position: absolute; left: -9999px; }

.flash { padding: 12px 16px; border-radius: var(--wb-radius-sm); font-size: 14px; margin-bottom: 14px; }
.flash-success { background: #e6f1e3; color: #355d2f; border: 1px solid #b5d4ac; }
.flash-error { background: #f6dcd9; color: var(--wb-burgundy); border: 1px solid var(--wb-rose-soft); }

.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; }
.btn-primary { background: var(--wb-sage); color: #fff; }
.btn-primary:hover { background: var(--wb-sage-dark); }

.not-found { padding: 120px 24px; text-align: center; }
.not-found h1 { font-family: var(--wb-display); font-size: 48px; margin: 0 0 16px; }
.container { max-width: var(--wb-max); margin: 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .wb-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 800px) {
    .wb-topbar__inner { padding: 8px 18px; font-size: 12px; }
    .wb-header__inner { padding: 14px 18px; gap: 12px; flex-wrap: wrap; }
    .wb-nav { order: 3; flex-basis: 100%; }
    .wb-nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
    .wb-logo { font-size: 22px; }

    .wb-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 56px 18px 80px;
    }
    .wb-hero__visual { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; width: 100%; }
    .wb-hero__badge { left: 12px; bottom: -18px; }
    .wb-hero__lead { font-size: 16.5px; }

    .wb-subs { padding: 70px 0; }
    .wb-subs__grid { grid-template-columns: 1fr; gap: 22px; }
    .wb-plan--featured { transform: none; }
    .wb-plan--featured:hover { transform: translateY(-4px); }

    .wb-seasonal { padding: 70px 0; }
    .wb-seasonal__grid { grid-template-columns: repeat(2, 1fr); }

    .wb-about { padding: 70px 0; }
    .wb-about__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .wb-about__visual { max-width: 420px; margin: 0 auto; width: 100%; }
    .wb-about__sticker { right: -10px; width: 110px; height: 110px; }

    .wb-cta { padding: 70px 18px; }

    .wb-footer { padding: 56px 18px 28px; }
    .wb-footer__inner { grid-template-columns: 1fr; gap: 36px; }
    .wb-footer__divider { margin-top: 36px; }

    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .contact-page { padding: 56px 18px; }
}

@media (max-width: 480px) {
    .wb-topbar__inner { flex-direction: column; gap: 4px; padding: 8px 14px; }
    .wb-hero__ctas .wb-btn { flex: 1; }
    .wb-seasonal__grid { grid-template-columns: 1fr; }
    .wb-tile { aspect-ratio: 4 / 3; }
    .wb-plan__amount { font-size: 38px; }
}
