@import url("/assets/fonts.css");

/* ============================================================
   واجهة — Wajha
   ------------------------------------------------------------
   The brand name means both a shop's facade and a screen's
   interface. The whole design runs on that equivalence: the
   client already paid for a physical واجهة — signage, awning, a
   lit frontage — and has nothing equivalent online.

   So the page is a bright plastered street in daylight, and every
   section is announced by a LIT SIGN: a dark acrylic plate with
   warm illuminated Arabic and a small Latin transliteration
   underneath, exactly how a shopfront sign is set in Riyadh.
   That plate is the one bold move; everything around it is quiet.
============================================================ */

:root {
  /* Plaster and daylight — a cool green-grey wall, not editorial cream */
  --paper: #e9ebe8;
  --paper-2: #f7f8f6;
  --paper-3: #dfe2de;

  /* Night, and the acrylic of a sign box */
  --night: #141a22;
  --slate: #232e3b;

  /* The sign itself: saturated shopfront red-orange, warm sodium glow */
  --signal: #ff4a17;
  --signal-deep: #d8350a;
  --glow: #ffd25e;

  --ink: #16191c;
  --muted: #666f6a;
  --line: rgba(20, 26, 34, 0.14);
  --line-soft: rgba(20, 26, 34, 0.08);

  --shadow-plate: 0 2px 4px rgba(20, 26, 34, 0.16), 0 18px 44px -12px rgba(20, 26, 34, 0.4);
  --shadow-card: 0 1px 2px rgba(20, 26, 34, 0.04), 0 12px 32px -14px rgba(20, 26, 34, 0.22);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --gut: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1220px;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--night);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus {
  inset-inline-start: 0;
}

/* ── Display type ───────────────────────────────────────────
   Alexandria is geometric and heavy enough to read as signage;
   Plex Arabic keeps the running text calm underneath it. */
.display {
  font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 800;
  /* Arabic ascenders and the hamza sit high; anything under ~1.25 makes
     stacked display lines collide at hero sizes. */
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   THE SIGN — the signature element
   A dark acrylic plate with the Arabic lit warm, the Latin
   transliteration small underneath, and a soft bloom behind it
   on the wall. Used for the hero, section headers and the CTA
   only, so it never becomes wallpaper.
══════════════════════════════════════════════════════════ */
.sign {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.85rem 1.75rem 0.7rem;
  background: linear-gradient(180deg, var(--slate) 0%, var(--night) 100%);
  border-radius: 10px;
  box-shadow: var(--shadow-plate);
  isolation: isolate;
}

/* The bloom the sign throws onto the plaster behind it. */
.sign::before {
  content: "";
  position: absolute;
  inset: -55% -30%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 210, 94, 0.42) 0%, transparent 68%);
  opacity: 0;
  animation: sign-bloom 1.1s var(--ease) 0.5s forwards;
  pointer-events: none;
}

/* The mounting bracket — two small posts, like a real fascia sign. */
.sign::after {
  content: "";
  position: absolute;
  inset-inline: 22%;
  bottom: -7px;
  height: 7px;
  background:
    linear-gradient(var(--slate), var(--slate)) 0 0 / 5px 100% no-repeat,
    linear-gradient(var(--slate), var(--slate)) 100% 0 / 5px 100% no-repeat;
  opacity: 0.55;
}

.sign__ar {
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  color: var(--glow);
  text-shadow: 0 0 18px rgba(255, 210, 94, 0.55), 0 0 42px rgba(255, 210, 94, 0.28);
  animation: sign-on 1.2s steps(1) forwards;
}

.sign__lat {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* Fluorescent tubes never come on cleanly. */
@keyframes sign-on {
  0%,
  14% {
    opacity: 0.16;
    text-shadow: none;
  }
  18%,
  22% {
    opacity: 1;
    text-shadow: 0 0 18px rgba(255, 210, 94, 0.55);
  }
  26%,
  34% {
    opacity: 0.22;
    text-shadow: none;
  }
  38% {
    opacity: 1;
  }
  44%,
  48% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 18px rgba(255, 210, 94, 0.55), 0 0 42px rgba(255, 210, 94, 0.28);
  }
}

