/* ============================================== */
/* ONEPAY CREDIT - HOMEPAGE UI ENHANCEMENTS       */
/* Matches polish level of onepayib/onepayts       */
/* ============================================== */

/* --- Top Info Bar --- */
.top-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__left a,
.top-bar__left span {
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.top-bar__left a:hover {
    color: var(--primary-orange);
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar__badge {
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.15);
}

.top-bar__badge i {
    color: #4ade80;
    font-size: 0.65rem;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* --- Enhanced Hero (overrides removed — now using .hero-new) --- */

/* ============================================== */
/* MODERN NAVIGATION OVERHAUL                     */
/* ============================================== */

/* --- Header: white at top, dark on scroll --- */
.header {
    background: #ffffff !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
    height: auto !important;
    padding: 0 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky !important;
    top: 0;
}

.header.nav-scrolled {
    background: var(--primary-blue) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Nav container */
.header .nav {
    padding: 14px 0;
    transition: padding 0.3s ease;
}

.header.nav-scrolled .nav {
    padding: 10px 0;
}

/* Logo — always original colors */
.header .logo img {
    height: 52px !important;
    transition: none;
}

/* --- Nav Links: Dark text default, white on scroll --- */
.header .nav__link {
    color: var(--primary-blue) !important;
    text-transform: none !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.header .nav__link:hover {
    color: var(--primary-orange) !important;
}

.header.nav-scrolled .nav__link {
    color: rgba(255,255,255,0.75) !important;
}

.header.nav-scrolled .nav__link:hover {
    color: #ffffff !important;
}

/* Active link indicator */
.header .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.header .nav__link:hover::after {
    width: 100%;
}

/* Chevrons in dropdowns */
.header .nav__link i.fa-chevron-down {
    font-size: 0.6rem !important;
    margin-left: 4px !important;
    opacity: 0.5;
    transition: all 0.3s;
}

.header .nav__item:hover .nav__link i.fa-chevron-down {
    opacity: 1;
    color: var(--primary-orange) !important;
}

.header.nav-scrolled .nav__item:hover .nav__link i.fa-chevron-down {
    color: var(--primary-orange) !important;
}

/* --- Nav Menu Spacing --- */
.header .nav__menu {
    gap: 28px !important;
    padding-left: 0 !important;
    margin-left: auto;
}

/* --- Actions (right side) --- */
.header .nav__actions {
    gap: 10px !important;
    margin-left: 24px;
}

/* Search icon */
.header .nav__icon {
    color: var(--primary-blue) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    transition: all 0.3s;
}

.header .nav__icon:hover {
    background: rgba(0,0,0,0.05) !important;
    color: var(--primary-orange) !important;
}

.header.nav-scrolled .nav__icon {
    color: rgba(255,255,255,0.6) !important;
}

.header.nav-scrolled .nav__icon:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

/* --- GET STARTED Button — refined --- */
.btn--get-started {
    background: var(--primary-orange) !important;
    background-image: none !important;
    background-size: auto !important;
    animation: none !important;
    box-shadow: none !important;
    padding: 9px 22px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.btn--get-started:hover {
    background: #c43d1d !important;
    box-shadow: 0 4px 16px rgba(222,78,42,0.3) !important;
    transform: translateY(-1px) !important;
}

/* --- Hamburger Icon --- */
.header .nav__hamburger {
    color: var(--primary-blue) !important;
    transition: all 0.3s;
}

.header .nav__hamburger:hover {
    color: var(--primary-orange) !important;
    background: rgba(0,0,0,0.05) !important;
}

.header.nav-scrolled .nav__hamburger {
    color: rgba(255,255,255,0.7) !important;
}

.header.nav-scrolled .nav__hamburger:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
}

/* --- Dropdown Menus: glass card effect --- */
.dropdown__menu.mega-menu-grid {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 14px !important;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.12),
        0 1px 3px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    padding: 20px !important;
    gap: 12px !important;
}

.dropdown-item-rich {
    border-radius: 10px !important;
    padding: 14px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.dropdown-item-rich:hover {
    background: #f8f9fa !important;
    border-color: #f0f0f0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
    transform: translateY(-1px);
}

.dropdown-icon-container {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(222,78,42,0.08) !important;
    transition: all 0.25s ease !important;
}

.dropdown-item-rich:hover .dropdown-icon-container {
    background: var(--primary-orange) !important;
    transform: scale(1.05) !important;
}

.dropdown-icon-container i {
    font-size: 1rem !important;
}

.dropdown-item-rich:hover .dropdown-icon-container i {
    color: white !important;
}

.dropdown-content h4 {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    margin-bottom: 3px !important;
}

.dropdown-content p {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
}

.dropdown-link-action {
    font-size: 0.7rem !important;
    margin-top: 6px !important;
    opacity: 0;
    transition: opacity 0.2s;
}

.dropdown-item-rich:hover .dropdown-link-action {
    opacity: 1;
}

/* --- Mobile Nav Overrides --- */
@media (max-width: 992px) {
    .header .nav__menu {
        background: var(--primary-blue) !important;
        padding: 1.5rem !important;
        top: 100% !important;
    }

    .header .nav__menu .nav__link {
        color: rgba(255,255,255,0.8) !important;
        border-bottom-color: rgba(255,255,255,0.08) !important;
        font-size: 1rem !important;
    }

    .header .nav__menu .nav__link:hover {
        color: var(--primary-orange) !important;
    }

    .dropdown__menu.mega-menu-grid {
        position: relative !important;
        min-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 10px !important;
        grid-template-columns: 1fr !important;
    }

    .nav__item:hover .dropdown__menu.mega-menu-grid {
        transform: none !important;
    }
}

/* --- Section Divider Wave --- */
.section-divider-wave {
    background: var(--primary-blue);
    position: relative;
    width: 100%;
    height: 50px;
    min-height: 50px;
    overflow: hidden;
    margin-bottom: -1px;
    z-index: 5;
}

.waves {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: -7px;
    min-height: 50px;
}


/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 3s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 5s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 8s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 12s;
}


@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* Shrinking for mobile */
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
    .section-divider-wave {
        height: 40px;
        min-height: 40px;
    }
}


/* ============================================================
   PRODUCTS SECTION — enhanced bento-style grid
   ============================================================ */
.products-section {
    background: #f8fafc;
    background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
    background-size: 24px 24px;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.products-header .section-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 12px;
}

.products-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 8px 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.products-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Custom Section Dividers --- */
.custom-divider {
    line-height: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 4;
}

.custom-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.curve-divider-trust {
    background: #183949; /* match trust-strip bottom */
    margin-bottom: -1px;
}

.curve-divider {
    background: #f8fafc; /* match products bottom */
    margin-bottom: -1px;
}

.angle-divider {
    background: #ffffff; /* match HIW bottom */
    margin-bottom: -1px;
}

.angle-divider svg {
    height: 80px;
}

@media (max-width: 768px) {
    .custom-divider svg {
        height: 30px;
    }
}



.products-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 20px;
}

/* Featured card spans 5 cols, 2 rows (tall) */
.prod-card:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

/* Right side cards */
.prod-card:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.prod-card:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.prod-card:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.prod-card:nth-child(5) { grid-column: span 4; grid-row: span 1; }

/* Base card styling */
.prod-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
}

