@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #333;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

.home-page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero */
.hero-clean {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 8% 80px;
    background: #f8fafc;
}

.hero-identity {
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.brand-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 12px;
}

.logo-title {
    max-width: 900px;
    color: #1e293b;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.hero-identity h1 {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 30px;
    color: #475569;
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.45;
}

/* Buttons */
.button-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
}

.button-container a {
    text-decoration: none;
}

.btn-cancel,
.btn-next {
    flex: 1;
    min-width: 0;
    padding: 14px 25px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cancel {
    background: #fff;
    color: #64748b;
    border-color: #cbd5e1;
}

.btn-cancel:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
    transform: translateY(-2px);
}

.btn-next {
    background: #002060;
    color: #fff;
    border-color: #002060;
}

.btn-next:hover {
    background: #003399;
    border-color: #003399;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 32, 96, 0.15);
}

/* Partners */
.partners {
    width: 100%;
    padding: 40px 8% 50px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
}

.partners-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.partners-title {
    margin-bottom: 26px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Partner Logos */
.partner-logos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 42px;
}

.partner-logo-item {
    width: 90px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 0.90;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Fine-tune logos with different proportions */
.partner-logo-item:nth-child(1) .partner-logo {
    width: 60px;
    height: 45px;
}

.partner-logo-item:nth-child(2) .partner-logo {
    width: 57px;
    height: 57px;
}

.partner-logo-item:nth-child(3) .partner-logo {
    width: 60px;
    height: 60px;
}

.partner-logo-item:nth-child(4) .partner-logo {
    width: 50px;
    height: 50px;
}

.partner-logo-item:nth-child(5) .partner-logo {
    width: 68px;
    height: 55px;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.02);
}

/* Cards */
.section-cards {
    width: 100%;
    padding: 70px 8% 80px;
    background: #f8fafc;
}

.grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.card {
    position: relative;
    min-width: 0;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #dbe3ed;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.card-number {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3fc;
    color: #002060;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.card h3 {
    margin-bottom: 8px;
    color: #002060;
    font-size: 1.2rem;
    font-weight: 700;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 8%;
    background: #ececec;
    border-top: 1px solid #d9d9d9;
}

/* Tablet */
@media (max-width: 900px) {
    .hero-clean {
        min-height: auto;
        padding: 75px 6% 70px;
    }

    .brand-logo {
        width: 135px;
        height: 135px;
    }

    .logo-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .partner-logos {
        column-gap: 35px;
    }

    .partner-logo {
        height: 50px;
    }

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

    .card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        justify-self: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-clean {
        min-height: auto;
        padding: max(55px, env(safe-area-inset-top)) 20px 55px;
    }

    .hero-identity {
        max-width: 560px;
    }

    .logo-group {
        margin-bottom: 16px;
    }

    .brand-logo {
        width: 115px;
        height: 115px;
        margin-bottom: 12px;
    }

    .logo-title {
        max-width: 500px;
        font-size: clamp(1.55rem, 7vw, 2.1rem);
        line-height: 1.17;
        letter-spacing: 0;
    }

    .hero-identity h1 {
        max-width: 480px;
        margin-bottom: 26px;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .button-container {
        max-width: 420px;
        gap: 12px;
    }

    .btn-cancel,
    .btn-next {
        padding: 13px 18px;
        font-size: 0.95rem;
    }

    .partners {
        padding: 35px 20px 40px;
    }

    .partners-title {
        margin-bottom: 24px;
        font-size: 0.78rem;
    }

    .partner-logos {
        max-width: 500px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 18px;
    }

    .partner-logo-item {
        width: 100%;
        min-width: 0;
    }

    .partner-logo {
        max-width: 85px;
        height: 46px;
    }

    .section-cards {
        padding: 50px 20px 60px;
    }

    .grid {
        max-width: 520px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card,
    .card:last-child {
        width: 100%;
        grid-column: auto;
        padding: 27px 22px;
        margin: 0;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        padding: 25px 20px;
        text-align: center;
    }

    .footer-right {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 15px 25px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-clean {
        padding: 45px 16px 48px;
    }

    .brand-logo {
        width: 100px;
        height: 100px;
    }

    .logo-title {
        max-width: 350px;
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .hero-identity h1 {
        max-width: 350px;
        margin-bottom: 23px;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .button-container {
        max-width: 340px;
        flex-direction: column;
        gap: 10px;
    }

    .btn-cancel,
    .btn-next {
        width: 100%;
        max-width: none;
        flex: none;
        padding: 13px 20px;
    }

    .partners {
        padding: 32px 16px 38px;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 15px;
    }

    .partner-logo-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .partner-logo {
        max-width: 80px;
        height: 45px;
    }

    .section-cards {
        padding: 42px 16px 50px;
    }

    .card {
        padding: 25px 20px;
    }

    .card-number {
        width: 38px;
        height: 38px;
        margin-bottom: 13px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.9rem;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .logo-title {
        font-size: 1.35rem;
    }

    .hero-identity h1 {
        font-size: 0.93rem;
    }

    .partner-logos {
        gap: 22px 10px;
    }

    .partner-logo {
        max-width: 70px;
        height: 42px;
    }
}
/* =========================================================
   PUBLIC HOME - RESPONSIVE SAFETY BASELINE
========================================================= */
.hero-clean,
.hero-identity,
.button-container,
.partners,
.partner-logos,
.section-cards,
.card {
    min-width: 0;
}

.hero-clean,
.section-cards,
.partners {
    overflow-x: clip;
}

.logo-title,
.hero-identity h1,
.card,
.card p,
.card h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

img,
svg,
video {
    max-width: 100%;
}
