/* ============================================================
   Move Faster — Mortgage Calculator Page Glassmorphism
   Target: page-id-2302 | Kadence theme
   Version: 4.0.0
   Strategy: Hex image directly on body via ::before at 32% opacity.
   background-color: white. All containers transparent.
   Cards use backdrop-filter to blur the actual body background.
   Matches contact-style.css pattern exactly.
   ============================================================ */

/* ── 1. Body: white base, hex at 32% via ::before ── */
body.page-id-2302 {
    background-color: #ffffff !important;
    background-image: none !important;
    position: relative;
}

body.page-id-2302::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://movefaster.ca/wp-content/uploads/2026/03/HEXWALLPAPER.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0.32;
    z-index: 0;
    pointer-events: none;
}

/* ── 2. ALL containers between body and content: fully transparent, above ::before ── */
body.page-id-2302 #wrapper,
body.page-id-2302 .site,
body.page-id-2302 .wp-site-blocks,
body.page-id-2302 #inner-wrap,
body.page-id-2302 #primary,
body.page-id-2302 .content-area,
body.page-id-2302 .content-container,
body.page-id-2302 .site-container,
body.page-id-2302 #main,
body.page-id-2302 .site-main,
body.page-id-2302 .content-wrap,
body.page-id-2302 #post-2302,
body.page-id-2302 .entry,
body.page-id-2302 .content-bg,
body.page-id-2302 .entry-content-wrap,
body.page-id-2302 .entry-content,
body.page-id-2302 .single-content,
body.page-id-2302 .wp-block-group,
body.page-id-2302 .wp-block-group__inner-container,
body.page-id-2302 [class*="wp-container-core-group"],
body.page-id-2302 [class*="wp-container-core-columns"],
body.page-id-2302 [class*="wp-container-core-column"],
body.page-id-2302 .wp-block-columns,
body.page-id-2302 .wp-block-column,
body.page-id-2302 .kb-row-layout-wrap,
body.page-id-2302 .kt-row-column-wrap,
body.page-id-2302 .kt-inside-inner-col,
body.page-id-2302 .wp-block-kadence-column,
body.page-id-2302 .wp-block-kadence-rowlayout {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    position: relative;
    z-index: 1;
}

/* ── 3. Protect footer — always white ── */
body.page-id-2302 footer#colophon {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.page-id-2302 footer#colophon * {
    background-image: none !important;
}

/* ── 4. Page wrapper ── */
body.page-id-2302 .gn-mort-calc-page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    font-family: 'League Spartan', sans-serif;
}

/* ── 5. Hero section ── */
body.page-id-2302 .gn-mort-hero {
    text-align: center;
    padding: 60px 24px 40px;
}
body.page-id-2302 .gn-mort-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #111;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
body.page-id-2302 .gn-mort-hero__sub {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── 6. Glass cards — matches contact page card spec exactly ── */
body.page-id-2302 .gn-mort-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(6px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(110%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    padding: 32px;
    margin-bottom: 24px;
}
body.page-id-2302 .gn-mort-card__title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: -0.01em;
}

/* ── 7. Layout grid ── */
body.page-id-2302 .gn-mort-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    body.page-id-2302 .gn-mort-layout { grid-template-columns: 1fr; }
}
body.page-id-2302 .gn-mort-inputs { position: sticky; top: 80px; }
body.page-id-2302 .gn-mort-results { display: flex; flex-direction: column; gap: 0; }

/* ── 8. Form fields ── */
body.page-id-2302 .gn-mort-field { margin-bottom: 20px; }
body.page-id-2302 .gn-mort-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
body.page-id-2302 .gn-mort-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(180, 180, 180, 0.25) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}
body.page-id-2302 .gn-mort-input-wrap:focus-within {
    background: rgba(255, 255, 255, 0.30) !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.18) !important;
}
body.page-id-2302 .gn-mort-prefix,
body.page-id-2302 .gn-mort-suffix {
    padding: 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #666;
    background: rgba(0, 0, 0, 0.04);
    align-self: stretch;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}
body.page-id-2302 .gn-mort-suffix {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}
body.page-id-2302 .gn-mort-input-wrap input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 600 !important;
    color: #111 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0;
}
body.page-id-2302 .gn-mort-input-row { display: flex; gap: 10px; }
body.page-id-2302 .gn-mort-input-row .gn-mort-input-wrap { flex: 1; }
body.page-id-2302 .gn-mort-input-wrap--pct { max-width: 100px; flex: 0 0 100px; }
body.page-id-2302 .gn-mort-field select {
    width: 100%;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(180, 180, 180, 0.25) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 600 !important;
    color: #111 !important;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}
body.page-id-2302 .gn-mort-field select:focus {
    background: rgba(255, 255, 255, 0.30) !important;
    border-color: #007bff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.18) !important;
}
body.page-id-2302 .gn-mort-notice {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
}

/* ── 9. Calculate button — matches site-wide button style ── */
body.page-id-2302 .gn-mort-btn {
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0080ff 0%, #0055d4 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 600;
    font-family: 'League Spartan', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.01em;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.40) !important;
}
body.page-id-2302 .gn-mort-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #003fa3 100%) !important;
    transform: translateY(-1px);
}
body.page-id-2302 .gn-mort-btn:active { transform: translateY(0); }

