/* ============================================================
   CHEAP ZANZIBAR PAGE — styles/cheap-zanzibar.css
   ------------------------------------------------------------
   Moved out of cheap-zanzibar.html's inline <style> block, verbatim
   (separation standard: docs/frontend-separation.md). Linked after
   styles/styles.css so page rules still win.
   ============================================================ */

/* ===== TOP CTA STRIP =====
   The page markup carries .top-cta-strip (Flights / Tours / Hotels / Trip Costs),
   but no stylesheet this page loads had the rules, so the strip rendered as four
   plain unstyled links. Same behaviour as the other marketing pages: pinned under
   the 72px header, glass background, hidden through .is-hidden. */
.top-cta-strip {
    position: fixed;
    top: calc(72px + constant(safe-area-inset-top));
    top: calc(72px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 19;
    background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: center;
    padding: 0.6rem 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.top-cta-strip.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.top-cta-strip-inner {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
}
.top-cta-strip a {
    padding: 0.4rem 1.2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.top-cta-strip a:hover {
    transform: translateY(-1px);
}

/* ===== HERO CTA BUTTON =====
   .store-button ships with the flights and tours page stylesheets, which this
   page does not load, so the hero CTA fell back to unstyled link text. Values
   mirror styles/flights.css so the button looks identical to those pages. */
.store-button {
    min-width: 180px;
    padding: 0.95rem 1.15rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    display: inline-flex;
    flex-direction: column;
    gap: 0.08rem;
    transition: transform 160ms ease, border-color 160ms ease;
    color: var(--ink);
}
.store-button:hover {
    transform: translateY(-2px);
    border-color: rgba(223, 126, 34, 0.35);
}
.store-button.primary {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    color: white;
    border: none;
}
.store-label {
    font-size: 0.78rem;
    opacity: 0.78;
}

/* ===== BUDGET-SPECIFIC STYLES ===== */
.budget-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}
.budget-summary-grid .budget-card {
    background: var(--surface-strong);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.budget-summary-grid .budget-card:hover {
    transform: translateY(-4px);
}
.budget-summary-grid .budget-card .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.3rem;
}
.budget-summary-grid .budget-card .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-deep);
}
.budget-summary-grid .budget-card .label {
    color: var(--muted);
    font-size: 0.9rem;
}
.budget-summary-grid .budget-card.budget-tier {
    border-top: 4px solid #2a9d8f;
}
.budget-summary-grid .budget-card.mid-tier {
    border-top: 4px solid #f4a261;
}
.budget-summary-grid .budget-card.luxury-tier {
    border-top: 4px solid #e76f51;
}
.budget-summary-grid .budget-card.tip-card {
    border-top: 4px solid #2a9d8f;
}

.cost-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}
.cost-breakdown-grid .cost-item {
    background: var(--bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cost-breakdown-grid .cost-item .category {
    color: var(--ink);
    font-weight: 500;
}
.cost-breakdown-grid .cost-item .price {
    color: var(--accent-deep);
    font-weight: 600;
}

.tip-grid-budget {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}
.tip-grid-budget .tip-item {
    background: var(--bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    text-align: center;
}
.tip-grid-budget .tip-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.3rem;
}
.tip-grid-budget .tip-item h4 {
    color: var(--ink);
    margin: 0.3rem 0;
}
.tip-grid-budget .tip-item p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== ZANGO ADVANTAGE SECTION ===== */
.zango-advantage {
    background: var(--surface-strong);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    margin: 1.5rem 0;
}
.zango-advantage h3 {
    color: var(--accent);
    margin-top: 0;
}
.zango-advantage p {
    color: var(--muted);
    margin-bottom: 0;
}

/* ===== LOCAL TRUST / AUTHOR E-E-A-T ===== */
.local-trust {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--surface-strong);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    margin: 1rem 0 1.5rem 0;
    box-shadow: var(--shadow);
}
.local-trust .local-trust-avatar {
    font-size: 3.5rem;
    line-height: 1;
    flex-shrink: 0;
    background: var(--bg);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent);
}
.local-trust .local-trust-content h3 {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}
.local-trust .local-trust-content p {
    color: var(--muted);
    margin: 0.3rem 0;
    line-height: 1.6;
}
.local-trust .local-trust-content p strong {
    color: var(--ink);
}

/* ===== CTA EARLY ===== */
.early-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.early-cta a {
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    display: inline-block;
}
.early-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.3);
}
.early-cta a.secondary {
    background: var(--surface-strong);
    color: var(--ink);
    border: 1px solid var(--line);
}
.early-cta a.secondary:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ===== 7-DAY BUDGET TABLE ===== */
.budget-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}
.budget-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.budget-table th {
    background: var(--surface-strong);
    color: var(--ink);
    font-weight: 600;
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--line);
}
.budget-table td {
    padding: 0.7rem 1rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.budget-table tr:last-child td {
    border-bottom: none;
}
.budget-table .total-row td {
    font-weight: 700;
    color: var(--accent-deep);
    border-top: 2px solid var(--accent);
    background: var(--surface-strong);
}
.budget-table .highlight {
    color: var(--accent-deep);
    font-weight: 600;
}

/* ===== COMPARISON SECTION ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
}
.comparison-grid .comp-item {
    background: var(--bg);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    text-align: center;
}
.comparison-grid .comp-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.3rem;
}
.comparison-grid .comp-item h4 {
    color: var(--ink);
    margin: 0.3rem 0;
}
.comparison-grid .comp-item p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}
.comparison-grid .comp-item .price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-deep);
    margin: 0.5rem 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--surface-strong);
    border-radius: 24px;
    border: 2px solid var(--accent);
    margin: 2rem 0 1rem 0;
}
.final-cta h3 {
    color: var(--accent);
    margin-top: 0;
}
.final-cta p {
    color: var(--muted);
    max-width: 600px;
    margin: 0.5rem auto 1.5rem auto;
}

/* ===== FAQ - expanded answers ===== */
.faq-grid details {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.8rem;
    transition: all 0.2s;
}
.faq-grid details:hover {
    border-color: var(--accent);
}
.faq-grid details summary {
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    padding: 0.3rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-grid details summary::after {
    content: "▼";
    font-size: 0.7rem;
    color: var(--muted);
    transition: transform 0.3s;
}
.faq-grid details[open] summary::after {
    transform: rotate(180deg);
}
.faq-grid details p {
    color: var(--muted);
    margin: 0.5rem 0 0.2rem 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .budget-summary-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cost-breakdown-grid {
        grid-template-columns: 1fr;
    }
    .tip-grid-budget {
        grid-template-columns: 1fr;
    }
    .local-trust {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
    }
    .local-trust .local-trust-avatar {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .budget-summary-grid {
        grid-template-columns: 1fr;
    }
    .early-cta {
        flex-direction: column;
        align-items: center;
    }
    .early-cta a {
        width: 100%;
        text-align: center;
    }
    .budget-table th,
    .budget-table td {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Carried by the page's inline style attributes. */
.cz-flight-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.cz-comparison-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  text-align: center;
}
.cz-highlight-card {
  background: var(--surface-strong);
  border: 2px solid var(--accent);
  text-align: center;
  padding: 2.5rem 2rem;
}
.cz-highlight-lead {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 1rem auto;
}
.cz-budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.cz-closing-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
.early-cta-flush {
  margin: 0.5rem 0;
}
.cz-footer-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}
