/* =========================================================
   النجار في الرياض — Landing Page
   Mobile-first · RTL · No frameworks
   ========================================================= */

:root {
  /* Brand */
  --wood: #4A2C1B;
  --deep: #2A1B13;
  --beige: #F5EFE6;
  --cream: #FCFAF6;
  --gold: #C49A5A;
  --gold-ink: #8F6A33;          /* gold dark enough for small text on light bg */
  --charcoal: #202020;
  --wa: #25D366;
  --wa-btn: #1B9E4B;            /* readable white text on green */
  --wa-btn-hover: #168A40;

  /* Text & lines */
  --text: #2A1B13;
  --muted: #6E5D51;
  --line: rgba(74, 44, 27, .12);
  --line-strong: rgba(74, 44, 27, .22);
  --white: #fff;

  /* Type */
  --font-head: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-body: var(--font-head);   /* Cairo everywhere */

  /* Shape */
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(42, 27, 19, .06), 0 2px 8px rgba(42, 27, 19, .05);
  --shadow: 0 10px 30px -12px rgba(42, 27, 19, .22);
  --shadow-lg: 0 30px 60px -24px rgba(42, 27, 19, .38);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Wood-grain noise used on placeholders & dark sections */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' stitchTiles='stitch' baseFrequency='0.006 0.22' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 -.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; color: var(--deep); text-wrap: balance; }
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

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

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--deep); color: var(--cream); padding: 10px 18px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.6em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding-inline: 1.9em; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: .5em 1.15em; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--wa-btn); color: var(--white); box-shadow: 0 10px 24px -12px rgba(27, 158, 75, .75); }
.btn-wa:hover { background: var(--wa-btn-hover); }
.btn-primary { background: var(--wood); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(74, 44, 27, .7); }
.btn-primary:hover { background: var(--deep); }
.btn-outline { border-color: var(--line-strong); color: var(--wood); background: transparent; }
.btn-outline:hover { border-color: var(--wood); background: var(--wood); color: var(--cream); }
.btn-light { background: transparent; color: var(--cream); border-color: rgba(252, 250, 246, .35); }
.btn-light:hover { background: var(--cream); color: var(--deep); border-color: var(--cream); }
.icon-dir { transition: transform .25s var(--ease); }
.btn:hover .icon-dir, a:hover > .icon-dir { transform: translateX(-4px); }

