/* Swift Solutions — web studio, Doha
   Ink navy + brand navy, cool paper, signal blue for interaction, saffron reserved for the main action.
   One typeface (Bricolage Grotesque, variable opsz/wdth/wght). One orchestrated moment: the hero build. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"), url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}

:root {
  --ink: #0a1630; --navy: #0b3566; --navy-2: #12437f; --paper: #f7f8fc; --white: #fff;
  --line: #dde2ee; --muted: #5b6680; --signal: #1673bd; --saffron: #ffb21a; --saffron-2: #f29e00;
  --wa: #1c9d50; --ok: #1c7c43; --err: #b3261e;
  --f: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px; --r: 14px; --r-sm: 8px;
  --t-sm: .9rem; --t-base: 1.08rem; --t-md: 1.3rem;
  --t-lg: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem);
  --t-xl: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  --t-xxl: clamp(2.7rem, 1.5rem + 4.6vw, 5.6rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --bar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f); font-size: var(--t-base); line-height: 1.62; color: var(--ink); background: var(--white);
  font-variation-settings: "opsz" 14; padding-bottom: var(--bar-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--signal); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1rem; max-width: 66ch; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }
li { margin-bottom: .35em; }
h1, h2, h3, h4 { font-family: var(--f); font-variation-settings: "opsz" 96; font-weight: 720; letter-spacing: -.025em; line-height: 1.02; margin: 0 0 1rem; color: var(--ink); }
h1 { font-size: var(--t-xxl); letter-spacing: -.035em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); line-height: 1.1; letter-spacing: -.015em; }
h4 { font-size: var(--t-md); line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: var(--t-md); line-height: 1.5; color: #2b3754; max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--saffron); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.35em; border-radius: 999px;
  font: 620 1.02rem/1.1 var(--f); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; position: relative;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--saffron); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(242, 158, 0, .8); }
.btn-primary:hover { background: var(--saffron-2); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #157f40; color: #fff; }
.btn-ghost { border-color: rgba(10, 22, 48, .2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.on-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: .55em 1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* 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 .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 22, 48, .4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.logo img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav li { margin: 0; position: relative; }
.nav a { display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 520; font-size: .98rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: #eef1f8; color: var(--ink); }
.nav .sub { display: grid; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .2s .3s, transform .2s var(--ease) .3s, visibility 0s linear .5s; position: absolute; top: 100%; left: -12px; width: 560px; padding: .7rem; list-style: none; margin: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(10, 22, 48, .35); grid-template-columns: 1fr 1fr; gap: .2rem; }
.nav .sub-1 { width: 380px; grid-template-columns: 1fr; }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav > ul > li:has(.sub) { padding-bottom: 8px; margin-bottom: -8px; }
.nav > ul > li:has(.sub) > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s var(--ease), visibility 0s; }
.nav .sub a { border-radius: 10px; padding: .6rem .75rem; white-space: normal; }
.nav .sub a strong { display: block; font-weight: 640; }
.nav .sub a span { display: block; font-size: .84rem; color: var(--muted); }
.header-actions { display: flex; gap: .5rem; align-items: center; flex: none; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle, .nav-close { display: none; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); background: #fff; z-index: 70; padding: 5rem 1.2rem 2rem; overflow-y: auto;
    display: none; margin: 0; }
  .nav.open { display: block; box-shadow: -30px 0 60px rgba(10, 22, 48, .25); animation: navin .3s var(--ease); }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav .sub, .nav .sub-1 { visibility: visible; opacity: 1; transform: none; transition: none; position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .5rem .6rem; grid-template-columns: 1fr; }
  .nav .sub::before, .nav > ul > li:has(.sub) > a::after { display: none; }
  .nav > ul > li:has(.sub) { padding-bottom: 0; margin-bottom: 0; }
  .nav .sub a span { display: none; }
  .nav-close { display: inline-flex; position: absolute; top: 1rem; right: 1rem; }
  .hide-md { display: none; }
  .scrim { position: fixed; inset: 0; background: rgba(10, 22, 48, .45); z-index: 60; }
  .nav-open .site-header { z-index: 80; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ---------- HERO with the build animation ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 53, 102, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 53, 102, .055) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding-block: 5rem 5.5rem; }
.hero h1 { max-width: 12ch; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.hero-proof strong { display: block; color: var(--ink); font-size: 1.5rem; font-weight: 720; letter-spacing: -.02em; font-variation-settings: "opsz" 72; }

.build { position: relative; }
.browser { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 50px 100px -40px rgba(10, 22, 48, .45), 0 0 0 1px rgba(10, 22, 48, .06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #eef1f7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dce7; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 10px; flex: 1; height: 26px; border-radius: 13px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: .78rem; color: var(--muted); overflow: hidden; white-space: nowrap; }
.browser-url .typed { color: var(--ink); }
.page { padding: 18px; display: grid; gap: 12px; }
.blk { border-radius: 8px; background: #e6eaf2; }
.b-nav { display: flex; justify-content: space-between; align-items: center; }
.b-nav .b-logo { width: 90px; height: 16px; background: var(--navy); border-radius: 6px; }
.b-nav .b-links { display: flex; gap: 8px; } .b-nav .b-links span { width: 34px; height: 8px; border-radius: 4px; background: #d3d9e5; }
.b-hero { height: 150px; border-radius: 12px; background: var(--navy); position: relative; overflow: hidden; padding: 22px; }
.b-hero .h1 { width: 62%; height: 18px; border-radius: 6px; background: #fff; margin-bottom: 10px; }
.b-hero .h2 { width: 44%; height: 18px; border-radius: 6px; background: #fff; margin-bottom: 18px; opacity: .85; }
.b-hero .cta { width: 96px; height: 28px; border-radius: 14px; background: var(--saffron); }
.b-hero .shape { position: absolute; right: -30px; top: -30px; width: 180px; height: 180px; border-radius: 50%; background: var(--signal); opacity: .9; }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-cards div { height: 74px; border-radius: 10px; background: #eef1f7; position: relative; }
.b-cards div::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 30px; border-radius: 7px; background: #dbe2f0; }
.b-cards div::after { content: ""; position: absolute; left: 10px; width: 55%; bottom: 12px; height: 8px; border-radius: 4px; background: #cbd3e2; }
.scores { position: absolute; left: -28px; bottom: -34px; display: flex; gap: 10px; padding: 14px 16px; background: #fff; border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 48, .5), 0 0 0 1px rgba(10, 22, 48, .06); }
.score { display: grid; justify-items: center; gap: 4px; width: 64px; }
.score svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 5; }
.score .track { stroke: #e3f5ea; }
.score .arc { stroke: #0cce6b; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 0; }
.score .num { position: absolute; margin-top: 15px; font-weight: 720; font-size: 1rem; color: #0a7a3f; font-variation-settings: "opsz" 48; }
.score { position: relative; }
.score small { font-size: .66rem; color: var(--muted); text-align: center; line-height: 1.15; }
.badge-fly { position: absolute; right: -14px; top: 42%; background: var(--ink); color: #fff; border-radius: 12px; padding: .65rem .85rem; font-size: .84rem; line-height: 1.3;
  box-shadow: 0 24px 50px -20px rgba(10, 22, 48, .6); }
.badge-fly b { color: var(--saffron); font-weight: 700; }

/* Build sequence: only when JS adds .animate and the visitor allows motion. Without it, the finished state shows. */
@media (prefers-reduced-motion: no-preference) {
  .animate .build .blk, .animate .build .b-nav, .animate .build .b-hero, .animate .build .b-cards > div { opacity: 0; transform: translateY(14px) scale(.98); }
  .animate.play .build .b-nav { animation: rise .6s var(--ease) .25s forwards; }
  .animate.play .build .b-hero { animation: rise .7s var(--ease) .55s forwards; }
  .animate.play .build .b-cards > div:nth-child(1) { animation: rise .6s var(--ease) .95s forwards; }
  .animate.play .build .b-cards > div:nth-child(2) { animation: rise .6s var(--ease) 1.07s forwards; }
  .animate.play .build .b-cards > div:nth-child(3) { animation: rise .6s var(--ease) 1.19s forwards; }
  .animate .build .b-hero .h1, .animate .build .b-hero .h2, .animate .build .b-hero .cta { transform-origin: left; transform: scaleX(0); }
  .animate.play .build .b-hero .h1 { animation: grow .6s var(--ease) 1.05s forwards; }
  .animate.play .build .b-hero .h2 { animation: grow .6s var(--ease) 1.2s forwards; }
  .animate.play .build .b-hero .cta { animation: grow .5s var(--ease) 1.4s forwards; }
  .animate .build .b-hero .shape { transform: scale(0); }
  .animate.play .build .b-hero .shape { animation: pop .9s var(--ease) .9s forwards; }
  .animate .build .scores, .animate .build .badge-fly { opacity: 0; transform: translateY(18px); }
  .animate.play .build .scores { animation: rise .7s var(--ease) 1.6s forwards; }
  .animate.play .build .badge-fly { animation: rise .7s var(--ease) 2.4s forwards; }
  .animate .score .arc { stroke-dashoffset: 138.2; }
  .animate.play .score .arc { animation: dial 1.4s var(--ease) 1.8s forwards; }
  .animate .hero h1 .line { opacity: 0; transform: translateY(.4em); }
  .animate.play .hero h1 .line { animation: rise .8s var(--ease) forwards; }
  .animate.play .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  .animate.play .hero h1 .line:nth-child(3) { animation-delay: .24s; }
  .float { animation: float 7s ease-in-out infinite; }
}
@keyframes navin { from { transform: translateX(100%); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes dial { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 3.5rem 5rem; gap: 3rem; }
  .scores { left: 50%; transform: translateX(-50%); bottom: -40px; }
  .animate .build .scores { transform: translate(-50%, 18px); }
  @keyframes rise2 { to { opacity: 1; transform: translate(-50%, 0); } }
  .animate.play .build .scores { animation-name: rise2; }
  .badge-fly { right: 8px; top: auto; bottom: 60%; }
}
@media (max-width: 480px) { .score { width: 54px; } .score svg { width: 44px; height: 44px; } .score .num { margin-top: 12px; font-size: .9rem; } .badge-fly { display: none; } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; align-items: center; padding-block: 1.3rem; color: var(--muted); font-size: .95rem; }
.trust strong { color: var(--ink); font-weight: 650; }
.trust span { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--signal); }