.prod-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(12, 21, 78, 0.12);
    border-color: rgba(255, 107, 53, 0.2);
}

.prod-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.prod-card:hover .prod-card__img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.prod-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0) 20%,
        rgba(15, 23, 42, 0) 40%,
        rgba(15, 23, 42, 0.8) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}

.prod-card:hover::after {
    opacity: 0.95;
}

.prod-card__tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-orange);
    color: #fff;
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(222, 78, 42, 0.4);
}

.prod-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0) 40%,
        rgba(15, 23, 42, 0.4) 60%,
        rgba(15, 23, 42, 0.85) 100%
    );
    z-index: 1;
    transition: all 0.5s ease;
}

.prod-card:hover::after {
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.2) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.95) 100%
    );
}

/* Card body overrides for clutter reduction */
.prod-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Glass panel effect on hover using pseudo-element */
.prod-card__body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255,107,53,0.05));
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: -1;
    opacity: 0;
    transition: all 0.6s ease;
}

.prod-card:hover .prod-card__body::before {
    opacity: 1;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.prod-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.prod-card:hover .prod-card__icon {
    background: var(--primary-orange);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(222, 78, 42, 0.3);
}

.prod-card h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    transition: transform 0.4s ease;
}

.prod-card:hover h3 {
    transform: translateY(-5px);
}