/* ---------- Section heads ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }

.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--start { margin-inline: 0; text-align: start; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font-size: .875rem; font-weight: 600; color: var(--gold-ink);
}
.eyebrow::before, .section-head:not(.section-head--start) .eyebrow::after {
  content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7;
}
.eyebrow--light { color: var(--gold); }

.section-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Photo placeholders (replaced automatically by real images) ---------- */
.media { position: relative; display: block; overflow: hidden; background-color: var(--ph-b, #8A5A34); }
.ph {
  --ph-a: #C9A477; --ph-b: #8A5A34;
  background-image: var(--grain), linear-gradient(160deg, var(--ph-a), var(--ph-b));
  background-size: cover, cover;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; inset-inline: 16px; top: 50%; transform: translateY(-50%);
  margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(20, 12, 8, .28); border: 1px dashed rgba(255, 255, 255, .45);
  color: rgba(255, 255, 255, .92); font-size: .8125rem; font-weight: 500; line-height: 1.5; text-align: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.media img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img:not([hidden]))::after { content: none; }   /* label only when the photo is missing */
.ph--oak    { --ph-a: #D2AE80; --ph-b: #8E5E36; }
.ph--light  { --ph-a: #E8D8BF; --ph-b: #B28D62; }
.ph--teak   { --ph-a: #B07B4B; --ph-b: #5C3820; }
.ph--walnut { --ph-a: #75492B; --ph-b: #2E1C11; }
.ph--raw    { --ph-a: #B4ADA2; --ph-b: #6B645B; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(252, 250, 246, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 27, 19, .5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--wood) var(--grain); background-size: cover;
  color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(196, 154, 90, .45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--deep); }
.brand-text small { font-size: .75rem; color: var(--muted); }
.brand--light .brand-text strong { color: var(--cream); }
.brand--light .brand-text small { color: rgba(245, 239, 230, .65); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-wa span { display: none; }
.header-wa { width: 44px; padding: 0; }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--deep);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile drawer */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 12px var(--gutter) 28px;
  background: var(--cream); border-top: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(42, 27, 19, .5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-header.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
.main-nav a:not(.btn) {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: 1.0625rem;
}
.main-nav a.is-current { color: var(--gold-ink); }
.nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 560px) {
  .header-wa { width: auto; padding: .5em 1.15em; }
  .header-wa span { display: inline; }
}

@media (min-width: 1100px) {
  .nav-toggle, .nav-mobile-cta { display: none; }
  .main-nav {
    position: static; max-height: none; overflow: visible; padding: 0;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav a:not(.btn) {
    position: relative; padding: 8px 12px; border: 0;
    font-size: .9375rem; color: var(--wood); transition: color .2s;
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1.5px;
    background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .main-nav a:not(.btn):hover, .main-nav a.is-current { color: var(--deep); }
  .main-nav a:not(.btn):hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-block: 28px 56px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(196, 154, 90, .14), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--beige));
}
.hero-grid { display: grid; gap: 40px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 20px;
  border-radius: 999px; border: 1px solid rgba(196, 154, 90, .45);
  background: rgba(196, 154, 90, .1);
  font-size: .875rem; font-weight: 600; color: var(--wood);
}

.hero h1 { display: flex; flex-direction: column; gap: 12px; }
.h1-kicker { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--gold-ink); line-height: 1.6; }
.h1-main { font-size: clamp(2.1rem, 1.3rem + 3.8vw, 3.75rem); font-weight: 900; line-height: 1.3; }
.h1-main em { font-style: normal; color: var(--wood); background: linear-gradient(transparent 68%, rgba(196, 154, 90, .35) 68% 92%, transparent 92%); }

.hero-lead { margin-top: 20px; max-width: 560px; color: var(--muted); font-size: 1.125rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 220px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; color: var(--wood); }
.hero-trust .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--wood); color: var(--gold);
}

.hero-media { position: relative; }
.hero-photo { aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hero-chip {
  position: absolute; z-index: 2;
  background: rgba(252, 250, 246, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow);
}
.hero-chip--exp {
  inset-inline-end: 16px; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: var(--r);
}
.hero-chip--exp strong { font-family: var(--font-head); font-size: 2rem; font-weight: 900; line-height: 1; color: var(--wood); }
.hero-chip--exp > span { font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--muted); max-width: 5em; }
.hero-chip--tags {
  inset-inline-start: 16px; top: 16px;
  padding: 8px 16px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--deep);
}
.plus { color: var(--gold); }

@media (min-width: 960px) {
  .hero { padding-block: 56px 96px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .hero-media { order: -1; }            /* image on the right (RTL start), text on the left */
  .hero-photo { aspect-ratio: 4 / 4.6; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-chip--exp { inset-inline-end: -32px; bottom: 44px; padding: 18px 22px; }
  .hero-chip--exp strong { font-size: 2.5rem; }
  .hero-chip--tags { inset-inline-start: 20px; top: 20px; }
}

/* =========================================================
   TRUST NUMBERS
   ========================================================= */
.stats { position: relative; z-index: 2; margin-top: -8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 2px; padding: 22px 12px; text-align: center; }
.stat:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat dd { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.2; color: var(--deep); }
.stat dt { font-size: .875rem; color: var(--muted); font-weight: 500; }

@media (min-width: 768px) {
  .stats { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 30px 16px; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:not(:last-child) { border-inline-end: 1px solid var(--line); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { display: grid; gap: 16px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(196, 154, 90, .45); }
.service-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px;
  border-radius: 16px; background: var(--beige); color: var(--wood);
  transition: background-color .35s, color .35s;
}
.service-icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--wood); color: var(--gold); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px;
  font-weight: 600; font-size: .9375rem; color: var(--wood);
}
.service-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.service-card:hover .service-link { color: var(--gold-ink); }
.service-card:hover .icon-dir { transform: translateX(-4px); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .service-card { padding: 34px; } }

/* =========================================================
   WHY US (dark wood)
   ========================================================= */
.why {
  background-color: var(--deep);
  background-image: var(--grain), radial-gradient(900px 500px at 10% 0%, rgba(196, 154, 90, .12), transparent 60%);
  background-size: 1200px, cover;
  color: var(--beige);
}
.why h2, .why h3 { color: var(--cream); }
.why .eyebrow { color: var(--gold); }
.why-grid { display: grid; gap: 48px; align-items: center; }
.why-list { display: grid; gap: 0; }
.why-list li { padding: 24px 0; border-top: 1px solid rgba(196, 154, 90, .22); display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
.why-num { grid-row: span 2; font-family: var(--font-head); font-weight: 900; font-size: 1.75rem; line-height: 1.2; color: var(--gold); }
.why-list h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 4px; }
.why-list p { color: rgba(245, 239, 230, .72); font-size: 1rem; }
.why-media .media { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.why-media { position: relative; }
.why-media::before {
  content: ""; position: absolute; inset: 12px -10px -12px 10px; border-radius: var(--r-xl);
  border: 1px solid rgba(196, 154, 90, .4);
}

@media (min-width: 640px) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .why-list li { padding: 28px 0; }
}

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.process { background: var(--beige); }
.timeline { position: relative; display: grid; gap: 28px; counter-reset: step; }
.timeline::before {             /* vertical line (mobile) */
  content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--gold), rgba(196, 154, 90, .15));
}
.step { position: relative; padding-inline-start: 80px; }
.step-num {
  position: absolute; inset-inline-start: 0; top: 0;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--wood);
  box-shadow: 0 0 0 6px var(--beige);
}
.step h3 { font-size: 1.25rem; font-weight: 700; padding-top: 10px; margin-bottom: 4px; }
.step p { color: var(--muted); }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .timeline::before {          /* horizontal line (desktop) */
    inset-inline: 12.5%; top: 35px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(to left, var(--gold), rgba(196, 154, 90, .35));
  }
  .step { padding: 0; text-align: center; }
  .step-num { position: relative; margin: 0 auto 22px; width: 72px; height: 72px; font-size: 1.375rem; box-shadow: 0 0 0 10px var(--beige); }
  .step p { max-width: 230px; margin-inline: auto; }
  .step:hover .step-num { background: var(--wood); color: var(--gold); }
  .step-num { transition: background-color .3s, color .3s; }
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.filters {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 32px; padding: 4px var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-weight: 600; font-size: .9375rem; color: var(--wood);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--wood); }
.filter.is-active { background: var(--wood); border-color: var(--wood); color: var(--cream); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-rows: 170px; grid-auto-flow: dense; }
.work { position: relative; border-radius: var(--r); overflow: hidden; animation: work-in .45s var(--ease) both; }
.work.is-tall { grid-row: span 2; }
.work-open { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; border-radius: inherit; }
.work-open .media { width: 100%; height: 100%; }
.work-open img, .work-open .ph::after { transition: transform .7s var(--ease); }
.work:hover .work-open img { transform: scale(1.05); }
.work figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; pointer-events: none;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(20, 12, 8, .82));
  color: var(--cream);
}
.work figcaption span { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.work figcaption h3 { color: var(--cream); font-size: 1.0625rem; font-weight: 700; }
.work .ph::after { top: 40%; }

@keyframes work-in { from { opacity: 0; transform: scale(.97); } }

@media (max-width: 559px) {       /* compact 2-column gallery on phones */
  .work figcaption { padding: 32px 12px 10px; }
  .work figcaption span { display: none; }
  .work figcaption h3 { font-size: .875rem; line-height: 1.5; }
  .work .ph::after { font-size: .6875rem; padding: 4px 10px; }
}
@media (min-width: 560px) {
  .gallery { grid-auto-rows: 230px; gap: 16px; }
  .work { border-radius: var(--r-lg); }
}
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; }
  .work.is-wide { grid-column: span 2; }
}

