/* Ash Studio — آش ستوديو
   Palette: ash greys with one live ember. Type: Alexandria (display), Readex Pro (body),
   Handjet (dot-matrix wordmark and small tags). */

:root {
  --ash: #e8e9ea;        /* page */
  --smoke: #d6d9dc;      /* quiet panels, borders */
  --paper: #f8f8f7;      /* cards, phone screen */
  --charcoal: #1c1e21;   /* text, phone body */
  --cinder: #5a5f66;     /* secondary text */
  --ember: #1c1e21;      /* the accent: charcoal (orange removed 2026-10-26) */
  --ember-glow: #d6d9dc; /* the accent on dark blocks */

  --f-d: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --f-b: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --f-dot: "Handjet", "Alexandria", monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ash); color: var(--charcoal);
  font-family: var(--f-b); font-size: 1.0625rem; line-height: 1.7;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 50; background: var(--charcoal); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--f-d); line-height: 1.25; }
h1 { font-weight: 800; font-size: clamp(2rem, 6.2vw, 3.9rem); letter-spacing: -.01em; max-width: 17ch; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-weight: 600; font-size: 1.15rem; }
html[lang="en"] h1 { letter-spacing: -.03em; line-height: 1.08; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .6rem 1.5rem;
  border: 0; border-radius: 999px; text-decoration: none; font-family: var(--f-d); font-weight: 600; font-size: 1rem;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #000; }
.btn-dark { background: var(--charcoal); color: var(--paper); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(232, 233, 234, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--smoke); }
.top-in { display: flex; align-items: center; gap: .75rem; height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; margin-inline-end: auto; }
.logo-mark { font-family: var(--f-dot); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--ember); letter-spacing: .04em; }
.logo-sub { font-family: var(--f-d); font-weight: 600; font-size: .95rem; color: var(--charcoal); }
.top-nav { display: none; gap: 1.6rem; font-size: .95rem; }
.top-nav a { text-decoration: none; color: var(--cinder); }
.top-nav a:hover { color: var(--charcoal); }
.lang { min-width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--smoke); background: transparent; font-family: var(--f-d); font-weight: 600; font-size: .85rem; }
.lang:hover { border-color: var(--charcoal); }
.top-cta { min-height: 48px; padding-inline: 1.2rem; font-size: .92rem; }
@media (min-width: 860px) { .top-nav { display: flex; margin-inline-end: 1.2rem; } }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  /* drifting ash: a faint dot field that thins out toward the text edge */
  background:
    linear-gradient(to left, var(--ash) 35%, transparent 100%),
    radial-gradient(circle, rgba(28, 30, 33, .16) 1.2px, transparent 1.6px) 0 0 / 18px 18px;
}
html[dir="ltr"] .hero { background: linear-gradient(to right, var(--ash) 35%, transparent 100%), radial-gradient(circle, rgba(28, 30, 33, .16) 1.2px, transparent 1.6px) 0 0 / 18px 18px; }
.kicker { font-family: var(--f-dot); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--ember); margin-bottom: 1rem; letter-spacing: .03em; }
.lead { margin-top: 1.4rem; max-width: 46ch; font-size: 1.15rem; color: var(--cinder); }

/* ---------- Work: tabs + phone ---------- */
.work { padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--smoke); margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.tab { min-height: 48px; padding: .4rem 1.3rem; border: 0; border-radius: 999px; background: transparent; font-family: var(--f-d); font-weight: 600; font-size: .98rem; color: var(--cinder); transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--charcoal); color: var(--paper); }

.panel { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; animation: panel-in .45s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 860px) { .panel { grid-template-columns: auto 1fr; } }

.phone {
  --w: 300px; --h: 610px;
  width: var(--w); height: var(--h); margin-inline: auto; padding: 10px; border-radius: 42px;
  background: var(--charcoal); box-shadow: 0 30px 60px -28px rgba(28, 30, 33, .55), 0 0 0 1px rgba(28, 30, 33, .1);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--paper); }
/* demo site rendered at 375px wide, scaled to the 280px screen */
.screen.site { direction: ltr; }
.screen.site iframe { position: absolute; top: 0; left: 0; width: 375px; height: 790px; border: 0; transform: scale(.7467); transform-origin: 0 0; }

