/* yosefmavrik.co.il — public site. RTL-first: logical properties only (inline-start = right in Hebrew). */

/* ------------------------------------------------------------------ tokens */
:root {
  --c-brand: #0a4fbf;
  --c-brand-600: #083e96;
  --c-brand-700: #062f72;
  --c-brand-50: #ecf3ff;
  --c-brand-100: #d7e6ff;
  --c-accent: #14b8a6;
  --c-accent-50: #e6faf7;
  --c-ink: #0f172a;
  --c-text: #1e293b;
  --c-muted: #475569;
  --c-line: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-alt: #f4f7fb;
  --c-wa: #0b7a40;
  --c-wa-600: #08622f;
  --c-star: #f59e0b;
  --c-danger: #b91c1c;
  --c-ok: #0b7a40;
  --c-focus: #ffb703;

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .08);
  --shadow: 0 6px 24px -6px rgb(15 23 42 / .14), 0 2px 6px rgb(15 23 42 / .06);
  --shadow-lg: 0 24px 60px -18px rgb(10 79 191 / .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --a11y-scale: 1;
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--a11y-scale)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--c-text);
  background: var(--c-bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--c-brand); text-underline-offset: .2em; }
a:hover { color: var(--c-brand-600); }
ul, ol { padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main { display: block; outline: none; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 1000; padding: 10px 18px;
  background: var(--c-ink); color: #fff; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 12px; color: #fff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 1.05em; height: 1.05em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.25em;
  border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: .75em 1.6em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--c-brand); color: #fff; box-shadow: 0 6px 18px -6px rgb(10 79 191 / .55); }
.btn-primary:hover { background: var(--c-brand-600); color: #fff; }
.btn-wa { background: var(--c-wa); color: #fff; box-shadow: 0 6px 18px -6px rgb(11 122 64 / .5); }
.btn-wa:hover { background: var(--c-wa-600); color: #fff; }
.btn-light { background: #fff; color: var(--c-brand-700); }
.btn-light:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.btn-outline { background: transparent; color: var(--c-brand); border-color: var(--c-brand-100); }
.btn-outline:hover { border-color: var(--c-brand); color: var(--c-brand-600); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--c-ink); transition: background-color .2s;
}
.icon-btn:hover { background: var(--c-bg-alt); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50; background: rgb(255 255 255 / .9);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-block-end: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 6px 20px -16px rgb(15 23 42 / .4); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); flex: none; }
.brand-logo img { width: auto; max-height: 46px; max-width: 170px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--c-brand), var(--c-accent)); }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }

.main-nav { display: none; margin-inline-start: 20px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; border-radius: 10px; background: none;
  color: var(--c-text); font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav-toggle .i { transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }

.mega {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: 0; min-width: min(680px, 90vw);
  padding: 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: pop .18s var(--ease);
}
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 24px; }
.mega-title { display: block; font-weight: 700; color: var(--c-ink); text-decoration: none; padding: 4px 0; }
.mega-title:hover { color: var(--c-brand); }
.mega-sub { list-style: none; margin-block-start: 4px; }
.mega-sub a { display: block; padding: 4px 0; color: var(--c-muted); text-decoration: none; font-size: .95rem; }
.mega-sub a:hover, .mega a[aria-current="page"] { color: var(--c-brand); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.btn-call { min-height: 42px; padding-inline: 14px; }
.btn-call .call-text { display: none; }
.header-search { border-block-start: 1px solid var(--c-line); padding-block: 12px; background: #fff; }

@media (min-width: 1000px) {
  .main-nav { display: block; }
  .header-actions { margin-inline-start: auto; }
  .hamburger { display: none; }
  .btn-call .call-text { display: inline; }
}

/* drawer (mobile) */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgb(15 23 42 / .45); animation: fade .2s; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; width: min(88vw, 380px); display: flex; flex-direction: column;
  background: #fff; box-shadow: var(--shadow); animation: slideIn .25s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
/* RTL: inline-end is the left edge → slide in from the left */
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
[dir="ltr"] .drawer { animation-name: slideInLtr; }
@keyframes slideInLtr { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-block-end: 1px solid var(--c-line); }
.drawer-title { font-weight: 800; font-size: 1.1rem; }
.drawer-nav ul { list-style: none; }
.drawer-nav > ul { padding: 8px; }
.drawer-nav a { display: block; padding: 12px 12px; border-radius: 10px; color: var(--c-ink); text-decoration: none; font-weight: 500; }
.drawer-nav a:hover, .drawer-nav a[aria-current="page"] { background: var(--c-brand-50); color: var(--c-brand-700); }
.acc-row { display: flex; align-items: center; }
.acc-row a { flex: 1; }
.acc-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; }
.acc-toggle .i { transition: transform .2s; }
.acc-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.acc-panel { padding-inline-start: 14px; margin-block-end: 6px; border-inline-start: 2px solid var(--c-brand-100); margin-inline-start: 14px; }
.acc-panel a { padding-block: 9px; font-weight: 400; color: var(--c-muted); }
.drawer-cta { margin-block-start: auto; padding: 16px; display: grid; gap: 10px; border-block-start: 1px solid var(--c-line); }
body.drawer-open { overflow: hidden; }

/* ------------------------------------------------------------------ search */
.search-box { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 14px; background: #fff; border: 2px solid var(--c-line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--c-brand); box-shadow: 0 0 0 5px rgb(10 79 191 / .12); }
.search-icon { color: var(--c-muted); }
.search-input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 8px 4px; font-size: 1rem; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-input::placeholder { color: #64748b; }
.search-submit { min-height: 42px; }
.search-lg { padding: 8px; padding-inline-start: 18px; box-shadow: var(--shadow); border-color: transparent; }
.search-lg .search-input { font-size: 1.125rem; padding-block: 10px; }
.search-lg .search-submit { min-height: 50px; padding-inline: 1.6em; }
@media (max-width: 480px) { .search-submit { padding-inline: .9em; } }

.search-pop {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0; z-index: 60; max-height: min(70vh, 520px); overflow-y: auto;
  padding: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: start;
}
.sp-group { padding: 6px 0; }
.sp-group + .sp-group { border-block-start: 1px solid var(--c-line); }
.sp-label { padding: 6px 10px; font-size: .8rem; font-weight: 700; color: var(--c-muted); }
.sp-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--c-ink); text-decoration: none; cursor: pointer; }
.sp-opt[aria-selected="true"], .sp-opt:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.sp-thumb { flex: none; width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--c-bg-alt); }
.sp-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--c-accent-50); color: #0f766e; }
.sp-text { display: flex; flex-direction: column; min-width: 0; }
.sp-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-meta { font-size: .85rem; color: var(--c-muted); }
.sp-all { display: block; margin-block-start: 4px; padding: 10px; text-align: center; font-weight: 700; border-radius: 10px; text-decoration: none; }
.sp-all[aria-selected="true"], .sp-all:hover { background: var(--c-brand-50); }
.sp-empty { padding: 14px 10px; color: var(--c-muted); }
mark { background: #fff3bf; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #2a7bff 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #11a99a 0%, transparent 55%),
              linear-gradient(160deg, #062f72 0%, #0a4fbf 60%, #0b5ed7 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1.5px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { object-position: var(--pos, 50% 50%); } /* set per image in the home editor */
.hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 26 64 / .25) 0%, rgb(6 26 64 / .78) 65%); }
[dir="rtl"] .hero.has-image::before { background: linear-gradient(270deg, rgb(6 26 64 / .82) 0%, rgb(6 26 64 / .55) 55%, rgb(6 26 64 / .2) 100%); }
.hero-inner { padding-block: clamp(56px, 10vw, 120px) clamp(64px, 11vw, 132px); }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-block-end: 18px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .22); font-weight: 600; font-size: .95rem; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 6vw, 3.75rem); line-height: 1.08; letter-spacing: -.025em; margin-block-end: 16px; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgb(255 255 255 / .92); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 26px 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-weight: 500; color: rgb(255 255 255 / .95); }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges .i { color: #5eead4; stroke-width: 2.5; }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(28px, 5vw, 56px); }
.section-alt { background: var(--c-bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-block-end: clamp(22px, 4vw, 40px); }
.section-head.center { align-items: center; text-align: center; }
.section-title { font-size: clamp(1.65rem, 3.6vw, 2.4rem); margin: 0; text-wrap: balance; }
.section-sub { color: var(--c-muted); font-size: 1.1rem; margin: 0; max-width: 62ch; }
.section-sub.center { margin-inline: auto; }
.section-search { padding-block: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--c-brand-50), #fff); }
.section-search .section-title { margin-block-end: 6px; }
.section-search .section-sub { margin-block-end: 22px; }
/* services */
.services-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
@media (min-width: 760px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--c-ink); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-brand-50); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-ph { display: grid; place-items: center; height: 100%; color: var(--c-brand); background: linear-gradient(135deg, var(--c-brand-50), var(--c-accent-50)); }
.service-ph .i { width: 44px; height: 44px; }
.service-body { position: relative; padding: 14px 16px 18px; padding-inline-end: 48px; }
.service-name { font-size: 1.15rem; margin: 0; }
.service-subs { margin: 4px 0 0; font-size: .9rem; color: var(--c-muted); }
.service-go { position: absolute; inset-inline-end: 14px; inset-block-start: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand-50); color: var(--c-brand); transition: background-color .2s, color .2s; }
.service-card:hover .service-go { background: var(--c-brand); color: #fff; }
[dir="ltr"] .service-go .i { transform: scaleX(-1); }

/* cards */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { height: 100%; }
.card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--c-ink); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.05); }
.card-ph { display: grid; place-items: center; height: 100%; color: var(--c-brand); background: linear-gradient(135deg, var(--c-brand-50), var(--c-accent-50)); }
.card-ph .i { width: 40px; height: 40px; }
.card-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--c-brand); box-shadow: 0 8px 24px rgb(0 0 0 / .25); transition: transform .25s var(--ease); }
.card-play .i { width: 26px; height: 26px; margin-inline-start: -3px; }
[dir="rtl"] .card-play .i { margin-inline-start: 0; margin-inline-end: -3px; }
.card-link:hover .card-play { transform: scale(1.08); }
.card-dur { position: absolute; inset-block-end: 10px; inset-inline-start: 10px; padding: 2px 8px; border-radius: 6px; background: rgb(15 23 42 / .82); color: #fff; font-size: .8rem; font-weight: 600; }
.card-body { padding: 16px 18px 20px; }
.card-cat { display: inline-block; margin-block-end: 6px; padding: 2px 10px; border-radius: 999px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: .8rem; font-weight: 600; }
.card-title { font-size: 1.125rem; margin: 0 0 6px; line-height: 1.35; }
.card-text { margin: 0; color: var(--c-muted); font-size: .95rem; }

/* features / process */
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; }
.feature { padding: 26px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-block-end: 16px; border-radius: 16px; color: var(--c-brand); background: linear-gradient(135deg, var(--c-brand-50), var(--c-accent-50)); }
.feature-icon .i { width: 28px; height: 28px; }
.feature-num { position: absolute; inset-block-start: -8px; inset-inline-end: -8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-brand); color: #fff; font-size: .85rem; font-weight: 800; border: 3px solid #fff; }
.feature-title { font-size: 1.2rem; margin-block-end: 6px; }
.feature-text { margin: 0; color: var(--c-muted); }
.is-steps .feature { background: #fff; }

/* before / after */
.ba-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); list-style: none; }
.ba figure { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ba-half { position: relative; aspect-ratio: 3 / 4; background: var(--c-bg-alt); }
.ba-half picture, .ba-half img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(15 23 42 / .8); color: #fff; font-size: .8rem; font-weight: 700; }
.ba-tag.is-after { background: var(--c-wa); }
.ba figcaption { margin-block-start: 10px; font-weight: 600; text-align: center; }

/* testimonials */
.testimonials { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; }
.testimonial { position: relative; padding: 28px 24px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.quote-mark { position: absolute; inset-block-start: 18px; inset-inline-end: 20px; width: 36px; height: 36px; color: var(--c-brand-100); }
.stars { display: flex; gap: 2px; margin-block-end: 10px; color: #cbd5e1; }
.stars .on { color: var(--c-star); }
.testimonial blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.testimonial blockquote p { margin: 0; }
.testimonial-by { margin: 0; color: var(--c-muted); }
.testimonial-by strong { color: var(--c-ink); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-block-start: 28px; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: var(--c-brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--c-ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--c-brand); transition: transform .2s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--c-muted); }
.faq-a p { margin: 0; }

/* areas */
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 22px; list-style: none; }
.areas li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--c-bg-alt); border: 1px solid var(--c-line); font-weight: 500; }
.areas .i { color: var(--c-brand); }

