/* Elimetra by KOST-RUCTION — shared stylesheet.
   No frameworks, no external fonts, no JavaScript. System font stacks only. */

:root {
  --maroon: #6E1423;
  --maroon-dark: #4E0E19;
  --maroon-light: #8a2436;
  --ink: #201417;
  --paper: #ffffff;
  --paper-soft: #faf6f6;
  --line: #e4d6d8;
  --muted: #6b5a5c;
  --max-w: 1040px;
  --radius: 10px;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

html[dir="rtl"] body { font-family: var(--font-ar); }

img, svg { max-width: 100%; }

a { color: var(--maroon); text-decoration-thickness: 1.5px; }
a:hover { color: var(--maroon-dark); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

header.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand .mark { flex: none; }
.brand .name-en { color: var(--maroon); }

.head-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.head-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
}
.head-nav a:hover { color: var(--maroon); }

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
}
.lang-switch a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a[aria-current="true"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper-soft), var(--paper) 70%);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  margin: 0 0 14px;
  color: var(--ink);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 22px;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--maroon);
}
.btn-solid { background: var(--maroon); color: #fff; }
.btn-solid:hover { background: var(--maroon-dark); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--paper-soft); }

.fact-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fact-strip .fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--paper);
}
.fact .k { display: block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fact .v { display: block; font-weight: 700; margin-top: 3px; }

/* ---------- generic section ---------- */

section.block {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: none; }

.block h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.block .section-intro {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 68ch;
}

.block-alt { background: var(--paper-soft); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: var(--paper);
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- roles / cards grid ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  background: var(--paper);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--maroon-dark); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- outputs list ---------- */

.outputs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.outputs-list li {
  border-inline-start: 3px solid var(--maroon);
  padding: 4px 0 4px 14px;
}
html[dir="rtl"] .outputs-list li { padding: 4px 14px 4px 0; }
.outputs-list b { display: block; }
.outputs-list span { color: var(--muted); font-size: 0.93rem; }

/* ---------- rules list ---------- */

.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.rules-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--paper);
}
.rules-list .bullet {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.rules-list p { margin: 0; }
.rules-list b { display: block; margin-bottom: 2px; }

/* ---------- pricing table ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 13px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: var(--paper-soft); }
.price-table .price { font-weight: 700; white-space: nowrap; }
.price-table .note { color: var(--muted); font-size: 0.9rem; }
.tag-planned {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--paper-soft);
  border: 1px solid var(--maroon-light);
  color: var(--maroon-dark);
  border-radius: 999px;
  padding: 2px 9px;
  margin-inline-start: 8px;
}
.price-note-block {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px;
  background: var(--paper);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: var(--maroon);
  font-weight: 700;
}
.faq details[open] summary::before { content: "\2212"; }
.faq .a { margin: 0 0 14px; color: var(--muted); }

/* ---------- contact ---------- */

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-box .email { font-weight: 700; font-size: 1.1rem; }

/* ---------- footer ---------- */

footer.site-foot {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.87rem;
}
footer.site-foot p { margin: 0 0 8px; max-width: 72ch; }
footer.site-foot a { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .outputs-list { grid-template-columns: 1fr; }
  .head-nav { gap: 12px; }
  .price-table { display: block; overflow-x: auto; }
  .contact-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 0 30px; }
  section.block { padding: 34px 0; }
}

/* ---------- the owner's painted logo (12/09/2026) ---------- */
.hero-logo { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 0 1.25rem; border-radius: 14px; }
[dir="rtl"] .hero-logo { margin-left: auto; margin-right: 0; }

/* ---------- elimetra_v2: picture-first (SITE_MEDIA, 13/09/2026) ---------- */
:root { --max-w: 1180px; }
.brand-logo { display: block; height: 46px; width: auto; }
.hero { padding: 40px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 34px; align-items: center; }
.hero-video { margin: 0; }
video.player { width: 100%; height: auto; display: block; border-radius: 10px; background: #1b0b0e;
  box-shadow: 0 6px 24px rgba(40, 10, 16, 0.18); }
.hero-video figcaption, .model-grid figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot { margin: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot a { display: block; }
.shot img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(40, 10, 16, 0.10); }
.shot figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 8px; }
.shot figcaption b { color: var(--ink); display: block; }
.step-rows { display: grid; gap: 28px; }
.step-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.step-text .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step-text h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step-text p { margin: 0; color: var(--muted); }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model-grid figure { margin: 0; }
.demo-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.cards-short .card p, .outputs-list span { font-size: 0.93rem; }
@media (max-width: 900px) {
  .hero-grid, .step-row, .model-grid, .gallery { grid-template-columns: 1fr; }
  .brand-logo { height: 38px; }
}
