/* =====================================================================
   Blue Corners — Demo Styles
   Mobile-first · RTL · No frameworks
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #04122a;
  --navy-900: #061a33;
  --navy-800: #0a2447;
  --navy-700: #0f2f5c;
  --navy-600: #164079;
  --blue-500: #1c7ed6;
  --cyan-500: #19b6e6;
  --cyan-400: #3fd0f5;
  --cyan-300: #7fe3ff;
  --cyan-100: #e6f8fe;
  --white: #ffffff;
  --gray-50: #f5f8fb;
  --gray-100: #eef2f7;
  --gray-200: #dde5ee;
  --gray-300: #c6d2de;
  --gray-500: #6f8194;
  --gray-700: #3f4f61;
  --text: #0b1f3a;
  --wa: #25d366;
  --wa-dark: #1da851;

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(6, 26, 51, .08);
  --shadow: 0 16px 44px rgba(6, 26, 51, .14);
  --shadow-cyan: 0 10px 30px rgba(25, 182, 230, .35);

  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  --container: 1140px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
#journey, #services, #trust, #projects, #contact { scroll-margin-top: calc(var(--header-h) + 12px); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }

.btn--primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
  box-shadow: var(--shadow-cyan);
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 60% { inset-inline-start: -60%; }
  100% { inset-inline-start: 160%; }
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-dark {
  color: var(--navy-800);
  background: var(--white);
  border-color: var(--gray-200);
}
.btn--text {
  color: var(--gray-500);
  background: transparent;
  min-height: 44px;
}
.btn--wa {
  color: #fff;
  background: linear-gradient(135deg, #34e07a, var(--wa) 45%, var(--wa-dark));
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
  width: 100%;
  font-size: 16px;
  line-height: 1.35;
  padding-inline: 18px;
}
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { transform: scale(.95); }

/* ---------- Demo banner ---------- */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-900);
  background: linear-gradient(90deg, var(--cyan-100), #dbf5ff);
  border-bottom: 1px solid rgba(25, 182, 230, .25);
}
.demo-banner__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 0 rgba(25, 182, 230, .5);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(25, 182, 230, .5); }
  70% { box-shadow: 0 0 0 8px rgba(25, 182, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 182, 230, 0); }
}
.demo-banner__close {
  margin-inline-start: 6px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-700);
}
.demo-banner.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(6, 26, 51, .88); }
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
/* Real logo (PNG/JPG with white background) rendered as a round white badge on dark areas */
[data-logo] {
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 6px 18px rgba(4, 18, 42, .35);
}
[data-logo].is-loading { visibility: hidden; } /* no broken-image flash while the file is resolved */
.brand__logo { width: 40px; height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name strong { font-size: 15px; font-weight: 700; }
.brand__name small { font-size: 10px; letter-spacing: .18em; opacity: .75; font-weight: 500; }
.site-nav { display: none; gap: 26px; font-size: 15px; font-weight: 500; }
.site-nav a { opacity: .85; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip; /* not a scroll container: anchor navigation must not scroll the hero internally */
  color: #fff;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(25, 182, 230, .30), transparent 60%),
    radial-gradient(700px 500px at 5% 105%, rgba(28, 126, 214, .28), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  padding: 40px 0 110px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob--1 {
  width: 520px; height: 520px;
  top: -200px; inset-inline-end: -160px;
  background: radial-gradient(circle, rgba(63, 208, 245, .35), transparent 62%);
  animation: float 16s ease-in-out infinite;
}
.blob--2 {
  width: 460px; height: 460px;
  bottom: -160px; inset-inline-start: -200px;
  background: radial-gradient(circle, rgba(28, 126, 214, .4), transparent 62%);
  animation: float 20s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 28px, 0); }
}
.hero__lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  animation: lines-drift 22s linear infinite;
}
@keyframes lines-drift { to { background-position: 0 48px; } }