/* ── 10. Payment summary ── */
body.page-id-2302 .gn-mort-summary__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
body.page-id-2302 .gn-mort-summary__item { display: flex; flex-direction: column; gap: 4px; }
body.page-id-2302 .gn-mort-summary__item--primary {
    grid-column: 1 / -1;
    background: rgba(0, 123, 255, 0.08) !important;
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
}
body.page-id-2302 .gn-mort-summary__label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.page-id-2302 .gn-mort-summary__value {
    font-size: 28px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1;
}
body.page-id-2302 .gn-mort-summary__item--primary .gn-mort-summary__value {
    font-size: 40px;
    color: #007bff;
}
body.page-id-2302 .gn-mort-summary__item--primary .gn-mort-summary__label {
    color: #007bff;
    font-size: 13px;
}

/* ── 11. Progress bar ── */
body.page-id-2302 .gn-mort-bar-wrap { margin-top: 8px; }
body.page-id-2302 .gn-mort-bar {
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.08);
    margin-bottom: 8px;
}
body.page-id-2302 .gn-mort-bar__principal { background: #007bff; transition: width 0.4s ease; }
body.page-id-2302 .gn-mort-bar__interest { background: #f59e0b; transition: width 0.4s ease; }
body.page-id-2302 .gn-mort-bar__legend {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
body.page-id-2302 .gn-mort-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
body.page-id-2302 .gn-mort-dot--principal { background: #007bff; }
body.page-id-2302 .gn-mort-dot--interest { background: #f59e0b; }

/* ── 12. CMHC / LTT / Closing grids ── */
body.page-id-2302 .gn-mort-cmhc__grid,
body.page-id-2302 .gn-mort-ltt__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body.page-id-2302 .gn-mort-cmhc__item,
body.page-id-2302 .gn-mort-ltt__item { display: flex; flex-direction: column; gap: 4px; }
body.page-id-2302 .gn-mort-cmhc__label,
body.page-id-2302 .gn-mort-ltt__label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.page-id-2302 .gn-mort-cmhc__value,
body.page-id-2302 .gn-mort-ltt__value {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.01em;
}
body.page-id-2302 .gn-mort-ltt__note {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

/* ── 13. Tables ── */
body.page-id-2302 .gn-mort-table { width: 100%; border-collapse: collapse; font-size: 15px; }
body.page-id-2302 .gn-mort-table td,
body.page-id-2302 .gn-mort-table th {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: left;
}
body.page-id-2302 .gn-mort-table td:last-child,
body.page-id-2302 .gn-mort-table th:last-child {
    text-align: right;
    font-weight: 700;
    color: #111;
}
body.page-id-2302 .gn-mort-table__total td {
    border-top: 2px solid rgba(0, 0, 0, 0.12);
    border-bottom: none;
    padding-top: 16px;
    font-size: 16px;
}

/* ── 14. Amortization schedule ── */
body.page-id-2302 .gn-mort-amort { margin-top: 0; }
body.page-id-2302 .gn-mort-amort__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
body.page-id-2302 .gn-mort-amort__header .gn-mort-card__title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
body.page-id-2302 .gn-mort-amort__toggle {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 3px;
}
body.page-id-2302 .gn-mort-amort__btn {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
    cursor: pointer;
    background: transparent;
    color: #666;
    transition: all 0.2s;
}
body.page-id-2302 .gn-mort-amort__btn--active {
    background: rgba(255, 255, 255, 0.70);
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
body.page-id-2302 .gn-mort-amort__table-wrap {
    margin-top: 20px;
    overflow-x: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
}
body.page-id-2302 .gn-mort-table--amort th {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    padding-bottom: 10px;
}
body.page-id-2302 .gn-mort-table--amort td { font-size: 14px; color: #333; }
body.page-id-2302 .gn-mort-table--amort tr:last-child td { border-bottom: none; font-weight: 700; }

/* ── 15. CTA section ── */
body.page-id-2302 .gn-mort-cta {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(6px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(110%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    padding: 48px 40px;
    text-align: center;
    margin-top: 24px;
}
body.page-id-2302 .gn-mort-cta__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: #111;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
body.page-id-2302 .gn-mort-cta__sub {
    font-size: 16px;
    color: rgba(20, 20, 20, 0.70);
    margin: 0 0 28px;
}
body.page-id-2302 .gn-mort-cta__btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0080ff 0%, #0055d4 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    font-family: 'League Spartan', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.40) !important;
}
body.page-id-2302 .gn-mort-cta__btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #003fa3 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ── 16. Responsive ── */
@media (max-width: 767px) {
    body.page-id-2302 .gn-mort-card { padding: 24px 18px; }
    body.page-id-2302 .gn-mort-summary__grid { grid-template-columns: 1fr; }
    body.page-id-2302 .gn-mort-cmhc__grid,
    body.page-id-2302 .gn-mort-ltt__grid { grid-template-columns: 1fr; }
    body.page-id-2302 .gn-mort-cta { padding: 32px 20px; }
    body.page-id-2302 .gn-mort-input-row { flex-direction: column; }
    body.page-id-2302 .gn-mort-input-wrap--pct { max-width: 100%; flex: 1; }
}
