/* Smile By Ganbarov: dark clinic site, ruled sections, sparkle-dust hero. Layout mirrors leabeautycenter.az structure. */
:root {
  --ink: #07090c;
  --graphite: #10141a;
  --raised: #161c24;
  --line: #232a33;
  --steel: #8c97a4;
  --silver: #cfd6de;
  --white: #f5f7f9;
  --ice: #a9cbe6;
  --ice-deep: #6fa2c9;
  --danger: #ff9b8f;
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ink); color: var(--silver);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px;
}
.wrap {
  width: 100%; max-width: 1192px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); margin: 0; text-wrap: balance; line-height: 1.18; }
p { margin: 0; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); }
.muted { color: var(--steel); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--white);
  background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--ice); border-color: var(--ice); }
.btn.ghost { background: transparent; color: var(--white); border-color: #4a5461; }
.btn.ghost:hover { border-color: var(--white); }
.btn.sm { padding: 10px 18px; font-size: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* top bar + header */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--steel); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar .contact, .topbar .social { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar a:hover { color: var(--white); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(7, 9, 12, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 34px; height: 34px; flex: none; color: var(--white); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .12em; color: var(--white); }
.wordmark span { font-family: var(--font-display); font-weight: 500; font-size: 9px; letter-spacing: .34em; color: var(--steel); margin-top: 5px; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 4px; }
nav.main > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
nav.main li { position: relative; }
nav.main li > a { display: block; padding: 10px 12px; font-size: 14px; color: var(--silver); border-radius: 8px; transition: color .2s; }
nav.main li > a:hover, nav.main li > a.on { color: var(--white); }
nav.main li > a.on { box-shadow: inset 0 -2px 0 var(--ice); border-radius: 0; }
nav.main .sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 270px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; display: none; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: block; }
nav.main .sub a { display: block; padding: 10px 12px; font-size: 14px; color: var(--silver); border-radius: 8px; }
nav.main .sub a:hover { background: var(--ink); color: var(--white); }
.topbar .right { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 0; }
.topbar .lang a { padding: 4px 11px; line-height: 1.5; }
.lang a { padding: 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; border: 1px solid var(--line); color: var(--steel); font-family: var(--font-display); }
.lang a + a { border-left: 0; }
.lang a:first-child { border-radius: 8px 0 0 8px; }
.lang a:last-child { border-radius: 0 8px 8px 0; }
.lang a.on { background: var(--white); color: var(--ink); border-color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--white); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 18px; }

/* breadcrumbs + page hero */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--steel); margin-bottom: 22px; }
.crumbs a:hover { color: var(--white); }
.crumbs span.sep { opacity: .5; }
.phero { padding-block: 48px 56px; border-bottom: 1px solid var(--line); background: radial-gradient(50% 120% at 85% 0%, rgba(111,162,201,.12), transparent 70%); }
.phero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 600; letter-spacing: -.01em; margin-top: 14px; }
.phero .lead { max-width: 62ch; margin-top: 18px; font-size: 17px; color: var(--silver); }
.phero .cta-row { margin-top: 28px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--steel); }
.ticks li::before { content: "◆"; color: var(--ice-deep); font-size: 8px; margin-right: 10px; vertical-align: middle; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ice); font-family: var(--font-display); }