.prod-card--featured h3 {
    font-size: 2rem;
}

/* Minimalist strategy: Hide p and cta by default except on featured */
.prod-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.prod-card:hover p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
    margin-bottom: 24px;
}

/* Rate badge always visible but understated */
.prod-card__rate {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
}

.prod-card:hover .prod-card__rate {
    margin-bottom: 20px;
    color: #fff;
}

.prod-card__rate span {
    color: var(--primary-orange);
    font-weight: 900;
    font-size: 1rem;
}

.prod-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.prod-card:hover .prod-card__cta {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.prod-card__cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.prod-card:hover .prod-card__cta i {
    transform: translateX(6px);
}

/* Ensure featured card is always readable but still follows logic */
.prod-card--featured p {
    opacity: 0.7;
    max-height: 100px;
    transform: none;
}
.prod-card--featured:hover p {
    opacity: 1;
}

.prod-card__cta--outline {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.prod-card__cta--outline:hover {
    background: #fff;
    color: var(--primary-blue);
    border-color: #fff;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .prod-card {
        grid-column: span 1 !important;
        height: 380px;
    }
    .prod-card:nth-child(1) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .prod-card {
        grid-column: span 1 !important;
        height: 340px;
    }
    .prod-card h3 {
        font-size: 1.4rem;
    }
}


/* Section divider: three dots with lines */
.divider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9fc);
    position: relative;
}

.divider-dots::before,
.divider-dots::after {
    content: '';
    width: 48px;
    height: 2px;
    background: linear-gradient(to right, #cbd5e1, transparent);
}

.divider-dots::after {
    background: linear-gradient(to left, #cbd5e1, transparent);
}

.divider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8456 100%);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.divider-dots span:nth-child(1) { animation-delay: 0s; }
.divider-dots span:nth-child(2) {
    opacity: 0.6;
    width: 7px;
    height: 7px;
    animation-delay: 0.2s;
}
.divider-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.divider-dots span:nth-child(1),
.divider-dots span:nth-child(3) {
    opacity: 0.3;
    width: 4px;
    height: 4px;
}

/* --- Trust Signals Strip --- */
.trust-strip {
    background: var(--primary-blue);
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.trust-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(222,78,42,0.08) 0%, transparent 50%, rgba(222,78,42,0.05) 100%);
    pointer-events: none;
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}


.trust-strip__item {
    text-align: center;
    padding: 1.8rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.trust-strip__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}

.trust-strip__item:hover {
    background: rgba(255,255,255,0.05);
}

.trust-strip__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(222,78,42,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    transition: all 0.4s ease;
}

.trust-strip__item:hover .trust-strip__icon {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.trust-strip__icon i {
    font-size: 1rem;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.trust-strip__item:hover .trust-strip__icon i {
    color: white;
}

.trust-strip__number {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 2px;
}

.trust-strip__label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .trust-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-strip__item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .trust-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-strip__number {
        font-size: 1.4rem;
    }
    .trust-strip__item {
        padding: 1.2rem 0.6rem;
    }
}

/* --- Improved Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-tag {
    display: inline-block;
    background: rgba(222,78,42,0.08);
    color: var(--primary-orange);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- How It Works Section --- */
.how-it-works {
    background: white;
    padding: 3rem 0 5rem;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 2rem;
}

/* Connecting line */
.hiw-steps::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue), var(--primary-orange), var(--primary-blue));
    z-index: 0;
}

.hiw-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hiw-step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.hiw-step__number i {
    font-size: 1.2rem;
}

.hiw-step:hover .hiw-step__number {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(222,78,42,0.3);
}

.hiw-step__tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-orange);
    margin-bottom: 0.3rem;
}

