/* ============ Oura Landing — RTL Arabic ============ */
:root {
    --orange: #F26522;
    --orange-2: #FF8A3D;
    --orange-dark: #E84E0F;
    --dark: #131313;
    --dark-2: #1E1E1E;
    --light: #F6F6F8;
    --white: #ffffff;
    --text: #232323;
    --muted: #6b6b74;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(19, 19, 19, .10);
    --grad: linear-gradient(135deg, var(--orange-2), var(--orange-dark));
    --font-head: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background:
        radial-gradient(1100px 500px at 88% 0%, rgba(242,101,34,.10), transparent 60%),
        radial-gradient(800px 500px at 5% 22%, rgba(242,101,34,.06), transparent 60%),
        radial-gradient(900px 550px at 92% 48%, rgba(242,101,34,.05), transparent 60%),
        radial-gradient(800px 500px at 8% 72%, rgba(242,101,34,.06), transparent 60%),
        radial-gradient(900px 500px at 85% 96%, rgba(242,101,34,.08), transparent 60%),
        linear-gradient(180deg, #FAFAFB, var(--light));
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}
#circuitCanvas {
    position: fixed; inset: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; opacity: .8;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }
.container { width: min(1200px, 92%); margin-inline: auto; }

::selection { background: var(--orange); color: #fff; }

/* ============ Preloader ============ */
.preloader {
    position: fixed; inset: 0; z-index: 1000;
    background: var(--dark);
    display: grid; place-items: center;
    transition: opacity .6s ease, visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo { position: relative; display: grid; place-items: center; }
.preloader-ring {
    position: absolute; width: 110px; height: 110px; border-radius: 50%;
    border: 4px solid rgba(242, 101, 34, .15);
    border-top-color: var(--orange);
    animation: spin 1s linear infinite;
}
.preloader-mark { width: 58px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Cursor glow ============ */
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 101, 34, .08), transparent 65%);
    pointer-events: none; z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    padding: .8rem 1.7rem; border-radius: 999px; border: 0; cursor: pointer;
    position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
    will-change: transform;
}
.btn-primary {
    background: var(--grad); color: #fff;
    box-shadow: 0 10px 30px rgba(242, 101, 34, .35);
}
.btn-primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform .6s;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(242, 101, 34, .5); }
.btn-ghost {
    background: transparent; color: var(--text);
    border: 2px solid rgba(19,19,19,.15);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-arrow { width: 20px; height: 20px; }

/* ============ Navbar ============ */
.navbar {
    position: fixed; top: 0; right: 0; left: 0; z-index: 100;
    padding: 1.1rem 0; transition: all .35s ease;
}
/* Glass background lives on a pseudo-element: backdrop-filter on the navbar
   itself would become the containing block for the fixed mobile menu overlay */
.navbar::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0; transition: opacity .35s ease;
}
.navbar.scrolled { padding: .55rem 0; box-shadow: 0 6px 30px rgba(0,0,0,.08); }
.navbar.scrolled::before { opacity: 1; }
body.menu-open { overflow: hidden; }
.nav-inner { display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; transition: height .35s; }
.navbar.scrolled .logo-img { height: 38px; }
.nav-links { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.nav-link {
    font-weight: 500; color: var(--text); position: relative; padding: .3rem 0;
    transition: color .25s;
}
.nav-link::after {
    content: ""; position: absolute; bottom: 0; right: 0; height: 2.5px; width: 0;
    background: var(--grad); border-radius: 4px; transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.btn-nav { font-size: .92rem; padding: .65rem 1.4rem; }
.burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px; z-index: 102;
}
.burger span {
    width: 26px; height: 3px; background: var(--dark); border-radius: 3px;
    transition: all .3s;
}
.burger.open span { background: #fff; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 8.5rem 0 5rem;
    background: transparent;
    overflow: hidden;
}
.hero-deco { position: absolute; z-index: 0; pointer-events: none; }
/* rounded diagonal shape in the top-left corner (behind the visual card), like the proposal cover */
.deco-corner {
    width: 560px; height: 560px; top: -300px; left: -230px;
    border-radius: 110px;
    transform: rotate(45deg);
    background: linear-gradient(140deg, var(--orange-2), var(--orange-dark));
    opacity: .92;
}
.deco-corner-line {
    width: 560px; height: 560px; top: -260px; left: -190px;
    border-radius: 110px;
    transform: rotate(45deg);
    border: 2px solid rgba(242,101,34,.35);
}
/* subtle dot grid, bottom-inline-start */
.deco-dot-grid {
    width: 260px; height: 180px; bottom: 60px; right: 40px;
    background-image: radial-gradient(rgba(242,101,34,.35) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    mask-image: linear-gradient(135deg, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 80%);
}

.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(242,101,34,.1); color: var(--orange-dark);
    font-weight: 700; font-size: .92rem;
    padding: .5rem 1.1rem; border-radius: 999px; margin-bottom: 1.4rem;
    border: 1px solid rgba(242,101,34,.25);
}
.pulse-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
    position: relative; flex-shrink: 0;
}
.pulse-dot::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid var(--orange); opacity: .6;
    animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { to { transform: scale(1.9); opacity: 0; } }

