/* Homepage Layout Utilities */
.banner-section {
    margin-top: 0;
    padding: 44px 0 30px;
    background:
        radial-gradient(circle at 8% 0%, rgba(254, 196, 53, 0.16), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.campaign-strip {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.campaign-strip .container {
    max-width: 1240px;
}

.campaign-strip-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0 4px;
    color: var(--primary-blue);
    font-weight: 700;
}

.campaign-strip-header span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f2d5c;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.campaign-strip-header span::before {
    content: '';
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-gold);
}

.campaign-slider {
    aspect-ratio: 1200 / 360;
    max-height: 360px;
    border: 1px solid rgba(28, 69, 135, 0.08);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(15, 45, 92, 0.14);
}

.campaign-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.campaign-slider .slide a,
.campaign-slider picture {
    display: block;
    height: 100%;
}

.campaign-slider .slider-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1200 / 360;
    object-fit: cover;
}

.campaign-slider .slider-btn {
    width: 48px;
    height: 48px;
    background: rgba(15, 45, 92, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(12px);
}

.hero-slider .slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 45, 92, 0.08);
    color: #0f2d5c;
    box-shadow: 0 14px 30px rgba(15, 45, 92, 0.18);
    backdrop-filter: blur(10px);
}

.hero-slider .slider-btn:hover {
    background: #fff;
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.04);
}

.campaign-slider .slider-btn:hover {
    background: rgba(15, 45, 92, 0.76);
}

.campaign-slider .prev-btn {
    left: 18px;
}

.campaign-slider .next-btn {
    right: 18px;
}

.hero-slider .prev-btn {
    left: -24px;
}

.hero-slider .next-btn {
    right: -24px;
}

.campaign-slider .slider-dots {
    bottom: 16px;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 45, 92, 0.24);
    backdrop-filter: blur(12px);
}

.hero-slider .slider-dots {
    bottom: -38px;
    gap: 10px;
    padding: 7px 10px;
    background: rgba(79, 91, 110, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 45, 92, 0.18);
    backdrop-filter: blur(10px);
}

.campaign-slider .dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-slider .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
}

.campaign-slider .dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--accent-gold);
    transform: none;
}

.hero-slider .dot.active {
    width: 36px;
    border-radius: 999px;
    background: var(--accent-gold);
    box-shadow: 0 6px 16px rgba(255, 199, 44, 0.36);
    transform: none;
}

.section-soft {
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 199, 44, 0.18), transparent 26%),
        linear-gradient(180deg, #fff8e6 0%, #eef6ff 100%);
    padding: 60px 0;
}

.section-plain {
    background-color: var(--bg-white);
}

.section-compact-top {
    padding-top: 40px;
}

/* Homepage Hero */
.hero {
    position: relative;
    scroll-margin-top: var(--header-height);
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 46px;
    min-height: calc(100svh - 64px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 199, 44, 0.24), transparent 26%),
        radial-gradient(circle at 76% 12%, rgba(47, 107, 198, 0.08), transparent 28%),
        radial-gradient(circle at 46% 92%, rgba(47, 107, 198, 0.07), transparent 32%),
        linear-gradient(115deg, #fff9ea 0%, #fbfdff 48%, #f6faff 100%);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(102deg, transparent 0%, transparent 56%, rgba(255, 255, 255, 0.6) 56.2%, rgba(255, 255, 255, 0.2) 100%),
        linear-gradient(120deg, rgba(23, 69, 143, 0.035) 0 1px, transparent 1px 128px),
        radial-gradient(circle at 74% 18%, rgba(47, 107, 198, 0.08), transparent 24%),
        radial-gradient(circle at 88% 74%, rgba(255, 199, 44, 0.14), transparent 22%);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
}

.hero-campaign {
    min-width: 0;
    animation: homepageRise 0.65s ease both;
}

.hero-campaign-copy {
    max-width: 640px;
    margin-bottom: 26px;
    color: var(--primary-blue);
}

