/* =====================================================================
   VOYE HOMES - Cancellations & Refund Policy page (cancellations-refund-policy-uc.css)
   Design system : "about-us-ui" (navy/gold, Poppins) - see claude/gift-card-page-redesign.md
   Scope         : everything under  .refund-policy-page  (cannot leak to other pages),
                   matching the about-us.css / contact-us.css convention exactly.
   Self-contained: does NOT depend on about-us.css being loaded (Details.cshtml only loads
                   style-vibrant-light.css + this file for this slug, same as contact-us.css).
   Loaded by     : Views/Page/Details.cshtml, conditionally for
                   pageSlug == "cancellations-refund-policy-uc"
   Previewed as  : claude.ai artifact (design review build), ported here with the preview-only
                   bits removed: no dark-mode (not a real-site feature), no safe-area padding
                   (artifact-only requirement), no header/footer replica (the real _Layout.cshtml
                   already renders those) - see claude/cancellations-refund-policy-redesign.md
   ===================================================================== */

.refund-policy-page {
    --navy: #020035;
    --navy-mid: #0a0a4a;
    --navy-light: #1a1a6a;
    --gold: #d99a28;
    --gold-light: #f4b942;
    --bg: #ffffff;
    --bg-soft: #f8f9ff;
    --bg-soft2: #fff5f8;
    --ink: #2d3748;
    --body-text: #4a4f5e;
    --muted: #6b7280;
    --card-border: rgba(2, 0, 53, .14);
    --card-border-strong: rgba(2, 0, 53, .3);
    --shadow: 0 10px 30px rgba(2, 0, 53, .08);
    --alert-bg: #fff8ec;
    --alert-border: #e9b84a;
    --alert-ink: #6b4a06;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
}

.refund-policy-page img { max-width: 100%; }
.refund-policy-page a { color: inherit; }
.refund-policy-page h1, .refund-policy-page h2, .refund-policy-page h3 { color: var(--ink); font-weight: 700; margin: 0; }
.refund-policy-page p { margin: 0; }
.refund-policy-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.refund-policy-page .rp-container { max-width: 900px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.refund-policy-page section { padding-block: 34px; }
.refund-policy-page .rp-alt { background: var(--bg-soft); }

/* ---- hero (sits directly under the real site header, no replica markup here) ---- */
.refund-policy-page .rp-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    color: #fff;
    padding-block: 134px 38px; /* 44px original + 90px to clear the header (see below) */
}

/* 2026-11-14: transparent header for this page only, requested so the shared header
   blends into this hero gradient instead of showing its own opaque #09087E fill
   (style.css: header { position:absolute } + header.noneBanner { background:#09087E },
   applied unconditionally on every /page/ route -- see Details.cshtml / script.js).
   Scoped via our own JS-added .rp-transparent-header class (cancellations-refund-
   policy-uc.js only loads on this page), so no other page is affected. The matching
   padding-top increase above (and in the media query below) keeps the hero's own
   eyebrow/title text clear of the header's logo/menu instead of sitting behind it --
   header.noneBanner is 90px tall on desktop, 60px at <=680px (style.css), matched here
   exactly rather than guessed. */
header.noneBanner.rp-transparent-header {
    background: transparent !important;
}
.refund-policy-page .rp-hero .rp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold-light); background: rgba(217, 154, 40, .15); border: 1px solid rgba(217, 154, 40, .4);
    padding: 6px 14px; border-radius: 30px; margin-bottom: 16px;
}
.refund-policy-page .rp-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.15; }
.refund-policy-page .rp-hero .rp-sub { margin-top: 12px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255, 255, 255, .88); font-weight: 400; max-width: 640px; line-height: 1.6; }
.refund-policy-page .rp-hero .rp-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.refund-policy-page .rp-hero .rp-meta span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 30px; }

.refund-policy-page .rp-section-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.refund-policy-page .rp-section-title { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 6px; }
.refund-policy-page .rp-section-intro { color: var(--muted); font-size: .98rem; max-width: 640px; margin-bottom: 22px; }