.hiw-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.hiw-step p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .hiw-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .hiw-steps::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .hiw-steps {
        grid-template-columns: 1fr;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: rgba(222,78,42,0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: rgba(222,78,42,0.15);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- Enhanced CTA Banner --- */
.enhanced-cta {
    padding: 5rem 0;
    background: white;
}

.enhanced-cta__card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e4d63 40%, #234f5e 100%);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.enhanced-cta__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(222,78,42,0.12);
    pointer-events: none;
}

.enhanced-cta__card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.enhanced-cta__text {
    position: relative;
    z-index: 2;
}

.enhanced-cta__text h2 {
    color: white;
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.enhanced-cta__text p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.enhanced-cta__actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.enhanced-cta__actions .btn--primary {
    background: var(--primary-orange);
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.enhanced-cta__actions .btn--ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.enhanced-cta__actions .btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.enhanced-cta__features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cta-feature {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s;
}

.cta-feature:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.cta-feature i {
    font-size: 1.3rem;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    display: block;
}

.cta-feature span {
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .enhanced-cta__card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
    .enhanced-cta__text h2 {
        font-size: 1.8rem;
    }
}

/* --- Enhanced Footer --- */
.footer-enhanced {
    background: var(--primary-blue);
    padding: 4rem 0 0;
    color: rgba(255,255,255,0.75);
}

.footer-enhanced h5 {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.footer-enhanced .link-column ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

.footer-enhanced .link-column ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-enhanced .footer-phone {
    color: white;
}

.footer-enhanced .footer-email {
    color: rgba(255,255,255,0.6);
}

.footer-enhanced .social-icons-footer a {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

.footer-enhanced .social-icons-footer a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.footer-enhanced .newsletter-section h4 {
    color: white;
}

.footer-enhanced .newsletter-input {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: white;
}

.footer-enhanced .newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-enhanced .footer-top {
    border-bottom-color: rgba(255,255,255,0.1);
}

.footer-enhanced .footer-find-us h5 {
    color: var(--primary-orange);
}

.footer-enhanced .footer-location-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.footer-enhanced .footer-location-card:hover {
    border-color: var(--primary-orange);
    background: rgba(255,255,255,0.1);
}

.footer-enhanced .footer-location-card div strong {
    color: white;
}

.footer-enhanced .footer-location-card div span {
    color: rgba(255,255,255,0.5);
}

.footer-enhanced .footer-location-card > i {
    color: var(--primary-orange);
}

.footer-enhanced .footer-bottom {
    color: rgba(255,255,255,0.5);
    border-top-color: rgba(255,255,255,0.1);
}

.footer-enhanced .legal-links a {
    color: rgba(255,255,255,0.5);
}

.footer-enhanced .legal-links a:hover {
    color: var(--primary-orange);
}

.footer-enhanced .ombud-section p {
    color: rgba(255,255,255,0.6);
}

.footer-enhanced .footer-bottom + div {
    border-top-color: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.4);
}

/* --- Partner Logos Strip --- */
.partners-strip {
    background: white;
    padding: 2.5rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.partners-strip .section-tag {
    text-align: center;
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.partners-logos span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 1px;
}

/* --- Animated Counter --- */
.counter-animate {
    display: inline-block;
}

/* --- Scroll Reveal Enhancement --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* --- Enhanced Advantage Cards --- */
.advantage-section {
    background: linear-gradient(135deg, #f8fafc, #f0f4f8) !important;
}

.advantage-card {
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px !important;
}

.advantage-card:hover {
    border-color: rgba(222,78,42,0.15);
}

/* --- WhatsApp Widget Enhancement --- */
.whatsapp-button {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4) !important;
}

/* ============================================== */
/* NEW HERO SECTION — Dark with Loan Estimator    */
/* ============================================== */
.hero-new {
    background: var(--primary-blue);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    z-index: 0;
}

.hero-new::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(222,78,42,0.06);
    z-index: 0;
}

.hero-new__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ---- Hero Left (Copy) ---- */
.hero-new__left {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-new h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 16px;
    font-family: 'Nunito', sans-serif;
}

.hero-new h1 span {
    color: var(--primary-orange);
}

.hero-new__left > p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 420px;
}

/* ---- Hero CTAs ---- */
.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary:hover {
    background: #c43d1d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222,78,42,0.35);
    color: white;
}

.hero-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 13px 26px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hero-btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.35);
    color: white;
}

/* ---- Hero Trust Row ---- */
.hero-trust-row {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.hero-trust-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ---- Hero Right (Calculator) ---- */
.hero-new__right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-calc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-calc-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 18px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-calc-field {
    margin-bottom: 14px;
}

.hero-calc-label {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.hero-calc-label span {
    font-weight: 700;
    color: var(--primary-blue);
}

.hero-slider-wrap {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
}

.hero-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-orange);
    border-radius: 999px;
    pointer-events: none;
    transition: width 0.1s;
}

.hero-slider-wrap input[type=range] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    height: 20px;
    margin: 0;
    border: none;
    outline: none;
}