/* Lightbox */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 16px;
  border: 0; background: transparent; color: var(--cream);
  display: none; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
}
.lightbox[open] { display: grid; animation: lb-in .3s var(--ease); }
.lightbox::backdrop { background: rgba(18, 11, 7, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes lb-in { from { opacity: 0; } }
.lb-figure { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-stage { width: min(100%, 1100px); }
.lb-stage .media { width: 100%; aspect-ratio: 4 / 3; max-height: 78vh; border-radius: var(--r); }
.lb-stage .media img { object-fit: contain; background: #140c08; }
.lb-figure figcaption { display: flex; gap: 14px; align-items: baseline; }
.lb-title { font-family: var(--font-head); font-size: 1.125rem; }
.lb-count { font-size: .875rem; color: rgba(245, 239, 230, .6); }
.lb-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(252, 250, 246, .1); border: 1px solid rgba(252, 250, 246, .2); color: var(--cream);
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(252, 250, 246, .22); }
.lb-close { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 2; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 64px 12px 20px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: start; }
  .lb-next { grid-row: 2; justify-self: end; }
}

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.before-after { background: var(--cream); padding-top: 0; }
.ba-grid { display: grid; gap: 40px; align-items: center; }
.ba-content > p { color: var(--muted); }
.ba-points { display: grid; gap: 12px; margin-top: 24px; }
.ba-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ba-points .icon { width: 22px; height: 22px; margin-top: 4px; padding: 4px; border-radius: 50%; background: var(--beige); color: var(--wood); }

.ba {
  --pos: 50%;
  position: relative; direction: ltr;
  aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y; user-select: none; cursor: ew-resize;
}
.ba-layer { position: absolute; inset: 0; z-index: 0; }   /* own stacking context so "before" paints above "after" */
.ba-before { clip-path: inset(0 0 0 var(--pos)); }        /* "before" sits on the right side */
.ba-after.ph::after { inset-inline: 0 auto; margin: 0; left: 5%; }
.ba-before.ph::after { inset-inline: auto 0; margin: 0; right: 5%; left: auto; }
.ba-tag {
  position: absolute; top: 16px; z-index: 3;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(20, 12, 8, .6); color: var(--cream);
  font-size: .8125rem; font-weight: 600; direction: rtl;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba-tag--before { right: 16px; }
.ba-tag--after { left: 16px; background: rgba(196, 154, 90, .92); color: var(--deep); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px;
  background: var(--cream); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--cream); box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px;
  border: solid var(--wood); border-width: 0 0 2px 2px;
}
.ba-handle span::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.ba-handle span::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.ba-range {                     /* keyboard / screen-reader control; pointer handled in JS */
  position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; margin: 0; opacity: 0;
}
.ba:focus-within .ba-handle span { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (min-width: 960px) {
  .ba-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--beige); }
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-media .media { aspect-ratio: 4 / 4.6; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 120px; box-shadow: var(--shadow-lg); }
.about-content > p { color: var(--muted); font-size: 1.0625rem; }
.about-content > p + p { margin-top: 16px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.about-points li { padding: 16px 12px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); text-align: center; }
.about-points strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--wood); }
.about-points span { display: block; font-size: .8125rem; line-height: 1.6; color: var(--muted); margin-top: 2px; }
.signature { margin-top: 28px; font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; color: var(--gold-ink); }

