/* ECOBIOTECH PHARMA — 3D UI  */
:root {
    --navy: #04204F;
    --navy2: #06307A;
    --blue: #0B5ED7;
    --sky: #38BDF8;
    --aqua: #22D3EE;
    --leaf: #22B573;
    --foam: #F2F8FF;
    --ink: #0F2347;
    --mute: #5B6B88;
    --line: #DCE8F7;
    --white: #fff;
    --shadow-lg: 0 30px 60px -20px rgba(4,32,79,.35);
    --shadow-md: 0 14px 34px -14px rgba(4,32,79,.30);
    --r: 18px;
    --font-h: 'Sora',system-ui,sans-serif;
    --font-b: 'Inter',system-ui,sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: var(--font-b);
    color: var(--mute);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

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

a {
    color: inherit;
    text-decoration: none
}

h1, h2, h3, h4 {
    font-family: var(--font-h);
    color: var(--navy);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -.02em
}

p {
    margin: 0
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

button {
    font: inherit;
    cursor: pointer
}

:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
    border-radius: 8px
}

form#form1 {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

main {
    flex: 1
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4px
}

.sec {
    padding: 35px 0;
    position: relative
}

    .sec.tint {
        background: linear-gradient(180deg,var(--foam),#fff)
    }

    .sec.dark {
        background: radial-gradient(1200px 500px at 80% -10%,#0a4aa8 0%,transparent 60%),linear-gradient(160deg,var(--navy),#031637);
        color: #BFD6F5
    }

        .sec.dark h2, .sec.dark h3 {
            color: #fff
        }

.center {
    text-align: center
}

.sec-head {
    max-width: 680px;
    margin-bottom: 46px
}

    .sec-head.center {
        margin-left: auto;
        margin-right: auto
    }

    .sec-head h2 {
        font-size: clamp(1.7rem,3.6vw,2.6rem);
        font-weight: 700
    }

    .sec-head p {
        margin-top: 12px;
        font-size: 1.02rem
    }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--blue);
    background: #E3F0FF;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px
}

.dark .tag {
    background: rgba(56,189,248,.15);
    color: var(--sky)
}

.grad-text {
    background: linear-gradient(90deg,var(--blue),var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: .95rem;
    color: #fff;
    border: 0;
    padding: 14px 28px;
    border-radius: 99px;
    background: linear-gradient(135deg,var(--blue),#2D8CFF);
    box-shadow: 0 8px 0 -2px #083F94,0 18px 30px -10px rgba(11,94,215,.6);
    transition: transform .2s,box-shadow .2s
}

    .btn:hover {
        transform: translateY(3px);
        box-shadow: 0 5px 0 -2px #083F94,0 12px 24px -10px rgba(11,94,215,.6)
    }

    .btn:active {
        transform: translateY(7px);
        box-shadow: 0 1px 0 -2px #083F94
    }

    .btn.ghost {
        background: transparent;
        color: var(--blue);
        border: 2px solid var(--blue);
        box-shadow: none
    }

        .btn.ghost:hover {
            background: var(--blue);
            color: #fff;
            transform: none
        }

    .btn.light {
        background: #fff;
        color: var(--blue);
        box-shadow: 0 8px 0 -2px #A9CDF8,0 18px 30px -10px rgba(0,0,0,.35)
    }

    .btn.sm {
        padding: 10px 20px;
        font-size: .85rem
    }

    .btn.block {
        width: 100%
    }

/* ---------- Top bar + Nav ---------- */
.topbar {
    background: var(--navy);
    color: #BFD6F5;
    font-size: .8rem;
    padding: 0px 0
}

    .topbar .wrap {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap
    }

    .topbar i {
        color: var(--sky);
        margin-right: 6px
    }

    .topbar .r {
        display: flex;
        gap: 22px;
        flex-wrap: wrap
    }

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

    .nav .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px
    }

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

    .logo .drop {
        width: 44px;
        height: 44px;
        border-radius: 14px 14px 14px 14px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: 20px;
        background: linear-gradient(145deg,#38BDF8,var(--blue) 60%,var(--navy2));
        box-shadow: inset 0 2px 4px rgba(255,255,255,.5),0 8px 16px -6px rgba(11,94,215,.7);
        transform: rotate(-6deg)
    }

    .logo b {
        display: block;
        font-family: var(--font-h);
        font-weight: 800;
        font-size: 1.15rem;
        color: var(--navy);
        letter-spacing: .02em;
        line-height: 1
    }

    .logo small {
        display: block;
        font-size: .58rem;
        letter-spacing: .14em;
        color: var(--blue);
        font-weight: 600;
        margin-top: 4px;
        line-height: 1.2
    }

.menu {
    display: none;
    align-items: center;
    gap: 6px
}

    .menu a {
        padding: 9px 14px;
        border-radius: 99px;
        font-size: .9rem;
        font-weight: 500;
        color: var(--ink);
        transition: background .2s,color .2s
    }

        .menu a:hover {
            background: #E8F2FF;
            color: var(--blue)
        }

        .menu a.on {
            background: var(--blue);
            color: #fff;
            box-shadow: 0 6px 14px -6px rgba(11,94,215,.7)
        }

.burger {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
    font-size: 20px;
    box-shadow: var(--shadow-md)
}

@media(min-width:1024px) {
    .menu {
        display: flex
    }

    .burger {
        display: none
    }
}

@media(max-width:767px) {
    .topbar {
        display: none
    }

    .logo small {
        display: none
    }
}

.drawer-ov {
    position: fixed;
    inset: 0;
    background: rgba(4,32,79,.6);
    backdrop-filter: blur(3px);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(84vw,320px);
    background: #fff;
    z-index: 90;
    transform: translateX(-102%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg)
}

    .drawer.open {
        transform: none
    }

.drawer-ov.open {
    opacity: 1;
    pointer-events: auto
}

.drawer .hd {
    background: linear-gradient(135deg,var(--navy),var(--blue));
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-h);
    font-weight: 600
}

    .drawer .hd button {
        background: rgba(255,255,255,.15);
        border: 0;
        color: #fff;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 18px
    }

.drawer ul {
    flex: 1;
    overflow: auto;
    padding: 12px
}

.drawer li a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 500;
    color: var(--ink)
}

    .drawer li a.on {
        background: #E3F0FF;
        color: var(--blue);
        font-weight: 600
    }

.drawer .ft {
    padding: 16px;
    border-top: 1px solid var(--line)
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(900px 500px at 85% 20%,#bfe0ff 0%,transparent 60%),radial-gradient(700px 400px at 0% 100%,#d9f4ff 0%,transparent 60%),linear-gradient(160deg,#fff,var(--foam));
}

    .hero .wrap {
        display: grid;
        gap: 10px;
        align-items: center;
        padding-top: 0px;
        padding-bottom: 36px
    }

@media(min-width:960px) {
    .hero .wrap {
        grid-template-columns: 1.02fr 1fr;
        min-height: 640px;
        gap: 30px
    }
}

.hero-copy {
    position: relative;
    z-index: 3
}

.hslides {
    display: grid
}

.hslide-txt {
    grid-area: 1/1;
    width: 100%;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s,transform .7s;
    pointer-events: none
}

    .hslide-txt.on {
        opacity: 1;
        transform: none;
        pointer-events: auto
    }

.hero-copy h1 {
    font-size: clamp(2.1rem,5.6vw,3.9rem);
    font-weight: 800;
    margin-bottom: 16px
}

.hero-copy p.lead {
    font-size: 1.08rem;
    max-width: 30em;
    margin-bottom: 26px
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.hero-stats {
    display: flex;
    gap: 26px;
    margin-top: 34px;
    flex-wrap: wrap
}

    .hero-stats div {
        font-size: .82rem;
        line-height: 1.3
    }

    .hero-stats b {
        display: block;
        font-family: var(--font-h);
        font-size: 1.6rem;
        color: var(--navy)
    }

.stage {
    position: relative;
    height: 420px;
    perspective: 1300px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    --w: 230px;
    cursor: grab
}

    .stage:active {
        cursor: grabbing
    }

@media(min-width:960px) {
    .stage {
        height: 540px;
        --w: 290px
    }
}

@media(max-width:420px) {
    .stage {
        height: 360px;
        --w: 190px
    }
}

.ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--w);
    height: var(--w);
    margin: calc(var(--w)/-2) 0 0 calc(var(--w)/-2);
    transform-style: preserve-3d;
    transition: transform 1.1s cubic-bezier(.3,.7,.2,1)
}

    .ring.drag {
        transition: none
    }

    .ring figure {
        position: absolute;
        inset: 0;
        margin: 0;
        border-radius: 22px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 30px 50px -18px rgba(4,32,79,.5);
        border: 5px solid #fff;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transition: filter .6s
    }

        .ring figure img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            -webkit-user-drag: none
        }

        .ring figure.dim {
            filter: brightness(.8) saturate(.8)
        }