.hero-campaign .hero-title {
    color: var(--primary-blue);
    font-size: clamp(2rem, 3.9vw, 3.45rem);
    text-shadow: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.hero-kicker::before {
    content: '';
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-gold);
}

.hero-title {
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.05em;
}

.hero-subtitle-text {
    font-size: clamp(1rem, 2.1vw, 1.18rem);
    color: #536274;
    line-height: 1.75;
}

.hero-slider {
    aspect-ratio: 16 / 8.4;
    max-height: 390px;
    padding: 9px;
    border: 0;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
    box-shadow:
        0 28px 68px rgba(15, 45, 92, 0.17),
        0 10px 28px rgba(2, 14, 36, 0.08);
    overflow: visible;
    margin-bottom: 46px;
}

.hero-slider-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
}

.hero-slider .slider-wrapper {
    height: 100%;
}

.hero-slider .slider-image {
    aspect-ratio: 16 / 8.4;
}

.hero-form-card {
    width: 100%;
    margin-left: auto;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 30px;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 199, 44, 0.12), transparent 28%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 62px rgba(23, 69, 143, 0.14);
    animation: homepageRise 0.65s 0.12s ease both;
}

.hero-form-title {
    margin: 0 0 18px;
    color: var(--primary-blue);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.hero-loan-form {
    display: grid;
    gap: 14px;
}

.hero-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(213, 57, 57, 0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff3f1 0%, #fff9ed 100%);
    color: #9f2f2f;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 12px 26px rgba(213, 57, 57, 0.08);
}

.hero-form-alert[hidden] {
    display: none;
}

.hero-form-alert i {
    margin-top: 2px;
    color: #d53939;
}

.hero-loan-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 2px;
}

.hero-loan-option {
    cursor: pointer;
}

.hero-loan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hero-loan-option span {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 9px;
    border: 1px solid rgba(28, 69, 135, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #213a5c;
    font-size: clamp(0.72rem, 0.92vw, 0.86rem);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-loan-option i {
    flex: 0 0 auto;
    color: var(--primary-blue);
    font-size: 1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.hero-loan-option input:checked + span {
    border-color: rgba(255, 199, 44, 0.95);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe07a 100%);
    color: #0f2d5c;
    font-weight: 800;
    outline: 1px solid rgba(255, 255, 255, 0.72);
    outline-offset: -3px;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 199, 44, 0.34);
}

.hero-loan-option input:checked + span i {
    color: var(--primary-blue);
}

.hero-submit-btn {
    font-weight: 800;
}

.hero-loan-option:hover span,
.hero-loan-option input:focus-visible + span {
    transform: translateY(-2px);
    border-color: rgba(255, 199, 44, 0.85);
    box-shadow: 0 10px 24px rgba(255, 199, 44, 0.18);
}

.hero-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-form-field {
    display: grid;
    gap: 7px;
}

.hero-form-field label {
    color: #24364d;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-form-field label span {
    color: #d53939;
}

.hero-form-field input,
.hero-form-field select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(28, 69, 135, 0.14);
    border-radius: 14px;
    background: #f8fbff;
    color: #213a5c;
    font-family: 'Prompt', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-form-field input:focus,
.hero-form-field select:focus {
    outline: none;
    border-color: rgba(255, 199, 44, 0.95);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.18);
}

.hero-form-field.is-invalid label {
    color: #9f2f2f;
}

.hero-form-field.is-invalid input,
.hero-form-field.is-invalid select {
    border-color: #d53939;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(213, 57, 57, 0.1);
}

.hero-field-error {
    min-height: 16px;
    color: #c0392b;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-field-error:empty {
    display: none;
}

.hero-debt-field {
    padding: 12px;
    border-radius: 18px;
    background: rgba(254, 196, 53, 0.12);
}

.hero-debt-field[hidden] {
    display: none;
}

