/* =====================================================================
   VOYE HOMES - Terms & Conditions page (terms-conditions-u.css)
   Design system : "about-us-ui" (navy/gold, Poppins) - same system as
                   cancellations-refund-policy-uc.css, reused rather than
                   reinvented since this is a sibling legal page on the same site.
   Scope         : everything under  .terms-conditions-page  (cannot leak to other
                   pages), matching the about-us.css / contact-us.css /
                   cancellations-refund-policy-uc.css convention exactly.
   Self-contained: does NOT depend on about-us.css or cancellations-refund-policy-uc.css
                   being loaded (Details.cshtml only loads style-vibrant-light.css +
                   this file for this slug, same as the other custom pages).
   Loaded by     : Views/Page/Details.cshtml, conditionally for
                   pageSlug == "terms-conditions-u"
   Previewed as  : claude.ai artifact (design review build), ported here with the
                   preview-only bits removed: no dark-mode (not a real-site feature --
                   confirmed zero prefers-color-scheme usage anywhere in this codebase,
                   same check as the refund-policy port), no safe-area padding
                   (artifact-only requirement), no Google Fonts @import for Inter/Space
                   Grotesk (the real site loads Poppins site-wide via _Layout.cshtml --
                   using a second display font here would be inconsistent with every
                   other page), no header/footer replica (the real _Layout.cshtml
                   already renders those). See claude/terms-conditions-redesign.md.
   The "&" glyph : no special markup/CSS for the ampersand in headings (e.g. "Terms &
                   Conditions"). Checked against the live refund-policy page first --
                   its own distinctive "&" is just how Google-hosted Poppins Bold
                   renders that glyph natively (confirmed: no @font-face/unicode-range
                   override and no .amp-style class anywhere in this codebase). Plain
                   "&amp;" in Poppins gets the same look for free, site-wide.
   ===================================================================== */

.terms-conditions-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);
}

.terms-conditions-page img { max-width: 100%; }
.terms-conditions-page a { color: inherit; }
.terms-conditions-page h1, .terms-conditions-page h2, .terms-conditions-page h3 { color: var(--ink); font-weight: 700; margin: 0; }
.terms-conditions-page p { margin: 0; }
.terms-conditions-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.terms-conditions-page .tc-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.terms-conditions-page section { padding-block: 34px; }
.terms-conditions-page .tc-alt { background: var(--bg-soft); }

/* ---- hero (sits directly under the real site header, no replica markup here) ---- */
.terms-conditions-page .tc-hero {
    position: relative; overflow: hidden;
    background-image: url('../img/terms-illustration.svg'), linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -10px bottom -30px, center;
    background-size: 380px 380px, cover;
    color: #fff;
    padding-block: 134px 38px; /* 44px original + 90px to clear the header, same as the refund-policy page */
}

@media (max-width: 1150px) {
    .terms-conditions-page .tc-hero {
        background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Scoped "transparent header" treatment for this page only -- same technique as
   cancellations-refund-policy-uc.css (own class, own JS file, no shared-file edits).
   See that file's comment for the full header-height reasoning; the padding-block
   values above/below are matched to it exactly, not re-derived. */
header.noneBanner.tc-transparent-header {
    background: transparent !important;
}
.terms-conditions-page .tc-hero .tc-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; 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;
}
.terms-conditions-page .tc-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.15; }
.terms-conditions-page .tc-hero .tc-sub { margin-top: 12px; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .88); font-weight: 400; max-width: 720px; line-height: 1.6; }
.terms-conditions-page .tc-hero .tc-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.terms-conditions-page .tc-hero .tc-meta span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 30px; }

.terms-conditions-page .tc-section-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.terms-conditions-page .tc-section-title { font-size: clamp(1.25rem, 3vw, 1.6rem); margin-bottom: 6px; }
.terms-conditions-page .tc-section-intro { color: var(--muted); font-size: .96rem; max-width: 680px; margin-bottom: 18px; }