.floor {
    position: absolute;
    left: 50%;
    bottom: 6%;
    width: 70%;
    height: 50px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse,rgba(4,32,79,.35),transparent 70%);
    filter: blur(6px);
    z-index: 0
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,#fff,rgba(56,189,248,.25) 55%,rgba(56,189,248,.05));
    border: 1px solid rgba(255,255,255,.8);
    animation: rise linear infinite;
    z-index: 1;
    pointer-events: none
}

@keyframes rise {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-120vh)
    }
}

.hero .bubble {
    bottom: -60px
}

.hnav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px
}

    .hnav button.ar {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 0;
        background: #fff;
        color: var(--blue);
        box-shadow: 0 8px 0 -3px #BCD7F7,0 14px 24px -10px rgba(4,32,79,.4);
        transition: transform .15s
    }

        .hnav button.ar:active {
            transform: translateY(4px)
        }

.dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

    .dots button {
        height: 9px;
        width: 9px;
        border-radius: 99px;
        border: 0;
        background: #BCD7F7;
        padding: 0;
        transition: width .3s,background .3s
    }

        .dots button.on {
            width: 30px;
            background: var(--blue)
        }

.hero-chip {
    position: absolute;
    z-index: 4;
    background: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: var(--shadow-md);
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bob 5s ease-in-out infinite
}

    .hero-chip i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        color: #fff;
        background: linear-gradient(135deg,var(--blue),var(--aqua))
    }

    .hero-chip.a {
        top: 6%;
        left: 0
    }

    .hero-chip.b {
        bottom: 12%;
        right: 0;
        animation-delay: -2.5s
    }