.hero-consent-text {
    margin: 0;
    color: #536274;
    font-size: 0.85rem;
    line-height: 1.55;
}

.hero-consent-text a,
.hero-form-links a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
}

.hero-form-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(23, 69, 143, 0.08);
    border-radius: 18px;
    background: #f8fbff;
    justify-items: center;
}

.hero-form-trust span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    color: #38506b;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
}

.hero-form-trust i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.hero-submit-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe07a 100%);
    color: #0f2d5c;
    font-size: 1rem;
    box-shadow: 0 16px 34px rgba(254, 196, 53, 0.34);
}

.hero-submit-btn:hover {
    background: linear-gradient(135deg, #ffd35c 0%, var(--accent-gold) 100%);
    color: #0f2d5c;
    box-shadow: 0 18px 38px rgba(254, 196, 53, 0.42);
}

.hero-form-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.9rem;
}

.mobile-quick-cta {
    display: none;
}

/* Homepage Cards and Sections */
#products .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

#products .feature-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px 22px;
    border: 1px solid rgba(23, 69, 143, 0.08);
    border-radius: 26px;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 199, 44, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 34px rgba(23, 69, 143, 0.065);
}

#products .feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), #ffe28a);
    opacity: 0;
    transition: opacity 0.25s ease;
}

#products .feature-card:hover::before {
    opacity: 1;
}

#products .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7db 0%, #ffffff 100%);
    color: var(--primary-blue);
    font-size: 1.55rem;
    box-shadow: inset 0 0 0 1px rgba(255, 199, 44, 0.32), 0 12px 24px rgba(255, 199, 44, 0.14);
}

#products .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe28a 100%);
    color: var(--primary-blue);
    transform: translateY(-3px) rotate(-2deg);
}

#products .feature-card h3 {
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
}

.feature-description {
    margin: 12px 0 18px;
    color: #666;
    font-size: 0.94rem;
    line-height: 1.65;
}

.feature-link {
    margin-top: auto;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
}

/* Homepage Property Feature Split */
#properties {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

#properties .section-title {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#properties .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#properties .property-card {
    min-height: 245px;
    padding: 30px;
    color: #18345c;
    justify-content: flex-start;
    border: 1px solid rgba(28, 69, 135, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at 96% 8%, rgba(254, 196, 53, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 38px rgba(15, 45, 92, 0.065);
}

#properties .property-card::before {
    display: none;
}

#properties .auction-card {
    background:
        radial-gradient(circle at 96% 8%, rgba(254, 196, 53, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

#properties .npa-card {
    background:
        radial-gradient(circle at 96% 8%, rgba(28, 69, 135, 0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
}

#properties .property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(15, 45, 92, 0.14);
}

.property-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

#properties .property-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 16px;
    background: rgba(254, 196, 53, 0.2);
    color: var(--primary-blue);
    font-size: 1.35rem;
    opacity: 1;
}

#properties .property-info h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

#properties .property-info p {
    max-width: 520px;
    margin: 0 0 16px;
    color: #536274;
    font-size: 0.98rem;
    line-height: 1.7;
}

.property-points {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.property-points li {
    position: relative;
    padding-left: 22px;
    color: #24364d;
    font-size: 0.95rem;
    font-weight: 600;
}

.property-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-gold);
    box-shadow: 0 0 0 5px rgba(254, 196, 53, 0.16);
}

.property-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

#properties .property-primary-link {
    min-width: 160px;
    border: 0;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe07a 100%);
    color: #0f2d5c;
    box-shadow: 0 10px 24px rgba(254, 196, 53, 0.26);
}

#properties .property-primary-link:hover {
    background: linear-gradient(135deg, #ffd35c 0%, var(--accent-gold) 100%);
    color: #0f2d5c;
    transform: translateY(-2px);
}

.property-secondary-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
}