/* home hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 72px 80px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 40%, rgba(111,162,201,.16), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(26px, 3vw, 42px); font-weight: 600; letter-spacing: -.02em; margin-top: 0; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--ice); }
.hero p.lead { max-width: 52ch; margin-top: 22px; font-size: 18px; color: var(--silver); }
.hero .cta-row { margin-top: 34px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark svg { width: min(320px, 80%); height: auto; color: var(--white); filter: drop-shadow(0 0 40px rgba(169,203,230,.28)); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel); }
.ticker { margin-top: 40px; padding: 22px 0 0; border-top: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; font-size: 14px; color: var(--silver); padding-right: 34px; }
.ticker span::before { content: "◆"; color: var(--ice-deep); font-size: 8px; margin-right: 12px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.facts span::before { content: "◆"; color: var(--ice-deep); font-size: 8px; margin-right: 10px; vertical-align: middle; }

/* sections */
section.block { padding-block: 80px; border-top: 1px solid var(--line); }
section.block.first { border-top: 0; }
.head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; }
.head p { color: var(--steel); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.head-row .head { margin-bottom: 0; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }

/* image placeholder */
.ph { position: relative; aspect-ratio: var(--ar, 4 / 3); width: 100%; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 70% at 70% 30%, rgba(111,162,201,.14), transparent 70%), var(--graphite); }
.ph.fit { background: #fff; }
.ph.fit img { object-fit: contain; }
.ph svg { width: 22%; min-width: 36px; color: #2d3946; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .cap { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #566272; font-weight: 600; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid.g3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--graphite); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .25s, transform .25s; min-width: 0; }
.card:hover { border-color: var(--ice-deep); transform: translateY(-2px); }
.card .ph { border-bottom: 1px solid var(--line); }
.card-b { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; flex: 1; }
.card h3 { font-size: 18px; font-weight: 600; }
.card .more { font-size: 13px; font-weight: 600; color: var(--ice); margin-top: 4px; }
.card p { font-size: 14px; color: var(--steel); }
.badge { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ice-deep); color: var(--ice); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--silver); transition: border-color .2s; }
.pill:hover { border-color: var(--steel); }
.pill.on { background: var(--white); border-color: var(--white); color: var(--ink); }
.pill small { opacity: .6; margin-left: 6px; font-size: 12px; }

/* featured device rows */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feat .card { flex-direction: row; }
.feat .card .ph { width: 42%; flex: none; aspect-ratio: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--steel); }

/* why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 36px 40px; }
.why h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.why h3::before { content: "◆"; color: var(--ice-deep); font-size: 9px; }
.why p { color: var(--steel); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 26px 24px 6px 0; min-width: 0; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--ice); display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--steel); }

/* faq */
details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--white); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ice); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 22px; color: var(--steel); font-size: 15px; max-width: 64ch; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--graphite); display: grid; gap: 18px; align-content: space-between; }
.quote p { color: var(--white); font-size: 16px; }
.quote b { display: block; color: var(--white); font-family: var(--font-display); font-size: 14px; }
.quote span { font-size: 13px; color: var(--steel); }

/* cta band */
.cta { display: grid; gap: 16px; padding: 56px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(60% 120% at 90% 0%, rgba(111,162,201,.16), transparent 70%), var(--graphite); }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; max-width: 22ch; }
.cta p { color: var(--steel); max-width: 56ch; }
.cta .cta-row { margin-top: 10px; }

/* mission */
.mission { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mission h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin-top: 14px; }
.mission .ph { border: 1px solid var(--line); border-radius: 16px; }

/* service/device detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.detail .ph { border: 1px solid var(--line); border-radius: 16px; }
.prose h2 { font-size: 26px; font-weight: 600; margin: 0 0 16px; }
.prose p { margin-bottom: 16px; max-width: 66ch; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; font-weight: 600; }
.feat-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.feat-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--white); font-size: 15px; display: flex; gap: 14px; }
.feat-list li:first-child { border-top: 1px solid var(--line); }
.feat-list li::before { content: "◆"; color: var(--ice-deep); font-size: 9px; margin-top: 7px; }
.side { border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); padding: 26px; display: grid; gap: 14px; position: sticky; top: 100px; }
.side dl { margin: 0; display: grid; gap: 12px; }
.side dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.side dd { margin: 2px 0 0; color: var(--white); }
.side .btn { width: 100%; }
.side small { color: var(--steel); font-size: 13px; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.gal figure { margin: 0; display: grid; gap: 10px; }
.gal .ph { border: 1px solid var(--line); border-radius: 12px; }
.gal figcaption { font-size: 14px; color: var(--silver); }
.gal figcaption small { color: var(--steel); display: block; font-size: 12px; }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; grid-column: 1 / -1; }
.ba figure { position: relative; }
.ba .lbl { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

/* blog */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--steel); margin-top: 16px; }
.article .ph { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 32px; --ar: 16 / 8; }
.article h2 { font-size: 22px; font-weight: 600; margin: 32px 0 10px; }
.article p { max-width: 68ch; margin-bottom: 12px; }
.widget { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; background: var(--graphite); }
.widget h4 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget li a { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--silver); }
.widget li a:hover { color: var(--white); }
.side-stack { display: grid; gap: 24px; position: sticky; top: 100px; }
.mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.mini .ph { --ar: 1 / 1; border-radius: 8px; }
.mini b { display: block; font-size: 14px; color: var(--white); line-height: 1.35; font-weight: 600; }
.mini small { color: var(--steel); font-size: 12px; }

