/* ─── HERO SECTION ───────────────────────────────────────── */
.hero {
    min-height: calc(100vh - 108px);
    position: relative;
    overflow: hidden;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46,91,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(13,27,42,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46,91,255,0.08);
    border: 1px solid rgba(46,91,255,0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.7s 0.35s ease both;
}

.hero-title em {
    font-style: normal;
    color: var(--red);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0;
    width: 100%; height: 3px;
    background: var(--red);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-desc {
    font-size: 1rem;
    line-height: 30.24px;
    color: #666666;
    max-width: 480px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.7s 0.5s ease both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.7s 0.65s ease both;
}

.cta-main {
    background: var(--red);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(46,91,255,0.25);
}

.cta-main:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,91,255,0.35);
}

.cta-main svg {
    width: 16px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.cta-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid rgba(13,27,42,0.25);
    border-radius: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.cta-ghost:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

/* Certif badges */
.certif-row {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: fadeUp 0.7s 0.8s ease both;
}

.certif-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.certif-badges {
    display: flex;
    gap: 10px;
}

.certif-badge {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ─── RIGHT COLUMN ───────────────────────────────── */
.hero-right {
    position: relative;
    z-index: 2;
    height: 520px;
}

.hero-img-wrap {
    position: absolute;
    top: 0; right: 0;
    width: 85%;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    animation: fadeLeft 0.8s 0.3s ease both;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,27,42,0.35) 0%, transparent 60%);
}

/* Floating service cards */
.s-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 200px;
    opacity: 0;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.s-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(46,91,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s-card-icon svg {
    width: 20px;
}

.s-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.s-card-sub {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 1px;
}

.s-card:nth-child(2) { top: 10px;  left: -20px; animation: floatIn 0.6s 0.7s ease both, bob1 5s 1.4s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(3) { top: 150px; right: -10px; animation: floatIn 0.6s 0.9s ease both, bob2 5.5s 1.6s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(4) { bottom: 110px; left: 0px; animation: floatIn 0.6s 1.1s ease both, bob3 6s 1.8s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(5) { bottom: 65px; right: 0px; animation: floatIn 0.6s 1.3s ease both, bob4 4.8s 2s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(6) { top: 55px; right: 50px; animation: floatIn 0.6s 0.6s ease both, bob2 5.2s 1.2s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(7) { bottom: 160px; left: -10px; animation: floatIn 0.6s 0.8s ease both, bob1 5.8s 1.5s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }

@keyframes bob1 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-12px) translateX(4px); } }
@keyframes bob2 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(12px) translateX(-4px); } }
@keyframes bob3 { 0%,100% { transform: translateY(0) translateX(0); } 33% { transform: translateY(-10px); } 66% { transform: translateX(8px); } }
@keyframes bob4 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-6px) translateX(-8px); } }

.dot-cluster {
    position: absolute;
    top: 200px;
    left: 20px;
    width: 60px;
    height: 60px;
    opacity: 0;
    animation: fadeIn 1s 1s ease both;
    pointer-events: none;
}

.dot-cluster span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0.3;
}

.dot-cluster span:nth-child(1) { top: 0; left: 0; }
.dot-cluster span:nth-child(2) { top: 0; left: 18px; }
.dot-cluster span:nth-child(3) { top: 0; left: 36px; }
.dot-cluster span:nth-child(4) { top: 18px; left: 0; }
.dot-cluster span:nth-child(5) { top: 18px; left: 18px; opacity: 0.8; background: var(--red); }
.dot-cluster span:nth-child(6) { top: 18px; left: 36px; }
.dot-cluster span:nth-child(7) { top: 36px; left: 0; }
.dot-cluster span:nth-child(8) { top: 36px; left: 18px; }
.dot-cluster span:nth-child(9) { top: 36px; left: 36px; }

/* ─── SERVICES ───────────────────────────────── */
.services {
    position: relative;
    overflow: hidden;
}

.services .wrap {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(46,91,255,0.15);
}

.service-card:hover .svc-num {
    color: var(--red);
}

.svc-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(13,27,42,0.08);
    transition: color 0.25s;
    margin-bottom: 16px;
}

.svc-icon {
    width: 48px;
    height: 48px;
    background: rgba(46,91,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.svc-icon svg {
    width: 24px;
}

.svc-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.svc-desc {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 16px;
    text-decoration: none;
}

.svc-link svg {
    width: 14px;
    transition: transform 0.2s;
}

.svc-link:hover svg {
    transform: translateX(3px);
}

/* ─── ONTIS ─────────────────────────────────── */
.ontis-section {
    background: var(--white);
}

.ontis-section .wrap {
    padding: 100px 0;
}

.ontis-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.ontis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ontis-text {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ontis-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.ontis-link:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
}

.ontis-link svg {
    width: 16px;
    transition: transform 0.2s;
}

.ontis-link:hover svg {
    transform: translateX(3px);
}

.ontis-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.ontis-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.ontis-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(46,91,255,0.08), transparent 50%);
    pointer-events: none;
}

/* ─── OFFERS ─────────────────────────────────── */
.offers {
    background: var(--white);
}

.offers .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 100px 0;
}

.offers-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.offers-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.offers-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(46,91,255,0.08), transparent 50%);
    pointer-events: none;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offers-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.offers-list-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--red);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.offers-list-item div {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
}

.offers-list-item strong {
    color: var(--navy);
    font-weight: 600;
}

/* ─── FAQ ───────────────────────────────────── */
.faq {
    background: var(--white);
}

.faq .wrap {
    padding: 100px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.25s;
}

.faq-item:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--red);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
    stroke: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer div {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 16px;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatIn { from { opacity: 0; transform: scale(0.85) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── MEDIA QUERIES : HERO & SERVICES & ONTIS & OFFERS & FAQ ─── */
@media (max-width: 1024px) {
    .services .wrap {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .ontis-section .wrap {
        padding: 60px 0;
    }

    .ontis-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ontis-image img {
        height: 280px;
    }

    .offers .wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .offers-image img {
        height: 280px;
    }

    .faq .wrap {
        padding: 60px 0;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }

    .hero {
        min-height: auto;
        overflow: visible;
    }

    .hero .wrap {
        grid-template-columns: 1fr;
        padding: 48px 0;
    }

    .hero-right {
        height: auto;
        margin-top: 40px;
        display: flex;
        flex-direction: column;
    }

    .hero-img-wrap {
        position: relative;
        width: 100%;
        height: 320px;
    }

    .s-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 12px;
        min-width: 0;
        width: 100%;
        opacity: 1;
        animation: none;
        transform: none !important;
    }

    .hero-right > .s-card:nth-of-type(1) {
        margin-top: -30px;
    }

    .dot-cluster {
        display: none;
    }
}