/* ============================================================
   RAHmen Haushaltsservice — monochrome modern, bilingual
   ============================================================ */

:root {
  --accent: #111111;
  --accent-ink: #ffffff;
  /* Accent variants for use on DARK surfaces — in monochrome theme the accent
     (#111) is invisible on near-black, so it flips to white + dark ink. JS
     overrides these for the colored themes (Clay/Forest/Klein). */
  --accent-on-dark: #ffffff;
  --accent-on-dark-ink: #111111;
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #0d0d0d;
  --ink-2: #2a2a2a;
  --ink-3: #5b5b5b;
  --ink-4: #8a8a8a;
  --line: #e6e2da;
  --line-strong: #1a1a1a;
  --warn: #b54a2d;

  --font-display: "Space Grotesk", "Noto Kufi Arabic", sans-serif;
  --font-body: "DM Sans", "Noto Kufi Arabic", sans-serif;
  --font-ar: "Noto Kufi Arabic", "DM Sans", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1400px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[lang="ar"], [dir="rtl"] { font-family: var(--font-ar); letter-spacing: 0; }
[dir="rtl"] { direction: rtl; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600;
}
.lang-toggle button {
  padding: 6px 12px; border-radius: 999px; color: var(--ink-3);
  transition: all .15s ease; min-width: 40px;
}
.lang-toggle button.active { background: var(--ink); color: var(--accent-ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--ink); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--accent-ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ---------- LOGO ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; display: block; transition: transform .2s ease; }
.logo:hover .logo-img { transform: translateY(-1px); }
.footer .logo-img { height: 44px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  background: var(--paper);
  position: relative;
  transition: background .2s ease, color .2s ease;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid var(--ink); opacity: .25;
}
.logo:hover .logo-mark { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.logo-text {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); letter-spacing: 0.02em; }

/* ---------- HERO ---------- */
.hero { padding: 48px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(48px, 7.5vw, 104px);
  margin-top: 28px;
}
.hero h1 .it { font-style: italic; font-family: "Space Grotesk", serif; font-weight: 400; }
.hero h1 .ar { display: block; font-family: var(--font-ar); font-weight: 700; font-size: 0.72em; line-height: 1; margin-top: 12px; color: var(--ink-2); }

/* Arabic: italic falls back ugly — use Kufi heavy weight + ink-2 for emphasis */
[dir="rtl"] .it { font-style: normal; font-family: var(--font-ar); font-weight: 800; color: var(--ink-2); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-3); max-width: 46ch; margin-top: 24px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-side {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-side-h { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.hero-side-h .muted { color: var(--ink-4); font-weight: 400; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: 20px; }
.hero-stat { background: var(--paper); padding: 18px 16px; }
.hero-stat b { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.hero-stat span { display: block; color: var(--ink-3); font-size: 12px; margin-top: 4px; }

.region-tag {
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.region-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-image-strip {
  flex: 1; display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin: 20px 0;
  min-height: 200px;
}

/* image-free hero side: service list */
.hero-list { flex: 1; list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; }
.hero-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.hero-list li:last-child { border-bottom: 0; }
.hero-list-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }

/* image-free process section */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proc-step { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.proc-n { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; }
.proc-step h4 { font-size: 20px; font-weight: 600; }
.proc-step p { font-size: 14px; color: var(--ink-3); margin-top: auto; }

/* image-free about panel */
.about-panel { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--ink); color: #fff; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.about-panel-top { display: flex; align-items: center; justify-content: space-between; }
.about-monogram { height: 52px; width: auto; display: block; }
.about-panel-tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.about-quote { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.about-facts { display: grid; gap: 0; margin: 0; }
.about-facts > div { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.about-facts dt { color: rgba(255,255,255,0.55); font-size: 13px; }
.about-facts dd { margin: 0; font-weight: 500; font-size: 14px; font-family: var(--font-display); }
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 10px, transparent 10px 20px),
    color-mix(in srgb, var(--ink) 6%, var(--paper));
  border-radius: 10px;
  display: flex; align-items: flex-end; padding: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: var(--ink-3); letter-spacing: 0.04em;
  position: relative; overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--paper) 70%, transparent));
}
.ph > span { position: relative; }

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink-2); letter-spacing: -0.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track svg { flex: 0 0 auto; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- SECTION HEAD ---------- */
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.section-num {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink-4); letter-spacing: 0.05em;
}
.section-title { font-size: clamp(36px, 4.6vw, 64px); }
.section-title .it { font-style: italic; font-weight: 400; }
.section-sub { color: var(--ink-3); max-width: 50ch; margin-top: 12px; font-size: 16px; }

[dir="rtl"] .section-head { grid-template-columns: 1fr auto; }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  grid-column: span 4;
  background: var(--paper);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 280px;
  position: relative;
  transition: background .25s ease, color .25s ease;
}
.service:hover { background: var(--ink); color: var(--accent-ink); }
.service:hover .service-num, .service:hover .service-desc { color: var(--accent-ink); opacity: 0.7; }
.service:hover .service-arrow { transform: translateX(4px); }
.service-num { font-family: var(--font-display); font-size: 12px; color: var(--ink-4); font-weight: 500; letter-spacing: 0.1em; }
.service-icon { width: 56px; height: 56px; }
.service-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.service h3 { font-size: 22px; font-weight: 600; }
.service h3 .ar { display: block; font-family: var(--font-ar); font-size: 14px; font-weight: 500; margin-top: 4px; opacity: 0.6; }
.service-desc { font-size: 14px; color: var(--ink-3); margin-top: auto; }
.service-arrow { position: absolute; top: 28px; right: 28px; transition: transform .25s ease; }
[dir="rtl"] .service-arrow { right: auto; left: 28px; transform: scaleX(-1); }
[dir="rtl"] .service:hover .service-arrow { transform: scaleX(-1) translateX(4px); }