.hero__inner {
  position: relative;
  display: grid;
  gap: 34px;
}
.hero__scene { margin-inline: -6px; }
.hero__text { text-align: start; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.badge--demo {
  color: var(--cyan-300);
  background: rgba(63, 208, 245, .12);
  border: 1px solid rgba(63, 208, 245, .35);
}

.hero__brand { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hero__logo { width: 72px; height: 72px; box-shadow: 0 0 0 2px rgba(127, 227, 255, .35), 0 10px 30px rgba(63, 208, 245, .3); }
.hero__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero__brand-ar { font-size: 22px; font-weight: 700; }
.hero__brand-en { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); font-weight: 600; margin-top: 4px; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(30px, 7vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-shadow: 0 8px 40px rgba(63, 208, 245, .18);
}
.hero__desc {
  margin-top: 14px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(255, 255, 255, .8);
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero__actions .btn { flex: 1 1 200px; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
}
.hero__chips li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .78);
}

/* Wave */
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; }
.wave { will-change: transform; }
.wave--back { fill: rgba(255, 255, 255, .28); animation: wave-move 18s linear infinite; }
.wave--front { fill: var(--white); animation: wave-move 12s linear infinite; }
@keyframes wave-move { to { transform: translateX(-1440px); } }

/* ---------- Journey scene ---------- */
.journey {
  --node: 50px;
  position: relative;
  padding: 18px 12px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(4, 18, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.journey__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}
.journey__eyebrow { font-weight: 600; color: var(--cyan-300); }
.journey__hint { color: rgba(255, 255, 255, .55); }

.journey__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
  width: var(--node);
}
.node__icon {
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s;
}
.node__icon .ico { width: 48%; height: 48%; color: var(--cyan-300); transition: color .3s; }
.node__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: .8;
  transition: opacity .3s;
}
.node.is-active .node__icon {
  background: rgba(25, 182, 230, .22);
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 5px rgba(63, 208, 245, .14), 0 0 34px rgba(63, 208, 245, .45);
  transform: translateY(-3px) scale(1.06);
}
.node.is-active .node__icon .ico { color: #fff; }
.node.is-active .node__label { opacity: 1; }

.pipe {
  position: relative;
  flex: 1 1 16px;
  min-width: 14px;
  height: 9px;
  margin-top: calc(var(--node) / 2 - 5px);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.pipe::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(63, 208, 245, .85) 0 9px, rgba(63, 208, 245, .12) 9px 20px);
  animation: flow 1s linear infinite;
  animation-delay: calc(var(--i, 0) * -.25s);
}
@keyframes flow { to { background-position: -20px 0; } }
.pipe::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--cyan-400) 45%, transparent 72%);
  animation: droplet 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .55s);
}
@keyframes droplet {
  0% { right: -14px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

.journey__surface {
  height: 1px;
  margin: 18px 8px 0;
  background: linear-gradient(90deg, transparent, rgba(127, 227, 255, .55), transparent);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.journey__info {
  margin-top: 16px;
  min-height: 118px;
}
.journey__card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(4, 18, 42, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  animation: fade-up .4s var(--ease);
}
.journey__card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(63, 208, 245, .15);
  color: var(--cyan-300);
}
.journey__card-icon .ico { width: 24px; height: 24px; }
.journey__card h3 { font-size: 16px; font-weight: 700; }
.journey__card p { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.journey__card-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan-300);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
}
.journey__card-cta .ico { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-500);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.section__head h2 {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
}
.section__note { margin-top: 10px; color: var(--gray-500); font-size: 14px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services__grid { display: grid; gap: 14px; }
.service-card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan-400), var(--blue-500));
}
.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 8px 20px rgba(6, 26, 51, .2);
}
.service-card__icon .ico { width: 26px; height: 26px; }
.service-card h3 { margin-top: 16px; font-size: 19px; font-weight: 700; color: var(--navy-900); }
.service-card p { margin-top: 6px; color: var(--gray-700); font-size: 14.5px; }
.service-card__num {
  position: absolute;
  top: 14px; inset-inline-end: 18px;
  font-size: 40px;
  font-weight: 700;
  color: rgba(25, 182, 230, .12);
  line-height: 1;
}
.service-card__cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.service-card__cta .ico { width: 18px; height: 18px; }
.services__footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 999px;
  color: var(--navy-800);
  font-weight: 600;
  background: var(--cyan-100);
  border: 1px solid rgba(25, 182, 230, .25);
  text-align: center;
  font-size: 15px;
}
.services__footer .ico { color: var(--cyan-500); }

