/* =============================================================
   FlowersGifting — Static / Info Pages
   Shared stylesheet for: Customer Service, Delivery Policy,
   Investors, Affiliate, FAQ, GDPR, Privacy Policy, T&C
   ============================================================= */

/* ── Page wrapper ── */
.sp-wrap { font-family: 'DM Sans', sans-serif; color: #1c2b1c; }

/* ── Hero banner ── */
.sp-hero {
    background: linear-gradient(145deg, #85a019 0%, #6b8114 100%);
    padding: 36px 20px 36px; text-align: center;
    position: relative; overflow: hidden;
}
.sp-hero::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.06); pointer-events: none;
}
.sp-hero::after {
    content: ''; position: absolute; bottom: -40px; left: -40px;
    width: 150px; height: 150px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
}
.sp-hero-icon {
    font-size: 40px; display: block;
    margin-bottom: 12px; position: relative;
}
.sp-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 4vw, 36px); font-weight: 700;
    color: #fff; margin-bottom: 8px; position: relative;
}
.sp-hero-sub {
    font-size: 14.5px; color: rgba(255,255,255,.75);
    line-height: 1.65; max-width: 560px;
    margin: 0 auto; position: relative;
}

/* ── Breadcrumb ── */
.sp-breadcrumb {
    background: #f8f6f2;
    border-bottom: 1px solid #e4ecd0;
    padding: 10px 20px;
    font-size: 12.5px;
    color: #6b7b6b;
}
.sp-breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.sp-breadcrumb a {
    color: #85a019;
    text-decoration: none;
    font-weight: 600;
    transition: color .15s;
}
.sp-breadcrumb a:hover { color: #d63384; }
.sp-breadcrumb-sep { color: #c0c0c0; font-size: 11px; }
.sp-breadcrumb-current { color: #4a5a30; font-weight: 700; }

/* ── Body container ── */
.sp-body {
    max-width: 1100px; margin: 0 auto;
    padding: 40px 20px 60px;
}
/* Wide layout (with sidebar) */
.sp-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px; align-items: start;
}

/* ── Sticky TOC sidebar ── */
.sp-toc {
    position: sticky; top: 80px;
    background: #fff; border: 1px solid #e4ecd0;
    border-radius: 14px; padding: 18px 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.sp-toc-heading {
    font-size: 11px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: #85a019;
    margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 1px solid #e4ecd0;
}
.sp-toc a {
    display: block; padding: 6px 8px;
    font-size: 12.5px; font-weight: 500; color: #4a5a30;
    text-decoration: none; border-radius: 7px;
    transition: background .15s, color .15s;
    line-height: 1.4;
}
.sp-toc a:hover { background: #f4f8e8; color: #85a019; }
.sp-toc a.active { background: #f4f8e8; color: #d63384; font-weight: 700; }

/* ── Section ── */
.sp-section { margin-bottom: 44px; scroll-margin-top: 90px; }
.sp-section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: #d63384; margin-bottom: 6px;
}
.sp-section-tag::before { content: ''; width: 20px; height: 2px; background: #d63384; border-radius: 2px; }
.sp-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 700; color: #1c2b1c;
    margin-bottom: 14px; line-height: 1.25;
}
.sp-prose {
    font-size: 14.5px; color: #4a5a30; line-height: 1.9;
}
.sp-prose p { margin-bottom: 14px; }
.sp-prose ul, .sp-prose ol { padding-left: 22px; margin-bottom: 14px; }
.sp-prose li { margin-bottom: 6px; }
.sp-prose strong { color: #1c2b1c; }
.sp-prose a { color: #85a019; text-decoration: underline; }

/* ── Info cards (Customer Service) ── */
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp-card {
    background: #fff; border: 1px solid #e4ecd0;
    border-radius: 16px; padding: 26px 20px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sp-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.09); border-color: #d4e8a0; }
.sp-card-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.sp-card-title { font-size: 15px; font-weight: 700; color: #1c2b1c; margin-bottom: 8px; }
.sp-card-desc { font-size: 13.5px; color: #6b7b6b; line-height: 1.65; }
.sp-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px; font-size: 13px; font-weight: 700;
    color: #d63384; text-decoration: none;
    transition: color .18s;
}
.sp-card-link:hover { color: #b5276e; text-decoration: none; }

/* Highlight card (pink) */
.sp-card.featured {
    background: linear-gradient(135deg, #d63384, #b5276e);
    border-color: transparent; color: #fff;
}
.sp-card.featured .sp-card-title,
.sp-card.featured .sp-card-desc { color: #fff; }
.sp-card.featured .sp-card-link { color: rgba(255,255,255,.85); }

/* ── Accordion (FAQ / Affiliate) ── */
.sp-accordion { border: 1px solid #e4ecd0; border-radius: 14px; overflow: hidden; }
.sp-acc-item { border-bottom: 1px solid #e4ecd0; }
.sp-acc-item:last-child { border-bottom: none; }
.sp-acc-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: #fff; border: none;
    text-align: left; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px; font-weight: 700; color: #1c2b1c;
    transition: background .15s;
    gap: 12px;
}
.sp-acc-trigger:hover { background: #f9fdf3; }
.sp-acc-trigger.open { background: #f4f8e8; color: #85a019; }
.sp-acc-arrow {
    width: 22px; height: 22px; border-radius: 50%;
    background: #f4f8e8; color: #85a019;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform .25s, background .15s;
}
.sp-acc-trigger.open .sp-acc-arrow { transform: rotate(180deg); background: #85a019; color: #fff; }
.sp-acc-arrow svg { width: 13px; height: 13px; }
.sp-acc-body {
    display: none; padding: 4px 20px 18px;
    font-size: 14px; color: #4a5a30; line-height: 1.85;
    background: #fafdf5;
}
.sp-acc-body.open { display: block; }
.sp-acc-body ul { padding-left: 20px; margin-top: 8px; }
.sp-acc-body li { margin-bottom: 5px; }

/* ── Legal numbered sections ── */
.sp-legal-section { margin-bottom: 32px; scroll-margin-top: 90px; }
.sp-legal-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: #85a019; color: #fff;
    font-size: 12px; font-weight: 800; flex-shrink: 0;
    margin-right: 10px; vertical-align: middle;
}
.sp-legal-heading {
    font-size: 16px; font-weight: 700; color: #1c2b1c;
    margin-bottom: 10px; display: flex; align-items: center;
}
.sp-legal-body { font-size: 14px; color: #4a5a30; line-height: 1.9; padding-left: 38px; }
.sp-legal-body p { margin-bottom: 10px; }
.sp-legal-body ul, .sp-legal-body ol { padding-left: 20px; margin-bottom: 10px; }
.sp-legal-body li { margin-bottom: 4px; }

/* ── Highlight box ── */
.sp-highlight {
    background: linear-gradient(135deg, #85a019 0%, #d63384 100%);
    border-radius: 14px; padding: 24px 28px;
    color: #fff; margin-bottom: 32px;
}
.sp-highlight-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.sp-highlight p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.75; margin: 0; }

/* ── Contact card ── */
.sp-contact {
    background: #f4f8e8; border: 1px solid #e4ecd0;
    border-radius: 14px; padding: 22px 24px;
    display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start;
}
.sp-contact-item { display: flex; align-items: flex-start; gap: 10px; min-width: 200px; flex: 1; }
.sp-contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.sp-contact-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #85a019; margin-bottom: 2px; }
.sp-contact-val { font-size: 14px; color: #1c2b1c; font-weight: 500; }
.sp-contact-val a { color: #85a019; text-decoration: none; }

/* ── Delivery timeline ── */
.sp-timeline { position: relative; padding-left: 28px; }
.sp-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, #85a019, #d63384); border-radius: 2px; }
.sp-tl-item { position: relative; margin-bottom: 22px; }
.sp-tl-dot { position: absolute; left: -23px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #85a019; border: 2px solid #fff; box-shadow: 0 0 0 2px #85a019; }
.sp-tl-title { font-size: 14px; font-weight: 700; color: #1c2b1c; margin-bottom: 3px; }
.sp-tl-desc { font-size: 13.5px; color: #4a5a30; line-height: 1.7; }

/* ── Partners grid ── */
.sp-partners { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.sp-partner-card {
    background: #fff; border: 1px solid #e4ecd0; border-radius: 12px;
    padding: 16px; text-align: center;
    transition: transform .18s, box-shadow .18s;
}
.sp-partner-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.sp-partner-card img { max-height: 48px; max-width: 100%; object-fit: contain; filter: grayscale(30%); transition: filter .2s; }
.sp-partner-card:hover img { filter: none; }

/* ── Affiliate perks strip ── */
.sp-perks { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 20px 0; }
.sp-perk {
    background: #f4f8e8; border: 1px solid #e4ecd0;
    border-radius: 12px; padding: 18px 14px; text-align: center;
}
.sp-perk-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.sp-perk-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #85a019; }
.sp-perk-label { font-size: 12px; font-weight: 600; color: #6b7b6b; margin-top: 3px; }

/* ── Affiliate form ── */
.sp-form { background: #fff; border: 1px solid #e4ecd0; border-radius: 16px; padding: 28px; }
.sp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-field { margin-bottom: 0; }
.sp-field.full { grid-column: 1 / -1; }
.sp-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6b7b6b; margin-bottom: 6px; }
.sp-field input, .sp-field select, .sp-field textarea {
    width: 100%; height: 46px; padding: 0 14px;
    border: 1.5px solid #e4ecd0; border-radius: 9px;
    font-family: 'DM Sans', sans-serif; font-size: 14px; color: #1c2b1c;
    background: #fafdf5; outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.sp-field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus {
    border-color: #85a019; box-shadow: 0 0 0 3px rgba(133,160,25,.12);
}
.sp-form-submit {
    margin-top: 20px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.sp-btn {
    padding: 12px 32px; border-radius: 50px; border: none;
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.sp-btn-pink { background: #d63384; color: #fff; box-shadow: 0 4px 14px rgba(214,51,132,.28); }
.sp-btn-pink:hover { background: #b5276e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214,51,132,.36); }
.sp-form-success { display: none; background: #f4f8e8; border: 1px solid #c8dc90; border-radius: 10px; padding: 14px 18px; font-size: 14px; color: #4a5a30; font-weight: 600; }

/* ── Rights grid (GDPR/Privacy) ── */
.sp-rights { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 16px 0; }
.sp-right-item { background: #f4f8e8; border: 1px solid #e4ecd0; border-radius: 10px; padding: 14px 12px; text-align: center; }
.sp-right-icon { font-size: 22px; margin-bottom: 6px; display: block; }
.sp-right-label { font-size: 12px; font-weight: 700; color: #1c2b1c; line-height: 1.4; }

/* ── Investor stats ── */
.sp-inv-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 20px 0; }
.sp-inv-stat { background: linear-gradient(135deg, #f4f8e8, #fdf0f6); border: 1px solid #e4ecd0; border-radius: 14px; padding: 22px 16px; text-align: center; }
.sp-inv-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #85a019; }
.sp-inv-label { font-size: 12px; font-weight: 600; color: #6b7b6b; margin-top: 4px; }

/* ── Mobile ── */
@media (max-width: 900px) {
    .sp-layout { grid-template-columns: 1fr; }
    .sp-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-radius: 10px; }
    .sp-toc-heading { width: 100%; margin-bottom: 6px; padding-bottom: 6px; }
    .sp-toc a { padding: 4px 10px; background: #f4f8e8; border-radius: 50px; font-size: 12px; }
    .sp-cards { grid-template-columns: 1fr 1fr; }
    .sp-perks { grid-template-columns: 1fr 1fr; }
    .sp-rights { grid-template-columns: 1fr 1fr; }
    .sp-inv-stats { grid-template-columns: 1fr 1fr; }
    .sp-partners { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .sp-hero { padding: 28px 16px 28px; }
    .sp-body { padding: 24px 14px 40px; }
    .sp-cards { grid-template-columns: 1fr; }
    .sp-form-grid { grid-template-columns: 1fr; }
    .sp-form-grid .sp-field.full { grid-column: 1; }
    .sp-perks { grid-template-columns: 1fr 1fr; }
    .sp-rights { grid-template-columns: 1fr 1fr; }
    .sp-inv-stats { grid-template-columns: 1fr; }
    .sp-partners { grid-template-columns: 1fr; }
}