@keyframes bob {
    50% {
        transform: translateY(-12px)
    }
}

@media(max-width:520px) {
    .hero-chip {
        display: none
    }
}

/* feature strip */
.strip {
    margin-top: -34px;
    position: relative;
    z-index: 5
}

    .strip .grid {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 14px
    }

@media(min-width:900px) {
    .strip .grid {
        grid-template-columns: repeat(4,1fr);
        gap: 20px
    }
}

.tile3d {
    background: #fff;
    border-radius: var(--r);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    transform-style: preserve-3d
}

    .tile3d i {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        font-size: 20px;
        color: #fff;
        flex: none;
        background: linear-gradient(145deg,var(--sky),var(--blue));
        box-shadow: inset 0 2px 3px rgba(255,255,255,.5),0 10px 16px -8px rgba(11,94,215,.8);
        transform: translateZ(30px)
    }

    .tile3d b {
        font-family: var(--font-h);
        font-size: .9rem;
        color: var(--navy);
        line-height: 1.25;
        display: block
    }

    .tile3d span {
        font-size: .78rem;
        line-height: 1.3;
        display: block
    }

/* ---------- 3D tilt cards ---------- */
.tilt-wrap {
    perspective: 1000px
}

[data-tilt] {
    transform-style: preserve-3d;
    transition: transform .25s ease-out,box-shadow .25s;
    will-change: transform
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px
}