/* ---------- Trust ---------- */
.trust { background: var(--gray-50); }
.trust__list { display: grid; gap: 12px; }
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.trust__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cyan-100);
  color: var(--blue-500);
}
.trust__icon .ico { width: 22px; height: 22px; }
.trust__item h3 { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.trust__item p { font-size: 13.5px; color: var(--gray-500); margin-top: 2px; }

/* ---------- Projects ---------- */
.projects { background: var(--white); }
.projects__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.projects__track::-webkit-scrollbar { display: none; }
.project-card {
  position: relative;
  flex: 0 0 82%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.project-card img.is-loaded { opacity: 1; }
.project-card.is-placeholder img { display: none; }
.project-card__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: rgba(255, 255, 255, .6);
}
.project-card.is-placeholder .project-card__fallback { display: grid; }
.project-card__fallback .ico { width: 44px; height: 44px; }
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 18, 42, .85));
  z-index: 1;
}
.project-card__body {
  position: absolute;
  inset-inline: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
}
.project-card__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(63, 208, 245, .2);
  border: 1px solid rgba(63, 208, 245, .45);
  color: var(--cyan-300);
  margin-bottom: 6px;
}
.project-card h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(63, 208, 245, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  padding: 56px 0;
}
.cta-band__inner {
  display: grid;
  gap: 22px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 5vw, 34px); font-weight: 700; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 15px; }
.cta-band .btn { justify-self: center; min-width: 240px; }

/* ---------- Footer ---------- */
.site-footer {
  color: rgba(255, 255, 255, .85);
  background: var(--navy-950);
  padding: 48px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer__grid { display: grid; gap: 30px; }
.brand--footer .brand__logo { width: 52px; height: 52px; }
.brand--footer .brand__name strong { font-size: 18px; }
.brand--footer .brand__name small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.footer__tagline { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer__instagram {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  font-weight: 600;
  font-size: 14px;
}
.footer__instagram .ico { color: var(--cyan-300); }
.footer__instagram span { direction: ltr; unicode-bidi: isolate; }
.footer__contact { display: grid; gap: 10px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
.contact-row__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(63, 208, 245, .12);
  color: var(--cyan-300);
}
.contact-row__icon .ico { width: 18px; height: 18px; }
.contact-row__label { font-size: 12px; color: rgba(255, 255, 255, .55); }
.contact-row__value { font-size: 15px; font-weight: 600; direction: ltr; unicode-bidi: isolate; text-align: start; }
.contact-row__value.is-rtl { direction: rtl; }
.footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
}
.footer__demo { color: var(--cyan-300); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(135deg, #34e07a, var(--wa) 45%, var(--wa-dark));
  box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease);
}
.fab-wa .ico { width: 24px; height: 24px; }
.fab-wa:active { transform: scale(.96); }
body.no-scroll .fab-wa { display: none; }

/* ---------- Builder (overlay) ---------- */
.builder {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.builder__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 42, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.builder__panel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
  animation: panel-in .35s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.builder__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.builder__progress { flex: 1; min-width: 0; }
.builder__step {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 6px;
}
.progress {
  height: 6px;
  border-radius: 6px;
  background: var(--gray-100);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  transition: width .45s var(--ease);
}
.builder__body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 18px 30px;
  -webkit-overflow-scrolling: touch;
}
.builder__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.builder__foot .btn--ghost-dark { min-width: 120px; }

.screen { animation: fade-up .38s var(--ease); max-width: 640px; margin-inline: auto; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.screen__q {
  font-size: clamp(21px, 5.6vw, 27px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-900);
  outline: none;
}
.screen__sub { margin-top: 6px; color: var(--gray-500); font-size: 14.5px; }
.screen__body { margin-top: 20px; }

/* Options */
.options { display: grid; gap: 10px; }
.options--tiles { grid-template-columns: 1fr 1fr; }
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  text-align: start;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
.option:active { transform: scale(.98); }
.option.is-selected {
  border-color: var(--cyan-500);
  background: #f2fbfe;
  box-shadow: 0 0 0 4px rgba(25, 182, 230, .14);
}
.option__radio {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: grid;
  place-items: center;
  transition: border-color .2s, background .2s;
  margin-inline-start: auto;
}
.option.is-selected .option__radio { border-color: var(--cyan-500); background: var(--cyan-500); }
.option__radio::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform .2s;
}
.option.is-selected .option__radio::after { transform: scale(1); }

.option--tile {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 132px;
  padding: 16px;
}
.option__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cyan-100);
  color: var(--blue-500);
  transition: background .2s, color .2s;
}
.option__icon .ico { width: 24px; height: 24px; }
.option.is-selected .option__icon, .option--tile:active .option__icon {
  background: var(--navy-800);
  color: #fff;
}
.option__title { font-size: 15.5px; line-height: 1.3; }
.option__hint { display: block; font-size: 12px; font-weight: 500; color: var(--gray-500); margin-top: 3px; }