/* contact */
.section-contact { background: linear-gradient(180deg, #fff, var(--c-brand-50)); }
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.contact-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 22px; }
.contact-card { padding: clamp(20px, 4vw, 32px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.card-h { font-size: 1.35rem; }
.map { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--c-line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* forms */
.form-grid { display: grid; gap: 14px 16px; grid-template-columns: 1fr; margin-block-end: 18px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; margin-block-end: 6px; font-weight: 600; color: var(--c-ink); font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgb(10 79 191 / .14); }
.field [aria-invalid="true"] { border-color: var(--c-danger) !important; }
.req { color: var(--c-danger); }
.field-check { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-brand); flex: none; }
.field-check label { flex: 1; margin: 0; font-weight: 400; font-size: .95rem; }
.field-check .field-err { flex-basis: 100%; }
.field-err { margin: 4px 0 0; color: var(--c-danger); font-size: .875rem; font-weight: 600; min-height: 0; }
.field-err:empty { display: none; }
.form-status { margin-block-start: 14px; font-weight: 600; }
.form-status.is-ok { padding: 12px 16px; border-radius: 12px; background: #e7f6ee; color: #075c30; }
.form-status.is-error { padding: 12px 16px; border-radius: 12px; background: #fdecec; color: var(--c-danger); }
.form-status:empty { display: none; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ inner pages */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(24px, 4vw, 40px) clamp(28px, 5vw, 48px); background: linear-gradient(180deg, var(--c-brand-50), #fff); }
.page-hero.has-image { color: #fff; background: var(--c-brand-700); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg picture, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(6 26 64 / .85), rgb(6 26 64 / .5)); }
.page-hero.has-image .page-title, .page-hero.has-image .page-lead, .page-hero.has-image .crumbs, .page-hero.has-image .crumbs a { color: #fff; }
.page-title { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-block: 8px 10px; text-wrap: balance; }
.page-lead { font-size: 1.15rem; color: var(--c-muted); max-width: 70ch; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; font-size: .9rem; color: var(--c-muted); }
.crumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 6px; opacity: .6; }
[dir="ltr"] .crumbs li:not(:last-child)::after { content: "›"; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-brand); text-decoration: underline; }

.page-layout { display: grid; gap: 32px; padding-block: clamp(28px, 5vw, 56px); }
@media (min-width: 960px) { .page-layout.is-contact { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.prose { max-width: 74ch; font-size: 1.0625rem; }
.prose h2 { font-size: 1.6rem; margin-block: 1.6em .5em; }
.prose h3 { font-size: 1.3rem; margin-block: 1.4em .4em; }
.prose h4 { font-size: 1.1rem; margin-block: 1.2em .3em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin-block-end: 1em; }
.prose li { margin-block-end: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-inline-start: 4px solid var(--c-brand); background: var(--c-brand-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
[dir="rtl"] .prose blockquote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose > :first-child { margin-block-start: 0; }

/* video page */
.video-page { padding-block: clamp(18px, 3vw, 32px) 0; }
.player-wrap { margin-block: 18px 28px; }
.lite-yt, .player-ph { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #0b1220; box-shadow: var(--shadow-lg); }
.lite-yt img { width: 100%; height: 100%; object-fit: cover; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .95); color: var(--c-brand); box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .25s var(--ease); }
.lite-yt-play .i { width: 36px; height: 36px; }
.lite-yt:hover .lite-yt-play, .lite-yt-play:focus-visible { transform: scale(1.08); }
.player-ph { display: grid; place-items: center; }
.player-ph-img { position: absolute; inset: 0; }
.player-ph-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) blur(2px); transform: scale(1.04); }
.player-ph-text { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 22px; border-radius: 999px; background: rgb(15 23 42 / .7); color: #fff; font-weight: 700; font-size: 1.1rem; }
.video-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .video-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .video-side { position: sticky; inset-block-start: calc(var(--header-h) + 20px); align-self: start; } }
.side-block { padding-block-end: 20px; margin-block-end: 20px; border-block-end: 1px solid var(--c-line); }
.side-h { font-size: 1rem; color: var(--c-muted); margin-block: 0 10px; font-weight: 700; }
.side-cta { display: grid; gap: 10px; padding: 20px; border: 0; border-radius: var(--radius-lg); background: var(--c-bg-alt); }
.side-cta-title { margin: 0 0 4px; font-weight: 800; font-size: 1.15rem; color: var(--c-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--c-brand-100); background: #fff; color: var(--c-brand-700); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--c-brand); color: var(--c-brand-700); }
.chip.is-active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.chip-soft { background: var(--c-bg-alt); border-color: transparent; color: var(--c-text); font-weight: 500; }
.chips-filter { margin-block-end: 26px; }
.empty { padding: 32px; text-align: center; color: var(--c-muted); border: 2px dashed var(--c-line); border-radius: var(--radius-lg); }
.result-count { color: var(--c-muted); }

/* gallery */
.gallery-wrap { margin-block: 28px; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); list-style: none; padding: 0 !important; }
.gallery li { margin: 0 !important; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--c-bg-alt); }
.gallery-item picture { display: block; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap { margin: 6px 0 0; font-size: .875rem; color: var(--c-muted); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgb(5 10 20 / .94); color: #fff; animation: fade .2s; touch-action: pan-y; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lb-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 56px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; }
.lb-btn:hover { background: rgb(255 255 255 / .24); }
.lb-prev, .lb-next { position: absolute; inset-block-start: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 6px; }
.lb-next { inset-inline-end: 6px; }
.lb-cap { padding: 12px 16px 18px; text-align: center; min-height: 3em; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { inset-block-start: auto; inset-block-end: -56px; transform: none; } }

/* CTA block */
.cta-block { margin-block: clamp(32px, 6vw, 64px); }
.cta-inner { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 5vw, 44px); border-radius: var(--radius-lg); color: #fff; background: radial-gradient(600px 300px at 0% 0%, #11a99a 0%, transparent 60%), linear-gradient(135deg, #062f72, #0a4fbf); box-shadow: var(--shadow-lg); }
.cta-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 6px; }
.cta-text { margin: 0; color: rgb(255 255 255 / .9); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-block-start: 36px; }
.pager ul { display: flex; gap: 6px; list-style: none; }
.pager-num, .pager-step { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager-num.is-current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.pager-gap { display: grid; place-items: center; min-width: 24px; color: var(--c-muted); }

/* 404 */
.notfound { padding-block: clamp(40px, 8vw, 96px); text-align: center; }
.notfound .page-lead { margin-inline: auto; margin-block-end: 24px; }
.notfound .narrow { margin: 0 auto 24px; }
.notfound-code { margin: 0; font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--c-brand), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ footer */
.site-footer { margin-block-start: clamp(40px, 6vw, 72px); background: #0b1630; color: #cbd5e1; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; margin-block-end: 8px; }
.footer-h { font-size: 1rem; color: #fff; margin-block-end: 14px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list li, .footer-list a { display: inline-flex; align-items: center; gap: 8px; }
.social { display: flex; gap: 8px; list-style: none; margin-block-start: 16px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(255 255 255 / .08); }
.social a:hover { background: rgb(255 255 255 / .18); text-decoration: none; }
.hours { display: grid; gap: 8px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { font-weight: 500; color: #e2e8f0; }
.hours dd { margin: 0; }
.footer-areas { padding-block-end: 24px; font-size: .95rem; }
.footer-areas strong { color: #fff; }
.footer-bottom { border-block-start: 1px solid rgb(255 255 255 / .1); }
.footer-bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px calc(18px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.legal { display: flex; gap: 18px; list-style: none; }

/* ------------------------------------------------------------------ floating */
.wa-float {
  position: fixed; inset-block-end: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 40;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 28px -6px rgb(11 122 64 / .6); transition: transform .25s var(--ease);
}
.wa-float .i { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.a11y { position: fixed; inset-block-end: calc(18px + env(safe-area-inset-bottom)); inset-inline-start: 18px; z-index: 45; }
.a11y-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--c-brand-700); color: #fff; box-shadow: var(--shadow); }
.a11y-btn .i { width: 28px; height: 28px; }
.a11y-panel { position: absolute; inset-block-end: 64px; inset-inline-start: 0; width: min(300px, calc(100vw - 36px)); padding: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); animation: pop .18s var(--ease); }
.a11y-title { margin: 0 0 10px; font-weight: 800; font-size: 1.1rem; color: var(--c-ink); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--c-line); border-radius: 12px; background: #fff; font-size: .85rem; font-weight: 600; color: var(--c-ink); }
.a11y-grid button:hover { border-color: var(--c-brand); }
.a11y-grid button[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.a11y-reset { grid-column: 1 / -1; flex-direction: row !important; justify-content: center; }
.a11y-link { display: block; margin-block-start: 12px; text-align: center; font-weight: 600; }

/* ------------------------------------------------------------------ accessibility modes */
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-readable body { font-family: Arial, Helvetica, sans-serif; letter-spacing: .02em; word-spacing: .08em; line-height: 1.8; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contrast {
  --c-brand: #0033cc; --c-brand-600: #00238f; --c-brand-700: #001a66; --c-brand-50: #ffffff; --c-brand-100: #000000;
  --c-text: #000; --c-ink: #000; --c-muted: #000; --c-line: #000; --c-bg-alt: #fff; --c-accent-50: #fff;
}
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .hero, html.a11y-contrast .cta-inner, html.a11y-contrast .site-footer, html.a11y-contrast .page-hero.has-image { background: #000 !important; }
html.a11y-contrast .hero::after, html.a11y-contrast .hero::before, html.a11y-contrast .page-hero::before, html.a11y-contrast .hero-bg, html.a11y-contrast .page-hero-bg { display: none; }
html.a11y-contrast .hero a.btn, html.a11y-contrast .site-footer a { color: #ff0 !important; }
html.a11y-contrast .btn { border: 2px solid currentColor !important; }
html.a11y-contrast a:not(.btn) { color: #0033cc; text-decoration: underline; }
html.a11y-contrast .site-footer, html.a11y-contrast .site-footer * { color: #fff; }
html.a11y-contrast .card-link, html.a11y-contrast .service-card, html.a11y-contrast .feature, html.a11y-contrast .testimonial, html.a11y-contrast .faq-item { border: 2px solid #000; }

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

@media print {
  .site-header, .site-footer, .wa-float, .a11y, .cta-block, .search-box { display: none !important; }
}