.hero-title {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; color: var(--dark);
    margin-bottom: 1.2rem;
}
.typed-wrap { color: var(--orange); white-space: nowrap; }
.typed-caret {
    display: inline-block; width: 3px; height: .95em; background: var(--orange);
    margin-inline-start: 4px; vertical-align: -.12em;
    animation: caret 0.9s step-end infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-badges { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.hero-badges span {
    font-weight: 700; font-size: .88rem; color: var(--text);
    background: #fff; border: 1px solid rgba(19,19,19,.08);
    padding: .45rem 1rem; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(19,19,19,.06);
}

/* Hero visual card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
    position: relative; width: min(430px, 100%);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 24px; padding: 1.4rem;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
}
.hero-card-glow {
    position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
    background: var(--grad); opacity: .25; filter: blur(24px);
}
.window-dots { display: flex; gap: 6px; margin-bottom: 1.1rem; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e6; }
.window-dots span:first-child { background: var(--orange); }
.code-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.code-tag { font-family: var(--font-head); font-weight: 800; color: var(--dark); }
.code-status.live {
    font-size: .78rem; font-weight: 700; color: #16a34a;
    background: rgba(22,163,74,.1); padding: .2rem .7rem; border-radius: 99px;
}
.bar-row {
    display: grid; grid-template-columns: 110px 1fr 40px; gap: .7rem;
    align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .75rem;
}
.bar-row b { color: var(--dark); text-align: left; }
.bar { height: 8px; background: #ececf1; border-radius: 99px; overflow: hidden; }
.bar i {
    display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad);
    transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.hero-card.animated .bar i { width: var(--w); }
.hero-card-chart { margin-top: 1rem; }
.chart-line { stroke-dasharray: 500; stroke-dashoffset: 500; }
.hero-card.animated .chart-line { animation: drawLine 1.8s .3s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; transition: opacity .8s 1.2s; }
.hero-card.animated .chart-area { opacity: 1; }

.float-chip {
    position: absolute; background: #fff; border-radius: 14px;
    padding: .55rem 1rem; font-size: .85rem; font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    animation: floaty 4s ease-in-out infinite;
}
.chip-1 { top: -18px; left: -20px; }
.chip-2 { bottom: -16px; right: -14px; animation-delay: 2s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-down {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.mouse {
    display: block; width: 26px; height: 42px; border: 2px solid rgba(19,19,19,.3);
    border-radius: 16px; position: relative;
}
.wheel {
    position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
    background: var(--orange); border-radius: 4px; transform: translateX(-50%);
    animation: wheel 1.6s ease infinite;
}
@keyframes wheel { 50% { transform: translate(-50%, 12px); opacity: 0; } }

/* ============ Sections shared ============ */
.section { padding: 6.5rem 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.6rem; }
.section-head.right { text-align: right; margin-inline: 0; }
.section-tag {
    display: inline-block; font-weight: 700; font-size: .88rem; color: var(--orange-dark);
    background: rgba(242,101,34,.1); border: 1px solid rgba(242,101,34,.25);
    padding: .35rem 1rem; border-radius: 99px; margin-bottom: 1rem;
}
.section-tag.light { background: rgba(255,255,255,.12); color: #ffb98a; border-color: rgba(255,255,255,.2); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; color: var(--dark); margin-bottom: .8rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Services / Systems ============ */
.services { background: transparent; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}

/* Systems controls: search + filter pills */
.sys-controls {
    display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
    margin-bottom: 2.8rem;
}
.sys-search { position: relative; width: min(480px, 100%); }
.sys-search svg {
    position: absolute; top: 50%; transform: translateY(-50%);
    inset-inline-start: 1.1rem; width: 19px; height: 19px; color: #9a9aa4;
    pointer-events: none;
}
.sys-search input {
    width: 100%; font-family: var(--font-body); font-size: 1rem;
    padding: .9rem 1.2rem; padding-inline-start: 3rem;
    border-radius: 999px; border: 1.5px solid #e4e4ea;
    background: var(--light); color: var(--text); outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.sys-search input:focus {
    border-color: var(--orange); background: #fff;
    box-shadow: 0 0 0 4px rgba(242,101,34,.12);
}
.sys-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sys-pill {
    font-family: var(--font-head); font-weight: 700; font-size: .92rem;
    padding: .5rem 1.2rem; border-radius: 999px; cursor: pointer;
    border: 1.5px solid rgba(19,19,19,.12); background: #fff; color: var(--muted);
    transition: all .25s;
}
.sys-pill:hover { border-color: var(--orange); color: var(--orange-dark); }
.sys-pill.active {
    background: var(--grad); color: #fff; border-color: transparent;
    box-shadow: 0 8px 20px rgba(242,101,34,.35);
}
/* Filter show/hide animation */
.sys-card { transition: opacity .3s ease, transform .3s ease, box-shadow .35s, background .35s; }
.sys-card:not(.in) { opacity: 0; transform: scale(.88) translateY(10px); }

.sys-foot { margin-top: 1.1rem; }
.sys-cta {
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: .93rem;
    color: var(--orange-dark);
    display: inline-flex; align-items: center; gap: .4rem;
    transition: color .35s;
}
.sys-cta i { font-style: normal; transition: transform .3s; }
.sys-cta:hover i { transform: translateX(-6px); }
.service-card:hover .sys-cta { color: #fff; }

.sys-empty { text-align: center; color: var(--muted); margin-top: 1.5rem; font-size: 1.05rem; }
.sys-empty button {
    background: none; border: 0; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; color: var(--orange-dark); font-size: 1em;
}
.contact-form { transition: box-shadow .4s; }
.contact-form.flash { box-shadow: 0 0 0 5px rgba(242,101,34,.5); }
.service-card {
    position: relative; background: #fff; border-radius: var(--radius);
    padding: 2.2rem 1.8rem; overflow: hidden;
    border: 1px solid rgba(19,19,19,.06);
    transition: box-shadow .35s, background .35s;
    transform-style: preserve-3d;
}
.service-card::before {
    content: ""; position: absolute; inset: 0;
    background: var(--grad); opacity: 0;
    transition: opacity .35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { box-shadow: 0 24px 60px rgba(242,101,34,.35); }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 62px; height: 62px; border-radius: 16px;
    background: rgba(242,101,34,.12); color: var(--orange);
    display: grid; place-items: center; margin-bottom: 1.3rem;
    transition: background .35s, color .35s, transform .35s;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon {
    background: rgba(255,255,255,.2); color: #fff; transform: scale(1.08) rotate(-4deg);
}
.service-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: .6rem; transition: color .35s; }
.service-card p { color: var(--muted); font-size: .95rem; transition: color .35s; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.85); }
.service-num {
    position: absolute; bottom: .6rem; left: 1.1rem;
    font-family: var(--font-head); font-weight: 900; font-size: 3rem;
    color: rgba(19,19,19,.06); line-height: 1; transition: color .35s;
}
.service-card:hover .service-num { color: rgba(255,255,255,.18); }

/* ============ Stats ============ */
.stats {
    background: var(--dark); color: #fff; padding: 5rem 0;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
    margin: -2rem 0;
    position: relative; z-index: 3;
}
.stats-circuit {
    position: absolute; inset: 0; opacity: .35;
    background-image:
        linear-gradient(rgba(242,101,34,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,101,34,.12) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent);
}
.marquee-title {
    text-align: center; color: #fff; position: relative;
    font-family: var(--font-head); font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 2.4rem;
}
.marquee {
    overflow: hidden; position: relative; padding: .6rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex; align-items: center; gap: 2.4rem;
    width: max-content;
    animation: marq 36s linear infinite;
}
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 42s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(50%); } }
.marquee-track span {
    font-family: var(--font-head); font-weight: 900; white-space: nowrap;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff;
}
.marquee-track span.hollow {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(242,101,34,.9);
}
.marquee-track i {
    font-style: normal; color: var(--orange); font-size: 1rem; opacity: .8;
}

/* ============ Portfolio: Project Spotlight ============ */
.portfolio { background: transparent; padding-top: 9rem; }
.portfolio-tags { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.portfolio-tags span {
    font-size: .76rem; font-weight: 700; color: var(--orange-dark);
    background: rgba(242,101,34,.1); padding: .22rem .7rem; border-radius: 99px;
}

.spot-tabs {
    display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 2.6rem;
}
.spot-tab {
    position: relative; overflow: hidden; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    padding: .65rem 1.5rem; border-radius: 999px;
    border: 1.5px solid rgba(19,19,19,.12); background: #fff; color: var(--muted);
    transition: all .25s;
}
.spot-tab:hover { border-color: var(--orange); color: var(--orange-dark); }
.spot-tab.active { color: #fff; background: var(--dark); border-color: var(--dark); }
.spot-progress {
    position: absolute; bottom: 0; right: 0; height: 3px; width: 0;
    background: var(--grad); border-radius: 3px;
}
.spotlight.playing .spot-tab.active .spot-progress { animation: spotProg 6s linear forwards; }
@keyframes spotProg { from { width: 0; } to { width: 100%; } }

.spot-stage { display: grid; }
.spot-panel {
    grid-area: 1 / 1;
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.spot-panel.active { opacity: 1; visibility: visible; transform: none; }
.spot-info > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.spot-panel.active .spot-info > *:nth-child(1) { transition-delay: .05s; }
.spot-panel.active .spot-info > *:nth-child(2) { transition-delay: .12s; }
.spot-panel.active .spot-info > *:nth-child(3) { transition-delay: .19s; }
.spot-panel.active .spot-info > *:nth-child(4) { transition-delay: .26s; }
.spot-panel.active .spot-info > *:nth-child(5) { transition-delay: .33s; }
.spot-panel.active .spot-info > *:nth-child(6) { transition-delay: .4s; }
.spot-panel.active .spot-info > * { opacity: 1; transform: none; }

.spot-info h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin-bottom: .7rem; }
.spot-info > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.spot-features { list-style: none; margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: .55rem; }
.spot-features li { position: relative; padding-inline-start: 1.6rem; color: var(--text); font-size: .98rem; }
.spot-features li::before {
    content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
    width: 1.15rem; height: 1.15rem; border-radius: 6px;
    background: var(--grad); color: #fff; font-size: .7rem; font-weight: 900;
    display: grid; place-items: center; margin-top: .2rem;
}
.spot-visual { position: relative; display: flex; justify-content: center; }
.spot-browser {
    width: 100%; max-width: 480px; background: #fff; border-radius: 16px;
    box-shadow: 0 30px 70px rgba(19,19,19,.18);
    overflow: hidden; transform-style: preserve-3d;
}
.sb-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; background: #f2f2f5;
}
.sb-bar span { width: 10px; height: 10px; border-radius: 50%; background: #dcdce2; }
.sb-bar span:first-child { background: var(--orange); }
.sb-bar i {
    font-style: normal; font-size: .7rem; color: #9a9aa4; direction: ltr;
    background: #fff; border-radius: 6px; padding: .15rem .8rem; margin-inline-start: auto;
}
.sb-body { display: flex; gap: 12px; padding: 14px; }
.sb-side { width: 17%; background: #f7f7fa; border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.sb-side i { height: 9px; border-radius: 5px; background: #e2e2e8; }
.sb-side i.on { background: var(--grad); }
.sb-main { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sb-cards { display: flex; gap: 8px; }
.sb-cards b { flex: 1; height: 34px; border-radius: 8px; background: rgba(242,101,34,.14); }
.sb-cards b.grad { background: var(--grad); }
.sb-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; background: #fafafc; border-radius: 10px; padding: 10px; }
.sb-chart s { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--orange-2), var(--orange-dark)); transform-origin: bottom; }
.sb-chart s:nth-child(odd) { opacity: .5; }
.spot-panel.active .sb-chart s { animation: barGrow .9s ease both; animation-delay: .45s; }
@keyframes barGrow { from { transform: scaleY(0); } }
.sb-rows { display: flex; flex-direction: column; gap: 6px; }
.sb-rows u { height: 12px; border-radius: 6px; background: #f2f2f5; text-decoration: none; }

/* shipments map */
.sb-map { position: relative; padding: 10px 14px 16px; }
.sb-map svg { width: 100%; display: block; }
.ship-card {
    position: absolute; top: 20px; inset-inline-start: 22px;
    background: #fff; border-radius: 10px; padding: .45rem .8rem;
    font-size: .8rem; font-weight: 700;
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.ship-steps { display: flex; gap: 6px; margin-top: 8px; }
.ship-steps b { flex: 1; height: 7px; border-radius: 5px; background: #ececf1; }
.ship-steps b.done { background: var(--grad); }

/* jeel phones */
.spot-phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; }
.spot-phone {
    width: 168px; height: 300px; background: #fff; border-radius: 26px;
    position: relative; padding: 34px 16px 16px;
    box-shadow: 0 26px 60px rgba(19,19,19,.22);
    transform-style: preserve-3d;
}
.ph-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 52px; height: 8px; background: #e3e3e8; border-radius: 6px; }
.spot-phone.ph-a { z-index: 2; margin-inline-end: -34px; }
.spot-phone.ph-b { transform: rotate(6deg) translateY(22px) scale(.92); opacity: .95; }
.ring-wrap { text-align: center; margin-bottom: 14px; }
.ring {
    display: inline-grid; place-items: center;
    width: 92px; height: 92px; border-radius: 50%;
    background: conic-gradient(var(--orange) calc(var(--p) * 1%), #f0f0f4 0);
}
.ring b {
    width: 70px; height: 70px; border-radius: 50%; background: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 900; color: var(--orange-dark);
}
.ring-wrap em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-list u { height: 30px; border-radius: 9px; background: #f4f4f7; text-decoration: none; }
.ph-list u:first-child { background: rgba(242,101,34,.16); }
.grade-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; background: #fafafc; border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.grade-bars s { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--orange-2), var(--orange-dark)); transform-origin: bottom; }
.spot-panel.active .grade-bars s { animation: barGrow .9s ease both; animation-delay: .45s; }

/* clinic calendar */
.sb-cal { position: relative; padding: 12px 14px 16px; }
.cal-head { display: flex; gap: 8px; margin-bottom: 10px; }
.cal-head i { flex: 1; height: 10px; border-radius: 5px; background: #ececf1; }
.cal-grid {
    position: relative; height: 150px; border-radius: 10px; background: #fafafc;
    background-image:
        linear-gradient(rgba(19,19,19,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19,19,19,.05) 1px, transparent 1px);
    background-size: 20% 25%;
    overflow: hidden;
}
.apt { position: absolute; border-radius: 7px; background: rgba(242,101,34,.85); }
.apt.a1 { top: 8%; right: 3%; width: 16%; height: 20%; }
.apt.a2 { top: 34%; right: 23%; width: 16%; height: 32%; background: var(--dark); }
.apt.a3 { top: 12%; right: 43%; width: 16%; height: 26%; opacity: .55; }
.apt.a4 { top: 55%; right: 63%; width: 16%; height: 28%; }
.apt.a5 { top: 20%; right: 82%; width: 15%; height: 22%; background: var(--dark); opacity: .8; }
.patient-chip {
    position: absolute; bottom: 22px; inset-inline-start: 24px;
    display: flex; align-items: center; gap: .5rem;
    background: #fff; border-radius: 10px; padding: .45rem .8rem;
    font-size: .8rem; font-weight: 700;
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

/* floating chips per panel */
.spot-visual .float-chip { position: absolute; z-index: 2; }
.spot-chip-1 { top: -14px; inset-inline-end: 8%; }
.spot-chip-2 { bottom: -12px; inset-inline-start: 6%; }
.spot-chip-3 { top: 4px; inset-inline-start: 4%; }
.spot-chip-4 { bottom: -12px; inset-inline-end: 8%; }

/* ============ Why us ============ */
.why-us { background: transparent; }
.why-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
    background: var(--grad); color: #fff; font-weight: 900;
    display: grid; place-items: center; margin-top: .2rem;
    box-shadow: 0 8px 20px rgba(242,101,34,.35);
}
.why-list h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: .2rem; }
.why-list p { color: var(--muted); font-size: .95rem; }
.why-visual { display: flex; justify-content: center; }
.why-shape { position: relative; }
.why-big-card {
    width: 300px; aspect-ratio: 1; border-radius: 34px;
    background: var(--dark);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .6rem;
    text-align: center; padding: 2rem; position: relative; overflow: hidden;
    transform-style: preserve-3d;
}
.why-big-card::before {
    content: ""; position: absolute; inset: -40%;
    background: conic-gradient(from 0deg, transparent, rgba(242,101,34,.5), transparent 30%);
    animation: spin 6s linear infinite;
}
.why-big-card::after { content: ""; position: absolute; inset: 3px; border-radius: 31px; background: var(--dark); }
.why-big-card > * { position: relative; z-index: 1; }
.why-mark { width: 190px; height: auto; filter: drop-shadow(0 10px 30px rgba(242,101,34,.45)); }
.why-percent-label {
    color: rgba(255,255,255,.85);
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.7;
}
.why-small-card {
    position: absolute; bottom: -24px; right: -30px;
    background: #fff; border-radius: 16px; padding: .8rem 1.2rem;
    font-weight: 700; font-size: .9rem;
    box-shadow: 0 16px 40px rgba(0,0,0,.15);
    display: flex; align-items: center; gap: .6rem;
    animation: floaty 4s ease-in-out infinite;
}

/* ============ Contact ============ */
.contact { background: transparent; }
.contact-box {
    background: var(--dark); border-radius: 30px; overflow: hidden;
    display: grid; grid-template-columns: .9fr 1.1fr;
    position: relative;
}
.contact-box::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(500px 300px at 10% 110%, rgba(242,101,34,.25), transparent 60%),
        radial-gradient(400px 250px at 95% -10%, rgba(242,101,34,.18), transparent 60%);
    pointer-events: none;
}
.contact-info { padding: 3.2rem; color: #fff; position: relative; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; margin-bottom: .8rem; }
.contact-info p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.contact-lines { display: flex; flex-direction: column; gap: 1rem; }
.contact-line {
    display: flex; align-items: center; gap: .8rem; font-weight: 600;
    color: rgba(255,255,255,.9); transition: color .3s;
}
.contact-line:hover { color: var(--orange-2); }
.cl-icon {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    display: grid; place-items: center;
}
.cl-icon svg { width: 20px; height: 20px; }

.contact-form {
    background: #fff; margin: 1.4rem; border-radius: 22px; padding: 2.2rem;
    position: relative; align-self: center;
}
.contact-info { align-self: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { position: relative; margin-bottom: 1.15rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; font-family: var(--font-body); font-size: .98rem;
    padding: .95rem 1.1rem; border-radius: 12px;
    border: 1.5px solid #e4e4ea; background: #fafafc; color: var(--text);
    transition: border-color .25s, box-shadow .25s; outline: none;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,101,34,.12);
    background: #fff;
}
.form-group label {
    position: absolute; top: .95rem; right: 1.1rem; color: #9a9aa4;
    pointer-events: none; transition: all .2s; background: transparent; padding: 0 .3rem;
}
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label, .form-group select:valid + label {
    top: -.6rem; font-size: .78rem; color: var(--orange-dark); background: #fff; border-radius: 4px;
}
.form-group input[dir="ltr"] + label { right: 1.1rem; left: auto; }
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: #e11d48; }
.btn-wa { width: 20px; height: 20px; }
.form-success {
    display: none; margin-top: 1rem; text-align: center; font-weight: 700; color: #16a34a;
    background: rgba(22,163,74,.08); border-radius: 12px; padding: .8rem;
}
.contact-form.sent .form-success { display: block; animation: popIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } }

/* ============ Footer ============ */
.footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 2rem 0; }
.footer .logo-img { height: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ============ Back to top ============ */
.back-top {
    position: fixed; bottom: 26px; left: 26px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad); color: #fff; border: 0; cursor: pointer;
    font-size: 1.2rem; font-weight: 900;
    box-shadow: 0 12px 30px rgba(242,101,34,.4);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all .35s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-4px); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-cta, .hero-mini-stats { justify-content: center; }
    .hero-visual { margin-top: 1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-inner { grid-template-columns: 1fr; gap: 3rem; }
    .why-visual { order: -1; }
    .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; inset: 0; z-index: 101;
        background: rgba(19,19,19,.97);
        flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
        transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
    }
    .nav-links.open { transform: none; }
    .nav-links .nav-link { color: #fff; font-size: 1.3rem; font-weight: 700; }
    .burger { display: flex; margin-inline-start: auto; }
    .navbar .btn-nav { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .spot-panel { grid-template-columns: 1fr; gap: 2.2rem; }
    .spot-visual { order: -1; }
    .spot-tabs { gap: .45rem; }
    .spot-tab { font-size: .85rem; padding: .55rem 1.1rem; }
    .spot-visual .float-chip { display: inline-block; }
    .marquee-track { gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { padding: 2.2rem 1.6rem 1rem; }
    .contact-form { margin: 1rem; padding: 1.6rem; }
    .float-chip { display: none; }
    .why-small-card { right: 0; }
    .section { padding: 4.5rem 0; }
    .deco-corner { width: 340px; height: 340px; top: -200px; left: -170px; border-radius: 70px; }
    .deco-corner-line { width: 340px; height: 340px; top: -170px; left: -140px; border-radius: 70px; }
    .deco-dot-grid { display: none; }
    .logo-img { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}