/* Follow-up inputs */
.followup {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px dashed rgba(25, 182, 230, .5);
  animation: fade-up .3s var(--ease);
}
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field__wrap { position: relative; display: flex; align-items: center; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font: inherit;
  font-size: 17px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(25, 182, 230, .14);
}
.field input[inputmode="numeric"] { direction: ltr; text-align: left; padding-left: 16px; padding-right: 64px; font-weight: 600; letter-spacing: .02em; }
.field__unit {
  position: absolute;
  right: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  pointer-events: none;
}
.field__note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
.field__note .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--cyan-500); }
.field__actions { display: flex; gap: 10px; margin-top: 12px; }
.field__actions .btn { flex: 1; }

/* Animation screens */
.anim { text-align: center; padding: 12px 0 20px; }
.anim__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
}
.anim__note { margin-top: 18px; font-size: 12.5px; color: var(--gray-500); }
.anim__bar {
  margin: 22px auto 0;
  max-width: 260px;
  height: 6px;
  border-radius: 6px;
  background: var(--gray-200);
  overflow: hidden;
}
.anim__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  animation: bar-fill var(--dur, 3.6s) linear forwards;
}
@keyframes bar-fill { to { width: 100%; } }
.anim__skip { margin-top: 14px; }

/* RO animation */
.ro {
  --step: .62s;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 340px;
}
.ro__stage {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 16px;
  opacity: .35;
  animation: stage-on .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * var(--step) + .2s);
}
@keyframes stage-on { to { opacity: 1; } }
.ro__icon {
  position: relative;
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  animation: ring-on .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * var(--step) + .3s);
}
@keyframes ring-on { to { border-color: var(--w); box-shadow: 0 0 0 5px rgba(63, 208, 245, .18); } }
.ro__icon .ico { width: 26px; height: 26px; position: relative; z-index: 1; }
.ro__fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0;
  background: var(--w);
  opacity: .45;
  animation: fill-up .7s var(--ease) forwards;
  animation-delay: calc(var(--i) * var(--step) + .3s);
}
.ro__fill::before {
  content: '';
  position: absolute;
  top: -6px; left: -20px; right: -20px;
  height: 10px;
  background: radial-gradient(12px 6px at 12px 6px, var(--w) 60%, transparent 62%) 0 0/24px 10px repeat-x;
  animation: ripple-x 1.4s linear infinite;
}
@keyframes ripple-x { to { transform: translateX(24px); } }
@keyframes fill-up { to { height: 68%; } }
.ro__text { text-align: start; }
.ro__text strong { display: block; font-size: 15.5px; color: var(--navy-900); }
.ro__text span { font-size: 12.5px; color: var(--gray-500); }
.ro__pipe {
  position: relative;
  width: 6px;
  height: 22px;
  margin-inline-start: 36px;
  border-radius: 6px;
  background: var(--gray-200);
  overflow: hidden;
}
.ro__pipe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan-500), var(--cyan-400));
  transform: scaleY(0);
  transform-origin: top;
  animation: pipe-v .45s var(--ease) forwards;
  animation-delay: calc(var(--i) * var(--step) + .55s);
}
@keyframes pipe-v { to { transform: scaleY(1); } }

/* Drill animation */
.drill-scene { margin: 22px auto 0; max-width: 380px; }
.drill-scene svg { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.drill-bore { transform-origin: 160px 74px; transform: scaleY(0); animation: bore-grow 2.6s linear forwards .3s; }
.drill-string { transform-origin: 160px 22px; transform: scaleY(.3); animation: string-grow 2.6s linear forwards .3s; }
.drill-bit { animation: bit-down 2.6s linear forwards .3s; }
.drill-water { transform-origin: 160px 208px; transform: scaleY(0); animation: water-rise .8s var(--ease) forwards 3s; }
.drill-aquifer { animation: aquifer-glow 1.2s ease-in-out infinite alternate 2.6s; }
.drill-wave { animation: drill-wave 2.4s linear infinite; }
.drill-dust { opacity: 0; animation: dust 1.2s ease-out infinite .4s; }
@keyframes bore-grow { to { transform: scaleY(1); } }
@keyframes string-grow { to { transform: scaleY(1); } }
@keyframes bit-down { to { transform: translateY(134px); } }
@keyframes water-rise { to { transform: scaleY(1); } }
@keyframes aquifer-glow { from { opacity: .55; } to { opacity: 1; } }
@keyframes drill-wave { to { transform: translateX(-40px); } }
@keyframes dust { 0% { opacity: 0; transform: translateY(0) scale(.6); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-26px) scale(1.4); } }