@keyframes sign-bloom {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sign__ar {
    animation: none;
  }
  .sign::before {
    opacity: 1;
    animation: none;
  }
}

/* ── Section scaffolding ─────────────────────────────────── */
.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section__title {
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.35rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}

.section__lead {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  text-wrap: pretty;
}

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
}

.nav__in {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.9rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.nav__brand span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 1.9rem;
  margin-inline-start: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__links a {
  position: relative;
  padding-block: 0.35rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gut) 1.25rem;
  }
  .nav.is-open .nav__links a {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}

.btn--signal {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(255, 74, 23, 0.75);
}
.btn--signal:hover {
  background: var(--signal-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(255, 74, 23, 0.85);
}

.btn--night {
  background: var(--night);
  color: #fff;
}
.btn--night:hover {
  background: var(--slate);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.btn--lg {
  padding: 1.1rem 2.3rem;
  font-size: 1.05rem;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
}

/* Plaster tooth — a very faint speckle so the background reads as a
   wall rather than a flat fill. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 26, 34, 0.055) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.hero .sign {
  padding: 1.15rem 2.6rem 1rem;
}
.hero .sign__ar {
  font-size: clamp(1.75rem, 4.4vw, 2.7rem);
  line-height: 1.4;
}
.hero .sign__lat {
  font-size: 0.7rem;
}

.hero__thesis {
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.hero__thesis em {
  font-style: normal;
  color: var(--muted);
}

.hero__sub {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* The terms strip — three facts, set like a receipt line. */
.terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.2rem;
  padding-top: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.terms span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.terms span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
}

/* ══════════════════════════════════════════════════════════
   THE STREET — the argument, told as shopfronts
   Replaces the old percentage stats, which were unsourced.
══════════════════════════════════════════════════════════ */
.street {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.shop {
  position: relative;
  background: var(--paper-2);
  padding: 2.4rem 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-height: 260px;
  justify-content: center;
  transition: background 0.35s var(--ease);
}

/* The awning above each shopfront. */
.shop::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--paper-3) 0 14px,
    var(--paper-2) 14px 28px
  );
  border-bottom: 1px solid var(--line-soft);
}

.shop__plate {
  width: 100%;
  max-width: 168px;
  padding: 0.7rem 0.9rem 0.55rem;
  border-radius: 7px;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.shop__plate b {
  display: block;
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
}
.shop__plate small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.15rem;
}

.shop__note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 24ch;
  line-height: 1.6;
}

/* Lit: the businesses that do have a site. */
.shop.is-lit .shop__plate {
  background: linear-gradient(180deg, var(--slate), var(--night));
  color: var(--glow);
  box-shadow: 0 0 24px -4px rgba(255, 210, 94, 0.45), var(--shadow-card);
}
.shop.is-lit .shop__plate small {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

/* Dark: the one that doesn't. Deliberately the odd one out. */
.shop.is-dark {
  background: var(--paper-3);
}
.shop.is-dark .shop__plate {
  border-style: dashed;
  border-color: var(--muted);
  background: transparent;
}
.shop.is-dark .shop__note {
  color: var(--signal-deep);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.grid {
  display: grid;
  gap: 1.15rem;
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 1.9rem 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--night);
  color: var(--glow);
  margin-bottom: 1.15rem;
}
.card__icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 880px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.plan {
  position: relative;
  background: var(--night);
  color: #fff;
  border-radius: 20px;
  padding: clamp(1.9rem, 3.5vw, 2.75rem);
  overflow: hidden;
}
.plan::before {
  content: "";
  position: absolute;
  inset-inline-end: -18%;
  top: -35%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 210, 94, 0.16) 0%, transparent 66%);
  pointer-events: none;
}