@media (max-width: 420px) { .about-points { grid-template-columns: 1fr; } .about-points li { text-align: start; } }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
}

/* =========================================================
   SERVICE AREAS
   ========================================================= */
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.area {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area > .icon { width: 28px; height: 28px; color: var(--gold-ink); margin-bottom: 8px; }
.area h3 { font-size: 1.25rem; font-weight: 700; }
.area p { font-size: .875rem; color: var(--muted); }
.area--ask { justify-content: center; background: transparent; border-style: dashed; border-color: var(--line-strong); }
.area--ask h3 { font-size: 1.0625rem; }
.area--ask a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--gold-ink); }
.area--ask a::before { content: ""; position: absolute; inset: 0; }
.area--ask { position: relative; }

@media (min-width: 900px) { .areas-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--cream); padding-top: 0; }
.reviews-grid { display: grid; gap: 16px; }
.review {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  position: relative;
}
.review::before {
  content: "”"; position: absolute; top: 4px; inset-inline-end: 24px;
  font-family: var(--font-head); font-weight: 900; font-size: 5rem; line-height: 1; color: rgba(196, 154, 90, .25);
}
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.review blockquote { font-size: 1.0625rem; line-height: 1.9; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--beige); color: var(--wood); font-family: var(--font-head); font-weight: 800;
}
.review figcaption strong { display: block; font-size: 1rem; line-height: 1.4; }
.review figcaption small { display: block; font-size: .8125rem; color: var(--muted); }

@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--beige); }
.faq-grid { display: grid; gap: 40px; align-items: start; }
.faq-aside > p { color: var(--muted); margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border-radius: var(--r); background: var(--cream); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.faq-list details[open] { border-color: rgba(196, 154, 90, .5); box-shadow: var(--shadow-sm); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.6; }
.faq-list summary .icon {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  background: var(--beige); color: var(--wood); transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary .icon { transform: rotate(45deg); background: var(--wood); color: var(--gold); }
.faq-list details p { padding: 0 22px 22px; color: var(--muted); }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 72px; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { padding-block: clamp(56px, 8vw, 104px); background: var(--beige); padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: var(--r-xl); text-align: center;
  background-color: var(--wood);
  background-image: var(--grain), radial-gradient(700px 360px at 50% 0%, rgba(196, 154, 90, .28), transparent 70%);
  background-size: 1200px, cover;
  color: var(--beige);
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--r-xl) - 10px);
  border: 1px solid rgba(196, 154, 90, .35); pointer-events: none;
}
.cta-panel h2 { color: var(--cream); font-size: clamp(1.9rem, 1.2rem + 3vw, 3.25rem); font-weight: 800; max-width: 760px; margin-inline: auto; }
.cta-panel > p:not(.eyebrow) { max-width: 560px; margin: 16px auto 0; color: rgba(245, 239, 230, .8); font-size: 1.125rem; }
.cta-panel .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-actions .btn { flex: 1 1 220px; max-width: 300px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--deep); color: rgba(245, 239, 230, .75); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; padding-block: 64px 48px; }
.footer-brand p { margin-top: 18px; max-width: 360px; line-height: 1.9; }
.footer-col h2 { font-size: 1rem; font-weight: 700; color: var(--cream); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(245, 239, 230, .1); padding-block: 20px 96px; font-size: .875rem; text-align: center; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
  .footer-bottom { padding-bottom: 24px; }
}