/* contact */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 56px; }
.info { background: var(--ink); padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.info .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); font-weight: 700; font-family: var(--font-display); }
.info .v { color: var(--white); overflow-wrap: anywhere; }
.info small { color: var(--steel); font-size: 13px; }
.formbox { background: var(--graphite); border: 1px solid var(--line); border-radius: 18px; padding: 36px; min-width: 0; }
.formbox h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.formbox .sub { color: var(--steel); font-size: 14px; margin-bottom: 26px; }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label.f { display: grid; gap: 7px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400;
  color: var(--white); background: var(--ink); border: 1px solid #2c3540; border-radius: 10px; padding: 13px 14px; width: 100%; min-width: 0;
}
input::placeholder, textarea::placeholder { color: #5d6875; }
textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel); text-transform: none; letter-spacing: 0; font-weight: 400; }
.check input { margin-top: 4px; accent-color: var(--ice); }
.err { color: var(--danger); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; min-height: 1em; }
.result { margin-top: 20px; padding: 20px; border: 1px solid var(--ice-deep); border-radius: 12px; background: rgba(111,162,201,.07); display: grid; gap: 14px; }
.result pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--font-body); font-size: 14px; color: var(--white); }
.result p { font-size: 13px; color: var(--steel); }
.result .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.mapbox { border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); padding: 28px; display: grid; gap: 14px; align-content: start; }

/* footer */
footer.site { border-top: 1px solid var(--line); margin-top: 0; padding-block: 64px 0; background: var(--graphite); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px; }
.fgrid h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.fgrid a:hover { color: var(--white); }
.fgrid .about p { font-size: 14px; color: var(--steel); margin-top: 16px; max-width: 34ch; }
.fgrid .social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13px; }
.fbot { margin-top: 48px; padding-block: 22px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 13px; color: var(--steel); }
.fbot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fbot a:hover { color: var(--white); }