.panel-copy h3 { font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); max-width: 20ch; }
.panel-copy > p { margin-top: 1rem; color: var(--cinder); max-width: 46ch; }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: -.6rem 0 1.6rem; font-weight: 500; }
.live-tag { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-dot); font-weight: 700; font-size: 1.1rem; line-height: 1; padding: .3rem .7rem; border-radius: 999px; background: var(--charcoal); color: var(--paper); letter-spacing: .03em; }
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember-glow); }
.live a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.live a:hover { color: var(--ember); }
.gets { margin: 1.6rem 0 2rem; display: grid; gap: .85rem; max-width: 50ch; }
.gets li { position: relative; padding-inline-start: 1.5rem; }
.gets li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }

/* ---------- Booking mini-demo ---------- */
.book { display: flex; flex-direction: column; padding: 1.4rem 1rem 1rem; font-size: .92rem; line-height: 1.5; }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--smoke); font-family: var(--f-d); }
.pill { font-family: var(--f-dot); font-weight: 500; font-size: 1rem; line-height: 1; padding: .25rem .6rem; border-radius: 999px; background: var(--charcoal); color: var(--paper); letter-spacing: .04em; }
.book-step { display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.book-step[hidden] { display: none; }
.book-q { font-family: var(--f-d); font-weight: 600; font-size: 1.05rem; margin-bottom: .3rem; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 56px; padding: .6rem .9rem; border: 1px solid var(--smoke); border-radius: var(--radius); background: #fff; text-align: start; transition: border-color .2s, transform .2s var(--ease); }
.opt b { font-family: var(--f-dot); font-weight: 700; font-size: 1.15rem; color: var(--ember); white-space: nowrap; }
.opt:hover, .time:not(:disabled):hover { border-color: var(--charcoal); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.time { min-height: 48px; border: 1px solid var(--smoke); border-radius: 12px; background: #fff; font-family: var(--f-dot); font-weight: 700; font-size: 1.2rem; }
.time.taken { background: transparent; color: #a3a7ad; text-decoration: line-through; cursor: not-allowed; }
.book-note { font-size: .8rem; color: var(--cinder); }
.book-back { align-self: flex-start; margin-top: auto; min-height: 44px; padding: 0 .2rem; border: 0; background: none; color: var(--cinder); text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; }
.summary { display: grid; gap: .5rem; padding: .9rem; border-radius: var(--radius); background: var(--ash); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; }
.summary dt { color: var(--cinder); }
.summary dd { font-weight: 600; }
.book-confirm { width: 100%; margin-top: .4rem; }
.done { align-items: center; text-align: center; justify-content: center; }
.done .book-back { align-self: center; margin-top: 1rem; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ember); position: relative; margin-bottom: .6rem; }
.tick::after { content: ""; position: absolute; left: 22px; top: 16px; width: 16px; height: 28px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }

/* ---------- Included ---------- */
.included { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--paper); border-block: 1px solid var(--smoke); }
.inc-grid { margin-top: 2.2rem; display: grid; gap: 1.8rem 2.5rem; }
.inc-grid li { padding-top: 1.1rem; border-top: 2px solid var(--charcoal); }
.inc-grid p { margin-top: .5rem; color: var(--cinder); font-size: 1rem; }
@media (min-width: 640px) { .inc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .inc-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Steps (a real sequence, so it is numbered) ---------- */
.steps { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.step-list { margin-top: 2.2rem; display: grid; gap: 1.6rem; counter-reset: step; max-width: 720px; }
.step-list li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; }
.step-list li::before { content: counter(step); grid-row: span 2; font-family: var(--f-dot); font-weight: 700; font-size: 3rem; line-height: .9; color: var(--ember); }
.step-list p { color: var(--cinder); font-size: 1rem; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--ember); color: #fff; }
.contact-in { display: grid; gap: 1.8rem; align-items: center; }
.contact h2 { max-width: 22ch; }
.contact p { margin-top: .7rem; opacity: .9; }
.contact .btn { justify-self: start; min-height: 58px; padding-inline: 2rem; font-size: 1.05rem; }
.contact :focus-visible { outline-color: #fff; }
@media (min-width: 860px) { .contact-in { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.foot { padding: 1.6rem 0; font-size: .88rem; color: var(--cinder); }
.foot-in { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.foot .logo { margin: 0; }
.foot .logo-mark { font-size: 1.7rem; }

@media (max-width: 420px) {
  .top-cta { display: none; }
  .tabs { display: flex; }
  .tab { flex: 1; padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Prices ---------- */
.prices { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.prices-lead { margin-top: .8rem; max-width: 52ch; color: var(--cinder); }
.plans { margin-top: 2.2rem; display: grid; gap: 1rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.4rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--smoke); }
.plan h3 { font-weight: 800; font-size: 1.3rem; }
.plan-price { display: flex; align-items: baseline; gap: .4rem; }
.plan-price b { font-family: var(--f-dot); font-weight: 700; font-size: 3.4rem; line-height: .9; color: var(--ember); }
.plan-price span { font-family: var(--f-d); font-weight: 600; color: var(--cinder); }
.plan-for { color: var(--cinder); font-size: 1rem; }
.plan-list { display: grid; gap: .55rem; padding-top: .9rem; border-top: 1px solid var(--smoke); font-size: .98rem; margin-bottom: .4rem; }
.plan-list li { position: relative; padding-inline-start: 1.3rem; }
.plan-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.plan .btn { margin-top: auto; }
.btn-line { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--paper); }

.plans-all { margin-top: 1rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--smoke); }
.plans-all h3 { font-size: 1rem; margin-bottom: .7rem; }
.plans-all ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.plans-all li { padding: .35rem .85rem; border-radius: 999px; background: var(--paper); font-size: .92rem; }

.upkeep { margin-top: 1rem; display: grid; gap: 1.3rem; align-items: center; padding: 1.6rem 1.4rem; border-radius: 20px; background: var(--charcoal); color: var(--paper); }
.upkeep h3 { font-weight: 800; font-size: 1.3rem; }
.upkeep p { margin-top: .6rem; color: #c9ccd0; max-width: 60ch; font-size: 1rem; }
.upkeep .upkeep-note { color: var(--paper); border-inline-start: 3px solid var(--ember-glow); padding-inline-start: .9rem; }
.upkeep .btn-dark { background: var(--paper); color: var(--charcoal); justify-self: start; }
.upkeep :focus-visible { outline-color: var(--ember-glow); }
@media (min-width: 900px) { .upkeep { grid-template-columns: 1fr auto; } }

.needs { margin-top: 2.8rem; }
.needs h3 { font-weight: 800; font-size: 1.3rem; }
.needs ul { margin-top: 1.2rem; display: grid; gap: .7rem 2rem; max-width: 900px; }
@media (min-width: 700px) { .needs ul { grid-template-columns: repeat(2, 1fr); } }
.needs li { position: relative; padding-inline-start: 1.5rem; color: var(--charcoal); }
.needs li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 11px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--ember); }

/* ---------- Policy page ---------- */
.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.doc-in { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc-actions { margin-top: 1.6rem; }
.doc section { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 2px solid var(--charcoal); }
.doc h2 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); margin-bottom: .8rem; }
.doc section > p { color: var(--cinder); margin-bottom: .7rem; }
.doc-list { display: grid; gap: .7rem; }
.doc-list li { position: relative; padding-inline-start: 1.5rem; }
.doc-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.doc-foot { margin-top: 3rem; color: var(--cinder); }

@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  body { background: #fff; font-size: 11pt; line-height: 1.6; }
  .skip, .top, .foot, .doc-actions, .doc-foot { display: none !important; }
  .doc { padding: 0; }
  .doc-in { max-width: none; width: auto; }
  .doc section { margin-top: 1.1rem; padding-top: .7rem; break-inside: avoid; }
  .doc .lead { font-size: 11pt; margin-top: .5rem; }
  .doc h1 { font-size: 22pt; }
  .doc h2 { font-size: 13pt; margin-bottom: .4rem; }
  .doc-list { gap: .3rem; }
}
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .doc-contact { margin-top: .4rem; color: var(--cinder); font-size: 9.5pt; text-align: right; }
}
