/* home page (ported from the 18 Mehr design); shared header and footer come from fekr-ui.css */
/* Layout: RTL; hero = promise + a hub-and-spoke map (one account at the centre, services around it), then bands per area. */
.fbh {
  --ink: #0f2419;      /* deep forest */
  --text: #26352c;
  --muted: #5d6b62;
  --paper: #f4f6f2;
  --surface: #ffffff;
  --line: #dde6e0;
  --brand: #1f7a43;    /* logo green */
  --brand-soft: #e4f2e8;
  --lime: #a9c83b;     /* logo leaf */
  --warm: #b9722a;     /* booking only */
  --font: 'IRANSansX', 'IRANSans', 'Vazirmatn', Tahoma, sans-serif;
  color-scheme: light;
  direction: rtl; text-align: right;
  font-family: var(--font); font-size: 16px; line-height: 1.85;
  color: var(--text); background: var(--paper);
  font-feature-settings: "ss02";
}
.fbh *, .fbh *::before, .fbh *::after { box-sizing: border-box; }
.fbh a { color: inherit; text-decoration: none; }
.fbh h1, .fbh h2, .fbh h3, .fbh p, .fbh ul { margin: 0; padding: 0; }
.fbh ul { list-style: none; }
.fbh h1, .fbh h2, .fbh h3 { color: var(--ink); font-family: var(--font); line-height: 1.4; text-wrap: balance; }
.fbh img { max-width: 100%; display: block; }
.fbh :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.fbh .wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.fbh [dir="ltr"] { direction: ltr; unicode-bidi: isolate; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }

/* header */
.fbh .top { background: var(--surface); border-bottom: 1px solid var(--line); }
.fbh .top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.fbh .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.fbh .brand img { width: 40px; height: 40px; }
.fbh .nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.fbh .nav a:hover { color: var(--brand); }
.fbh .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.fbh .btn-warm { background: var(--warm); color: #fff; }
.fbh .btn-warm:hover { background: #9c5d1f; }
.fbh .btn-line { border-color: var(--brand); color: var(--brand); background: transparent; }
.fbh .btn-line:hover { background: var(--brand-soft); }
.fbh .btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* hero */
.fbh .hero { padding-block: 56px 64px; }
.fbh .hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.fbh .eyebrow { color: var(--brand); font-weight: 700; font-size: .95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fbh .eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--lime); }
.fbh .hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; margin-bottom: 18px; }
.fbh .hero h1 span { color: var(--brand); }
.fbh .lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.fbh .cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* hub map */
.fbh .hub { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.fbh .hub svg.spokes { position: absolute; inset: 0; width: 100%; height: 100%; }
.fbh .hub svg.spokes line { stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .45; }
.fbh .hub-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); height: 100%; gap: 0; }
.fbh .node { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 6px; }
.fbh .node .dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line); color: var(--brand); transition: transform .2s, border-color .2s; }
.fbh a.node:hover .dot { transform: translateY(-3px); border-color: var(--brand); }
.fbh .node .dot svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fbh .node b { font-size: .88rem; color: var(--ink); font-weight: 700; line-height: 1.4; }
.fbh .node small { font-size: .72rem; color: var(--muted); line-height: 1.2; }
.fbh .node.soon .dot { border-style: dashed; color: var(--muted); background: transparent; }
.fbh .node.soon small { color: var(--warm); font-weight: 700; }
.fbh .node.center .dot { width: 118px; height: 118px; background: var(--ink); border: 0; color: #fff; flex-direction: column; gap: 2px; box-shadow: 0 0 0 10px var(--brand-soft); }
.fbh .node.center .dot img { width: 46px; height: 46px; }
.fbh .node.center .dot span { font-size: .8rem; font-weight: 700; }

/* sections */
.fbh .sec { padding-block: 64px; }
.fbh .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.fbh .sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.fbh .sec-head p { color: var(--muted); max-width: 36em; }
.fbh .kicker { font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; margin-bottom: 4px; }

/* care band */
.fbh .care { background: var(--ink); color: #dfe9e3; }
.fbh .care h2, .fbh .care h3 { color: #fff; }
.fbh .care .kicker { color: var(--lime); }
.fbh .care .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fbh .care p.lead { color: #b9cbc1; }
.fbh .steps { display: grid; gap: 0; counter-reset: s; }
.fbh .steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.fbh .steps li:last-child { border-bottom: 0; }
.fbh .steps li::before { content: counter(s, persian); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--lime); color: var(--lime); display: grid; place-items: center; font-weight: 800; }
.fbh .steps b { color: #fff; display: block; }
.fbh .steps span { font-size: .93rem; color: #b9cbc1; }
.fbh .privacy { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(169,200,59,.1); color: #e9f1ec; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; }
.fbh .privacy svg { flex: none; width: 22px; height: 22px; stroke: var(--lime); fill: none; stroke-width: 1.8; margin-top: 3px; }

/* service cards */
.fbh .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fbh .cards.two { grid-template-columns: repeat(2, 1fr); }
.fbh .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fbh .card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.fbh .card .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fbh .card h3 { font-size: 1.15rem; font-weight: 800; }
.fbh .card p { color: var(--muted); font-size: .95rem; }
.fbh .card ul { display: grid; gap: 6px; font-size: .93rem; }
.fbh .card li { padding-inline-start: 18px; position: relative; }
.fbh .card li::before { content: ""; position: absolute; right: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.fbh .card .go { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); font-size: .9rem; }
.fbh .card .go a { color: var(--brand); font-weight: 700; }
.fbh .card .go a:hover { text-decoration: underline; }
.fbh .card .go .dom { color: var(--muted); font-size: .8rem; }
.fbh .card.soon { background: transparent; border-style: dashed; }
.fbh .card.soon .ic { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); }
.fbh .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--warm); background: #f6eadc; border-radius: 999px; padding: 2px 10px; }
.fbh .alt { background: var(--surface); border-block: 1px solid var(--line); }
.fbh .alt .card { background: var(--paper); }

/* media */
.fbh .media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fbh .ch { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.fbh a.ch:hover { border-color: var(--brand); }
.fbh .ch .logo { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.fbh .ch .logo svg { width: 26px; height: 26px; fill: currentColor; }
.fbh .ch b { display: block; color: var(--ink); }
.fbh .ch span { font-size: .85rem; color: var(--muted); }
.fbh .yt { background: #c4302b; }
.fbh .ap { background: #e8235a; }
.fbh .rr { background: var(--ink); }
.fbh .ch.soon { border-style: dashed; background: transparent; }

/* values */
.fbh .values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fbh .values h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.fbh .values h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); transform: rotate(45deg); }
.fbh .values p { font-size: .92rem; color: var(--muted); }

/* footer */
.fbh .foot { background: var(--ink); color: #b9cbc1; padding-block: 48px 28px; font-size: .93rem; }
.fbh .foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.fbh .foot h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.fbh .foot nav { display: grid; gap: 8px; }
.fbh .foot nav a:hover { color: #fff; }
.fbh .owner { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.fbh .owner img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.fbh .owner a { color: #fff; font-weight: 700; }
.fbh .owner .motto { display: block; margin-top: 6px; font-style: normal; color: var(--lime); font-size: .88rem; }
.fbh .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .82rem; color: #8aa396; }

@media (max-width: 900px) {
  .fbh .hero .wrap, .fbh .care .wrap { grid-template-columns: 1fr; gap: 36px; }
  .fbh .cards, .fbh .media { grid-template-columns: 1fr 1fr; }
  .fbh .values { grid-template-columns: 1fr 1fr; }
  .fbh .foot .wrap { grid-template-columns: 1fr 1fr; }
  .fbh .foot .about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .fbh .wrap { padding-inline: 16px; }
  .fbh .nav { display: none; }
  .fbh .top .wrap { justify-content: space-between; }
  .fbh .hero { padding-block: 32px 40px; }
  .fbh .cards, .fbh .cards.two, .fbh .media, .fbh .values, .fbh .foot .wrap { grid-template-columns: 1fr; }
  .fbh .sec { padding-block: 44px; }
  .fbh .node .dot { width: 46px; height: 46px; }
  .fbh .node .dot svg { width: 22px; height: 22px; }
  .fbh .node.center .dot { width: 92px; height: 92px; box-shadow: 0 0 0 7px var(--brand-soft); }
  .fbh .node.center .dot img { width: 36px; height: 36px; }
  .fbh .node b { font-size: .8rem; }
  .fbh .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .fbh * { transition: none !important; } }