/* Featured first card */
.service.feature { grid-column: span 8; background: var(--ink); color: var(--accent-ink); }
.service.feature .service-num, .service.feature .service-desc { color: var(--accent-ink); opacity: 0.7; }
.service.feature h3 { font-size: 36px; }
.service.feature h3 .ar { font-size: 20px; margin-top: 8px; }

/* ---------- QUOTE FLOW ---------- */
.quote {
  background: var(--ink); color: var(--accent-ink);
  border-radius: 24px; padding: clamp(28px, 4vw, 56px);
  position: relative; overflow: hidden;
}
.quote-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.quote-side h3 { font-size: clamp(32px, 3.6vw, 52px); }
.quote-side .ar { display: block; font-family: var(--font-ar); font-weight: 600; font-size: 0.5em; margin-top: 10px; opacity: 0.7; }
.quote-side p { color: rgba(255,255,255,0.65); margin-top: 20px; font-size: 15px; max-width: 38ch; }
.quote-side .eyebrow .dot { background: var(--accent-on-dark); }
.quote-progress { margin-top: 36px; display: flex; gap: 6px; }
.quote-progress span { height: 3px; flex: 1; background: rgba(255,255,255,0.15); border-radius: 2px; transition: background .3s ease; }
.quote-progress span.active { background: var(--accent-on-dark); }
.quote-progress span.done { background: rgba(255,255,255,0.9); }

.quote-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  min-height: 440px;
  display: flex; flex-direction: column;
}
.quote-step-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.quote-step-head .num { font-family: var(--font-display); font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.quote-step-head h4 { font-size: 22px; font-weight: 600; }

.quote-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: start; transition: all .15s ease; cursor: pointer;
  font-size: 14px; font-weight: 500;
}
.quote-chip:hover { background: rgba(255,255,255,0.08); }
.quote-chip.selected { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--accent-on-dark-ink); }
.quote-chip-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.quote-chip-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.quote-chip-check { margin-inline-start: auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; flex: 0 0 18px; }
.quote-chip.selected .quote-chip-check { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.2); }
.quote-chip.selected .quote-chip-check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: white; }

.quote-field { display: flex; flex-direction: column; gap: 6px; }
.quote-field label { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
.quote-field input, .quote-field select, .quote-field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08);
}
.quote-field input::placeholder, .quote-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-row.three { grid-template-columns: 1fr 1fr 1fr; }
.quote-fields { display: flex; flex-direction: column; gap: 18px; }

.quote-radio-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quote-radio {
  padding: 14px 8px; border-radius: 10px; text-align: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s ease;
}
.quote-radio:hover { background: rgba(255,255,255,0.08); }
.quote-radio.selected { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--accent-on-dark-ink); }
.quote-radio b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 2px; }

