/* =========================================================
   SITESA PORTAL V2
   Scope: public portal only
   ========================================================= */

.nav-login {
    padding: 10px 15px;
    border: 1px solid #dedede;
    border-radius: 11px;
    background: #fff;
}

.portal-section {
    padding: 88px 0;
}

.portal-ecosystem {
    background:
        radial-gradient(circle at 10% 15%, rgba(244,122,0,.08), transparent 25%),
        #fff;
}

.portal-map {
    max-width: 940px;
    margin: 42px auto 0;
    text-align: center;
}

.portal-map-top {
    width: max-content;
    margin: auto;
    padding: 16px 34px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #d71920, #f47a00);
    font-size: 25px;
    font-weight: 950;
    box-shadow: 0 15px 40px rgba(215,25,32,.18);
}

.portal-products {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 52px 0 24px;
}

.portal-products::before {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    top: -27px;
    height: 1px;
    background: #d9d9d9;
}

.portal-products a {
    position: relative;
    padding: 26px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.05);
    transition: .22s ease;
}

.portal-products a:hover {
    transform: translateY(-4px);
    border-color: rgba(244,122,0,.45);
}

.portal-products a::before {
    content: "";
    position: absolute;
    top: -27px;
    left: 50%;
    width: 1px;
    height: 27px;
    background: #d9d9d9;
}

.portal-products strong,
.portal-products span {
    display: block;
}

.portal-products strong {
    color: #d71920;
    font-size: 20px;
}

.portal-products span {
    margin-top: 7px;
    color: #6b6b6b;
    font-size: 13px;
}

.portal-core {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 22px;
    border-radius: 18px;
    background: #171717;
    color: #fff;
}

.portal-core span,
.portal-core strong {
    display: block;
}

.portal-core span {
    color: #f47a00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.portal-core strong {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
}

.portal-benefits {
    background: #f6f7f9;
}

.portal-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.portal-benefit-grid article {
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
}

.portal-benefit-grid article > span {
    display: block;
    margin-bottom: 18px;
    color: #f47a00;
    font-size: 12px;
    font-weight: 950;
}

.portal-benefit-grid h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.portal-benefit-grid p {
    margin: 0;
    color: #686868;
    line-height: 1.65;
}

.portal-footer {
    padding: 64px 0 22px;
}

.portal-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 42px;
}

.portal-footer-grid h4 {
    margin: 0 0 18px;
    color: #fff;
}

.portal-footer-grid a {
    display: block;
    margin: 11px 0;
    color: rgba(255,255,255,.68);
}

.portal-footer-grid a:hover {
    color: #fff;
}

.portal-footer-brand strong {
    color: #f47a00;
    font-size: 28px;
}

.portal-footer-brand p {
    max-width: 340px;
    color: rgba(255,255,255,.68);
    line-height: 1.7;
}

.portal-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

/* PAGE */
.portal-page-body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #161616;
    background: #f6f7f9;
}

.portal-page-header {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
}

.portal-page-container {
    width: min(1120px, calc(100% - 40px));
    margin: auto;
}

.portal-page-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-page-brand strong {
    color: #d71920;
    font-size: 24px;
}

.portal-page-brand a {
    color: #161616;
    text-decoration: none;
    font-weight: 700;
}

.portal-page-hero {
    padding: 90px 0 46px;
}

.portal-page-eyebrow {
    color: #f47a00;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.portal-page-hero h1 {
    max-width: 780px;
    margin: 14px 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1;
}

.portal-page-hero p {
    max-width: 780px;
    color: #666;
    font-size: 18px;
    line-height: 1.75;
}

.portal-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-bottom: 70px;
}

.portal-page-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    font-weight: 750;
}

.portal-page-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.portal-page-btn {
    display: inline-flex;
    padding: 13px 19px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 850;
    background: #f47a00;
    color: #fff;
}

.portal-page-btn.secondary {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
}

@media (max-width: 960px) {
    .portal-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 760px) {
    .portal-section {
        padding: 62px 0;
    }

    .portal-products,
    .portal-benefit-grid,
    .portal-footer-grid,
    .portal-page-grid {
        grid-template-columns: 1fr;
    }

    .portal-products::before,
    .portal-products a::before {
        display: none;
    }

    .portal-products {
        margin-top: 30px;
    }

    .portal-footer-bottom {
        flex-direction: column;
    }

    .portal-page-hero {
        padding-top: 58px;
    }

    .portal-page-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-products a {
        transition: none;
    }
}
