/* SUPREMIS Cloud Platform (SCP) – page-scp.php */
/* Global variables & utilities */
:root {
    --tecza: linear-gradient(90deg, rgba(208,0,0,1) 0%, rgba(255,15,0,1) 33%, rgba(255,79,128,1) 66%, rgba(255,98,0,1) 100%);
}
body {
    background: #f5f5f5;
}
.shad-std {
    box-shadow: 0px 12px 30px #00000029;
}
.tecza {
    background-image: var(--tecza);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#top {
    overflow: clip;
    position: relative;
    background-image: url("../img/scp/hero-bg.svg");
    background-repeat: no-repeat;
    margin-top: 0;
    padding-top: 2rem;
}
/* Hero button overrides */
.page-template-page-scp .c-section__product--description .buttons {
    float: none;
    position: absolute;
    right: 0;
    bottom: 4rem;
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.page-template-page-scp .c-section__product--description .buttons .c-button {
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    font-weight: 600;
}
/* Sticky tab navigation */
.c-scp__menu {
    background-color: #ffffff;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.16);
    width: 100%;
    padding: 0;
    transition: .3s;
    z-index: 100;
    border-bottom: 1px solid #eee;
}
.c-scp__menu.active {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: z-index: 9998;
    transition: .3s;
}
.c-scp__menu-brand a {
    font-size: 22px;
    font-weight: 700;
    color: #000C2D;
    text-decoration: none;
    line-height: 60px;
    display: block;
    white-space: nowrap;
}
.c-scp__menu-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-left: 2px solid #eee;
}
.c-scp__menu-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    justify-content: space-around;
}
.c-scp__menu-tabs ul li a {
    display: block;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 400;
    color: #000C2D;
    text-decoration: none;
    transition: .3s;
    position: relative;
    white-space: nowrap;
}
.c-scp__menu-tabs ul li a:hover,
.c-scp__menu-tabs ul li a.active {
    font-weight: 700;
    color: #000C2D;
}
.c-scp__menu-tabs ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #C23035;
}
/* Mobile SCP menu */
.c-scp__menu.show-xs .c-scp__menu-brand a {
    font-size: 16px;
    line-height: 50px;
}
.scp-menu-xs {
    border-top: 1px solid #eee;
}
.scp-menu-xs ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.scp-menu-xs ul li a {
    display: block;
    padding: 10px 0;
    color: #000C2D;
    text-decoration: none;
}
.scp-menu-xs ul li a.active {
    font-weight: 700;
    color: #C23035;
}
/* Tab content */
.scp-tab-content {
    display: none;
}
.scp-tab-content.scp-tab-active {
    display: block;
}
/* IaaS hero */
.c-section__scp-iaas-hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.scp-iaas-hero__decoration {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(194, 48, 53, 0.08);
    z-index: 0;
}
.c-section__scp-iaas-hero .container {
    position: relative;
    z-index: 1;
}
.scp-iaas-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: #000C2D;
    line-height: 1.2;
    margin-bottom: 20px;
}
.scp-iaas-hero__subtitle {
    font-size: 28px;
    font-weight: 300;
    color: #000C2D;
    line-height: 1.4;
    margin-bottom: 25px;
}
.scp-iaas-hero__text p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}
.scp-iaas-hero__text .c-button {
    margin-top: 20px;
}
.scp-iaas-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.scp-iaas-hero__image img {
    max-width: 100%;
    height: auto;
}
/* Benefits section */
.c-section__scp-benefits {
    padding: 80px 0;
    background-color: #fafafa;
}
.scp-benefits__label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #C23035;
    margin-bottom: 10px;
    width: 100%;
}
.scp-benefits__heading {
    font-size: 42px;
    font-weight: 800;
    color: #000C2D;
    margin-bottom: 40px;
    line-height: 1.2;
}
.scp-benefits__columns > div {
    display: flex;
    gap: 2rem;
}
.scp-benefits__columns p {
    line-height: 1.7;
    color: #333;
}
.scp-benefits__gains,
.scp-benefits__gains__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    row-gap: 2rem;
}
.scp-benefit-item,
.scp-why__item {
    display: grid;
    grid-template-columns: 12px auto;
    gap: .5rem;
}
.scp-benefit-bullet,
.scp-why__bullet {
    grid-row: span 2;
    height: 8px;
    margin-top: 7px;
}
.scp-why__item {
    grid-template-columns: 20px auto;
}
.scp-why__bullet {
    height: 20px;
    margin-top: 3px;
}
.scp-benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000C2D;
    margin: 0 0 6px;
    line-height: 1.4;
}
.scp-benefit-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
/* Steps section */
.c-section__scp-steps {
    padding: 100px 0;
    background-color: #f5f5f5;
    position: relative;
}
.scp-steps__content {
    background: #fff;
    padding: 4rem 6rem 6rem;
}
.c-section__scp-steps::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 884px;
    height: 916px;
    background-image: url("../img/scp/iaas-bg.svg");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}