/* Sections */
.section { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: #c9d2e6; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; margin-bottom: 3.2rem; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #a9b5cf; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.2rem; } }

/* Services: one feature tile + a list of others (not a uniform card grid) */
.svc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem; }
.svc-feature { background: var(--navy); color: #d8e3f7; border-radius: 22px; padding: clamp(1.8rem, 1rem + 2.5vw, 3rem); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.svc-feature h3 { color: #fff; font-size: var(--t-xl); max-width: 12ch; }
.svc-feature ul { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .55rem; }
.svc-feature li { padding-left: 1.6rem; position: relative; margin: 0; }
.svc-feature li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem; border-radius: 3px; background: var(--saffron); }
.svc-feature .price { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.svc-feature .price strong { font-size: 2.6rem; color: #fff; font-weight: 740; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.svc-feature .orb { position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a9be0, transparent 65%); opacity: .55; }
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1.15rem .2rem; text-decoration: none; color: var(--ink); transition: padding .3s var(--ease), background-color .3s; border-radius: 10px; }
.svc-list a:hover { background: var(--paper); padding-inline: 1rem; }
.svc-list strong { font-size: 1.25rem; font-weight: 660; letter-spacing: -.015em; }
.svc-list span { grid-column: 1; color: var(--muted); font-size: .95rem; }
.svc-list em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 620; color: var(--navy); white-space: nowrap; font-size: .95rem; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.work-card { text-decoration: none; color: var(--ink); display: block; perspective: 900px; }
.work-media { border-radius: 16px; overflow: hidden; background: #e9edf5; box-shadow: 0 30px 60px -40px rgba(10, 22, 48, .5); transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.work-media img { width: 100%; aspect-ratio: 900 / 615; object-fit: cover; }
.work-card:hover .work-media { box-shadow: 0 40px 80px -40px rgba(10, 22, 48, .6); }
.work-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-top: 1rem; }
.work-meta h3 { font-size: 1.35rem; margin: 0; }
.work-meta span { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.work-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; list-style: none; padding: 0; }
.work-tags li { margin: 0; font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; color: var(--muted); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }

/* Process (real sequence: numbered) */
.process-wrap { position: relative; }
.process-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(255, 255, 255, .12); }
.process { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.process-wrap .bar { position: absolute; left: 0; top: 22px; height: 2px; width: 100%; background: var(--saffron); transform-origin: left; transform: scaleX(var(--p, 1)); }
.process li { counter-increment: s; margin: 0; position: relative; padding-top: 3.6rem; }
.process li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 2px solid var(--saffron); color: #fff; font-weight: 700; }
.process h3 { font-size: 1.3rem; }
.process p { font-size: .98rem; color: #a9b5cf; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } .process-wrap::before, .process-wrap .bar { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Solutions (apps) */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.app { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; background: #fff; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.app:hover { border-color: var(--signal); transform: translateY(-4px); }
.app .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #e5f1fb; color: var(--signal); margin-bottom: 1rem; }
.app .ico svg { width: 24px; height: 24px; }
.app h3 { font-size: 1.35rem; }
.app ul { padding-left: 1.1em; color: #2b3754; font-size: .96rem; }
.app .more { margin-top: auto; font-weight: 620; text-decoration: none; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem 1.5rem; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan.hot { background: var(--ink); color: #c9d2e6; border-color: var(--ink); }
.plan.hot h3, .plan.hot .amt { color: #fff; }
.plan .tag { position: absolute; top: -12px; left: 1.5rem; background: var(--saffron); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.plan .amt { font-size: 2.5rem; font-weight: 740; letter-spacing: -.03em; color: var(--ink); line-height: 1; margin: .6rem 0 .2rem; font-variation-settings: "opsz" 96; }
.plan .amt small { font-size: 1rem; font-weight: 520; letter-spacing: 0; }
.plan .per { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.plan.hot .per { color: #a9b5cf; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; font-size: .95rem; }
.plan li { padding-left: 1.5rem; position: relative; margin: 0; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.plan.hot li::before { border-color: var(--saffron); }
.plan .btn { margin-top: auto; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.addon { border: 1px dashed #c6cee0; border-radius: 14px; padding: 1rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.addon strong { white-space: nowrap; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }

/* Estimator */
.estimator { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.est-q { margin-bottom: 1.4rem; }
.est-q > p, .est-q legend { font-weight: 650; margin-bottom: .6rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .95rem; transition: all .2s; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.est-total { background: var(--paper); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; }
.est-total .amt { font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); font-weight: 750; letter-spacing: -.03em; line-height: 1; margin: .3rem 0 .4rem; font-variation-settings: "opsz" 96; }
.est-total ul { font-size: .92rem; color: var(--muted); padding-left: 1.1em; }
.est-total .btn-row { margin-top: auto; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

/* Stack / tech logos as text */
.stack { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.stack li { margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .95rem; background: #fff; }
.section.dark .stack li { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Page hero (inner) */
.page-hero { background: var(--paper); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 53, 102, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 53, 102, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding-block: 3.8rem 4.4rem; }
.page-hero h1 { font-size: var(--t-xl); max-width: 18ch; }
.page-hero .from { display: inline-flex; gap: .5rem; align-items: baseline; margin: .2rem 0 1.4rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; }
.page-hero .from strong { font-size: 1.15rem; }
.page-hero .visual { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10, 22, 48, .45); background: #fff; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.2rem; font-size: .9rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #a6b0c4; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.8rem 3.2rem; } }

/* Content blocks */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 2rem; } }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.feat h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feat p { font-size: .98rem; color: #2b3754; margin: 0; }
.feat .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #e5f1fb; color: var(--signal); margin-bottom: .9rem; }
.feat .ico svg { width: 21px; height: 21px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; }
.check li { padding-left: 1.7rem; position: relative; }
.check li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .9rem; height: .5rem; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.aside-card { background: var(--paper); border-radius: 18px; padding: 1.7rem; position: sticky; top: 100px; }
.aside-card h2 { font-size: 1.5rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--paper); font-weight: 650; }
.table-scroll { overflow-x: auto; }
@media (max-width: 560px) { .compare { font-size: .9rem; } .compare th, .compare td { padding: .65rem .5rem; } .compare td:last-child, .compare th:last-child { display: none; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 640; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.45rem; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details p { color: #2b3754; padding-bottom: 1rem; }

/* CTA */
.cta { background: var(--navy); color: #d8e3f7; position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.cta h2 { color: #fff; margin: 0 0 .6rem; max-width: 18ch; }
.cta p { margin: 0; }
.cta .orb { position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, #2c8fd9 0%, transparent 65%); opacity: .45; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid > * { min-width: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 620; font-size: .95rem; margin-bottom: .35rem; }
.req { color: var(--err); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; font: 400 1rem var(--f); color: var(--ink); padding: .78rem .9rem; border: 1px solid #c3cadb; border-radius: 10px; background: #fff; min-height: 50px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22, 115, 189, .3); border-color: var(--signal); }
.hp { position: absolute; left: -5000px; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); }
.form-status { display: none; padding: .8rem 1rem; border-radius: 10px; }
.form-status.ok { display: block; background: #e3f3e9; color: var(--ok); }
.form-status.err { display: block; background: #fbe9e8; color: var(--err); }
.form-note { font-size: .86rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; background: #fff; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.contact-card .big { display: block; font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: 1rem; letter-spacing: -.015em; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #a9b5cf; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: 4.5rem 3rem; }
.footer-top h2 { color: #fff; font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-bottom: .9rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: .5rem; }
.footer-top .logo img { height: 36px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* Floating WhatsApp (desktop) and action bar (mobile) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 36px -12px rgba(28, 157, 80, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.action-bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: 64px; }
  .wa-float { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: var(--bar-h); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(10, 22, 48, .1); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-weight: 640; font-size: .78rem; color: var(--ink); }
  .action-bar svg { width: 22px; height: 22px; }
  .action-bar .ab-wa { color: var(--wa); }
  .action-bar .ab-q { background: var(--saffron); }
}
@media (max-width: 400px) { .logo img { height: 32px; } .header-actions .icon-btn.hide-xs { display: none; } }

/* Reveal: a single, quiet treatment for key blocks only (not every section) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .site-header, .action-bar, .wa-float, .cta, .site-footer { display: none; } }

/* Additions */
.section.tight { padding-top: 3rem; }
.h3 { font-size: var(--t-lg); line-height: 1.1; letter-spacing: -.015em; }
.work-meta .h3 { font-size: 1.35rem; margin: 0; }
.work-text { margin: .5rem 0 0; }
.work-card[id] { scroll-margin-top: 100px; }
.app .h3 { font-size: 1.35rem; }
.contact-card h2 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.visual.modules { padding: 1.4rem; }
.visual.modules p { margin: 0 0 .8rem; }
.visual.modules ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.visual.modules li { margin: 0; padding: .9rem 1rem; border-radius: 12px; background: #eef1f8; font-weight: 620; font-size: .98rem; line-height: 1.3; }
.visual.phone { padding: 1.2rem; max-width: 420px; width: 100%; justify-self: center; border-radius: 28px; border: 8px solid var(--ink); }
.phone-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.phone-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.phone-ico svg, .visual.phone .tick svg { width: 20px; height: 20px; }
.visual.phone ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.visual.phone li { margin: 0; display: flex; gap: .7rem; align-items: center; padding: .7rem .85rem; border-radius: 12px; background: #f3f5fa; font-weight: 600; font-size: .95rem; }
.visual.phone .tick { width: 30px; height: 30px; border-radius: 8px; background: #e5f1fb; color: var(--signal); display: grid; place-items: center; flex: none; }

/* Case studies (text, no screenshots) */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.case-sector { font-size: .88rem; color: var(--signal); font-weight: 640; margin: 0 0 .4rem; }
.case h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.case > p { color: #2b3754; }
.case-label { font-weight: 650; margin: .4rem 0 .5rem; color: var(--ink); }
.case .check { font-size: .96rem; margin-bottom: 1.2rem; }
.case .check li { margin-bottom: .3rem; }
.case-ask { margin-top: auto; font-weight: 620; }
.case-cta { margin-top: 1.6rem; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 1.5rem; align-items: center; background: var(--ink); color: #c9d2e6; border-radius: 18px; padding: 1.7rem 1.9rem; }
.case-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: .4rem; }
.case-cta p { margin: 0; }
.case-cta .btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
@media (max-width: 760px) { .cases, .case-cta { grid-template-columns: 1fr; } }
.scope-note { margin: 1.2rem 0 0; padding: .9rem 1.1rem; border-left: 3px solid var(--saffron); background: #fff8e8; border-radius: 0 10px 10px 0; color: #4a3a12; font-size: .95rem; max-width: none; }
