/* =====================================================================
   Home — brand showcase + conversion sections (why, industries,
   compare, testimonials, offer). Loaded after site-home.css.
   ===================================================================== */

/* ---------- Logo intro on the page curtain ---------- */
.page-curtain { display: grid; place-items: center; }
.page-curtain__logo {
    display: grid;
    place-items: center;
    width: 7.5rem;
    height: 6rem;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 0 0 10px rgba(157, 134, 255, .12), 0 0 80px -6px rgba(157, 134, 255, .7);
    animation: curtainLogo .7s var(--ease-spring) both;
}
.page-curtain__logo img { width: 74%; height: auto; }
@keyframes curtainLogo { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- About: real logo on the floating tile ---------- */
.about2__mark img { width: 72%; height: auto; display: block; }

/* ================= WHY US — logo emblem in the centre ================= */
.why__grid {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px) 1fr;
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: center;
}
.why__col { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.why__item {
    display: flex;
    gap: .95rem;
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .35s var(--ease-out), border-color .35s ease, background .35s ease;
}
.why__item:hover { transform: translateY(-4px); border-color: rgba(255, 181, 71, .35); background: var(--surface-2); }
.why__col--start .why__item { flex-direction: row-reverse; text-align: end; }
.why__item h3 { margin: 0 0 .3rem; font-size: 1.04rem; }
.why__item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.why__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 14px;
    color: var(--volt);
    background: var(--accent-soft);
    border: 1px solid rgba(255, 181, 71, .22);
}

.emblem { position: relative; display: grid; justify-items: center; gap: 1rem; padding: 2rem 0; }
.emblem__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    aspect-ratio: 1;
    transform: translate(-50%, -56%);
    background: radial-gradient(circle, rgba(157, 134, 255, .42), rgba(255, 181, 71, .1) 40%, transparent 66%);
    filter: blur(8px);
    animation: emblemBreath 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes emblemBreath { to { transform: translate(-50%, -56%) scale(1.12); opacity: .75; } }