.c-section__scp-steps .container {
    position: relative;
    z-index: 1;
}
.scp-steps__heading {
    font-size: 42px;
    font-weight: 800;
    color: #000C2D;
    margin-bottom: 15px;
}
.scp-steps__intro {
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    max-width: 450px;
}
.scp-steps__divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 35px;
}
.scp-steps__list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}
.scp-steps__list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}
.scp-steps__number {
    font-size: 32px;
    font-weight: 300;
    min-width: 40px;
    line-height: 1.2;
    flex-shrink: 0;
    background: var(--tecza);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.scp-steps__list li h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000C2D;
    margin: 4px 0 4px;
}
.scp-steps__list li p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
.scp-steps__illustrations {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scp-steps__illustrations img {
    width: 100%;
    height: auto;
}
/* Tiles section */
.c-section__scp-when {
    padding: 80px 0;
}
.c-section__scp-when .c-title--underline {
    text-align: center;
    margin-bottom: 60px;
}
/* Balanced tile grid: 3-4 per row via :has() count detection */
.scp-when__cards {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
/* Default: 3 per row */
.scp-when__card-col {
    flex: 0 0 calc((100% - 80px) / 3);
    max-width: calc((100% - 80px) / 3);
}
/* 4 per row when count is exactly 4, or 7-8, or 11-12 */
.scp-when__cards:has(> :nth-child(4)):not(:has(> :nth-child(5))) > .scp-when__card-col,
.scp-when__cards:has(> :nth-child(7)):not(:has(> :nth-child(9))) > .scp-when__card-col,
.scp-when__cards:has(> :nth-child(11)):not(:has(> :nth-child(13))) > .scp-when__card-col {
    flex: 0 0 calc((100% - 120px) / 4);
    max-width: calc((100% - 120px) / 4);
}
.scp-when__card {
    text-align: center;
    padding: 4rem;
    height: 100%;
    border-right: 1px solid #eee;
    transition: .3s;
    background: white;
}
.scp-when__card-col:last-child .scp-when__card {
    border-right: none;
}
.scp-when__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scp-when__icon img {
    max-width: 65px;
    max-height: 65px;
}
.scp-when__card p {
    line-height: 1.6;
    color: #333;
    margin: 0;
}
/* Why section */
.c-section__scp-why {
    padding: 80px 0;
    background-color: #fafafa;
}
.c-section__scp-why .c-title--underline {
    text-align: center;
    margin-bottom: 60px;
}
.scp-why__items {
    margin-top: 20px;
}
.scp-why__item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #000C2D;
    margin: 0;
    line-height: 1.4;
}
.scp-why__item p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
/* Contact section */
.c-section__scp-contact {
    padding: 0;
    overflow: hidden;
}
.scp-contact__inner {
    display: flex;
    min-height: 650px;
    background: white;
}
.scp-contact__dark {
    position: relative;
    overflow: hidden;
    padding: 4rem 4rem 4rem 0rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-grow: 1;
}
.scp-contanct__person{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    justify-items: flex-end;
    align-items: flex-end;
    
}
.scp-contact__person img {
    height: 90%;
    width: auto;
    position: relative;
    top: auto;
    bottom: 0;
    justify-self: revert-layer;
    margin-top: auto;
}
@media screen and (max-width: 1483px) {
    .scp-contact__person img {
        transform: translateX(80px);
    }
    .scp-contact__dark {
        background-color: #ffffff;
        padding-left: 2rem;
    }
    .scp-contact__dark h2 {
        font-size: 2rem !important;
    }
    #hs-form iframe {
        min-height: 700px !important;
    }
}
@media screen and (max-width: 1300px) {
    #hs-form iframe {
        min-height: 850px !important;
    }
    .scp-contact__person img {
        transform: translateX(140px);
    }
}
@media screen and (max-width: 1140px) {
    #hs-form {
        padding: 0rem;
    }
    #hs-form iframe {
        min-height: 880px !important;
    }
}
@media screen and (max-width: 1100px) {
    .scp-contact__person {
        display: none !important;
    }
    .scp-contact__dark {
        max-width: 45%;
    }
    .scp-contact__light {
        flex: unset !important;
        max-width: unset !important;
        width: 100%;
    }
    #hs-form iframe {
        min-height: 720px !important;
    }
}
.scp-contact__person {
    position: relative;
    display: flex;
    width: clamp(20%, 25%, 33%);
    overflow: visible;
    display: flex;
    justify-content: flex-end;
    align-content: flex-end;
}
.scp-contact__person-info {
    position: absolute;
    bottom: 0;
    right: 0;
    white-space: nowrap;
    background: #fff;
    padding: 14px 20px;
    z-index: 3;
    transform: translateY(-2rem) translateX(-2rem);
}
.scp-contact__person-name {
    display: block;
    font-size: 22px;
    color: #C23035;
}
.scp-contact__person-role {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #000C2D;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.scp-contact__person-company {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #000C2D;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.scp-contact__text {
    position: relative;
    z-index: 1;
}
.scp-contact__text h2 {
    font-size: 42px;
    font-weight: 800;
    color: #000C2D;
    margin-bottom: 25px;
    line-height: 1.2;
}
.scp-contact__text p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
    padding-left: 2rem;
}
.scp-contact__text strong {
    color: #000C2D;
}
.scp-contact__bottom {
    display: flex;
    justify-content: center;
}
.scp-contact__form-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    cursor: pointer;
}
.scp-contact__form-cta span {
    font-size: 18px;
    font-weight: 600;
    color: #000C2D;
}
.scp-contact__light {
    flex: 0 0 40%;
    max-width: 40%;
    background-color: #000C2D;
    padding: 50px 40px;
    display: flex;
    align-items: center;
}
.scp-contact__light {
    transition: transform .4s ease, box-shadow .4s ease;
}
.scp-contact__light--emphasis {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(194, 48, 53, 0.45), 0 0 120px rgba(194, 48, 53, 0.15);
}
.scp-contact__light iframe {
    min-height: 660px !important;
    height: auto;
}
.scp-contact__form {
    width: 100%;
}
.scp-contact__form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #000C2D;
    margin-bottom: 6px;
    margin-top: 15px;
}
.scp-contact__form label .required {
    color: #C23035;
    margin-left: 2px;
}
.scp-contact__form input[type="text"],
.scp-contact__form input[type="email"],
.scp-contact__form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    transition: border-color .3s;
}
.scp-contact__form input:focus,
.scp-contact__form textarea:focus {
    outline: none;
    border-color: #C23035;
}
.scp-contact__form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    resize: vertical;
    transition: border-color .3s;
}
.scp-contact__consent {
    margin-top: 15px;
}
.scp-contact__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    line-height: 1.5;
    color: #666;
    cursor: pointer;
}
.scp-contact__consent input[type="checkbox"] {
    min-width: 18px;
    min-height: 18px;
    margin-top: 2px;
    accent-color: #C23035;
}
.scp-contact__consent a {
    color: #C23035;
    text-decoration: underline;
}
.scp-contact__submit {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}
.c-button--outline {
    background-color: transparent;
    color: #000C2D;
    border: 2px solid #000C2D;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: .3s;
    box-shadow: none;
}
.c-button--outline:hover {
    background-color: #000C2D !important;
    color: #ffffff;
}
#top {
    background-position: -10vw 50%;
}
@media only screen and (max-width: 1400px) {
    #top {
        background-position: -20vw 50%;
    }
}
/* Responsive */
@media only screen and (max-width: 991px) {
    #top {
        background-position: calc(-30vw - -50%) 50%;
    }
    .page-template-page-scp .c-section__product--description .buttons {
        flex-direction: column;
        gap: 10px;
    }
    .c-scp__menu-tabs ul {
        flex-wrap: wrap;
    }
    .c-scp__menu-tabs ul li a {
        font-size: 14px;
        padding: 12px 10px;
    }
    .scp-iaas-hero__title {
        font-size: 28px;
    }
    .scp-iaas-hero__subtitle {
        font-size: 20px;
    }
    .scp-iaas-hero__image img {
        max-width: 350px;
        margin: 30px auto;
        display: block;
    }
    .scp-benefits__heading {
        font-size: 28px;
    }
    .c-section__scp-benefits {
        padding: 50px 0;
    }
    .scp-steps__heading {
        font-size: 28px;
    }
    .c-section__scp-steps {
        padding: 50px 0;
    }
    .c-section__scp-steps::before {
        width: 500px;
        height: 530px;
        left: -50px;
        bottom: 0;
    }
    .scp-steps__illustrations {
        margin-top: 30px;
    }
    .c-section__scp-when {
        padding: 50px 0;
    }
    .scp-when__cards {
        gap: 24px;
    }
    .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(4)):not(:has(> :nth-child(5))) > .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(7)):not(:has(> :nth-child(9))) > .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(11)):not(:has(> :nth-child(13))) > .scp-when__card-col {
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
    .scp-when__card {
        padding: 2rem;
        border-right: none;
    }
    .c-section__scp-why {
        padding: 50px 0;
    }
    .scp-contact__inner {
        flex-direction: column;
    }
    .scp-contact__dark {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .scp-contact__person {
        position: relative;
        left: auto;
        bottom: auto;
    }
    .scp-contact__person img {
        height: auto;
        width: 200px;
    }
    .scp-contact__person-info {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 10px;
        background: transparent;
        padding: 0;
    }
    .scp-contact__person-name {
        color: #C23035;
    }
    .scp-contact__person-role,
    .scp-contact__person-company {
        color: #000C2D;
    }
    .scp-contact__text {
        margin-left: 0;
        padding: 40px 20px;
    }
    .scp-contact__text h2 {
        font-size: 28px;
    }
    .scp-contact__light {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 30px 20px;
    }
    .scp-steps__illustrations {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .c-section__scp-steps .col-sm-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .scp-iaas-hero__decoration {
        display: none;
    }
    .scp-contact__person {
        width: 100%;
        display: none;
    }
    .scp-contact__dark {
        order: -1;
        display: flex;
        align-items: center;
        padding-bottom: 2rem;
    }
    .scp-contact__person-info {
        display: none;
    }
    .scp-contact__bottom {
        justify-content: center;
        justify-items: center;
        align-content: center;
        align-items: center;
    }
    .scp-contact__form-cta img {
        transform: rotate(180deg);
    }
}
@media only screen and (max-width: 767px) {
    .scp-benefits__heading {
        font-size: 24px;
    }
    .scp-steps__heading {
        font-size: 24px;
    }
    .scp-contact__text h2 {
        font-size: 24px;
    }
    .c-section__scp-when .c-title--underline,
    .c-section__scp-why .c-title--underline {
        font-size: 26px;
    }
    .scp-when__cards {
        gap: 16px;
    }
    .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(4)):not(:has(> :nth-child(5))) > .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(7)):not(:has(> :nth-child(9))) > .scp-when__card-col,
    .scp-when__cards:has(> :nth-child(11)):not(:has(> :nth-child(13))) > .scp-when__card-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .scp-when__card {
        padding: 24px 16px;
        border-bottom: 1px solid #eee;
    }
    .scp-when__card-col:last-child .scp-when__card {
        border-bottom: none;
    }
    .scp-steps__illustrations {
        display: none;
    }
    .c-section__scp-steps .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media only screen and (max-width: 572px) {
    #top {
        background-position: 0% -820%;
    }
    .c-section__scp-iaas-hero .container .col-sm-7 {
        order: -1;
    }
    .scp-contact__text p {
        padding: 0;
    }
    .scp-contact__text {
        padding-bottom: 0;
    }
}