@media (max-width: 980px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid .about { grid-column: 1 / -1; }
  .blog-layout, .detail, .split, .mission { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .side, .side-stack { position: static; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark svg { width: 110px; }
  .hero { padding-block: 40px 56px; }
  section.block { padding-block: 60px; }
  .menu-btn { display: block; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 20px; display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  nav.main.open { display: flex; }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main li > a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  nav.main li > a.on { box-shadow: none; color: var(--ice); }
  nav.main .sub { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  nav.main .sub a { padding: 11px 0; color: var(--steel); border-bottom: 1px solid var(--line); border-radius: 0; }
  nav.main .btn { margin-top: 16px; }
  .cta { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .row2, .ba { grid-template-columns: minmax(0, 1fr); }
  .formbox { padding: 24px 18px; }
  .feat .card { flex-direction: column; }
  .feat .card .ph { width: 100%; min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .wordmark b { font-size: 19px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 560px) { .topbar .contact a:nth-child(n+2) { display: none; } .topbar .wrap { flex-wrap: nowrap; } }

/* language dropdown (top right) */
.langsel { position: relative; border: 0; }
.langsel > summary { display: flex; align-items: center; gap: 7px; padding: 4px 12px; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--white); border: 1px solid #3a4452; border-radius: 999px; cursor: pointer; }
.langsel > summary:hover { border-color: var(--white); }
.langsel > summary::after { content: "▾"; position: static; transform: none; font-size: 11px; color: var(--steel); }
.langsel[open] > summary::after { content: "▴"; }
.langsel > summary b { font-weight: 700; }
.langsel ul { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.55); z-index: 80; }
.langsel li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--silver); }
.langsel li a b { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; width: 24px; color: var(--steel); }
.langsel li a:hover { background: var(--ink); color: var(--white); }
.langsel li a.on, .langsel li a.on b { color: var(--white); }
.langsel li a.on b { color: var(--ice); }

/* hero reception photo + lightbox */
#lb { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,8,.94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
#lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
#lb button { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a4452; background: var(--graphite); color: var(--white); font-size: 24px; cursor: pointer; }
@media (max-width: 420px) { .topbar .contact a:nth-child(2) { display: none; } }

/* hero: reception photo melts into the page, no frame */
.hero { min-height: 640px; display: flex; align-items: center; }
.hero > .hero-grid { width: 100%; }
.hero-grid:has(.hero-photo) { grid-template-columns: minmax(0, 1fr); }
.hero-grid:has(.hero-photo) > div:first-child { max-width: 580px; position: relative; z-index: 2; }
.hero-photo { position: absolute; inset: 0 0 0 36%; z-index: -2; margin: 0; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 82% 38%; filter: saturate(.92) brightness(.9) contrast(1.04); }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7,9,12,.92) 14%, rgba(7,9,12,.55) 38%, rgba(7,9,12,.12) 66%, rgba(7,9,12,0) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7,9,12,.7) 12%, rgba(7,9,12,0) 38%),
    linear-gradient(180deg, var(--ink) 0%, rgba(7,9,12,0) 20%),
    radial-gradient(70% 60% at 85% 30%, rgba(111,162,201,.14), rgba(111,162,201,0) 70%); }
.hero::after { display: none; }
@media (max-width: 980px) {
  .hero { min-height: 0; display: block; padding-block: 0 56px; }
  .hero-grid:has(.hero-photo) > div:first-child { max-width: none; margin-top: -72px; }
  .hero-photo { order: -1; position: relative; inset: auto; height: 300px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); z-index: 0; }
  .hero-photo img { object-position: 85% 40%; }
  .hero-photo::after { background:
    linear-gradient(0deg, var(--ink) 0%, rgba(7,9,12,.75) 18%, rgba(7,9,12,0) 60%),
    linear-gradient(180deg, var(--ink) 0%, rgba(7,9,12,0) 18%); }
}

.igl { display: inline-flex; align-items: center; color: var(--white); }
.igl .ig { width: 20px; height: 20px; }
.igl:hover { color: var(--ice); }
.topbar .igl, .fgrid .igl { color: #fff; }
.mapframe { position: relative; aspect-ratio: 16 / 10; min-height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #11171e; margin-top: 6px; }
.mapframe svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapframe { display: block; transition: border-color .2s; }
.mapframe:hover { border-color: var(--steel); }

.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .grid.g4 { grid-template-columns: minmax(0, 1fr); } }
.gal.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .gal.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .gal.g4 { grid-template-columns: minmax(0, 1fr); } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.chips li { border: 1px solid var(--line); background: rgba(16,22,29,.6); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--silver); backdrop-filter: blur(6px); }
.chips b { color: var(--white); font-family: var(--font-display); font-weight: 600; margin-right: 4px; }

.hero p.lead { font-size: 15.5px; max-width: 52ch; margin-top: 16px; }
.hero .cta-row { margin-top: 24px; }
.hero .cta-row .btn { padding: 12px 24px; font-size: 13px; }
.hero .chips { margin-top: 22px; gap: 8px; }
.hero .chips li { padding: 6px 13px; font-size: 12px; }
.hero .ticker { margin-top: 28px; padding-top: 18px; }
.hero .ticker span { font-size: 13px; }
.hero-grid:has(.hero-photo) > div:first-child { max-width: 620px; }