.emblem__orbit {
    position: absolute;
    top: calc(2rem + 110px);
    left: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(185, 167, 255, .28);
    transform: translate(-50%, -50%);
    animation: emblemSpin 26s linear infinite;
    pointer-events: none;
}
.emblem__orbit--1 { width: 260px; }
.emblem__orbit--2 { width: 320px; border-style: solid; border-color: rgba(255, 181, 71, .14); animation-duration: 38s; animation-direction: reverse; }
.emblem__orbit--3 { width: 200px; border-color: rgba(255, 255, 255, .12); animation-duration: 18s; }
.emblem__orbit i {
    position: absolute;
    top: -5px;
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--volt);
    box-shadow: 0 0 14px var(--volt);
}
.emblem__orbit--2 i { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.emblem__orbit--2 i + i { top: auto; bottom: -5px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.emblem__orbit--3 i { width: 7px; height: 7px; top: auto; bottom: -3px; background: #fff; box-shadow: 0 0 10px #fff; }
@keyframes emblemSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.emblem__core {
    --spin: 0deg;
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    padding: 4px;
    border-radius: 50%;
    background: conic-gradient(from var(--spin), var(--volt), var(--cyan), var(--violet), #fff, var(--volt));
    box-shadow: 0 0 0 12px rgba(157, 134, 255, .08), 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 90px -10px rgba(157, 134, 255, .65);
    animation: spinMark 8s linear infinite;
}
.emblem__plate {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #fff 50%, #ece6ff);
    box-shadow: inset 0 -10px 30px rgba(60, 42, 125, .18);
}
.emblem__plate img { position: relative; width: 62%; height: auto; transition: transform .5s var(--ease-spring); }
.emblem:hover .emblem__plate img { transform: scale(1.08); }
.emblem__plate b { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--brand); }
.emblem__shine {
    position: absolute;
    inset: -10% auto -10% -70%;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent);
    transform: skewX(-18deg);
    animation: brandShine 4.8s ease-in-out infinite;
}
.emblem__name {
    position: relative;
    z-index: 1;
    margin-top: .6rem;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--signal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.emblem__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .95rem;
    border-radius: 999px;
    font-size: .82rem;
    color: var(--ink-2);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(8px);
}
.emblem__badge svg { color: #3ddc97; }

/* ================= INDUSTRIES ================= */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ind {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.3rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .4s var(--ease-out), border-color .3s ease;
}
.ind::before {
    content: "";
    position: absolute;
    inset: auto -30% -60% auto;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%);
    opacity: .35;
    transition: opacity .4s ease, transform .5s var(--ease-out);
    pointer-events: none;
}
[dir="rtl"] .ind::before { inset: auto auto -60% -30%; }
.ind:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ind:hover::before { opacity: 1; transform: scale(1.2); }
.ind__ico {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.ind h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.ind p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.ind-cta { display: flex; justify-content: center; margin-top: 2rem; }

/* ================= COMPARE ================= */
.cmp {
    overflow-x: auto;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.cmp table { width: 100%; min-width: 620px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-size: .9rem; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .02); }
.cmp tbody th { text-align: start; font-weight: 500; color: var(--ink); }
.cmp tbody tr { transition: background .25s ease; }
.cmp tbody tr:hover { background: rgba(255, 255, 255, .025); }
.cmp .cmp__us { position: relative; background: linear-gradient(180deg, rgba(91, 69, 176, .3), rgba(91, 69, 176, .18)); }
.cmp thead .cmp__us { color: var(--ink); background: linear-gradient(180deg, rgba(91, 69, 176, .6), rgba(91, 69, 176, .3)); box-shadow: inset 0 3px 0 var(--volt); }
.cmp__brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: 1.05rem; }
.cmp__logo { display: grid; place-items: center; width: 2.4rem; height: 1.9rem; border-radius: 9px; background: #fff; }
.cmp__logo img { width: 76%; height: auto; }
.cmp__yes, .cmp__no { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.cmp__yes { color: #0c2b1e; background: #3ddc97; box-shadow: 0 0 18px -4px rgba(61, 220, 151, .8); }
.cmp__no { color: var(--faint); background: rgba(255, 255, 255, .05); }
.cmp__partial { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; color: var(--volt); background: var(--accent-soft); }

/* TESTIMONIALS → see the tst2 block at the end */

/* ================= FREE-CONSULTATION OFFER ================= */
.offer {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    border-radius: 30px;
    background:
        var(--lattice),
        linear-gradient(125deg, #3c2a7d 0%, #24174f 55%, #1b1238 100%);
    border: 1px solid rgba(185, 167, 255, .3);
    box-shadow: 0 40px 90px -40px rgba(91, 69, 176, .9);
}
.offer__glow {
    position: absolute;
    inset: -40% -10% auto auto;
    width: 60%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 181, 71, .35), transparent 65%);
    pointer-events: none;
}
[dir="rtl"] .offer__glow { inset: -40% auto auto -10%; }
.offer__copy { position: relative; display: grid; gap: 1rem; justify-items: start; }
.offer__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent-ink);
    background: var(--volt);
}
.offer__badge i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent-ink); animation: pulse 1.6s ease-in-out infinite; }
.offer h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.offer p { margin: 0; color: var(--ink-2); max-width: 36rem; }
.offer__points { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; margin: .2rem 0; padding: 0; list-style: none; }
.offer__points li { display: flex; align-items: center; gap: .5rem; font-size: .93rem; }
.offer__points svg { flex: 0 0 auto; color: #3ddc97; }
.offer__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.offer__note { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }

.offer__seal { position: relative; display: grid; place-items: center; min-height: 260px; }
.offer__ring {
    position: absolute;
    width: 240px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(255, 181, 71, .45);
    animation: spin 30s linear infinite;
}
.offer__plate {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #fff 55%, #ece6ff);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 70px -10px rgba(255, 181, 71, .7);
    animation: float 6s ease-in-out infinite;
}
.offer__plate img { width: 60%; height: auto; }
.offer__plate b { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--brand); }
.offer__free {
    position: absolute;
    top: 14%;
    inset-inline-end: 12%;
    padding: .45rem .9rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--accent-ink);
    background: linear-gradient(120deg, #ffd08a, var(--volt));
    transform: rotate(12deg);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
    animation: offerPulse 2.6s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .why__grid { grid-template-columns: 1fr 1fr; }
    .emblem { grid-column: 1 / -1; order: -1; }
    .why__col--start .why__item { flex-direction: row; text-align: start; }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .offer { grid-template-columns: 1fr; text-align: start; }
    .offer__seal { order: -1; min-height: 210px; }
    .offer__ring { width: 190px; }
    .offer__plate { width: 140px; height: 140px; }
    .offer__free { top: 8%; inset-inline-end: calc(50% - 130px); }
}
@media (max-width: 760px) {
    .why__grid { grid-template-columns: 1fr; }
    .emblem__core { width: 180px; height: 180px; }
    .emblem__orbit { top: calc(2rem + 90px); }
    .emblem__orbit--1 { width: 220px; }
    .emblem__orbit--2 { width: 270px; }
    .emblem__orbit--3 { width: 168px; }
    .offer__points { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .ind-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .emblem__halo, .emblem__orbit, .emblem__core, .emblem__shine, .offer__ring, .offer__plate, .offer__free, .page-curtain__logo { animation: none; }
}