@media(min-width:900px) {
    .pgrid {
        grid-template-columns: repeat(4,1fr);
        gap: 26px
    }
}

@media(max-width:380px) {
    .pgrid {
        grid-template-columns: 1fr
    }
}

.pcard {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative
}

    .pcard .im {
        aspect-ratio: 1/1;
        overflow: hidden;
        background: var(--foam);
        transform: translateZ(0)
    }

        .pcard .im img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .6s
        }

    .pcard:hover .im img {
        transform: scale(1.08)
    }

    .pcard .bd {
        padding: 16px 16px 18px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
        transform: translateZ(24px)
    }

    .pcard h3 {
        font-size: 1rem
    }

    .pcard p {
        font-size: .82rem;
        line-height: 1.5;
        flex: 1
    }

    .pcard .go {
        font-weight: 600;
        font-size: .84rem;
        color: var(--blue);
        display: inline-flex;
        gap: 8px;
        align-items: center;
        margin-top: 8px;
        background: none;
        border: 0;
        padding: 0;
        text-align: left
    }

    .pcard .badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        background: rgba(255,255,255,.92);
        color: var(--blue);
        font-size: .7rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 99px;
        transform: translateZ(40px)
    }

.shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.45),transparent 45%);
    opacity: 0;
    transition: opacity .3s;
    z-index: 3
}

[data-tilt]:hover .shine {
    opacity: 1
}

/* tabs */
.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

    .tabs button {
        border: 1px solid var(--line);
        background: #fff;
        color: var(--ink);
        padding: 10px 20px;
        border-radius: 99px;
        font-weight: 600;
        font-size: .86rem;
        box-shadow: 0 5px 0 -2px #D3E4F8;
        transition: .2s
    }

        .tabs button.on {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
            box-shadow: 0 5px 0 -2px #083F94
        }

/* ---------- About ---------- */
.about {
    display: grid;
    gap: 48px;
    align-items: center
}

@media(min-width:960px) {
    .about {
        grid-template-columns: 1fr 1fr
    }
}

.stack3d {
    position: relative;
    height: 420px;
    perspective: 1100px
}

    .stack3d .ph {
        position: absolute;
        border-radius: 20px;
        overflow: hidden;
        border: 6px solid #fff;
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg,var(--sky),var(--navy2))
    }

        .stack3d .ph img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

    .stack3d .p1 {
        width: 68%;
        height: 62%;
        left: 0;
        top: 0;
        transform: rotateY(14deg) rotateX(4deg)
    }

    .stack3d .p2 {
        width: 54%;
        height: 54%;
        right: 0;
        top: 20%;
        transform: rotateY(-12deg) rotateX(4deg) translateZ(40px)
    }

    .stack3d .p3 {
        width: 48%;
        height: 44%;
        left: 12%;
        bottom: 0;
        transform: rotateY(8deg) translateZ(80px)
    }

    .stack3d .years {
        position: absolute;
        right: 4%;
        bottom: 2%;
        background: linear-gradient(145deg,var(--navy2),var(--navy));
        color: #fff;
        border-radius: 20px;
        padding: 18px 22px;
        box-shadow: var(--shadow-lg);
        transform: translateZ(120px);
        text-align: center
    }

        .stack3d .years b {
            font-family: var(--font-h);
            font-size: 2.1rem;
            display: block;
            line-height: 1
        }

        .stack3d .years span {
            font-size: .75rem;
            color: #BFD6F5
        }

@media(max-width:600px) {
    .stack3d {
        height: 340px
    }
}

.ticks {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px
}

    .ticks li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        color: var(--ink);
        font-weight: 500
    }

    .ticks i {
        color: #fff;
        background: var(--leaf);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 11px;
        flex: none;
        margin-top: 2px
    }

/* ---------- Industries ---------- */
.igrid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2,1fr)
}

@media(min-width:900px) {
    .igrid {
        grid-template-columns: repeat(6,1fr);
        gap: 22px
    }

        .igrid .it {
            grid-column: span 2
        }

            .igrid .it.w {
                grid-column: span 3
            }
}

