/* Rihla Bosna — site styles. Mobile-first; logical properties keep RTL and LTR in one stylesheet. */
:root {
  --green-950: #0f1d18;
  --green-900: #14251F;
  --green-800: #1C3329;
  --green-700: #27453a;
  --gold: #C9B17E;
  --gold-soft: #dccaa0;
  --gold-ink: #7f6a3d;      /* gold for text on light backgrounds (AA contrast) */
  --ivory: #F5F0E6;
  --paper: #FAF9F6;
  --ink: #1a2420;
  --muted: #5a645f;
  --line: rgba(20, 37, 31, .12);
  --line-light: rgba(245, 240, 230, .18);
  --error: #a33a2c;
  --ok: #2f6b4f;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(15, 29, 24, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
[dir="rtl"] {
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body { font-size: 17px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-weight: 700; line-height: 1.45; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--green-900); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
bdi { unicode-bidi: isolate; }

/* ---------- Eyebrows, titles, buttons */
.eyebrow {
  font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.section-title { font-size: clamp(1.9rem, 5.2vw, 3.1rem); max-width: 20ch; }
[dir="rtl"] .section-title { max-width: 24ch; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-gold { --bg: var(--gold); --fg: var(--green-900); --bd: var(--gold); box-shadow: 0 10px 30px -14px rgba(201, 177, 126, .9); }
.btn-gold:hover { --bg: var(--gold-soft); --bd: var(--gold-soft); }
.btn-outline-light { --fg: var(--ivory); --bd: rgba(245, 240, 230, .45); }
.btn-outline-light:hover { --bg: rgba(245, 240, 230, .08); --bd: var(--ivory); }
.btn-ghost { --bd: var(--line); --fg: var(--green-900); }
.btn-ghost:hover { --bd: var(--green-900); }
.btn-wa { --bg: var(--green-800); --fg: var(--ivory); --bd: var(--green-800); }
.btn-wa:hover { --bg: var(--green-700); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
[dir="rtl"] .btn { letter-spacing: 0; font-size: 1rem; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-center { justify-content: center; }

/* ---------- Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 34px; height: 21px; color: var(--gold); flex: none; }
.header-inner .logo { min-width: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-en { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.05rem; letter-spacing: .24em; margin-inline-end: -.24em; white-space: nowrap; }
.logo-ar { font-family: "Amiri", serif; font-size: .95rem; color: var(--gold); margin-top: 4px; letter-spacing: 0; }
[dir="rtl"] .logo-text { align-items: flex-start; }

/* ---------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 249, 246, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); color: var(--green-900);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.header-inner .logo { margin-inline-end: auto; }
.page-home .site-header { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; color: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home .site-header.is-solid { background: rgba(20, 37, 31, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line-light); }
.lang-switch {
  font-size: .9rem; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px;
  border: 1px solid currentColor; opacity: .9; min-height: 40px; display: inline-flex; align-items: center;
}
.lang-switch:hover { opacity: 1; background: rgba(201, 177, 126, .15); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-switch[lang="en"] { font-family: "Manrope", sans-serif; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: inherit; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .3s; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--green-900); color: var(--ivory);
  padding: 20px var(--gutter) 28px; display: none; flex-direction: column; gap: 16px;
  border-top: 1px solid var(--line-light); box-shadow: var(--shadow);
}
.main-nav.is-open { display: flex; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.main-nav li a { display: block; padding: 12px 0; text-decoration: none; font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--line-light); }
.main-nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 900px) {
  :root { --header-h: 80px; --gutter: 40px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; align-items: center; background: none; color: inherit; padding: 0; border: 0; box-shadow: none; gap: 28px; }
  .main-nav ul { flex-direction: row; gap: 28px; }
  .main-nav li a { font-family: var(--sans); font-size: .9rem; padding: 6px 0; border: 0; position: relative; }
  .main-nav li a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
  .main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: inherit; }
  .logo-en { font-size: 1.3rem; letter-spacing: .32em; margin-inline-end: -.32em; }
}

/* ---------- Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); background: var(--green-900); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media svg, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .ridge { transform-origin: bottom; animation: drift 24s ease-in-out infinite alternate; }
.hero-art .r2 { animation-duration: 30s; } .hero-art .r3 { animation-duration: 36s; }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 29, 24, .35) 0%, rgba(15, 29, 24, .1) 35%, rgba(15, 29, 24, .75) 100%); }
.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.7rem, 10vw, 5.6rem); font-weight: 400; max-width: 14ch; margin-bottom: 20px; animation: rise 1.1s var(--ease) both; }
[dir="rtl"] .hero h1 { font-weight: 700; max-width: 16ch; }
.hero-text { font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 54ch; color: rgba(245, 240, 230, .88); animation: rise 1.1s .12s var(--ease) both; }
.hero .cta-row { margin-top: 28px; animation: rise 1.1s .24s var(--ease) both; }
.hero .cta-row .btn { flex: 1 1 220px; }
.hero-note { margin-top: 22px; font-size: .85rem; color: rgba(245, 240, 230, .7); letter-spacing: .04em; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) { .hero .cta-row .btn { flex: 0 0 auto; } .hero-content { padding-bottom: 96px; } }

/* ---------- Sections */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .reveal-off .reveal { opacity: 1; transform: none; }

.why { background: var(--paper); }
.why-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-item { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.why-item h3 { font-size: 1.5rem; margin-bottom: 6px; grid-column: 2; }
.why-item p { color: var(--muted); margin: 0; grid-column: 2; }
.why-num { grid-row: 1 / span 2; font-family: "Cormorant Garamond", serif; color: var(--gold-ink); font-size: 1.1rem; padding-top: 4px; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 32px; }
  .why-item { display: block; border-bottom: 0; border-top: 1px solid var(--green-900); padding-top: 22px; }
  .why-num { display: block; margin-bottom: 18px; }
}

.dests { background: var(--ivory); }
.dest-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.dest figure { margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-800); }
.dest-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dest:hover .dest-img { transform: scale(1.04); }
.dest h3 { font-size: 1.7rem; margin-bottom: 6px; }
.dest p { color: var(--muted); margin: 0; max-width: 46ch; }
@media (min-width: 700px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .dest-wide { grid-column: span 2; }
  .dest-wide figure { aspect-ratio: auto; height: calc(100% - 110px); min-height: 300px; }
  .dest-pano { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: end; }
  .dest-pano figure { aspect-ratio: 21 / 9; margin: 0; }
}

/* Labelled image placeholders (replace with licensed photos — see README) */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 200px;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(201, 177, 126, .22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23C9B17E' stroke-opacity='.16'%3E%3Cpath d='M0 220 L60 170 L110 200 L170 130 L230 185 L290 120 L340 170 L400 140'/%3E%3Cpath d='M0 250 L70 205 L130 235 L190 170 L250 220 L310 160 L360 205 L400 180'/%3E%3Cpath d='M0 280 L80 240 L150 265 L210 210 L270 255 L330 200 L400 230'/%3E%3C/g%3E%3C/svg%3E") center / cover,
    linear-gradient(160deg, var(--green-700), var(--green-900));
}
.ph-label {
  position: absolute; inset-inline-start: 12px; bottom: 12px; max-width: calc(100% - 24px);
  font-size: .7rem; letter-spacing: .06em; color: rgba(245, 240, 230, .75);
  background: rgba(15, 29, 24, .55); padding: 4px 9px; border-radius: 6px;
}

.how { background: var(--green-900); color: var(--ivory); }
.how .eyebrow { color: var(--gold); }
.how-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: none; }
.how-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.how-n { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 1.4rem; }
.how-step h3 { font-size: 1.6rem; margin-bottom: 4px; }
.how-step p { color: rgba(245, 240, 230, .75); margin: 0; }
@media (min-width: 900px) {
  .how-list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .how-step { grid-template-columns: 1fr; }
}

.plan { background: var(--paper); }
.plan-grid { display: grid; gap: 32px; }
.plan-direct { font-weight: 600; }
.plan-direct a { color: var(--green-800); }
@media (min-width: 900px) { .plan-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .card { padding: 36px; } }
.card-quiet { background: var(--ivory); border-radius: var(--radius); padding: 20px; }

.final { background: var(--green-800); color: var(--ivory); text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(201, 177, 126, .16), transparent 70%); pointer-events: none; }
.final-inner { position: relative; }
.final .logo-mark { width: 56px; height: 34px; color: var(--gold); margin: 0 auto 22px; display: block; }
.final h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.final p { color: rgba(245, 240, 230, .8); max-width: 52ch; margin: 0 auto 30px; }

.page-hero { padding: 64px 0 28px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
.page-hero-sm h1 { font-size: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .page-hero { padding: 104px 0 48px; } }
.about-grid { display: grid; gap: 40px; }
.about-block h2 { font-size: 1.8rem; }
.about-block p { color: var(--muted); max-width: 52ch; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px 72px; } }

.contact-grid { display: grid; gap: 36px; }
.contact-list { margin: 0 0 20px; display: grid; gap: 20px; }
.contact-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-ink); margin-bottom: 4px; }
[dir="rtl"] .contact-list dt { letter-spacing: 0; font-size: .9rem; }
.contact-list dd { margin: 0; font-size: 1.15rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }

.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose p { color: #33403a; }
.draft-note { background: #fff7e3; border: 1px solid #ecd9a8; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; }
mark.placeholder { background: #fff1c9; color: #6b5420; padding: 0 3px; border-radius: 3px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.ar-block { font-family: "IBM Plex Sans Arabic", sans-serif; }
.ar-block h2 { font-family: "Amiri", serif; font-weight: 700; }

/* ---------- Forms */
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
input[type="text"], input[type="tel"], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(20, 37, 31, .22); border-radius: var(--radius-sm);
  background: #fff; font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(201, 177, 126, .35); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: .8rem; margin: 6px 0 0; }
.phone-field { display: grid; grid-template-columns: minmax(118px, 40%) 1fr; gap: 8px; }
.phone-field select { padding-inline: 10px; font-size: 15px; text-overflow: ellipsis; }
[dir="rtl"] .phone-field input, [dir="rtl"] .phone-field select { text-align: left; }
.field-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.field-inline legend { width: 100%; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid rgba(20, 37, 31, .22); border-radius: 999px; transition: all .25s var(--ease); cursor: pointer; }
.pill input:checked + span { background: var(--green-900); color: var(--ivory); border-color: var(--green-900); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { color: var(--error); font-size: .9rem; }
.form-status:empty { display: none; }
.form-status a { font-weight: 600; }

.success { text-align: center; padding: 12px 0; }
.success:focus { outline: none; }
.success-mark .logo-mark { width: 54px; height: 32px; margin: 0 auto 16px; color: var(--gold); display: block; }
.success-title { font-size: 2rem; }
.success-ref { font-size: .95rem; }
.success .btn-wa { margin: 10px 0 8px; }

/* ---------- Journey designer */
.has-designer .site-footer { padding-bottom: 96px; }
.designer-page { background: var(--paper); padding-bottom: 40px; }
.designer-head { padding-top: 48px; padding-bottom: 8px; }
.designer-head h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.designer { max-width: 980px; }
.progress { list-style: none; margin: 24px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.progress li { display: flex; flex-direction: column; gap: 8px; font-size: .72rem; color: var(--muted); position: relative; }
.progress li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .4s var(--ease); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--gold); }
.progress li.is-skipped::before { background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); }
.progress li.is-current { color: var(--green-900); font-weight: 600; }
.progress .pdot { display: none; }
.progress .plabel { display: none; }
@media (min-width: 700px) { .progress .plabel { display: block; } }
.progress-text { font-size: .8rem; color: var(--muted); margin: 6px 0 22px; letter-spacing: .04em; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: stepIn .55s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-title { font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.2; padding: 0; margin-bottom: 22px; }
[dir="rtl"] .step-title { font-weight: 700; line-height: 1.5; }
.step-title:focus { outline: none; }
.sub-title { font-size: 1.4rem; margin: 30px 0 14px; }
.note { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.note-top { margin: -8px 0 18px; }

.opts { display: grid; gap: 12px; }
@media (min-width: 600px) { .opts-2, .opts-3, .opts-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .opts-3 { grid-template-columns: repeat(3, 1fr); } .opts-4 { grid-template-columns: repeat(4, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt[hidden] { display: none; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 84px;
  padding: 18px 46px 18px 18px; padding-inline: 18px 46px;
  background: #fff; border: 1px solid rgba(20, 37, 31, .16); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
  position: relative;
}
.opt:hover .opt-card { border-color: rgba(20, 37, 31, .4); transform: translateY(-1px); }
.opt input:checked + .opt-card { border-color: var(--green-900); background: #fbf8f1; box-shadow: 0 0 0 1px var(--green-900), 0 14px 34px -22px rgba(15, 29, 24, .5); }
.opt input:focus-visible + .opt-card { outline: 2px solid var(--gold); outline-offset: 3px; }
.opt-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
[dir="rtl"] .opt-title { font-size: 1.2rem; line-height: 1.5; }
.opt-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.opt-desc[hidden] { display: none; }
.opt-check { position: absolute; top: 18px; inset-inline-end: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(20, 37, 31, .3); transition: all .3s var(--ease); }
.opt input:checked + .opt-card .opt-check { background: var(--green-900); border-color: var(--green-900); box-shadow: inset 0 0 0 4px #fbf8f1; }

.itin { margin-top: 28px; padding: 22px 20px; background: var(--ivory); border-radius: var(--radius); animation: stepIn .55s var(--ease) both; }
@media (min-width: 700px) { .itin { padding: 32px; } }
.itin-title { font-size: 1.5rem; margin-bottom: 16px; }
.days { list-style: none; margin: 0; padding: 0; position: relative; }
.days li { display: grid; grid-template-columns: 66px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.days li:first-child { border-top: 0; }
.day-n { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-ink); padding-top: 4px; font-weight: 600; }
[dir="rtl"] .day-n { letter-spacing: 0; font-size: .85rem; }
.days h4 { font-size: 1.2rem; margin: 0 0 2px; }
[dir="rtl"] .days h4 { font-size: 1.1rem; }
.days p { margin: 0; color: var(--muted); font-size: .92rem; }
.itin-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed rgba(20, 37, 31, .2); }

.counters { display: grid; gap: 12px; max-width: 560px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid rgba(20, 37, 31, .16); border-radius: var(--radius); padding: 14px 16px; }
.counter-label { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; }
.counter-label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.counter-ctrl { display: flex; align-items: center; gap: 10px; }
.counter-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(20, 37, 31, .3); background: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1; transition: all .25s var(--ease); }
.counter-btn:hover:not(:disabled) { border-color: var(--green-900); background: var(--ivory); }
.counter-btn:disabled { opacity: .35; cursor: default; }
.counter-val { min-width: 28px; text-align: center; font-size: 1.3rem; font-weight: 600; font-family: "Manrope", sans-serif; }
.total { margin-top: 16px; font-weight: 600; color: var(--green-800); }

.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.summary dl > div:first-child { border-top: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.summary .edit { font-weight: 500; font-size: .82rem; color: var(--gold-ink); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 0; white-space: nowrap; }
.summary .sub-title { margin-top: 0; }
.contact-block { margin-top: 26px; max-width: 620px; }
.disclaimer { background: var(--ivory); border-inline-start: 2px solid var(--gold); padding: 12px 14px; font-size: .88rem; border-radius: 4px; }
.step-error { color: var(--error); font-size: .9rem; margin-top: 14px; }
.step-error:empty { display: none; }

.designer-nav {
  position: sticky; bottom: 0; z-index: 30; margin: 28px calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter) calc(12px + var(--safe-b));
  background: rgba(250, 249, 246, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
}
.designer-nav .btn { min-width: 108px; }
.designer-nav .is-invisible { visibility: hidden; }
.nav-help { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .78rem; text-align: center; color: var(--muted); line-height: 1.3; min-width: 0; }
.nav-help-links { display: flex; gap: 6px; }
.nav-help-links a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--green-800); font-weight: 600; text-decoration: none; font-size: .8rem; }
.nav-help-links a:hover { border-color: var(--green-800); }
.nav-help-links svg { width: 16px; height: 16px; margin-inline-end: 6px; }
@media (max-width: 899px) {
  .nav-help-text { display: none; }
  .nav-help-links a { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .nav-help-links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-help-links svg { width: 19px; height: 19px; margin: 0; }
  .designer-nav .btn { min-width: 0; padding-inline: 18px; }
  .designer-nav .is-invisible { display: none; }
  .designer-nav { grid-template-columns: auto 1fr auto; }
}
@media (min-width: 900px) { .designer-nav { margin-inline: 0; border-radius: 999px; border: 1px solid var(--line); bottom: 16px; padding: 10px 12px; box-shadow: var(--shadow); } }
.notice { background: var(--ivory); padding: 16px; border-radius: var(--radius-sm); }

/* ---------- Footer */
.site-footer { background: var(--green-950); color: rgba(245, 240, 230, .78); padding: 64px 0 calc(96px + var(--safe-b)); font-size: .92rem; }
.footer-grid { display: grid; gap: 36px; }
.logo-footer { color: var(--ivory); margin-bottom: 16px; }
.footer-h { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
[dir="rtl"] .footer-h { letter-spacing: 0; font-size: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-links .linklike { text-decoration: none; color: inherit; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--gold); }
.site-footer .muted { color: rgba(245, 240, 230, .5); }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .8rem; color: rgba(245, 240, 230, .5); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }

/* ---------- Floating contact */
.contact-dock { position: fixed; z-index: 40; inset-inline-end: 16px; bottom: calc(16px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px; align-items: flex-end; transition: transform .4s var(--ease), opacity .4s; }
.dock-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; min-width: 52px; justify-content: center; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(15, 29, 24, .55); transition: transform .3s var(--ease); }
.dock-btn:hover { transform: translateY(-2px); }
.dock-btn svg { width: 22px; height: 22px; }
.dock-wa { background: var(--green-800); color: var(--ivory); padding: 0 18px; border: 1px solid rgba(201, 177, 126, .55); }
.dock-wa svg { color: var(--gold); }
.dock-call { background: var(--paper); color: var(--green-900); border: 1px solid var(--line); width: 52px; }
.dock-label { font-weight: 600; font-size: .9rem; }
@media (max-width: 599px) { .dock-label { display: none; } .dock-wa { width: 52px; padding: 0; } }
.has-designer .contact-dock { display: none; } /* the designer's own bar carries WhatsApp + Call */
.contact-dock.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ---------- Consent */
.consent {
  position: fixed; z-index: 60; inset-inline: 12px; bottom: calc(12px + var(--safe-b)); max-width: 560px;
  background: var(--green-900); color: var(--ivory); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); font-size: .85rem;
}
.consent p { margin: 0 0 12px; }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn-ghost { --fg: var(--ivory); --bd: var(--line-light); }