/* ---- opening effect ---- */
html.fx { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; cursor: pointer; }
#intro .pl, #intro .pr { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--ink); transition: transform 1.05s cubic-bezier(.77, 0, .18, 1); }
#intro .pl { left: 0; border-right: 1px solid rgba(169,203,230,.0); } #intro .pr { right: 0; }
#intro .pl::after, #intro .pr::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 50%, rgba(111,162,201,.16), transparent 70%); }
#intro .pr::after { background: radial-gradient(60% 50% at 0% 50%, rgba(111,162,201,.16), transparent 70%); }
#intro.open .pl { transform: translateX(-101%); } #intro.open .pr { transform: translateX(101%); }
#intro .mid { position: relative; display: grid; justify-items: center; gap: 10px; color: var(--white); transition: opacity .5s ease, transform 1s cubic-bezier(.77, 0, .18, 1), filter .6s; }
#intro.open .mid { opacity: 0; transform: scale(1.35); filter: blur(6px); }
#intro svg { width: 92px; height: 98px; overflow: visible; }
#intro svg use { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.5s .15s cubic-bezier(.5, 0, .2, 1) forwards; }
#intro b { font-family: var(--font-display); font-weight: 600; letter-spacing: .42em; font-size: 26px; margin-right: -.42em; opacity: 0; transform: translateY(14px); animation: rise .8s .9s ease forwards; }
#intro span { font-family: var(--font-display); font-size: 11px; letter-spacing: .5em; margin-right: -.5em; color: var(--ice); opacity: 0; transform: translateY(10px); animation: rise .8s 1.15s ease forwards; }
#intro em { display: block; width: 0; height: 1px; margin-top: 14px; background: linear-gradient(90deg, transparent, var(--ice), transparent); animation: line 1s 1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { width: 220px; } }

