:root {
  --bg: #F6F0E8;
  --tint: #EFE6DA;
  --surface: #FBF8F3;
  --ink: #2A1D14;
  --muted: #6E5E52;
  --accent: #8A6546;
  --deep: #441B03;
  --line: #E2D6C6;
  --radius: 14px;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(42, 29, 20, .05), 0 12px 32px -12px rgba(42, 29, 20, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 .75em; }
small { font-size: .82em; color: var(--muted); font-weight: 400; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow--light { color: #D9B895; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.note { font-size: .86rem; color: var(--muted); }
.center { text-align: center; margin-top: 40px; }
.mt { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: #2c1102; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #F6F0E8; color: var(--deep); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-text { background: none; border: 0; padding: 8px; font: 600 .9rem var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; }
.arrow-link { display: inline-flex; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--deep); text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(246, 240, 232, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand__name { font: 600 1.35rem/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; }
.brand__name span { color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 16px; }
.link-phone { text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 12px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .link-phone { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero__catalogue { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.hero__catalogue--light { color: #D9B895; margin-top: 18px; }
.hero__media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 6vw, 72px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 20px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 500 clamp(2rem, 3.4vw, 2.7rem)/1 var(--serif); color: var(--deep); margin-bottom: 8px; }
.stats dd { margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.4; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__media img { object-position: center 40%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 20px 14px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Clients ---------- */
.clients { padding: 28px 0; }
.clients__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients p { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.clients ul { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0; padding: 0; }
.clients li { font: 600 1.4rem/1 var(--serif); letter-spacing: .06em; color: var(--ink); opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__sub { color: var(--muted); margin-top: 14px; }

/* Offer */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer__card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.offer__card--accent { background: var(--deep); color: #F6F0E8; border-color: var(--deep); }
.offer__card--accent p, .offer__card--accent .ticks li { color: #E8DCCD; }
.offer__card--accent .arrow-link, .offer__card--accent .offer__num { color: #D9B895; }
.offer__card--accent .ticks li::before { border-color: #D9B895; }
.offer__num { font: 500 1.1rem var(--serif); color: var(--accent); margin-bottom: 18px; }
.offer__card h3 { font: 500 1.9rem/1.1 var(--serif); margin-bottom: 12px; }
.offer__card p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: .94rem; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 1.9rem/1 var(--serif); color: var(--accent); margin-bottom: 6px; }
.steps span { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 14px; } .steps li::before { margin: 0; } .steps span { flex-basis: 100%; } }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 88px); }
.split--rev .split__media { order: 2; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { max-width: 440px; justify-self: center; aspect-ratio: 4 / 5; }
.split__copy h2 { margin-bottom: 16px; }
.split__copy h3 { display: flex; align-items: center; gap: 12px; font: 500 2rem/1.1 var(--serif); margin-bottom: 20px; }
.split__copy > p { color: var(--muted); }
.step-tag { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 600 .9rem var(--sans); flex: none; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media--tall { max-width: none; aspect-ratio: 4 / 3; }
}

.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 10px; overflow: hidden; font-size: .95rem; }
.table caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.table th { text-align: left; background: #E9DFD1; font-weight: 700; font-size: .85rem; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td:last-child, .table th:last-child { text-align: right; }
.table tr:last-child td { border-bottom: 0; }
.split .table { margin-bottom: 16px; }

.defs { margin: 0 0 20px; }
.defs > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.defs > div:first-child { padding-top: 0; }
.defs dt { font-weight: 700; }
.defs dd { margin: 2px 0 0; color: var(--muted); }
.callout { background: var(--surface); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--ink) !important; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.chips--static li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 600; }

/* Fragrances */
.frag__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.frag__tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.frag__tab small { margin-left: 4px; }
.frag__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.frag__tab[aria-selected="true"] small { color: #cbbcad; }
.frag__tools { margin-bottom: 10px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; color: var(--muted); }
.search input { flex: 1; min-height: 46px; border: 0; background: none; font: 500 16px var(--sans); color: var(--ink); outline: none; }
.frag__hint { font-size: .86rem; color: var(--muted); min-height: 1.4em; }
.frag__list { min-height: 120px; }
.frag__chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s; }
.frag__chip:hover { border-color: var(--accent); }
.frag__chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.frag__chip[aria-pressed="true"]::before { content: "✓ "; }
.frag__picked { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.frag__picked p { margin: 0; font-size: .92rem; }
.frag__picked > div { display: flex; align-items: center; gap: 8px; }

/* Seasonal */
.seasonal { background: linear-gradient(180deg, var(--bg), #F1E7D9); }

/* Work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case--wide { grid-column: span 2; }
.case picture { height: 360px; overflow: hidden; }
.case__body { flex: 1; }
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover img { transform: scale(1.03); }
.case__body { padding: 22px 24px 26px; }
.case__tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.case h3 { font: 500 1.8rem/1.1 var(--serif); margin-bottom: 8px; }
.case__body p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr 1fr; } .case--wide { grid-column: span 2; } }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } .case--wide { grid-column: auto; } .case picture { height: auto; aspect-ratio: 4 / 3; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pricing__tables { display: grid; gap: 24px; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); position: sticky; top: 92px; }
.calc h3 { font: 500 1.9rem var(--serif); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field__label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 600; cursor: pointer; background: var(--bg); text-align: center; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty { display: flex; gap: 12px; align-items: center; }
.qty input[type="range"] { flex: 1; accent-color: var(--deep); min-width: 0; }
.qty input[type="number"] { width: 110px; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 600 16px var(--sans); background: var(--bg); color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; cursor: pointer; margin-bottom: 20px; }
.check input { width: 20px; height: 20px; accent-color: var(--deep); }
.calc__out { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 8px; }
.calc__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.calc__out strong { font-size: 1.1rem; }
.calc__out .big { font: 600 2.1rem/1.1 var(--serif); color: var(--deep); }
.calc__out .muted { color: var(--muted); font-size: .88rem; }
.calc .note { margin-bottom: 16px; }
.calc .note.is-warn { color: #9A3B12; font-weight: 600; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .calc { position: static; } }

/* Terms */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.term { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; }
.term h3 { margin-bottom: 12px; }
.term p { font-size: .94rem; margin-bottom: 6px; }
.term__big { font: 500 2rem/1.1 var(--serif) !important; color: var(--deep); margin: 14px 0 2px !important; }
.term--hi { border: 1px solid var(--accent); }
.term--hi .btn { margin-top: 10px; }
@media (max-width: 1000px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--serif); color: var(--accent); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 0; } }

/* Quote */
.quote { background: var(--deep); color: #F6F0E8; }
.quote__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote__intro h2 { margin-bottom: 16px; }
.quote__intro > p { color: #E0D2C2; }
.contact { list-style: none; padding: 0; margin: 26px 0 0; }
.contact li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #E0D2C2; font-size: .95rem; }
.contact a { color: #fff; text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; }
.form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: clamp(20px, 3vw, 34px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: block; margin-bottom: 14px; }
.f span { display: block; font-size: .82rem; font-weight: 600; color: #E0D2C2; margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.18); color: #fff;
  font: 500 16px/1.4 var(--sans);
}
.f select option { color: var(--ink); }
.f textarea { resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: rgba(255,255,255,.45); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: #D9B895; }
.f input[aria-invalid="true"] { border-color: #F2A57E; }
.f input[type="date"] { color-scheme: dark; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }
.form__small { font-size: .8rem; color: #CDBBA8; margin: 12px 0 0; }
.form__error { background: rgba(242,165,126,.15); border: 1px solid #F2A57E; color: #FFD9C4; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.form__ok { background: rgba(217,184,149,.15); border: 1px solid #D9B895; padding: 14px 16px; border-radius: 10px; margin-top: 12px; font-size: .92rem; }
@media (max-width: 860px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.footer { background: #1E130C; color: #CDBBA8; padding: 48px 0 24px; font-size: .92rem; }
.footer a { color: #F6F0E8; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand img { filter: invert(1) sepia(.3) brightness(1.6); width: 48px; }
.footer__brand strong { color: #F6F0E8; }
.footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer__legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
@media (max-width: 760px) { .footer__row { grid-template-columns: 1fr; } }

/* Mobile sticky bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 240, 232, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mbar.is-visible { transform: none; }
  .mbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mbar__wa { border: 1px solid var(--ink); }
  .mbar__quote { background: var(--deep); color: #fff; }
  .footer { padding-bottom: 96px; }
  .header__cta .btn { display: none; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Blog ---------- */
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__head--row .arrow-link { padding-top: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card picture { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover img { transform: scale(1.03); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font: 500 1.5rem/1.15 var(--serif); margin-bottom: 10px; }
.post-card__body p:not(.case__tag) { color: var(--muted); font-size: .92rem; }
.post-card time { margin-top: auto; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.blog-hero { padding-bottom: 40px; }
.blog-hero h1 { max-width: 16em; margin-bottom: 16px; }
.post__head { max-width: 860px; padding-top: clamp(32px, 5vw, 64px); }
.post__head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
.post__meta { color: var(--muted); font-size: .9rem; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.post__cover { max-width: 1060px; margin: 28px auto 0; }
.post__cover picture { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__body { max-width: 760px; padding-top: 40px; padding-bottom: clamp(56px, 8vw, 96px); font-size: 1.06rem; line-height: 1.75; }
.post__body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 1.8em 0 .5em; }
.post__body ul, .post__body ol { padding-left: 1.3em; margin: 0 0 1em; }
.post__body li { margin: .35em 0; }
.post__body a:not(.btn) { color: var(--deep); text-underline-offset: 3px; }
.post__body .table { margin: 1em 0 1.4em; font-size: .95rem; }
.post__body .table td:last-child, .post__body .table th:last-child { text-align: left; }
.post__lead { font-size: 1.2rem; color: var(--ink); }
.post-cta { margin-top: 48px; padding: clamp(24px, 4vw, 40px); background: var(--tint); border-radius: 20px; }
.post-cta h2 { margin-top: 0; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related__title { margin-bottom: 28px; }
.table-scroll { overflow-x: auto; }

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] {
  --serif: "Amiri", "Cormorant", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
}
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
[dir="rtl"] h1 em { font-style: normal; }
[dir="rtl"] .eyebrow, [dir="rtl"] .case__tag, [dir="rtl"] .clients p { letter-spacing: 0; font-size: .82rem; }
[dir="rtl"] .brand__name { font-family: "Cormorant", "Amiri", serif; }
[dir="rtl"] .clients li { font-family: "Cormorant", "Amiri", serif; }
[dir="rtl"] .stats > div { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stats > div:first-child { border-right: 0; padding-left: 20px; padding-right: 0; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .ticks li::before { left: auto; right: 2px; }
[dir="rtl"] .arrow-link::after { content: "←"; }
[dir="rtl"] .arrow-link:hover::after { transform: translateX(-4px); }
[dir="rtl"] .callout { border-left: 0; border-right: 3px solid var(--accent); border-radius: 10px 0 0 10px; }
[dir="rtl"] .table th, [dir="rtl"] .table caption { text-align: right; }
[dir="rtl"] .table td:last-child, [dir="rtl"] .table th:last-child { text-align: left; }
[dir="rtl"] .faq__list summary { padding: 20px 0 20px 40px; }
[dir="rtl"] .faq__list summary::after { right: auto; left: 4px; }
[dir="rtl"] .frag__tab small { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .frag__list { direction: ltr; justify-content: flex-end; }
[dir="rtl"] .qty input[type="number"], [dir="rtl"] .f input[type="date"] { direction: ltr; text-align: right; }
[dir="rtl"] .nav__lang { font-family: "Manrope", sans-serif; }
@media (max-width: 860px) {
  [dir="rtl"] .stats > div { border-right: 1px solid var(--line); }
  [dir="rtl"] .stats > div:nth-child(odd) { border-right: 0; padding-right: 0; padding-left: 14px; }
}