@media(max-width:520px) {
    .igrid {
        grid-template-columns: 1fr
    }
}

.it {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 260px;
    color: #fff;
    box-shadow: var(--shadow-md);
    background: linear-gradient(145deg,var(--sky),var(--navy2));
    display: flex;
    align-items: flex-end
}

    .it .ico {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: 64px;
        color: rgba(255,255,255,.25)
    }

    .it > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s
    }

    .it:hover > img {
        transform: scale(1.1)
    }

    .it::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(4,32,79,.92),rgba(4,32,79,.1) 70%)
    }

    .it .tx {
        position: relative;
        z-index: 2;
        padding: 20px;
        transform: translateZ(30px)
    }

    .it h3 {
        color: #fff;
        font-size: 1.15rem;
        margin-bottom: 4px
    }

    .it p {
        font-size: .84rem;
        color: #D3E6FF;
        line-height: 1.45
    }

/* ---------- Why / cube ---------- */
.why {
    display: grid;
    gap: 50px;
    align-items: center
}

@media(min-width:960px) {
    .why {
        grid-template-columns: 1.1fr .9fr
    }
}

.wlist {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr
}

@media(min-width:600px) {
    .wlist {
        grid-template-columns: 1fr 1fr
    }
}

.wi {
    display: flex;
    gap: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(6px);
    transform-style: preserve-3d
}

    .wi i {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        flex: none;
        background: linear-gradient(145deg,var(--aqua),var(--blue));
        color: #fff;
        font-size: 18px;
        transform: translateZ(26px)
    }

    .wi b {
        display: block;
        font-family: var(--font-h);
        color: #073866;
        font-size: .95rem;
        margin-bottom: 2px
    }

    .wi span {
        font-size: .82rem;
        line-height: 1.45;
        color: #4a6b85
    }

.cubebox {
    perspective: 1100px;
    height: 360px;
    display: grid;
    place-items: center;
    --s: 230px
}

@media(max-width:480px) {
    .cubebox {
        --s: 180px;
        height: 300px
    }
}

.cube {
    width: var(--s);
    height: var(--s);
    position: relative;
    transform-style: preserve-3d;
    animation: spin 22s linear infinite
}

.cubebox:hover .cube {
    animation-play-state: paused
}

@keyframes spin {
    from {
        transform: rotateX(-18deg) rotateY(0)
    }

    to {
        transform: rotateX(-18deg) rotateY(360deg)
    }
}

.cube div {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 0 40px rgba(34,211,238,.35);
    background: var(--navy2);
    backface-visibility: hidden
}

    .cube div img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.cube .f1 {
    transform: translateZ(calc(var(--s)/2))
}

.cube .f2 {
    transform: rotateY(90deg) translateZ(calc(var(--s)/2))
}

.cube .f3 {
    transform: rotateY(180deg) translateZ(calc(var(--s)/2))
}

.cube .f4 {
    transform: rotateY(-90deg) translateZ(calc(var(--s)/2))
}

.cube .f5 {
    transform: rotateX(90deg) translateZ(calc(var(--s)/2))
}

.cube .f6 {
    transform: rotateX(-90deg) translateZ(calc(var(--s)/2))
}

/* ---------- Testimonials ---------- */
.tviewport {
    overflow: hidden;
    padding: 20px 4px 30px
}

.ttrack {
    display: flex;
    transition: transform .7s cubic-bezier(.3,.7,.2,1);
    will-change: transform
}

.tcard {
    flex: 0 0 100%;
    padding: 0 10px
}

@media(min-width:760px) {
    .tcard {
        flex-basis: 50%
    }
}

@media(min-width:1040px) {
    .tcard {
        flex-basis: 33.3333%
    }
}

.tcard .in {
    background: #fff;
    border-radius: 22px;
    padding: 26px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    height: 100%
}

.tcard .q {
    color: var(--sky);
    font-size: 26px;
    margin-bottom: 10px
}