/* ---- contact card ---- */
.refund-policy-page .rp-contact-card {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 50%, var(--bg-soft2) 100%);
    border: 1px solid var(--card-border); border-radius: 18px; padding: 22px 24px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px;
    box-shadow: var(--shadow);
}
.refund-policy-page .rp-contact-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.refund-policy-page .rp-contact-item .rp-k { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.refund-policy-page .rp-contact-item .rp-v { font-size: 1.15rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.refund-policy-page .rp-copy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.refund-policy-page .rp-copy-btn {
    border: 1px solid var(--card-border-strong); background: transparent; color: var(--navy);
    border-radius: 30px; padding: 3px 11px; font-size: .72rem; font-weight: 600; cursor: pointer;
    font-family: inherit;
}
.refund-policy-page .rp-copy-btn:hover { background: var(--card-border); }

/* ---- quick answers ---- */
.refund-policy-page .rp-qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) { .refund-policy-page .rp-qa-grid { grid-template-columns: 1fr; } }
.refund-policy-page .rp-qa-card {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 18px 20px;
    box-shadow: var(--shadow);
}
.refund-policy-page .rp-qa-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
}
.refund-policy-page .rp-qa-icon svg { width: 22px; height: 22px; }
.refund-policy-page .rp-qa-card h3 { font-size: 1.08rem; margin-bottom: 5px; color: var(--ink); }
.refund-policy-page .rp-qa-card p { font-size: .98rem; line-height: 1.6; color: var(--body-text); }