.hero-slider-wrap input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--primary-orange);
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

.hero-slider-wrap input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--primary-orange);
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

.hero-calc-result {
    background: #fff8f6;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    border: 1px solid #fcd5cb;
}

.hero-result-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.hero-result-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-top: 2px;
}

/* ---- Hero Stats Row (below calc) ---- */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.3s;
}

.hero-stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.hero-stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.hero-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
    display: block;
    font-weight: 600;
}

/* ---- Hero Responsive ---- */
@media (max-width: 900px) {
    .hero-new {
        padding: 48px 0;
    }
    .hero-new__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-new h1 {
        font-size: 2.2rem;
    }
    .hero-new__left > p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-new {
        padding: 36px 0;
    }
    .hero-new__grid {
        gap: 28px;
    }
    .hero-new h1 {
        font-size: 1.8rem;
    }
    .hero-trust-row {
        gap: 12px;
    }
    .hero-calc-card {
        padding: 20px;
    }
    .hero-result-amount {
        font-size: 1.1rem;
    }
    .hero-stat-num {
        font-size: 1rem;
    }
}

/* ============================================================
   HERO SLIDER — 3-slide marquee
   ============================================================ */

/* Grid-stacking: all slides occupy the same space */
.hero-slider-wrapper {
    display: grid;
    padding: 0 !important;
}

.hero-slide {
    grid-area: 1 / 1;
    padding: 64px 0 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
    z-index: 1;
}

/* Slide accent overlays — subtle colour tinting per product */
.hero-slide[data-slide="1"]::after {
    background: rgba(56,189,248,0.04) !important;
}
.hero-slide[data-slide="2"]::after {
    background: rgba(167,139,250,0.05) !important;
}

/* ---- Dots & Progress Bar ---- */
.hero-slider-nav {
    grid-area: 1 / 1;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 24px;
    gap: 14px;
    pointer-events: none;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    pointer-events: all;
}

.hero-dot.active {
    background: var(--primary-orange);
    transform: scale(1.25);
}

.hero-dot:hover:not(.active) {
    background: rgba(255,255,255,0.55);
}

/* Vertical progress bar above dots */
.hero-progress-bar {
    width: 3px;
    height: 52px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--primary-orange);
    border-radius: 999px;
    transition: height linear;
}

/* Badge variants for slide 2 & 3 */
.hero-badge--teal {
    border-color: rgba(56,189,248,0.25) !important;
    background: rgba(56,189,248,0.08) !important;
}

.hero-badge--purple {
    border-color: rgba(167,139,250,0.25) !important;
    background: rgba(167,139,250,0.08) !important;
}

.hero-badge--gold {
    border-color: rgba(251,191,36,0.25) !important;
    background: rgba(251,191,36,0.08) !important;
}

@media (max-width: 900px) {
    .hero-slide { padding: 48px 0 72px; }
}
@media (max-width: 600px) {
    .hero-slide { padding: 36px 0 64px; }
    .hero-slider-nav { padding-bottom: 16px; }
    .hero-progress-bar { display: none; }
}

/* ============================================================
   SITE-WIDE MODERN POLISH (2026)
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.products-section {
    background: linear-gradient(180deg, var(--surface-muted, #f1f5f9) 0%, #e8eef5 100%);
}

.top-bar {
    background: linear-gradient(90deg, #0f2733 0%, #183949 50%, #143244 100%);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.header:not(.nav-scrolled) {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
}

/* --- Dark premium footer (all pages using .footer-enhanced) --- */
.footer.footer-enhanced {
    margin-top: 0;
    padding: 4rem 0 1.5rem;
    background: linear-gradient(165deg, #0c1f28 0%, #0a1820 42%, #071015 100%);
    color: rgba(226, 232, 240, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.12);
}

.footer.footer-enhanced .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    padding-bottom: 2.5rem;
}