.tcard p {
    color: var(--ink);
    font-size: .95rem
}

.tcard .who {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px
}

.av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    background: linear-gradient(135deg,var(--blue),var(--aqua))
}

.tcard .who b {
    display: block;
    font-family: var(--font-h);
    color: var(--navy);
    font-size: .9rem
}

.tcard .who span {
    font-size: .78rem
}

.stars {
    color: #F5B301;
    font-size: .78rem;
    margin-bottom: 8px;
    letter-spacing: 2px
}

.tdots {
    justify-content: center;
    display: flex
}

/* CTA */
.cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 48px 28px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg,var(--navy),var(--blue));
    box-shadow: var(--shadow-lg)
}

    .cta h2 {
        color: #fff;
        font-size: clamp(1.5rem,3.4vw,2.3rem);
        margin-bottom: 10px
    }

    .cta p {
        color: #D3E6FF;
        margin-bottom: 24px
    }

    .cta .bubble {
        bottom: -40px;
        opacity: .6
    }

/* ---------- Inner banner ---------- */
.banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg,var(--navy),var(--navy2) 55%,var(--blue));
    perspective: 900px
}

    .banner > img.bg {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        opacity: .28;
        -webkit-mask-image: linear-gradient(to right,transparent,#000 70%);
        mask-image: linear-gradient(to right,transparent,#000 70%)
    }

@media(min-width:900px) {
    .banner > img.bg {
        width: 62%
    }
}

.banner .wrap {
    position: relative;
    padding-top: 64px;
    padding-bottom: 64px;
    z-index: 2
}

.banner h1 {
    color: #fff;
    font-size: clamp(2rem,5vw,3.2rem);
    font-weight: 800
}

.banner p {
    color: #CFE3FF;
    margin-top: 10px;
    font-size: 1.05rem
}

.banner .crumb {
    font-size: .82rem;
    color: #9CC4F5;
    margin-bottom: 12px
}

    .banner .crumb a:hover {
        color: #fff
    }

.banner .flask {
    position: absolute;
    right: 8%;
    top: 50%;
    font-size: 150px;
    color: rgba(255,255,255,.1);
    transform: translateY(-50%) rotateY(-25deg) rotateZ(10deg);
    display: none
}

@media(min-width:900px) {
    .banner .flask {
        display: block
    }
}

/* ---------- misc blocks ---------- */
.g2 {
    display: grid;
    gap: 30px
}

@media(min-width:900px) {
    .g2 {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center
    }
}

.g4 {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2,1fr)
}

@media(min-width:900px) {
    .g4 {
        grid-template-columns: repeat(4,1fr);
        gap: 22px
    }
}

.g3 {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr
}

@media(min-width:700px) {
    .g3 {
        grid-template-columns: repeat(3,1fr);
        gap: 22px
    }
}

.card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 26px
}

    .card.c {
        text-align: center
    }

.icon3d {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    margin: 0 auto 14px;
    background: linear-gradient(145deg,var(--sky),var(--blue) 70%,var(--navy2));
    box-shadow: inset 0 3px 4px rgba(255,255,255,.5),0 14px 20px -10px rgba(11,94,215,.8);
    transform: translateZ(30px)
}

.card b.t {
    font-family: var(--font-h);
    color: var(--navy);
    font-size: .95rem;
    display: block
}

.card .d {
    font-size: .84rem;
    margin-top: 4px
}

.mv {
    display: flex;
    gap: 20px;
    align-items: center
}

    .mv .icon3d {
        margin: 0;
        width: 76px;
        height: 76px;
        flex: none;
        font-size: 32px
    }

@media(max-width:520px) {
    .mv {
        flex-direction: column;
        text-align: center
    }
}

.seal {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: auto;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--blue);
    background: radial-gradient(circle at 30% 25%,#fff,#E3F0FF);
    border: 8px solid var(--blue);
    box-shadow: var(--shadow-lg),inset 0 0 0 6px #fff;
    animation: bob 5s ease-in-out infinite
}

    .seal b {
        font-family: var(--font-h);
        font-size: 2.4rem;
        display: block;
        line-height: 1
    }

    .seal span {
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .12em
    }

