:root {
  --ink: #111111;
  --paper: #f3ede4;
  --cream: #faf6f0;
  --orange: #e85d04;
  --orange-deep: #c2410c;
  --cobalt: #1b4dff;
  --navy: #0b1c3f;
  --muted: #6f675d;
  --line: #111111;
  --ok: #1f7a4d;
  --shadow: 6px 6px 0 #111;
  --shadow-sm: 3px 3px 0 #111;
  --radius: 0;
  --font-display: "Syne", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans SC", sans-serif;
  --font-serif: "Instrument Serif", "Noto Naskh Arabic", "Noto Serif Hebrew", "Noto Serif SC", serif;
  --font-body: "IBM Plex Sans", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans SC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 22px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: -0.04em;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  right: -5px;
  bottom: -5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-blue {
  background: var(--cobalt);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  background: var(--cream);
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 48px 0 72px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
}

.stamp {
  display: inline-block;
  border: 3px solid var(--ink);
  padding: 6px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  background: #fff;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  max-width: 11ch;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-deep);
}

.lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.12rem;
  color: #2b2b2b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.frame {
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: -22px;
  width: min(260px, 70%);
  background: var(--cream);
  border: 3px solid var(--ink);
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.float-card strong {
  font-family: var(--font-display);
  display: block;
  font-size: 14px;
}

.float-card p {
  font-size: 13px;
  color: var(--muted);
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: var(--ok);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* MARQUEE */
.marquee {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  padding: 12px 0;
  animation: slide 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.marquee-track span::before {
  content: "●";
  color: var(--orange);
  margin-right: 40px;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: end;
}

.section-head p {
  color: #333;
  max-width: 50ch;
}

/* SERVICES */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--cream);
  border: 3px solid var(--ink);
  padding: 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.card:nth-child(2) { background: #fff; }
.card:nth-child(3) { background: #ffe8d6; }
.card:nth-child(4) { background: #dbe4ff; }
.card:nth-child(5) { background: #fff; }
.card:nth-child(6) { background: #f3ede4; }

.card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 28px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.card p {
  color: #3a3a3a;
  font-size: 0.95rem;
}

.card .more {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.split-visual .frame img {
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 2px solid var(--ink);
}

.step:first-child {
  border-top: 2px solid var(--ink);
}

.step-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.poster {
  border: 3px solid var(--ink);
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.15), rgba(17,17,17,0.55)),
    url("../img/canal.jpg") center/cover;
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.poster h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  line-height: 1;
}

.facts {
  display: grid;
  gap: 14px;
}

.fact {
  border: 3px solid var(--ink);
  background: #fff;
  padding: 18px 20px;
}

.fact b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
}

/* FORM */
.intake {
  background: var(--navy);
  color: #f6f1ea;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.intake h2 {
  color: #fff;
}

.intake .eyebrow {
  color: #fff;
}

.intake .eyebrow::before {
  background: var(--orange);
}

.form-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 12px 12px;
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.note {
  font-size: 13px;
  color: #cfc6b8;
  margin-top: 10px;
}

.success {
  display: none;
  border: 3px solid #fff;
  padding: 22px;
  background: #12301f;
}

.success.show {
  display: block;
}

/* FAQ */
.faq details {
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 10px 0 6px;
  color: #333;
  max-width: 70ch;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.foot-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 12px;
  color: #bdb6ac;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* INNER PAGES */
.page-hero {
  padding: 56px 0 28px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.service-detail {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  border: 3px solid var(--ink);
  background: #fff;
  padding: 22px;
}

.service-row h2 {
  font-size: 1.5rem;
}

/* MOBILE */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    gap: 14px;
  }

  .nav-links.open { display: flex; }

  .menu-toggle { display: grid; place-items: center; }

  .hero-grid,
  .section-head,
  .cards,
  .split,
  .why-grid,
  .form-grid,
  .foot-grid,
  .two,
  .service-row {
    grid-template-columns: 1fr;
  }

  .frame img,
  .split-visual .frame img {
    height: 280px;
    min-height: 0;
  }

  .float-card {
    left: 12px;
    bottom: -16px;
  }

  section { padding: 64px 0; }

  .lang-switch { width: 100%; }
}

/* Language + RTL */
.lang-switch {
  position: relative;
}

.lang-switch select {
  border: 3px solid var(--ink);
  background: #fff;
  padding: 8px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  min-width: 132px;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] h2,
html[dir="rtl"] .page-hero h1 {
  letter-spacing: 0;
}

html[dir="rtl"] .float-card {
  left: auto;
  right: -28px;
  transform: rotate(4deg);
}

html[dir="rtl"] .marquee-track {
  animation-name: slide-rtl;
}

@keyframes slide-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

html[lang="ar"] body,
html[lang="he"] body,
html[lang="zh"] body {
  font-size: 17px;
  line-height: 1.7;
}

html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] .brand {
  letter-spacing: 0;
}