/* ---- at-a-glance charge cards ---- */
.refund-policy-page .rp-glance-grid { display: grid; gap: 16px; }
.refund-policy-page .rp-glance-grid.rp-standard { grid-template-columns: repeat(3, 1fr); }
.refund-policy-page .rp-glance-grid.rp-peak { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
    .refund-policy-page .rp-glance-grid.rp-standard, .refund-policy-page .rp-glance-grid.rp-peak { grid-template-columns: 1fr; }
}
.refund-policy-page .rp-charge-card {
    background: var(--bg); border: 1px solid var(--card-border); border-radius: 18px;
    padding: 20px; display: flex; flex-direction: column; gap: 10px;
    box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease;
}
.refund-policy-page .rp-charge-card:hover { transform: translateY(-4px); border-color: var(--card-border-strong); }
.refund-policy-page .rp-charge-card .rp-outcome-icon {
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 2px;
}
.refund-policy-page .rp-charge-card .rp-outcome-icon svg { width: 24px; height: 24px; }
.refund-policy-page .rp-charge-card.rp-outcome-full .rp-outcome-icon { background: rgba(34, 139, 84, .12); color: #1e8e52; }
.refund-policy-page .rp-charge-card.rp-outcome-partial .rp-outcome-icon { background: rgba(217, 154, 40, .14); color: #b4790f; }
.refund-policy-page .rp-charge-card.rp-outcome-none .rp-outcome-icon { background: rgba(214, 61, 61, .1); color: #c23b3b; }
.refund-policy-page .rp-charge-card .rp-badge {
    align-self: flex-start; font-size: .76rem; font-weight: 600; color: var(--muted);
    background: var(--bg-soft); padding: 4px 11px; border-radius: 30px;
}
.refund-policy-page .rp-charge-card h3 { font-size: 1.25rem; color: var(--ink); }
.refund-policy-page .rp-charge-card.rp-outcome-full h3 { color: #1e8e52; }
.refund-policy-page .rp-charge-card.rp-outcome-partial h3 { color: #b4790f; }
.refund-policy-page .rp-charge-card.rp-outcome-none h3 { color: #c23b3b; }
.refund-policy-page .rp-charge-card p { font-size: 1.02rem; color: var(--body-text); line-height: 1.65; }
.refund-policy-page .rp-charge-card .rp-ref { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.refund-policy-page .rp-charge-card .rp-ref a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ---- full policy: toolbar + accordion (renamed from generic names that collide with
   Bootstrap's own .accordion / .badge / .container classes already loaded site-wide) ---- */
.refund-policy-page .rp-policy-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.refund-policy-page .rp-toggle-all {
    border: 1px solid var(--card-border-strong); background: transparent; color: var(--navy);
    border-radius: 30px; padding: 8px 16px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.refund-policy-page .rp-toggle-all:hover { background: var(--bg-soft); }

.refund-policy-page .rp-accordion { border-top: 1px solid var(--card-border); }
.refund-policy-page .rp-clause { border-bottom: 1px solid var(--card-border); }
.refund-policy-page .rp-clause-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: none; border: none; text-align: left; padding: 18px 2px; cursor: pointer; font-family: inherit;
}
.refund-policy-page .rp-clause-head .rp-num {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft);
    color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.refund-policy-page .rp-clause-head .rp-num svg { width: 21px; height: 21px; }
.refund-policy-page .rp-clause-head .rp-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.refund-policy-page .rp-clause-head .rp-title-text { font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.refund-policy-page .rp-clause-head .rp-tag { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.refund-policy-page .rp-clause-head .rp-chev { flex-shrink: 0; transition: transform .3s ease; color: var(--muted); }
.refund-policy-page .rp-clause[data-open="true"] .rp-chev { transform: rotate(180deg); }
.refund-policy-page .rp-clause-body { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.refund-policy-page .rp-clause[data-open="true"] .rp-clause-body { max-height: 4000px; }
.refund-policy-page .rp-clause-body-inner { padding: 0 2px 24px 58px; color: var(--body-text); font-size: 1.05rem; line-height: 1.75; }
.refund-policy-page .rp-clause-body-inner p { margin-bottom: 14px; }
.refund-policy-page .rp-clause-body-inner p:last-child { margin-bottom: 0; }
.refund-policy-page .rp-clause-body-inner ul { margin: 0 0 14px; padding-left: 22px; }
.refund-policy-page .rp-clause-body-inner li { margin-bottom: 8px; }
.refund-policy-page .rp-clause-body-inner .rp-sub { font-weight: 600; color: var(--ink); }
.refund-policy-page .rp-in-short {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--bg-soft); border-left: 3px solid var(--gold);
    border-radius: 10px; padding: 14px 16px; margin-bottom: 16px;
    font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.6;
}
.refund-policy-page .rp-in-short .rp-lbl { flex-shrink: 0; font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; margin-top: 4px; }
@media (max-width: 560px) { .refund-policy-page .rp-clause-body-inner { padding-left: 2px; } }
@media (prefers-reduced-motion: reduce) {
    .refund-policy-page .rp-clause-body, .refund-policy-page .rp-chev, .refund-policy-page .rp-charge-card { transition: none !important; }
}

.refund-policy-page .rp-note-box {
    border: 1px dashed var(--card-border-strong); border-radius: 12px; padding: 12px 16px;
    font-size: .84rem; color: var(--muted); font-style: italic; margin-top: 10px;
}

.refund-policy-page .rp-calendar-img {
    display: block; max-width: 100%; height: auto; border-radius: 16px;
    box-shadow: var(--shadow); margin: 14px 0 18px; border: 1px solid var(--card-border);
}

.refund-policy-page .rp-alert-card {
    background: var(--alert-bg); border: 1px solid var(--alert-border); border-radius: 16px;
    padding: 22px 24px; color: var(--alert-ink);
}
.refund-policy-page .rp-alert-card h3 { color: var(--alert-ink); font-size: 1.1rem; margin-bottom: 10px; }
.refund-policy-page .rp-alert-card p { margin-bottom: 10px; font-size: .94rem; line-height: 1.65; }
.refund-policy-page .rp-alert-card ul { margin: 0 0 10px; padding-left: 20px; }
.refund-policy-page .rp-alert-card li { margin-bottom: 8px; font-size: .94rem; line-height: 1.6; }

.refund-policy-page .rp-jurisdiction { background: var(--bg-soft); border-radius: 16px; padding: 22px 24px; font-size: .92rem; color: var(--body-text); }

.refund-policy-page .rp-doc-meta {
    display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--muted);
    border-top: 1px solid var(--card-border); margin-top: 28px; padding-top: 18px;
}

/* ---- closing "need help" CTA ---- */
.refund-policy-page .rp-help-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    border-radius: 24px; padding: 44px 40px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(2, 0, 53, .28);
}
.refund-policy-page .rp-help-cta .rp-text h2 { font-size: 1.6rem; margin-bottom: 8px; color: #fff; }
.refund-policy-page .rp-help-cta .rp-text p { color: rgba(255, 255, 255, .78); font-size: .98rem; max-width: 480px; line-height: 1.6; }
.refund-policy-page .rp-help-cta .rp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.refund-policy-page .rp-help-cta .rp-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px;
    font-weight: 600; font-size: .94rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.refund-policy-page .rp-help-cta .rp-btn svg { width: 18px; height: 18px; }
.refund-policy-page .rp-help-cta .rp-btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.refund-policy-page .rp-help-cta .rp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 154, 40, .35); }
.refund-policy-page .rp-help-cta .rp-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.refund-policy-page .rp-help-cta .rp-btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.refund-policy-page .rp-help-cta .rp-hours { margin-top: 14px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 700px) {
    .refund-policy-page .rp-help-cta { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
    .refund-policy-page .rp-help-cta .rp-actions { width: 100%; }
    .refund-policy-page .rp-help-cta .rp-btn { flex: 1; justify-content: center; }
}

@media (max-width: 768px) {
    .refund-policy-page .rp-hero { padding-block: 124px 28px; } /* 34px (mobile tightening) + 90px header clearance -- header is still 90px tall down to 680px, see style.css */
    .refund-policy-page section { padding-block: 24px; }
}
@media (max-width: 680px) {
    /* header.noneBanner itself drops from 90px to 60px at this exact breakpoint (style.css) */
    .refund-policy-page .rp-hero { padding-top: 94px; } /* 34px + 60px */
}

/* 2026-11-14: the "Peak dates" sub-heading sits directly under the Standard-dates cards with
   only the 24px top margin that's baked into the page content's inline style, which reads as
   cramped/"trapped" between the two card groups. It's an inline style (not a class) on that
   <h3> in the stored page content, so it can't be targeted directly -- select it instead as
   "the h3 that immediately follows the Standard-dates grid" and give it real breathing room.
   !important is required here only because it's overriding an inline style (higher specificity
   than any class selector), not because of a cascade fight with another stylesheet rule. */
.refund-policy-page .rp-glance-grid.rp-standard + h3 { margin-top: 44px !important; }

/* Same cramped feeling exists one step earlier: "Standard dates" has no top margin of its own
   (only an inline margin-bottom:12px) and sits right under the section intro paragraph. Same
   fix, same reasoning -- target it as "the h3 right after the intro paragraph". */
.refund-policy-page .rp-section-intro + h3 { margin-top: 44px !important; }

/* Both headings also sit almost flush against the first card directly below them (inline
   margin-bottom is only 12px on each). Give both some room below the heading too, not just
   above it -- same two selectors, same !important reasoning (overriding an inline style). */
.refund-policy-page .rp-glance-grid.rp-standard + h3,
.refund-policy-page .rp-section-intro + h3 { margin-bottom: 20px !important; }

/* And a one-line gap below each card group (Standard and Peak both) before whatever follows --
   .rp-glance-grid has no class-level markup difference between the two variants that would
   need separate rules, and neither variant carries an inline style, so a plain class rule
   (no !important needed) covers both symmetrically. */
.refund-policy-page .rp-glance-grid { margin-bottom: 24px; }