.docs {
    display: grid;
    gap: 14px
}

@media(min-width:700px) {
    .docs {
        grid-template-columns: repeat(3,1fr)
    }
}

.doc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--blue);
    box-shadow: 0 6px 0 -2px #D3E4F8;
    transition: .2s
}

    .doc:hover {
        background: var(--blue);
        color: #fff;
        transform: translateY(3px);
        box-shadow: 0 3px 0 -2px #083F94
    }

h3.sub {
    font-size: 1.3rem;
    margin: 44px 0 18px
}

.field {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    font-size: .92rem;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s,box-shadow .2s
}

    .field:focus {
        outline: none;
        border-color: var(--sky);
        box-shadow: 0 0 0 4px rgba(56,189,248,.2)
    }

.form {
    display: grid;
    gap: 14px
}

.crow {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px
}

    .crow .icon3d {
        margin: 0;
        width: 54px;
        height: 54px;
        font-size: 20px;
        border-radius: 16px;
        flex: none
    }

    .crow b {
        font-family: var(--font-h);
        color: var(--navy);
        display: block
    }

.map {
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    margin-top: 40px
}

/* ---------- Footer ---------- */
footer {
    background: linear-gradient(170deg,#031637,var(--navy));
    color: #A9C4EA;
    padding: 70px 0 22px;
    margin-top: 0;
    position: relative;
    overflow: hidden
}

.fgrid {
    display: grid;
    gap: 36px;
    padding-bottom: 40px
}

@media(min-width:700px) {
    .fgrid {
        grid-template-columns: 1fr 1fr
    }
}

@media(min-width:1000px) {
    .fgrid {
        grid-template-columns: 1.2fr 1fr .8fr 1.2fr
    }
}

footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px
}

footer li {
    margin-bottom: 10px;
    font-size: .88rem
}

    footer li i {
        color: var(--sky);
        width: 22px
    }

footer a:hover {
    color: #fff
}

footer .logo b {
    color: #fff
}

footer .logo small {
    color: var(--sky)
}

.fb {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .8rem
}

.soc {
    display: flex;
    gap: 10px
}

    .soc a {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: rgba(255,255,255,.1);
        display: grid;
        place-items: center
    }

        .soc a:hover {
            background: var(--blue)
        }

.fform {
    display: grid;
    gap: 10px
}

    .fform .field {
        padding: 11px 14px;
        font-size: .85rem
    }

.fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .fab a, .fab button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 0;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: 22px;
        box-shadow: 0 12px 20px -8px rgba(0,0,0,.5)
    }

    .fab .wa {
        background: #25D366
    }

    .fab .up {
        background: var(--blue);
        font-size: 16px;
        display: none
    }

        .fab .up.show {
            display: grid
        }

/* reveal (only when JS on) */
.js [data-rev] {
    opacity: 0;
    transform: translateY(34px) rotateX(8deg);
    transition: opacity .8s,transform .8s
}

    .js [data-rev].in {
        opacity: 1;
        transform: none
    }

.modal {
    position: fixed;
    inset: 0;
    background: rgba(4,32,79,.75);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    place-items: center;
    padding: 16px
}

    .modal.open {
        display: grid
    }

    .modal .box {
        background: #fff;
        border-radius: 24px;
        max-width: 440px;
        width: 100%;
        overflow: hidden;
        position: relative;
        animation: pop .35s cubic-bezier(.2,1.2,.3,1)
    }

@keyframes pop {
    from {
        transform: scale(.8) rotateX(20deg);
        opacity: 0
    }
}

.modal .x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    z-index: 2
}

.modal .ft {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

    .modal .ft b {
        font-family: var(--font-h);
        color: var(--navy)
    }

@media(max-width:640px) {
    .sec {
        padding: 15px 0
    }

    .cta {
        padding: 36px 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important
    }

    .js [data-rev] {
        opacity: 1;
        transform: none
    }
}
