/* ============================================================
   SOLUTIONS PAGE — content styles only
   Depends on: credora-preloader.css, credora-layout.css
   ============================================================ */

/* === PAGE VARIABLES === */
:root {
    --blue:         #1c3963;
    --muted:        rgba(11, 27, 52, 0.74);
    --bg-blue:      #e8eef5;
    --glass-border: rgba(255, 255, 255, 0.72);
    --glass-shadow: 0 24px 70px rgba(28, 57, 99, 0.18);
}

body {
    background: var(--bg-blue);
}

/* === SOLUTIONS PAGE === */
.solutions-page {
    min-height: 760px;
    background:
        linear-gradient(180deg, rgba(238, 242, 247, 0.08), rgba(238, 242, 247, 0.18)),
        url("../images/CREDORA SOLUTIONS PAGE LIGHT.PNG") center top / cover fixed no-repeat;
}

.solutions-hero {
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: clamp(44px, 5vw, 76px) 24px 24px;
    text-align: center;
}

.solutions-hero__inner {
    width: min(980px, 100%);
    margin: 0 auto;
}

.solutions-hero h1 {
    margin: 0;
    color: var(--blue);
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
}

.solutions-hero p {
    max-width: 900px;
    margin: 12px auto 0;
    color: var(--blue);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.5;
}

.solutions-hero u {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* === SERVICE CARDS === */
.solutions-grid-section {
    padding: 0 24px clamp(68px, 7vw, 96px);
    margin-top: -10px;
}

.services-grid-container {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card-link {
    display: block;
    text-decoration: none;
}

.service-card {
    min-height: 190px;
    height: 100%;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2) 48%, rgba(255, 255, 255, 0.36));
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 1px rgba(255, 255, 255, 0.86),
        inset 0 -1px 0 rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(30px) saturate(1.35) brightness(1.08);
    -webkit-backdrop-filter: blur(30px) saturate(1.35) brightness(1.08);
    position: relative;
    overflow: hidden;
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    background:
        radial-gradient(circle at 16% 5%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 90% 94%, rgba(28, 57, 99, 0.14), rgba(28, 57, 99, 0) 34%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.3));
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: -70% 20% auto -60%;
    height: 140%;
    transform: rotate(28deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.58);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0.44));
    box-shadow:
        0 28px 88px rgba(28, 57, 99, 0.24),
        inset 0 1px 1px rgba(255, 255, 255, 0.76),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.service-icon,
.service-title {
    position: relative;
    z-index: 1;
}

.service-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(20%) sepia(50%) saturate(905%) hue-rotate(177deg) brightness(91%) contrast(94%) drop-shadow(0 10px 22px rgba(28, 57, 99, 0.16));
    opacity: 0.94;
}

.service-title {
    margin: 0;
    color: var(--blue);
    font-size: clamp(17px, 1.25vw, 22px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .solutions-page {
        background-attachment: scroll;
    }

    .solutions-hero {
        min-height: 260px;
        padding: 42px 18px 18px;
    }

    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 160px;
        border-radius: 22px;
    }

    .service-card::before {
        border-radius: 21px;
    }
}

@media (max-width: 576px) {
    .solutions-hero h1 {
        font-size: 34px;
    }

    .solutions-hero p {
        font-size: 16px;
    }

    .solutions-grid-section {
        padding: 0 14px 44px;
    }
}