/* Minimal footers (only copyright row) */
.footer.footer-enhanced > .container > .footer-bottom:first-child {
    padding: 2.25rem 0 1.5rem;
    border-top: none !important;
    text-align: center;
    color: rgba(203, 213, 225, 0.9);
}

.footer.footer-enhanced .newsletter-section h4 {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.45;
}

.footer.footer-enhanced .newsletter-input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.footer.footer-enhanced .newsletter-input::placeholder {
    color: rgba(148, 163, 184, 0.85);
}

.footer.footer-enhanced .newsletter-input:focus {
    border-color: rgba(222, 78, 42, 0.65);
    box-shadow: 0 0 0 3px rgba(222, 78, 42, 0.2);
}

.footer.footer-enhanced .newsletter-form .btn--primary {
    border-radius: 10px !important;
    padding: 11px 22px !important;
    font-size: 0.75rem !important;
}

.footer.footer-enhanced .link-column h5 {
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.footer.footer-enhanced .link-column ul li a {
    color: rgba(203, 213, 225, 0.92);
}

.footer.footer-enhanced .link-column ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer.footer-enhanced .footer-email {
    color: rgba(148, 163, 184, 0.95);
}

.footer.footer-enhanced .social-icons-footer a {
    color: rgba(248, 250, 252, 0.85);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.footer.footer-enhanced .social-icons-footer a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

.footer.footer-enhanced .footer-find-us {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.footer.footer-enhanced .footer-find-us h5 {
    color: #f1f5f9;
}

.footer.footer-enhanced .footer-location-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer.footer-enhanced .footer-location-card:hover {
    border-color: rgba(222, 78, 42, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.footer.footer-enhanced .footer-location-card div strong {
    color: #f8fafc;
}

.footer.footer-enhanced .footer-location-card div span {
    color: rgba(148, 163, 184, 0.95);
}

.footer.footer-enhanced .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.75rem;
    color: rgba(148, 163, 184, 0.9);
}

.footer.footer-enhanced .legal-links a {
    color: rgba(148, 163, 184, 0.95);
}

.footer.footer-enhanced .legal-links a:hover {
    color: var(--primary-orange);
}

.footer.footer-enhanced .ombud-section {
    color: rgba(203, 213, 225, 0.9);
}

.footer.footer-enhanced .container > div:last-of-type {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(148, 163, 184, 0.85) !important;
}

.footer.footer-enhanced .container > div:last-of-type p {
    color: inherit;
}

/* Alternate footer layout (e.g. onepay-complete.html) */
.footer.footer-enhanced .footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer.footer-enhanced .footer__grid h4 {
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer.footer-enhanced .footer__about p {
    color: rgba(203, 213, 225, 0.88);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.75rem 0 1rem;
}

.footer.footer-enhanced .footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer.footer-enhanced .footer__links li {
    margin-bottom: 0.55rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.88rem;
}

.footer.footer-enhanced .footer__links a {
    color: rgba(203, 213, 225, 0.95);
}

.footer.footer-enhanced .footer__links a:hover {
    color: var(--primary-orange);
}

.footer.footer-enhanced .footer__bottom {
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(148, 163, 184, 0.88);
    font-size: 0.82rem;
}

.footer.footer-enhanced .footer__bottom p {
    margin: 0.25rem 0;
}

@media (max-width: 900px) {
    .footer.footer-enhanced .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   MOBILE RESPONSIVENESS OVERRIDES (2026 Polish)
   ============================================================ */

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .prod-card:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .products-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prod-card {
        min-height: 340px;
    }

    .prod-card__body {
        padding: 24px;
    }

    .prod-card h3 {
        font-size: 1.4rem;
    }

    /* Trust Strip Mobile */
    .trust-strip__inner {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 0;
    }

    .trust-strip__item:not(:last-child)::after {
        width: 60%;
        height: 1px;
        top: auto;
        bottom: 0;
        left: 20%;
        right: auto;
    }
}

@media (max-width: 600px) {
    .section-tag {
        font-size: 0.7rem;
    }
    
    .products-header p {
        font-size: 0.9rem;
    }
}