.property-secondary-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.testimonial-section {
    background:
        radial-gradient(circle at 92% 4%, rgba(255, 199, 44, 0.13), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    padding-top: 40px;
}

.section-soft .section-title h2,
.testimonial-section .section-title h2 {
    letter-spacing: -0.02em;
}

.section-soft .stat-item {
    border: 1px solid rgba(23, 69, 143, 0.08);
    border-bottom: 5px solid var(--accent-gold);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 199, 44, 0.2), transparent 32%),
        #fff;
    box-shadow: 0 14px 34px rgba(23, 69, 143, 0.08);
}

.section-soft .stat-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: var(--accent-soft);
    color: var(--primary-blue);
    font-size: 1.7rem;
    box-shadow: inset 0 0 0 1px rgba(255, 199, 44, 0.35);
}

.section-soft .stat-item:hover .stat-icon {
    background: var(--accent-gold);
    transform: rotate(-3deg) scale(1.04);
}

.testimonial-card {
    border-color: rgba(23, 69, 143, 0.08);
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(23, 69, 143, 0.07);
}

.quote-icon {
    color: var(--accent-gold);
}

.reviewer-avatar-blue {
    background-color: #e3f2fd;
    color: var(--primary-blue);
}

.reviewer-avatar-gold {
    background-color: #fff3e0;
    color: var(--accent-gold);
}

.reviewer-avatar-green {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.reviewer-meta h4 {
    margin: 0;
    font-size: 1rem;
}

.reviewer-role {
    font-size: 0.85rem;
    color: #888;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    text-align: center;
}

.step-card {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-number-highlight {
    background: var(--accent-gold);
}

.step-title {
    margin-bottom: 15px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
}

.cta-container {
    position: relative;
    z-index: 2;
}

/* Homepage Footer Details */
.footer-company,
.footer-address,
.footer-phone {
    color: #ccc;
    font-size: 1rem;
}

.footer-company,
.footer-address {
    margin-bottom: 10px;
}

.footer-phone {
    margin-bottom: 20px;
}

.footer-phone i {
    margin-right: 10px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 22px rgba(4, 15, 35, 0.22);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(4, 15, 35, 0.3);
    filter: brightness(1.06);
}

.footer-social-link-facebook {
    background: #1877f2;
}

.footer-social-link-line {
    background: #06c755;
}

.footer-social-icon {
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
}

.footer-social-icon-facebook {
    color: #fff;
}

.footer-social-icon-line {
    color: #fff;
}

.footer-policies {
    margin-top: 10px;
}

.footer-policy-link {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

/* Homepage Popup */
.popup-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-panel {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    animation: popupFadeIn 0.3s ease-out;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.popup-link {
    text-decoration: none;
    display: block;
}

.popup-image {
    width: 100%;
    display: block;
}

.popup-body {
    padding: 20px;
    padding-bottom: 5px;
    text-align: center;
}

.popup-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.5rem;
}

.popup-description {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.popup-description-hidden {
    display: none;
}

.popup-footer {
    padding: 10px 20px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.popup-checkbox-label {
    color: #666;
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-checkbox {
    width: 16px;
    height: 16px;
}

/* Homepage Modern CTA */
.cta-banner-modern {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 4%, rgba(255, 199, 44, 0.2), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.3), transparent 28%),
        linear-gradient(135deg, #17458f 0%, #2360b8 52%, #5f96df 100%);
}

.cta-modern-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><linearGradient id="carGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.03);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.01);stop-opacity:1" /></linearGradient></defs><path fill="url(%23carGrad)" d="M600,250 L750,250 L780,280 L780,350 L750,380 L550,380 L520,350 L520,280 Z M540,270 L540,300 L580,300 L580,270 Z M700,270 L700,300 L740,300 L740,270 Z M530,340 C530,350 540,360 550,360 C560,360 570,350 570,340 C570,330 560,320 550,320 C540,320 530,330 530,340 Z M730,340 C730,350 740,360 750,360 C760,360 770,350 770,340 C770,330 760,320 750,320 C740,320 730,330 730,340 Z"/></svg>');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 600px auto;
    opacity: 0.08;
    z-index: 1;
}

.cta-banner-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.14;
    z-index: 1;
}

.cta-modern-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-modern-headline {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.2;
    text-shadow: 0 4px 14px rgba(15, 45, 92, 0.2);
    letter-spacing: -0.5px;
}

.cta-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.cta-trust-row-compact {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
    padding: 0;
    flex-wrap: wrap;
}

.cta-trust-row-compact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.96rem;
    font-weight: 700;
}

.cta-trust-row-compact i {
    color: var(--accent-gold);
}

.cta-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-feature-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 45, 92, 0.18);
}