html.fx .hero-photo img { animation: photoIn 3.2s 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes photoIn { from { transform: scale(1.22); filter: saturate(.92) brightness(.35) blur(8px); } to { transform: scale(1); filter: saturate(.92) brightness(.9) contrast(1.04) blur(0); } }
html.fx .hero h1, html.fx .hero p.lead, html.fx .hero .cta-row, html.fx .hero .chips, html.fx .hero .ticker { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
html.fx .hero h1 { animation-delay: 2.15s; }
html.fx .hero p.lead { animation-delay: 2.4s; }
html.fx .hero .cta-row { animation-delay: 2.6s; }
html.fx .hero .chips { animation-delay: 2.8s; }
html.fx .hero .ticker { animation-delay: 3s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
html.fx .topbar, html.fx .site-header, html.fx header { animation: down .8s 2.1s ease both; }
@keyframes down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } }

.igl.wal .ig, .igl.wal svg { width: 20px; height: 20px; }
.topbar .social { display: flex; align-items: center; gap: 16px; }
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #2fe27a, #17a34a); box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12) inset; transition: transform .25s ease, box-shadow .25s ease; }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 6px rgba(47,226,122,.18); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47,226,122,.55); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
html.fx .wa-fab { animation: waIn .7s 3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes waIn { from { opacity: 0; transform: translateY(24px) scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; display: none; } }
#intro svg { width: 96px; height: 120px; }
#intro svg use { stroke-dasharray: 4200; stroke-dashoffset: 4200; animation: draw 1.6s .1s cubic-bezier(.5, 0, .2, 1) forwards; }
#intro svg { opacity: 0; animation: logoIn 1.1s .15s ease forwards; filter: drop-shadow(0 0 28px rgba(169,203,230,.35)); }
@keyframes logoIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }

/* real logo */
.brand .logo { width: auto; height: 52px; aspect-ratio: 161 / 65; color: #fff; }
.about .brand .logo, .site .brand .logo { height: 52px; }
#intro svg { width: min(340px, 72vw); height: auto; aspect-ratio: 161 / 65; }
#intro svg use { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s .1s cubic-bezier(.5, 0, .2, 1) forwards; }

/* ---- ulduz dizaynı ---- */
.topbar, header.top { position: relative; background: linear-gradient(180deg, #05070b 0%, #080d15 100%); }
.topbar { z-index: 60; }
header.top { position: sticky; }
.topbar::before, header.top::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221100%22 height=%22150%22 viewBox=%220 0 1100 150%22%3E%3Ccircle cx=%22264.9%22 cy=%2281.3%22 r=%220.80%22 fill=%22%23fff%22 opacity=%220.82%22/%3E%3Ccircle cx=%22521.8%22 cy=%2286.5%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.50%22/%3E%3Ccircle cx=%22917.2%22 cy=%2240.8%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.57%22/%3E%3Ccircle cx=%22786.3%22 cy=%2280.8%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.67%22/%3E%3Ccircle cx=%22701.3%22 cy=%2225.4%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.55%22/%3E%3Ccircle cx=%221013.3%22 cy=%2259.4%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.73%22/%3E%3Ccircle cx=%2275.7%22 cy=%22111.7%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.51%22/%3E%3Ccircle cx=%22854.7%22 cy=%22120.9%22 r=%220.80%22 fill=%22%23fff%22 opacity=%220.67%22/%3E%3Ccircle cx=%22788.1%22 cy=%22128.8%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.78%22/%3E%3C/svg%3E"); background-size: 1100px 150px; }
.topbar > *, header.top > * { position: relative; z-index: 1; }
body { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22980%22 height=%22760%22 viewBox=%220 0 980 760%22%3E%3Ccircle cx=%22443.9%22 cy=%22424.9%22 r=%221.00%22 fill=%22%23fff%22 opacity=%220.55%22/%3E%3Ccircle cx=%22833.7%22 cy=%22146.8%22 r=%221.20%22 fill=%22%23fff%22 opacity=%220.56%22/%3E%3Ccircle cx=%22600.3%22 cy=%22144.0%22 r=%221.00%22 fill=%22%23fff%22 opacity=%220.49%22/%3E%3Ccircle cx=%2293.8%22 cy=%22612.9%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.62%22/%3E%3Ccircle cx=%22389.5%22 cy=%22344.7%22 r=%221.20%22 fill=%22%23fff%22 opacity=%220.64%22/%3E%3Ccircle cx=%22609.2%22 cy=%22629.4%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.38%22/%3E%3Ccircle cx=%22190.1%22 cy=%22185.9%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.70%22/%3E%3Ccircle cx=%22321.9%22 cy=%22448.4%22 r=%220.80%22 fill=%22%23fff%22 opacity=%220.58%22/%3E%3Ccircle cx=%22625.8%22 cy=%22379.8%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.56%22/%3E%3Ccircle cx=%22275.3%22 cy=%22754.2%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.67%22/%3E%3Ccircle cx=%22311.2%22 cy=%22176.7%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.36%22/%3E%3Ccircle cx=%22551.1%22 cy=%2285.2%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.73%22/%3E%3Ccircle cx=%22380.1%22 cy=%22724.4%22 r=%220.70%22 fill=%22%23fff%22 opacity=%220.45%22/%3E%3C/svg%3E"); background-size: 980px 760px; background-color: var(--ink); }
/* hero: şəkil sola çəkildi, kənarlar yumşaq qradientlə qaraya keçir */
@media (min-width: 981px) {
  .hero-photo { inset: 0 8% 0 24%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 10%, #000 34%, #000 90%, rgba(0,0,0,.4) 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 10%, #000 34%, #000 90%, rgba(0,0,0,.4) 96%, transparent 100%); }
  .hero-photo img { object-position: 100% 40%; }
  .hero-photo::after { background:
    linear-gradient(90deg, rgba(7,9,12,.75) 0%, rgba(7,9,12,.45) 22%, rgba(7,9,12,0) 52%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7,9,12,.7) 12%, rgba(7,9,12,0) 38%),
    linear-gradient(180deg, var(--ink) 0%, rgba(7,9,12,0) 20%); }
}
.hero::before { content: ""; position: absolute; inset: 0 0 0 70%; z-index: -1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22420%22 height=%22260%22 viewBox=%220 0 420 260%22%3E%3Ccircle cx=%22229.4%22 cy=%2291.8%22 r=%221.40%22 fill=%22%23fff%22 opacity=%220.63%22/%3E%3Ccircle cx=%22214.2%22 cy=%2291.3%22 r=%221.20%22 fill=%22%23fff%22 opacity=%220.51%22/%3E%3Ccircle cx=%2221.1%22 cy=%22216.2%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.86%22/%3E%3Ccircle cx=%2242.6%22 cy=%22129.5%22 r=%221.40%22 fill=%22%23fff%22 opacity=%220.74%22/%3E%3Ccircle cx=%22345.8%22 cy=%2255.4%22 r=%220.90%22 fill=%22%23fff%22 opacity=%220.60%22/%3E%3Ccircle cx=%22324.8%22 cy=%22173.2%22 r=%221.40%22 fill=%22%23fff%22 opacity=%220.74%22/%3E%3Ccircle cx=%22227.6%22 cy=%22110.8%22 r=%221.00%22 fill=%22%23fff%22 opacity=%220.73%22/%3E%3Ccircle cx=%2296.8%22 cy=%22107.9%22 r=%221.20%22 fill=%22%23fff%22 opacity=%220.73%22/%3E%3Ccircle cx=%22311.9%22 cy=%22193.7%22 r=%221.40%22 fill=%22%23fff%22 opacity=%220.82%22/%3E%3C/svg%3E"); background-size: 420px 260px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); animation: twk 5s ease-in-out infinite; }
@keyframes twk { 0%,100% { opacity: .55 } 50% { opacity: 1 } }
@media (max-width: 980px) { .hero-photo { inset: auto; } .hero::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

/* ---- עברית / RTL ---- */
html[lang="he"] { --font-display: "Heebo", "Segoe UI", Arial, sans-serif; --font-body: "Heebo", "Segoe UI", Arial, sans-serif; }
html[lang="he"] body *, html[lang="he"] body *::before, html[lang="he"] body *::after { letter-spacing: 0 !important; }
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] nav.main { margin-left: 0; margin-right: auto; }
html[dir="rtl"] nav.main .sub { left: auto; right: 0; }
html[dir="rtl"] .menu-btn { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .ticks li::before, html[dir="rtl"] .facts span::before { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .ticker span { padding-right: 0; padding-left: 34px; }
html[dir="rtl"] .ticker span::before { margin-right: 0; margin-left: 12px; }
html[dir="rtl"] .chips b { margin-right: 0; margin-left: 4px; }
html[dir="rtl"] .ph .cap { left: auto; right: 12px; }
html[dir="rtl"] .pill small { margin-left: 0; margin-right: 6px; }
html[dir="rtl"] .feat .card .ph { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .stat:last-child { border-left: 0; }
html[dir="rtl"] summary::after { right: auto; left: 4px; }
html[dir="rtl"] .ba .lbl { left: auto; right: 12px; }
html[dir="rtl"] .langsel ul { right: auto; left: 0; }
html[dir="rtl"] #lb button { right: auto; left: 18px; }
html[dir="rtl"] .wa-fab { right: auto; left: max(18px, env(safe-area-inset-left, 0px)); }
/* hero: התמונה נשארת בצד ימין; בלוק הטקסט נשאר משמאל אך מיושר לימין */
html[dir="rtl"] .hero-grid { direction: ltr; }
html[dir="rtl"] .hero-grid > div:first-child { direction: rtl; text-align: right; }
@media (max-width: 980px) { html[dir="rtl"] .hero-grid > div:first-child { margin-inline: 0; } }