.terms-conditions-page .tc-card { background: var(--bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.terms-conditions-page .tc-stack { display: flex; flex-direction: column; gap: 14px; }

/* ---- "Basic terminology" definition cards ---- */
.terms-conditions-page .tc-def-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.terms-conditions-page .tc-def-card {
    background: var(--bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 18px;
    box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
    display: flex; gap: 12px; align-items: flex-start;
}
.terms-conditions-page .tc-def-card:hover { transform: translateY(-3px); border-color: var(--card-border-strong); }
.terms-conditions-page .tc-def-card .tc-def-icon {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
}
.terms-conditions-page .tc-def-card .tc-def-icon svg { width: 17px; height: 17px; }
.terms-conditions-page .tc-def-card .tc-def-body { min-width: 0; }
.terms-conditions-page .tc-def-card .tc-def-term { font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: block; }
.terms-conditions-page .tc-def-card p { font-size: .94rem; color: var(--body-text); }

/* ---- full terms: toolbar + filter chips + accordion (renamed/prefixed to avoid
   colliding with Bootstrap's own .accordion/.badge/.container classes already loaded
   site-wide -- same reasoning as cancellations-refund-policy-uc.css) ---- */
.terms-conditions-page .tc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.terms-conditions-page .tc-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;
}
.terms-conditions-page .tc-toggle-all:hover { background: var(--bg-soft); }

.terms-conditions-page .tc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.terms-conditions-page .tc-filter-chip {
    border: 1px solid var(--card-border-strong); background: var(--bg); color: var(--body-text);
    border-radius: 30px; padding: 6px 14px 6px 10px; font-size: .78rem; font-weight: 600; cursor: pointer;
    font-family: inherit; display: inline-flex; align-items: center; gap: 7px;
    transition: transform .15s ease, border-color .15s ease;
}
.terms-conditions-page .tc-filter-chip:hover { transform: translateY(-1px); }
.terms-conditions-page .tc-filter-chip .tc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.terms-conditions-page .tc-filter-chip[aria-pressed="true"] { border-color: var(--card-border-strong); background: var(--bg-soft); color: var(--ink); }
.terms-conditions-page .tc-count { font-size: .84rem; color: var(--muted); }

.terms-conditions-page .tc-accordion { border-top: 1px solid var(--card-border); }
.terms-conditions-page .tc-clause { border-bottom: 1px solid var(--card-border); border-left: 3px solid transparent; transition: border-color .2s ease; }
.terms-conditions-page .tc-clause-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: none; border: none; text-align: left; padding: 16px 2px 16px 11px; cursor: pointer; font-family: inherit;
}
.terms-conditions-page .tc-clause-head .tc-num {
    flex-shrink: 0; min-width: 38px; height: 38px; padding: 0 7px; border-radius: 19px; background: var(--bg-soft);
    color: var(--navy); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .78rem; white-space: nowrap; line-height: 1;
}
.terms-conditions-page .tc-clause-head .tc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.terms-conditions-page .tc-clause-head .tc-title-text { font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.terms-conditions-page .tc-clause-head .tc-tag { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 5px; }
.terms-conditions-page .tc-clause-head .tc-tag .tc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.terms-conditions-page .tc-clause-head .tc-chev { flex-shrink: 0; transition: transform .25s ease; color: var(--muted); }
.terms-conditions-page .tc-clause[data-open="true"] .tc-chev { transform: rotate(180deg); }
.terms-conditions-page .tc-clause-body { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.terms-conditions-page .tc-clause[data-open="true"] .tc-clause-body { max-height: 6000px; }
.terms-conditions-page .tc-clause-body-inner { padding: 0 2px 22px 50px; color: var(--body-text); font-size: 1rem; line-height: 1.75; }
.terms-conditions-page .tc-clause-body-inner p { margin-bottom: 12px; }
.terms-conditions-page .tc-clause-body-inner p:last-child { margin-bottom: 0; }
.terms-conditions-page .tc-clause-body-inner ol, .terms-conditions-page .tc-clause-body-inner ul { margin: 0 0 12px; padding-left: 20px; }
.terms-conditions-page .tc-clause-body-inner li { margin-bottom: 8px; }
@media (max-width: 560px) { .terms-conditions-page .tc-clause-body-inner { padding-left: 2px; } }
@media (prefers-reduced-motion: reduce) {
    .terms-conditions-page .tc-clause-body, .terms-conditions-page .tc-chev { transition: none !important; }
}

.terms-conditions-page .tc-alert-card { background: var(--alert-bg); border: 1px solid var(--alert-border); border-radius: 14px; padding: 18px 20px; color: var(--alert-ink); }
.terms-conditions-page .tc-alert-card h3 { color: var(--alert-ink); font-size: 1rem; margin-bottom: 8px; }
.terms-conditions-page .tc-alert-card p { font-size: .92rem; line-height: 1.65; color: var(--alert-ink); }

/* ---- cross-reference CTA to the Cancellation & Refund Policy page ---- */
.terms-conditions-page .tc-ref-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    border-radius: 18px; padding: 24px 26px; color: #fff; box-shadow: 0 14px 34px rgba(2, 0, 53, .22);
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.terms-conditions-page .tc-ref-card .tc-ref-text { min-width: 0; }
.terms-conditions-page .tc-ref-card .tc-section-label { color: var(--gold-light); }
.terms-conditions-page .tc-ref-card p { color: rgba(255, 255, 255, .88); font-size: .96rem; max-width: 480px; }
.terms-conditions-page .tc-ref-card .tc-ref-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy);
    font-weight: 700; font-size: .88rem; padding: 11px 20px; border-radius: 50px; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.terms-conditions-page .tc-ref-card .tc-ref-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217, 154, 40, .35); }
.terms-conditions-page .tc-ref-card .tc-ref-btn svg { width: 16px; height: 16px; }

.terms-conditions-page .tc-jurisdiction { background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; font-size: .92rem; color: var(--body-text); }

.terms-conditions-page .tc-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: 16px; padding: 20px 22px; box-shadow: var(--shadow);
}
.terms-conditions-page .tc-contact-card .tc-row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.terms-conditions-page .tc-contact-card .tc-row:last-child { margin-bottom: 0; }
.terms-conditions-page .tc-contact-card .tc-k { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.terms-conditions-page .tc-contact-card .tc-v { font-size: 1rem; font-weight: 600; color: var(--ink); word-break: break-word; }

.terms-conditions-page .tc-doc-meta {
    display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .8rem; color: var(--muted);
    border-top: 1px solid var(--card-border); margin-top: 10px; padding-top: 16px;
}

@media (max-width: 768px) {
    .terms-conditions-page .tc-hero { padding-block: 124px 28px; } /* same breakpoint/values as the refund-policy page */
    .terms-conditions-page section { padding-block: 24px; }
}
@media (max-width: 680px) {
    /* header.noneBanner drops from 90px to 60px at this breakpoint (style.css) */
    .terms-conditions-page .tc-hero { padding-top: 94px; }
}