.cta-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(254, 196, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.cta-feature-item:hover .cta-feature-icon {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: scale(1.1) rotate(5deg);
}

.cta-feature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.cta-feature-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.cta-feature-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.cta-modern-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 28px rgba(15, 45, 92, 0.22);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn i,
.cta-btn span {
    position: relative;
    z-index: 1;
}

.cta-btn i {
    font-size: 1.5rem;
}

.cta-btn-line {
    background: linear-gradient(135deg, #00c300 0%, #00a800 100%);
    color: #fff;
}

.cta-btn-line:hover {
    background: linear-gradient(135deg, #00d100 0%, #00b400 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 185, 0, 0.32);
}

.cta-btn-form {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe07a 100%);
    color: #1c4587;
}

.cta-btn-form:hover {
    background: linear-gradient(135deg, #ffd35c 0%, #fec435 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(254, 196, 53, 0.5);
}

.cta-trust-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes homepageRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .hero-bg-shape {
        opacity: 0.46;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
    }

    .hero-form-card {
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-campaign {
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-campaign .hero-title {
        font-size: clamp(1.9rem, 7.8vw, 2.85rem);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    #products .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-banner-modern {
        padding: 80px 0;
    }

    .cta-modern-headline {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .cta-features-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .cta-trust-row-compact {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 30px;
    }

    .cta-modern-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 28px 0 18px;
    }

    .campaign-strip-header {
        align-items: center;
        flex-direction: row;
        margin-bottom: 12px;
    }

    .campaign-strip-header span {
        font-size: 0.86rem;
    }

    .campaign-slider {
        aspect-ratio: 16 / 7;
        max-height: 190px;
        border-radius: 20px;
    }

    .campaign-slider .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .hero-slider .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .campaign-slider .prev-btn {
        left: 10px;
    }

    .campaign-slider .next-btn {
        right: 10px;
    }

    .hero-slider .prev-btn {
        left: -14px;
    }

    .hero-slider .next-btn {
        right: -14px;
    }

    .campaign-slider .slider-dots {
        bottom: 10px;
        padding: 6px 8px;
    }

    .hero-slider .slider-dots {
        bottom: -30px;
        padding: 6px 9px;
    }

    .hero-bg-shape {
        display: none;
    }

    .hero {
        background:
            radial-gradient(circle at 18% 8%, rgba(254, 196, 53, 0.22), transparent 34%),
            radial-gradient(circle at 84% 42%, rgba(28, 69, 135, 0.14), transparent 30%),
            linear-gradient(180deg, #fbf7e9 0%, #f6f9fb 48%, #e7eef7 100%);
        padding-top: calc(var(--header-height) + 12px);
        padding-bottom: 104px;
        min-height: auto;
    }

    .hero > .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 18px;
    }

    .hero-form-card {
        order: 2;
        padding: 18px;
        border-radius: 22px;
        margin-bottom: 18px;
        box-shadow: 0 18px 46px rgba(15, 45, 92, 0.16);
    }

    .hero-loan-form {
        padding-bottom: 74px;
    }

    .hero-campaign {
        order: 1;
    }

    .hero-campaign-copy {
        margin-bottom: 16px;
    }

    .hero-campaign .hero-title {
        color: var(--primary-blue);
        font-size: clamp(1.7rem, 8.4vw, 2.25rem);
        text-shadow: none;
        margin-bottom: 10px;
    }

    .hero-campaign .hero-kicker,
    .hero-campaign .hero-subtitle-text {
        color: #536274;
    }

    .hero-form-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-loan-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        overflow: visible;
    }

    .hero-loan-option span {
        min-width: 0;
        min-height: 42px;
        gap: 7px;
        padding: 9px 12px;
        border-radius: 15px;
        font-size: 0.82rem;
    }

    .hero-loan-option i {
        font-size: 0.98rem;
    }

    .hero-form-field {
        gap: 5px;
    }

    .hero-form-field label {
        font-size: 0.82rem;
    }

    .hero-form-field input,
    .hero-form-field select {
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 13px;
        font-size: 0.9rem;
    }

    .hero-consent-text {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .hero-form-trust {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 9px 10px;
    }

    .hero-form-trust span {
        justify-content: center;
        min-height: 28px;
        font-size: 0.76rem;
    }

    .hero-submit-btn {
        min-height: 46px;
        font-size: 0.95rem;
    }

    .hero-slider {
        aspect-ratio: 16 / 8.8;
        max-height: 190px;
        padding: 5px;
        border-radius: 22px;
        margin-bottom: 38px;
    }

    .hero-slider-viewport {
        border-radius: 17px;
    }

    .hero-form-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    #products .features-grid {
        grid-template-columns: 1fr;
    }

    #products .feature-card {
        min-height: auto;
        padding: 24px;
    }

    #properties .properties-grid {
        grid-template-columns: 1fr;
    }

    #properties .property-card {
        min-height: auto;
        padding: 24px;
    }

    .property-actions {
        align-items: stretch;
        flex-direction: column;
    }

    #properties .property-primary-link {
        width: 100%;
        min-width: 0;
    }

    .property-secondary-link {
        text-align: center;
    }

    .mobile-quick-cta {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 1002;
        display: grid;
        grid-template-columns: 1.35fr 1fr 1fr;
        gap: 6px;
        padding: 7px;
        border: 1px solid rgba(28, 69, 135, 0.12);
        border-radius: 22px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 251, 255, 0.96) 100%);
        box-shadow: 0 18px 50px rgba(15, 45, 92, 0.22);
        backdrop-filter: blur(16px);
    }

    .cookie-consent-banner.show {
        bottom: 92px;
    }

    .mobile-quick-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 42px;
        border-radius: 16px;
        color: var(--primary-blue);
        font-size: 0.84rem;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-quick-link-primary {
        background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe07a 100%);
        color: #0f2d5c;
        box-shadow: 0 8px 20px rgba(255, 199, 44, 0.34);
    }

    .floating-contact {
        display: none;
    }

    body {
        padding-bottom: 108px;
    }

    .cta-banner-modern {
        padding: 60px 0;
    }

    .cta-modern-headline {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .cta-feature-item {
        padding: 20px 15px;
    }

    .cta-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cta-feature-text strong {
        font-size: 1rem;
    }

    .cta-feature-text span {
        font-size: 0.85rem;
    }

    .cta-trust-row-compact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .cta-btn i {
        font-size: 1.3rem;
    }

    .cta-trust-text {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .cta-modern-headline {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .cta-features-row {
        padding: 0 10px;
    }

    .cta-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .hero-form-card {
        padding: 16px;
        border-radius: 20px;
    }

    .hero-form-title {
        margin-bottom: 14px;
        font-size: clamp(1.15rem, 6vw, 1.45rem);
        line-height: 1.25;
    }

    .hero-loan-option span {
        min-width: 0;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .hero-form-links {
        font-size: 0.82rem;
    }

    .mobile-quick-link {
        font-size: 0.76rem;
    }

    .mobile-quick-link i {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-campaign,
    .hero-form-card {
        animation: none;
    }
}