/* Generic ripple animation */
.ripple {
  position: relative;
  width: 120px; height: 120px;
  margin: 30px auto 0;
  display: grid;
  place-items: center;
}
.ripple__core {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-300), var(--blue-500));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-cyan);
  z-index: 1;
}
.ripple__core .ico { width: 26px; height: 26px; }
.ripple__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan-400);
  opacity: 0;
  animation: ring 1.8s ease-out infinite;
}
.ripple__ring:nth-child(2) { animation-delay: .6s; }
.ripple__ring:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }

/* Result */
.result {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.result::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500), var(--navy-700));
}
.result__check {
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(63, 208, 245, .18), transparent 70%);
}
.result__check svg { width: 64px; height: 64px; }
.result__check circle {
  fill: none;
  stroke: var(--cyan-500);
  stroke-width: 2.2;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw .8s var(--ease) forwards;
}
.result__check path {
  fill: none;
  stroke: var(--cyan-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw .5s var(--ease) forwards .55s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.result__title {
  margin-top: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
}
.result__sub { text-align: center; color: var(--gray-500); font-size: 14px; margin-top: 4px; }
.summary {
  margin: 20px 0 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}
.summary__row {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}
.summary__row:nth-child(odd) { background: var(--gray-50); }
.summary__row:last-child { border-bottom: 0; }
.summary__row dt { color: var(--gray-500); font-weight: 500; }
.summary__row dd { margin: 0; font-weight: 700; color: var(--navy-900); word-break: break-word; }
.summary__row dd.is-ltr { direction: ltr; text-align: end; unicode-bidi: isolate; }
.disclaimer {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #f6dfa8;
  color: #7a5a12;
  font-size: 13px;
  line-height: 1.65;
}
.disclaimer .ico { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.tip {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cyan-100);
  border: 1px solid rgba(25, 182, 230, .3);
  color: var(--navy-800);
  font-size: 13.5px;
  line-height: 1.65;
}
.tip .ico { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; color: var(--cyan-500); }
.result__actions { margin-top: 20px; display: grid; gap: 10px; }
.result__wa-note { text-align: center; font-size: 12.5px; color: var(--gray-500); margin-top: 4px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet ≥ 640px ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .journey { --node: 68px; padding: 22px 22px 20px; }
  .hero__scene { margin-inline: 0; }
  .node__label { font-size: 13px; }
  .journey__card p { font-size: 14px; }
  .hero { padding: 56px 0 120px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__item:last-child { grid-column: span 2; }
  .projects__track { padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter)); }
  .project-card { flex: 0 0 300px; }
  .options { grid-template-columns: 1fr 1fr; }
  .options--tiles { grid-template-columns: repeat(3, 1fr); }
  .options--single { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: 60px; }
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; text-align: start; }
  .ro { max-width: 640px; flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .ro__stage { flex-direction: column; text-align: center; width: 104px; padding: 6px 4px; gap: 10px; }
  .ro__text { text-align: center; }
  .ro__text strong { font-size: 14px; }
  .ro__text span { font-size: 11.5px; }
  .ro__pipe { width: auto; flex: 1; height: 6px; margin: 30px 0 0; }
  .ro__pipe::before { background: linear-gradient(90deg, var(--cyan-500), var(--cyan-400)); transform: scaleX(0); transform-origin: right; animation-name: pipe-h; }
  @keyframes pipe-h { to { transform: scaleX(1); } }
  .builder { align-items: center; padding: 24px; }
  .builder__panel {
    height: auto;
    max-height: min(880px, calc(100vh - 48px));
    max-width: 720px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(4, 18, 42, .5);
  }
  .builder__body { padding: 28px 30px 34px; }
  .builder__head, .builder__foot { padding-inline: 22px; }
  .result { padding: 30px 28px 26px; }
  .result__actions { grid-template-columns: 1fr; }
}

/* ---------- Desktop ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .hero { padding: 72px 0 140px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .hero__actions .btn { flex: 0 1 auto; min-width: 220px; }
  .journey { --node: 70px; padding: 24px 22px 22px; }
  .node__label { font-size: 14px; }
  .trust__list { grid-template-columns: repeat(3, 1fr); }
  .trust__item:last-child { grid-column: auto; }
  .trust__item:nth-child(4), .trust__item:nth-child(5) { grid-column: span 1; }
  .section { padding: 88px 0; }
  .project-card { flex: 0 0 320px; }
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .project-card:hover img { transform: scale(1.05); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