.plan__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glow);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.9rem 0 0.4rem;
}
.plan__price b {
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.plan__price span {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
}

.plan__terms {
  margin: 0 0 1.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.plan__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}
.plan__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background: var(--signal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 13px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 13px no-repeat;
}

.addons {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.25rem);
}
.addons h3 {
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}
.addons > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.addons dl {
  margin: 0;
  display: grid;
  gap: 0;
}
.addons div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}
.addons div:last-of-type {
  border-bottom: 0;
}
.addons dt {
  font-size: 0.96rem;
}
.addons dd {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.addons__foot {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   PROCESS — a real 7-day sequence, so numbering is earned
══════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-2);
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.step:last-child {
  border-bottom: 0;
}
.step:hover {
  background: var(--paper);
}
.step__day {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-deep);
  background: color-mix(in srgb, var(--signal) 12%, transparent);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 0.15rem;
}
.step h3 {
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   WORK
══════════════════════════════════════════════════════════ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.15rem;
}

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.9rem 1.75rem;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.work:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.work--live {
  background: var(--night);
  color: #fff;
  border-color: transparent;
}
.work--live .work__kind {
  color: var(--glow);
}
.work--live p {
  color: rgba(255, 255, 255, 0.7);
}
.work--live .work__go {
  color: var(--glow);
}

.work__kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-deep);
}
.work h3 {
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.35;
}
.work p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}
.work__go {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--signal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.work__go::after {
  content: "←";
  transition: transform 0.3s var(--ease);
}
.work:hover .work__go::after {
  transform: translateX(-4px);
}

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.45rem 0.25rem;
  font-family: "Alexandria", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--signal-deep);
}
.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>")
    center / 12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>")
    center / 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  margin: 0;
  padding: 0 0.25rem 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 68ch;
}

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact {
  background: var(--night);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset-inline-start: -12%;
  bottom: -40%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 74, 23, 0.2) 0%, transparent 65%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__aside {
  position: relative;
}
.contact__aside h2 {
  font-family: "Alexandria", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 0.9rem;
}
.contact__aside > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.75;
}

.contact__rows {
  display: grid;
  gap: 0.4rem;
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact__row svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--glow);
}
.contact__row div {
  min-width: 0;
}
.contact__row small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.contact__row b {
  font-weight: 600;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

/* Form */
.form {
  position: relative;
  display: grid;
  gap: 1.05rem;
}
.field {
  display: grid;
  gap: 0.45rem;
}
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.field label .req {
  color: var(--signal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea {
  resize: vertical;
  min-height: 104px;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 9 6 6 6-6' fill='none' stroke='rgba(255,255,255,.5)' stroke-width='2.2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 15px;
  padding-inline-start: 2.6rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(255, 255, 255, 0.08);
}
.field select option {
  background: var(--night);
  color: #fff;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
}

.form__msg {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 11px;
  font-size: 0.94rem;
  line-height: 1.6;
}
.form__msg.is-err {
  display: block;
  background: rgba(255, 74, 23, 0.13);
  border: 1px solid rgba(255, 74, 23, 0.4);
  color: #ffb9a3;
}

.form__done {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form__done b {
  display: block;
  font-family: "Alexandria", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.form__done p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}
.form__done .ref {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}
.is-sent .form {
  display: none;
}
.is-sent .form__done {
  display: block;
}

/* Honeypot */
.hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.foot {
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--line);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.foot__links a:hover {
  color: var(--ink);
}
.foot__copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════════════════════ */
.wa {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px -10px rgba(20, 26, 34, 0.55);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s;
}
.wa.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa:hover {
  background: #1fb356;
}
.wa svg {
  width: 21px;
  height: 21px;
  flex: none;
}
@media (max-width: 520px) {
  .wa span {
    display: none;
  }
  .wa {
    padding: 0.9rem;
  }
}

/* ══════════════════════════════════════════════════════════
   REVEAL
══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