/* =========================================================
   FLOATING ACTIONS (Call + WhatsApp)
   ========================================================= */
.float-actions {
  position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;   /* RTL: flex-start = right edge */
}
.float-btn {
  display: flex; align-items: center; gap: 10px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
  transition: transform .25s var(--ease);
}
.float-btn:hover { transform: translateY(-3px); }
.float-icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white);
}
.float-icon .icon { width: 30px; height: 30px; }
.float-btn--wa .float-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: wa-ring 2.8s var(--ease) infinite;
}
.float-btn--call .float-icon { width: 52px; height: 52px; margin-inline: 3px; background: var(--wood); color: var(--gold); }
.float-btn--call .float-icon .icon { width: 24px; height: 24px; }
.float-label {
  display: none; padding: 8px 16px; border-radius: 999px;
  background: var(--white); color: var(--deep); font-weight: 600; font-size: .875rem;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .float-btn--wa .float-icon::before { animation: none; }
}

@media (min-width: 768px) {
  .float-actions { right: 28px; bottom: 28px; }
  .why-media::before { inset: 18px -18px -18px 18px; }
  .float-label { display: block; }
}

/* =========================================================
   REVEAL ANIMATION (only when JS is available)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE FINE-TUNING (all screen sizes)
   ========================================================= */

/* Small phones (iPhone SE, Galaxy A series …) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.3rem; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  .h1-main { font-size: 1.85rem; }
  .h1-kicker { font-size: .9375rem; }
  .hero-lead { font-size: 1rem; }
  .btn-lg { min-height: 54px; padding-inline: 1.2em; font-size: 1rem; }
  .hero-chip--exp { padding: 10px 14px; }
  .hero-chip--exp strong { font-size: 1.6rem; }
  .hero-chip--tags { font-size: .75rem; padding: 6px 12px; }
  .stat { padding: 18px 8px; }
  .stat dd { font-size: 1.6rem; }
  .service-card { padding: 22px; }
  .step { padding-inline-start: 70px; }
  .cta-actions .btn { max-width: none; }
  .ba-tag { top: 10px; font-size: .75rem; }
  .faq-list summary { padding: 16px; }
  .faq-list details p { padding: 0 16px 18px; }
  .area { padding: 18px; }
}

/* Tablets in portrait: single column but wider, calmer images */
@media (min-width: 640px) and (max-width: 959px) {
  .hero { padding-bottom: 88px; }
  .hero-content { text-align: center; }
  .hero h1 { align-items: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-actions .btn { flex: 0 1 260px; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .ba-content { text-align: center; }
  .ba-content .section-head--start { text-align: center; }
  .ba-points { justify-items: center; }
}
@media (min-width: 640px) and (max-width: 999px) {
  .why-media .media, .about-media .media { aspect-ratio: 16 / 10; }
  .about-points { max-width: 640px; }
}

/* Small laptops: keep the 7-link navbar on one line */
@media (min-width: 1100px) and (max-width: 1279px) {
  .main-nav a:not(.btn) { padding-inline: 8px; font-size: .875rem; }
  .main-nav a:not(.btn)::after { inset-inline: 8px; }
  .brand-text small { display: none; }
}

/* Large desktop screens */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
  .gallery { grid-auto-rows: 290px; }
}

/* Phones in landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-photo { aspect-ratio: 16 / 9; }
  .main-nav a:not(.btn) { padding-block: 10px; }
  .lb-stage .media { max-height: 70vh; }
  .float-icon { width: 50px; height: 50px; }
  .float-btn--call .float-icon { width: 46px; height: 46px; margin-inline: 2px; }
}
