/* =========================================================
   Canny Tech — public site
   Brand: logo cyan + logo grey, deep navy for weight.
   Built with logical properties so RTL (ar) and LTR (en) share one sheet.
   ========================================================= */
:root {
    --cyan: #00AEEF;
    --cyan-600: #0095CF;
    --cyan-ink: #0074A3;      /* cyan for text on white (AA) */
    --cyan-50: #E5F6FD;
    --grey: #7A7A7C;          /* logo grey */
    --grey-300: #C9CED4;
    --navy: #0A2540;
    --navy-800: #0F3052;
    --paper: #F5FAFD;
    --white: #FFFFFF;
    --line: #DCE5EC;
    --text: #1D2B3A;
    --muted: #556677;
    --ok: #12805C;
    --err: #C0362C;

    --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 28px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 9vw, 120px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[dir="ltr"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }

/* ---------- Type scale (1.25 major third) ---------- */
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 58ch; margin-top: 14px; }
.lead-lg { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.9; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--navy); --fg: #fff; --bd: var(--navy);
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .7em 1.4em;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
    background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
    border-radius: var(--r-sm); text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--cyan); --fg: var(--navy); --bd: var(--cyan); }
.btn-primary:hover { --bg: var(--cyan-600); --bd: var(--cyan-600); }
.btn-dark { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-dark:hover { --bg: var(--navy-800); }
.btn-light { --bg: rgba(255,255,255,.0); --fg: var(--navy); --bd: var(--navy); }
.btn-light:hover { --bg: var(--navy); --fg: #fff; }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--line); }
.btn-outline:hover { --bd: var(--navy); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding-inline: 2em; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 4px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.text-link {
    display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 600;
    color: var(--navy); text-decoration: none; padding-block: 6px;
    background: linear-gradient(var(--cyan), var(--cyan)) no-repeat 0 100% / 100% 2px;
}
.text-link:hover { color: var(--cyan-ink); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,37,64,.4); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: auto; height: 46px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
    display: block; padding: 10px 14px; border-radius: var(--r-sm);
    font-family: var(--font-display); font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--text);
    position: relative;
}
.main-nav a:hover { color: var(--cyan-ink); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--cyan);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
    font-family: var(--font-display); font-weight: 600; font-size: .92rem; text-decoration: none;
    padding: 9px 12px; border-radius: var(--r-sm); color: var(--grey);
}
.lang:hover { color: var(--navy); background: var(--paper); }
.menu-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
    border-radius: var(--r-sm); font-size: 1.5rem; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}

.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(10,37,64,.45); }
.drawer[hidden] { display: none; }
.drawer-panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(360px, 88vw);
    background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
    animation: drawer-in .3s var(--ease);
}
html[dir="rtl"] .drawer-panel { animation-name: drawer-in-rtl; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-in-rtl { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 40px; width: auto; }
.drawer .menu-toggle { display: inline-flex; }
.drawer ul a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--navy); }
.drawer ul a[aria-current="page"] { color: var(--cyan-ink); }
.drawer-phone { display: flex; gap: 10px; align-items: center; color: var(--muted); text-decoration: none; justify-content: center; }

/* ---------- Brand motif: the two grey dots of the logo's ي ---------- */
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey); display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(122,122,124,.22) 1px, transparent 0) 0 0 / 26px 26px,
        var(--paper);
    padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.since {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 600; color: var(--grey); font-size: 1rem; margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    font-weight: 800; line-height: 1.28; letter-spacing: -.015em;
    max-width: 17ch; text-wrap: balance;
}
html[dir="ltr"] .hero-title { line-height: 1.12; max-width: 19ch; letter-spacing: -.025em; }
.hero-lead { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }

/* Domain search */
.domain-box {
    margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 18px; box-shadow: 0 24px 48px -32px rgba(10,37,64,.35); max-width: 600px;
}
.domain-label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-bottom: 10px; font-size: 1rem; }
.domain-step { display: flex; gap: 10px; flex-wrap: wrap; }
.js .domain-step[data-step="2"] { display: none; }
.js .domain-box.is-step-2 .domain-step[data-step="1"] { display: none; }
.js .domain-box.is-step-2 .domain-step[data-step="2"] { display: flex; animation: rise .35s var(--ease); }
.domain-step + .domain-step { margin-top: 10px; }
.js .domain-step + .domain-step { margin-top: 0; }
.domain-field {
    flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 52px;
    border: 2px solid var(--line); border-radius: var(--r-sm); padding-inline: 14px 6px; background: #fff;
    transition: border-color .2s;
}
.domain-field:focus-within { border-color: var(--cyan); }
.domain-field > i { color: var(--grey); }
.domain-field input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 0; font-size: 1.05rem; text-align: left; }
.domain-field input::placeholder { color: #8795A3; }
.domain-field select {
    border: 0; background: var(--paper); border-radius: 8px; padding: 8px 10px; font-weight: 600; color: var(--navy); cursor: pointer;
}
.domain-hint { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.domain-hint .error, .field-error { color: var(--err); }
.domain-done { display: flex; gap: 12px; align-items: flex-start; color: var(--ok); }
.domain-done i { font-size: 1.6rem; line-height: 1; }
.domain-done p { color: var(--text); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }

/* Visual: the logo's C opening onto a site being built */
.hero-visual { position: relative; min-height: 470px; }
.bracket {
    position: absolute; inset-block: 0 34px; left: 0; width: 62%;
    border: clamp(22px, 2.6vw, 34px) solid var(--cyan); border-right: 0;
    border-radius: 56px 0 0 56px;
}
.bracket-dots { position: absolute; left: 34%; bottom: -78px; display: flex; gap: 14px; }
.bracket-dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--grey); display: block; }
.browser {
    position: absolute; top: 46px; left: 13%; right: 0;
    background: #fff; border-radius: var(--r-md); border: 1px solid var(--line);
    box-shadow: 0 40px 80px -40px rgba(10,37,64,.45); overflow: hidden; direction: ltr;
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #F1F5F8; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-300); display: block; }
.address {
    flex: 1; background: #fff; border-radius: 8px; padding: 6px 12px; font-size: .9rem; color: var(--text);
    font-family: ui-sans-serif, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left;
}
.address .bi { color: var(--ok); font-size: .75rem; }
[data-mock-domain]::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--navy); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.browser-body { padding: 18px 22px 22px; direction: ltr; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav b { font-family: var(--font-display); color: var(--navy); font-size: .95rem; margin-right: auto; }
.mock-nav span { width: 38px; height: 7px; border-radius: 4px; background: var(--grey-300); }
.mock-hero { margin-top: 26px; padding: 26px 22px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #12416E); color: #fff; }
.mock-kicker { font-size: .78rem; opacity: .75; font-family: var(--font-display); }
html[dir="rtl"] .mock-kicker { direction: rtl; text-align: left; }
.mock-name {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; margin: 6px 0 16px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-btn { display: inline-block; background: var(--cyan); color: var(--navy); font-weight: 700; font-family: var(--font-display); font-size: .8rem; padding: 7px 14px; border-radius: 7px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mock-tiles span { height: 62px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.mock-tiles span:nth-child(2) { background: var(--cyan-50); }
.phone {
    position: absolute; right: -6px; bottom: 0; width: 158px; height: 290px; direction: ltr;
    background: #fff; border: 7px solid var(--navy); border-radius: 30px; padding: 26px 12px 12px;
    box-shadow: 0 30px 60px -30px rgba(10,37,64,.6); display: flex; flex-direction: column; gap: 8px;
}
.phone-notch { position: absolute; top: 7px; left: 50%; width: 46px; height: 7px; border-radius: 6px; background: var(--navy); transform: translateX(-50%); }
.phone-brand { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-card { height: 78px; border-radius: 12px; background: var(--cyan); }
.phone-row { height: 10px; border-radius: 5px; background: var(--grey-300); }
.phone-row.short { width: 60%; }
.phone-tab { margin-top: auto; display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--line); }
.phone-tab i { width: 14px; height: 14px; border-radius: 4px; background: var(--grey-300); display: block; }
.phone-tab i:first-child { background: var(--cyan); }

/* One orchestrated load moment: the C draws, the browser rises out of it */
@media (prefers-reduced-motion: no-preference) {
    .hero .bracket { animation: bracket-in .9s var(--ease) both; }
    .hero .bracket-dots i { animation: dot-in .5s var(--ease) both; }
    .hero .bracket-dots i:nth-child(1) { animation-delay: .75s; }
    .hero .bracket-dots i:nth-child(2) { animation-delay: .85s; }
    .hero .browser { animation: rise .8s .35s var(--ease) both; }
    .hero .phone { animation: rise .8s .6s var(--ease) both; }
}
@keyframes bracket-in { from { clip-path: inset(-40px 100% -160px -40px); } to { clip-path: inset(-40px -40px -160px -40px); } }
@keyframes dot-in { from { transform: scale(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 30px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat dt { color: var(--muted); font-size: .98rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--navy); line-height: 1.1; text-align: start; }
html[dir="rtl"] .stat dd { text-align: right; }

/* ---------- Split layout (sticky heading + content) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head .btn { margin-top: 28px; }

/* ---------- Services list ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.service-row::before {
    content: ""; position: absolute; inset-inline-start: 0; inset-block: -1px; width: 4px; background: var(--cyan);
    transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.service-row:hover::before, .service-row:focus-visible::before { transform: scaleY(1); }
.service-row:hover .service-go { color: var(--navy); transform: translateX(var(--go, 4px)); }
html[dir="rtl"] .service-row { --go: -4px; }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px; background: var(--cyan-50); color: var(--cyan-ink);
    display: grid; place-items: center; font-size: 1.5rem; margin-inline-start: 14px;
}
.service-icon.lg { width: 64px; height: 64px; font-size: 1.75rem; margin: 0; }
.service-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.service-excerpt { display: block; color: var(--muted); font-size: .98rem; margin-top: 2px; }
.service-go { font-size: 1.3rem; color: var(--grey-300); transition: transform .25s var(--ease), color .25s; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- Work ---------- */
.work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.work-item { display: flex; flex-direction: column; gap: 18px; }
.work-item.is-hidden { display: none; }
.work-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--accent); position: relative; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-item:hover .work-media img { transform: scale(1.03); }
.work-mock {
    position: absolute; inset: 14% 10% -6% 10%; background: #fff; border-radius: 12px 12px 0 0; direction: ltr;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); transition: transform .5s var(--ease);
}
.work-item:hover .work-mock { transform: translateY(-8px); }
.wm-bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.wm-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--grey-300); }
.wm-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.wm-body b { font-family: var(--font-display); color: var(--navy); font-size: clamp(1rem, 1.6vw, 1.35rem); direction: rtl; text-align: left; }
html[dir="ltr"] .wm-body b { direction: ltr; }
.wm-line { height: 8px; border-radius: 4px; background: var(--grey-300); width: 80%; }
.wm-line.short { width: 50%; }
.wm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.wm-grid i { height: 48px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 22%, #fff); }
.work-cat { color: var(--cyan-ink); font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.work-title { font-size: 1.35rem; font-weight: 600; margin-top: 2px; }
.work-title a { text-decoration: none; }
.work-title a:hover { color: var(--cyan-ink); }
.work-title .bi { font-size: .9rem; color: var(--grey); }
.work-desc { color: var(--muted); margin-top: 6px; max-width: 52ch; }
.empty-note { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.work-page .work { background: #fff; padding-top: 32px; }
.work-page .section-head { display: none; }
.chip {
    min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-family: var(--font-display); font-weight: 500; cursor: pointer; color: var(--text);
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Process (navy) ---------- */
.process { background: var(--navy); color: #C9D6E3; }
.process .h2 { color: #fff; }
.process .lead { color: #A9BBCD; }
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: s; }
.steps::before {
    content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--grey) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step-num {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--navy); border: 2px solid var(--cyan); color: var(--cyan);
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; position: relative; z-index: 1;
}
.step:last-child .step-num { background: var(--cyan); color: var(--navy); }
.step h3 { color: #fff; font-size: 1.2rem; margin-top: 22px; }
.step p { margin-top: 8px; font-size: .98rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.quote { margin: 0; padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.stars { color: #F5A524; display: flex; gap: 2px; }
.quote blockquote { margin: 0; font-size: 1.08rem; color: var(--text); }
.quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote figcaption img, .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-ink); font-weight: 700; }
.quote figcaption span { display: flex; flex-direction: column; color: var(--muted); font-size: .92rem; }
.quote figcaption b { color: var(--navy); font-family: var(--font-display); font-size: 1rem; }

/* ---------- Clients ---------- */
.clients { padding-block: 64px; border-top: 1px solid var(--line); }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 32px; }
.client-logos img { height: 52px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.client-logos a:hover img, .client-logos img:hover { filter: none; opacity: 1; }
.client-name { font-family: var(--font-display); font-weight: 700; color: var(--grey); font-size: 1.2rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* ---------- CTA (cyan) ---------- */
.cta { background: var(--cyan); color: var(--navy); overflow: hidden; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta .h2 { color: var(--navy); }
.cta p { margin-top: 10px; font-size: 1.12rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-bracket {
    position: absolute; inset-inline-end: -120px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%);
    border: 40px solid rgba(255,255,255,.22); border-right: 0; border-radius: 70px 0 0 70px; pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }

/* ---------- Page head ---------- */
.page-head {
    position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
    background:
        radial-gradient(circle at 1px 1px, rgba(122,122,124,.2) 1px, transparent 0) 0 0 / 26px 26px,
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; max-width: 20ch; margin-top: 14px; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cyan-ink); }
.crumbs i { font-size: .7rem; color: var(--grey-300); }
.page-head-bracket {
    position: absolute; inset-inline-end: 6%; top: 18%; width: 180px; height: 64%;
    border: 26px solid var(--cyan); border-right: 0; border-radius: 40px 0 0 40px; opacity: .95;
}
.page-head-bracket .bracket-dots { left: 40%; bottom: -46px; gap: 8px; }
.page-head-bracket .bracket-dots i { width: 18px; height: 18px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-year { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; line-height: 1; direction: ltr; text-align: left; }
html[dir="rtl"] .about-year { text-align: right; }
.about-year .year { font-size: clamp(4rem, 10vw, 8rem); color: var(--cyan); letter-spacing: -.04em; }
.about-year .year-to { font-size: clamp(2rem, 5vw, 4rem); color: var(--grey); letter-spacing: -.03em; }
.about-year .year-to::before { content: "→ "; color: var(--grey-300); }
html[dir="rtl"] .about-year .year-to::before { content: "← "; }
.vm { background: var(--paper); }
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.vm-item { background: #fff; border-radius: var(--r-md); padding: clamp(24px, 3vw, 40px); border-top: 5px solid var(--cyan); }
.vm-item:nth-child(2) { border-top-color: var(--grey); }
.vm-item > i { font-size: 1.8rem; color: var(--cyan-ink); }
.vm-item h2 { margin-top: 14px; }
.vm-item p { margin-top: 12px; color: var(--muted); }
.value-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value-list li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-list i { font-size: 1.6rem; color: var(--cyan-ink); flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--cyan-50); }
.value-list h3 { font-size: 1.2rem; }
.value-list p { color: var(--muted); margin-top: 4px; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.office { padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); }
.office h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.office h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.office p { margin-top: 10px; color: var(--muted); }

/* ---------- Services page ---------- */
.service-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.service-block { padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: background-color .3s; }
.service-block:hover { background: var(--paper); }
.service-block h2 a { text-decoration: none; }
.service-block h2 a:hover { color: var(--cyan-ink); }
.service-block > p { color: var(--muted); }
.service-block .text-link { margin-top: auto; align-self: flex-start; }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
    content: "\F633"; font-family: "bootstrap-icons"; color: var(--cyan-ink); font-size: 1.1rem; line-height: 1.6; flex: none;
}
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 18px; }

.service-detail { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; }
.service-cover { border-radius: var(--r-md); margin-bottom: 28px; }
.service-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.aside-box { padding: 28px; border-radius: var(--r-md); background: var(--navy); color: #C9D6E3; display: flex; flex-direction: column; gap: 12px; }
.aside-box h2 { color: #fff; }
.aside-box .btn-outline { --fg: #fff; --bd: rgba(255,255,255,.3); }
.aside-box .btn-outline:hover { --bd: #fff; }
.aside-title { font-size: 1rem; color: var(--muted); font-weight: 600; }
.aside-links a { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 500; color: var(--navy); }
.aside-links a:hover { color: var(--cyan-ink); }
.aside-links i { color: var(--cyan-ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 30px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.plan.is-featured { border: 3px solid var(--cyan); box-shadow: 0 30px 60px -40px rgba(0,174,239,.7); }
.plan-flag { position: absolute; top: -15px; inset-inline-start: 28px; background: var(--cyan); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 999px; }
.plan-name { font-size: 1.5rem; }
.plan-summary { color: var(--muted); }
.plan-price { padding-block: 16px; border-block: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.plan-price small { color: var(--muted); }
.plan-price span { font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; }
.plan-price b { font-size: 2.4rem; font-weight: 800; }
.plan-price .on-request { font-size: 1.5rem; font-weight: 700; }
.plan .checks { flex: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: .98rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff;
    transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { font-size: .9rem; }
.hp { position: absolute; left: -9999px; }
.form-done { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-md); background: #E8F6F0; color: var(--ok); margin-bottom: 24px; }
.form-done i { font-size: 1.8rem; line-height: 1; }
.form-done b { color: var(--navy); font-family: var(--font-display); }
.form-done p { color: var(--text); }
.contact-ways { display: grid; gap: 12px; }
.contact-ways a {
    display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
    text-decoration: none; transition: border-color .2s, background-color .2s;
}
.contact-ways a:hover { border-color: var(--cyan); background: var(--paper); }
.contact-ways i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-ink); font-size: 1.3rem; flex: none; }
.contact-ways span { display: flex; flex-direction: column; }
.contact-ways small { color: var(--muted); }
.contact-ways b { font-family: var(--font-display); color: var(--navy); font-weight: 600; }
html[dir="rtl"] .contact-ways b[dir="ltr"] { text-align: right; }
.contact-offices { margin-top: 28px; display: grid; gap: 18px; }
.contact-offices p { color: var(--muted); }
.contact-offices b { display: block; color: var(--navy); font-family: var(--font-display); }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--r-md); margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #A9BBCD; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-title { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 16px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-links li { padding-block: 5px; }
.footer-contact li { display: flex; gap: 10px; padding-block: 6px; align-items: flex-start; }
.footer-contact i { color: var(--cyan); margin-top: 2px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); text-decoration: none; color: #fff; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(18,128,92,.6); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .main-nav, .hide-sm { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { margin-inline-start: auto; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero-grid, .split, .about-grid, .service-detail, .contact-grid, .cta-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { min-height: 400px; max-width: 560px; width: 100%; margin-inline: auto; }
    .split-head, .service-aside { position: static; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .steps::before { display: none; }
    .vm-grid { grid-template-columns: 1fr; }
    .page-head-bracket { width: 110px; border-width: 18px; opacity: .3; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .header-row { min-height: 66px; }
    .brand img { height: 38px; }
    .hero-visual { min-height: 330px; }
    .browser { left: 9%; top: 30px; }
    .browser-body { padding: 14px; }
    .mock-hero { padding: 18px 16px; margin-top: 16px; }
    .mock-tiles span { height: 40px; }
    .phone { width: 112px; height: 208px; border-width: 5px; border-radius: 22px; padding: 20px 8px 8px; }
    .phone-card { height: 50px; }
    .bracket { border-radius: 40px 0 0 40px; inset-block: 0 26px; }
    .bracket-dots { bottom: -56px; gap: 10px; }
    .bracket-dots i { width: 22px; height: 22px; }
    .domain-box { padding: 14px; }
    .domain-step .btn { width: 100%; }
    .work-grid, .service-blocks, .fields, .checks.two { grid-template-columns: 1fr; }
    .page-head-bracket { display: none; }
    .stat { padding: 20px 16px; border-inline-start: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-actions .btn { flex: 1 1 100%; }
    .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-start: 16px; }
}

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