.quote-summary { display: flex; flex-direction: column; gap: 14px; }
.quote-summary-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.quote-summary-row span:first-child { color: rgba(255,255,255,0.55); }
.quote-summary-row span:last-child { font-weight: 500; text-align: end; }
.quote-summary-row.total { border-bottom: 0; padding-top: 20px; }
.quote-summary-row.total span:first-child { color: white; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.quote-summary-row.total span:last-child, .quote-summary-row.total .total-val { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--accent-on-dark); }

.quote-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.quote-btn {
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, background .15s ease;
}
.quote-btn-next { background: var(--accent-on-dark); color: var(--accent-on-dark-ink); }
.quote-btn-next:hover { transform: translateY(-1px); filter: brightness(1.1); }
.quote-btn-back { color: rgba(255,255,255,0.6); }
.quote-btn-back:hover { color: white; }
.quote-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.quote-done {
  text-align: center; padding: 40px 0; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; flex: 1;
}
.quote-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-on-dark); display: grid; place-items: center; color: var(--accent-on-dark-ink); }
.quote-done h4 { font-size: 28px; font-weight: 600; }
.quote-done p { color: rgba(255,255,255,0.6); max-width: 36ch; font-size: 14px; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery-card {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column;
}
.gallery-card.a { grid-column: span 7; }
.gallery-card.b { grid-column: span 5; }
.gallery-card.c { grid-column: span 4; }
.gallery-card.d { grid-column: span 4; }
.gallery-card.e { grid-column: span 4; }
.gallery-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); aspect-ratio: 16/10; }
.gallery-ba .ph { border-radius: 0; min-height: 100%; }
.gallery-meta { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.gallery-meta h4 { font-size: 18px; font-weight: 600; }
.gallery-meta .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ba-badge {
  position: absolute; top: 12px;
  padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0,0,0,0.7); color: white; backdrop-filter: blur(6px);
}
.ba-badge.vor { left: 12px; }
.ba-badge.nach { left: calc(50% + 6px); background: var(--accent); }
[dir="rtl"] .ba-badge.vor { left: auto; right: 12px; }
[dir="rtl"] .ba-badge.nach { left: auto; right: calc(50% + 6px); }

/* ---------- REVIEWS ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  padding: 28px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px;
}
.review-stars { display: flex; gap: 2px; color: var(--accent); }
.review p { font-size: 16px; line-height: 1.5; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.review-author b { font-size: 14px; font-weight: 600; display: block; }
.review-author span { font-size: 12px; color: var(--ink-3); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.about-image .ph { min-height: 100%; border-radius: var(--radius); }
.about-body h3 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 24px; }
.about-body p { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.about-body p + p { margin-top: 16px; }
.about-bullets { margin-top: 32px; display: grid; gap: 12px; }
.about-bullet { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.about-bullet b { font-family: var(--font-display); font-weight: 600; min-width: 32px; color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer h5 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: white; margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: white; }
.footer-cta { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); color: white; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; max-width: 18ch; }
.footer-cta .it { font-style: italic; color: var(--accent-on-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer .logo-mark { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.footer .logo-mark::after { border-color: rgba(255,255,255,0.4); }
.footer .logo-text { color: white; }
.footer .logo-text small { color: rgba(255,255,255,0.5); }

/* ---------- RTL helpers ---------- */
[dir="rtl"] .section-num { letter-spacing: 0; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  display: flex; justify-content: center;
  animation: cookieUp .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes cookieUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.cookie-inner {
  display: flex; align-items: center; gap: 20px;
  max-width: 880px; width: 100%;
  background: var(--ink); color: rgba(255,255,255,0.85);
  border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.cookie-text { font-size: 13px; line-height: 1.5; }
.cookie-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie-btn {
  flex: 0 0 auto; background: var(--accent); color: var(--accent-ink);
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: transform .15s ease, filter .15s ease;
}
.cookie-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
@media (max-width: 560px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .cookie-btn { width: 100%; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .services { grid-template-columns: 1fr; }
  .service, .service.feature { grid-column: span 12; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card.a, .gallery-card.b, .gallery-card.c, .gallery-card.d, .gallery-card.e { grid-column: span 12; }
  .reviews { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .quote-services-grid { grid-template-columns: 1fr; }
  .quote-radio-group { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero { padding: 32px 0 56px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .quote-row, .quote-row.three { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .about-panel { aspect-ratio: auto; }
}
