/* ===========================================================
   Power Fitness Israel — Design System
   Brand: #0038B8 (flag blue) · #25B8BF (brand teal) · white
   RTL-first, WCAG 2.1 AA
   =========================================================== */

:root{
  --blue:#0038B8;
  --blue-700:#002E96;
  --blue-900:#001C5C;
  --teal:#25B8BF;
  --teal-600:#0E767C;
  --teal-700:#0B6167;
  --ink:#0E1526;
  --ink-2:#3A4560;
  --muted:#5B6580;
  --line:#E3E8F2;
  --bg:#FFFFFF;
  --bg-soft:#F5F7FC;
  --bg-dark:#080D1A;
  --white:#fff;
  --radius:18px;
  --radius-sm:12px;
  --shadow-sm:0 1px 2px rgba(8,13,26,.06),0 4px 14px rgba(8,13,26,.06);
  --shadow-md:0 10px 34px rgba(8,13,26,.12);
  --shadow-lg:0 24px 64px rgba(0,56,184,.18);
  --max:1180px;
  --pad:clamp(18px,4vw,32px);
  --ff:'Assistant','Heebo',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:92px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
body{
  margin:0;font-family:var(--ff);color:var(--ink);background:var(--bg);
  font-size:clamp(16.5px,1.05vw,18px);line-height:1.72;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,picture,svg,video{max-width:100%;display:block;height:auto}
a{color:var(--blue-700);text-underline-offset:3px}
a:hover{color:var(--blue)}

/* ---------- Accessibility primitives ---------- */
.skip{
  position:absolute;inset-inline-start:-9999px;top:0;z-index:9999;
  background:var(--blue);color:#fff;padding:14px 22px;border-radius:0 0 12px 12px;font-weight:700
}
.skip:focus{inset-inline-start:16px}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--teal-700);outline-offset:3px;border-radius:6px
}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0
}

/* ---------- Layout ---------- */
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-block:clamp(56px,7.5vw,104px)}
.section--soft{background:var(--bg-soft)}
.section--dark{background:var(--bg-dark);color:#EAF0FF}
.section--dark h2,.section--dark h3{color:#fff}
.section--dark p{color:#C3CEEA}

/* ---------- Type ---------- */
h1,h2,h3,h4{line-height:1.16;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:clamp(2.15rem,6.2vw,4.05rem);font-weight:900}
h2{font-size:clamp(1.75rem,3.9vw,2.7rem)}
h3{font-size:clamp(1.2rem,2vw,1.45rem)}
p{margin:0 0 1.05em;max-width:66ch;text-wrap:pretty}
.lead{font-size:clamp(1.08rem,1.65vw,1.28rem);color:var(--ink-2);font-weight:500}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:.86rem;
  letter-spacing:.09em;text-transform:uppercase;color:var(--teal-700);margin-bottom:14px
}
.eyebrow::before{content:"";width:26px;height:3px;border-radius:3px;background:var(--teal)}
.section--dark .eyebrow{color:var(--teal)}
.section-head{max-width:760px;margin-bottom:clamp(32px,4vw,52px)}
.center{text-align:center;margin-inline:auto}
.center p{margin-inline:auto}

/* ---------- Buttons ---------- */
.btn{
  --btn-bg:var(--blue);--btn-fg:#fff;--btn-bd:var(--blue);
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:var(--btn-bg);color:var(--btn-fg);border:2px solid var(--btn-bd);
  padding:14px 28px;border-radius:999px;font:inherit;font-weight:800;font-size:1.02rem;
  text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
  box-shadow:0 6px 20px rgba(0,56,184,.24);min-height:52px
}
.btn:hover{background:var(--blue-700);border-color:var(--blue-700);color:#fff;transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,56,184,.32)}
.btn svg{width:20px;height:20px;flex:none;fill:currentColor}
.btn--wa{--btn-bg:#157F3D;--btn-bd:#157F3D;box-shadow:0 6px 20px rgba(21,127,61,.3)}
.btn--wa:hover{background:#0E6B32;border-color:#0E6B32;box-shadow:0 12px 30px rgba(21,127,61,.36)}
.btn--ghost{--btn-bg:transparent;--btn-fg:var(--blue-700);--btn-bd:#C6D2F0;box-shadow:none}
.btn--ghost:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn--light{--btn-bg:#fff;--btn-fg:var(--blue-900);--btn-bd:#fff}
.btn--light:hover{background:#EAF0FF;color:var(--blue-900);border-color:#EAF0FF}
.btn--onDark.btn--ghost{--btn-fg:#fff;--btn-bd:rgba(255,255,255,.45)}
.btn--onDark.btn--ghost:hover{background:#fff;color:var(--blue-900);border-color:#fff}
.btn--lg{padding:17px 34px;font-size:1.1rem;min-height:60px}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.center .btn-row{justify-content:center}

/* ---------- Header ---------- */
.header{
  position:sticky;top:0;z-index:900;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(14px);border-bottom:1px solid var(--line)
}
.header__in{display:flex;align-items:center;gap:18px;min-height:74px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:900;flex:none}
.brand img{width:46px;height:46px;border-radius:50%}
.brand__txt{display:flex;flex-direction:column;line-height:1.12}
.brand__txt b{font-size:1.03rem;letter-spacing:-.02em}
.brand__txt span{font-size:.74rem;font-weight:700;color:var(--teal-700);letter-spacing:.02em}
.nav{margin-inline-start:auto}
.nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}
.nav a{
  display:block;padding:9px 13px;border-radius:10px;text-decoration:none;
  color:var(--ink-2);font-weight:700;font-size:.97rem;transition:background .15s,color .15s;white-space:nowrap
}
.nav a:hover{background:var(--bg-soft);color:var(--blue)}
.nav a[aria-current="page"]{color:var(--blue);background:#EDF2FF}
.header .btn{padding:11px 20px;min-height:46px;font-size:.95rem}
.hdr-cta{display:flex;gap:9px;flex:none}
.burger{
  display:none;width:48px;height:48px;border:2px solid var(--line);background:#fff;border-radius:12px;
  cursor:pointer;align-items:center;justify-content:center;margin-inline-start:auto;flex:none
}
.burger span{display:block;width:21px;height:2.5px;background:var(--ink);border-radius:2px;position:relative}
.burger span::before,.burger span::after{content:"";position:absolute;inset-inline:0;height:2.5px;background:var(--ink);border-radius:2px}
.burger span::before{top:-7px}.burger span::after{top:7px}

@media (max-width:1080px){
  .nav{
    position:fixed;inset:74px 0 auto 0;background:#fff;border-bottom:1px solid var(--line);
    padding:12px var(--pad) 22px;display:none;box-shadow:var(--shadow-md);max-height:calc(100dvh - 74px);overflow:auto
  }
  .nav[data-open="true"]{display:block}
  .nav ul{flex-direction:column;align-items:stretch;gap:2px}
  .nav a{padding:14px 12px;font-size:1.06rem;border-bottom:1px solid var(--line)}
  .burger{display:flex}
  .hdr-cta{display:none}
}

/* ---------- Hero ---------- */
.hero{position:relative;background:var(--bg-dark);color:#fff;overflow:hidden;isolation:isolate}
.hero__media{position:absolute;inset:0;z-index:-2}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to left,rgba(8,13,26,.62) 0%,rgba(8,13,26,.86) 55%,rgba(0,28,92,.95) 100%)
}
.hero__in{padding-block:clamp(76px,11vw,146px);max-width:780px}
.hero h1{color:#fff;margin-bottom:.35em}
.hero h1 .hl{color:var(--teal)}
.hero p{color:#D5DEF5;font-size:clamp(1.1rem,1.75vw,1.34rem);font-weight:500;max-width:52ch}
.hero .eyebrow{color:var(--teal)}
.hero__pills{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0 0;padding:0;list-style:none}
.hero__pills li{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);
  padding:7px 15px;border-radius:999px;font-weight:700;font-size:.92rem;color:#EAF0FF
}
.hero .btn-row{margin-top:30px}

/* ---------- Trust strip ---------- */
.trust{background:var(--blue-900);color:#fff;padding-block:20px}
.trust__in{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:center;text-align:center}
.trust p{margin:0;font-weight:700;font-size:.95rem;color:#C9D6FA;max-width:none}
.trust strong{color:#fff}

/* ---------- Cards / grids ---------- */
.grid{display:grid;gap:clamp(16px,2vw,24px)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.grid--4{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;
  box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s;
  display:flex;flex-direction:column;height:100%
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#C6D2F0}
.card h3{margin-bottom:.4em}
.card p{color:var(--muted);font-size:.98rem;margin-bottom:0}
.card__ico{
  width:52px;height:52px;border-radius:14px;display:grid;place-items:center;margin-bottom:16px;
  background:linear-gradient(140deg,var(--blue),var(--teal));color:#fff;flex:none
}
.card__ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card__link{margin-top:auto;padding-top:16px;font-weight:800;color:var(--blue-700);text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.card__link::after{content:"←";transition:transform .18s}
.card:hover .card__link::after{transform:translateX(-4px)}

.card--loc{padding:0;overflow:hidden}
.card--loc img{width:100%;aspect-ratio:16/10;object-fit:cover}
.card--loc .card__body{padding:24px;display:flex;flex-direction:column;flex:1}
.card--loc .addr{color:var(--muted);font-size:.95rem;margin-bottom:.6em}

.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;margin-top:8px}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:22px 18px;text-align:center}
.section--dark .stat{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.stat b{display:block;font-size:clamp(1.9rem,4vw,2.6rem);font-weight:900;color:var(--blue);line-height:1.05}
.section--dark .stat b{color:var(--teal)}
.stat span{font-weight:700;color:var(--muted);font-size:.93rem}
.section--dark .stat span{color:#C3CEEA}

/* ---------- Split ---------- */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,64px);align-items:center}
@media (max-width:900px){.split{grid-template-columns:1fr}}
.split__media img{border-radius:var(--radius);box-shadow:var(--shadow-md);width:100%;aspect-ratio:4/3;object-fit:cover}
.split--rev .split__media{order:-1}
@media (max-width:900px){.split--rev .split__media{order:0}}

/* ---------- Checklist ---------- */
.checks{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:12px}
.checks li{position:relative;padding-inline-start:34px;font-weight:600;color:var(--ink-2)}
.checks li::before{
  content:"";position:absolute;inset-inline-start:0;top:.42em;width:21px;height:21px;border-radius:50%;
  background:var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat
}
.section--dark .checks li{color:#D5DEF5}

/* ---------- Steps ---------- */
.steps{list-style:none;counter-reset:s;padding:0;margin:0;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;position:relative}
.steps li::before{
  content:counter(s);position:absolute;top:-18px;inset-inline-start:24px;width:44px;height:44px;border-radius:14px;
  background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.2rem;box-shadow:0 6px 16px rgba(0,56,184,.3)
}
.steps li h3{margin-top:14px;font-size:1.12rem}
.steps li p{margin:0;color:var(--muted);font-size:.97rem}

/* ---------- FAQ ---------- */
.faq{max-width:860px;margin-inline:auto;display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}
.faq details[open]{border-color:#C6D2F0;box-shadow:var(--shadow-sm)}
.faq summary{
  cursor:pointer;list-style:none;padding:19px 22px;font-weight:800;font-size:1.04rem;
  display:flex;justify-content:space-between;gap:16px;align-items:flex-start
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.5rem;color:var(--blue);line-height:1;flex:none;transition:transform .2s}
.faq details[open] summary::after{content:"−";transform:rotate(180deg)}
.faq .faq__a{padding:0 22px 20px;color:var(--muted)}
.faq .faq__a p:last-child{margin-bottom:0}

/* ---------- Schedule / Arbox embed ---------- */
.embed{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;
  box-shadow:var(--shadow-md);min-height:560px
}
.embed iframe{width:100%;height:78vh;min-height:620px;border:0;display:block}
.map-embed{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.map-embed iframe{width:100%;height:380px;border:0;display:block}

/* ---------- Form ---------- */
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,3.5vw,36px);box-shadow:var(--shadow-md)}
.field{margin-bottom:18px}
.field label{display:block;font-weight:800;margin-bottom:7px;font-size:.97rem}
.field .hint{font-weight:600;color:var(--muted);font-size:.86rem;display:block;margin-top:4px}
.field input,.field select,.field textarea{
  width:100%;padding:13px 15px;border:2px solid var(--line);border-radius:12px;font:inherit;
  background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s;min-height:50px
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,56,184,.12);outline:none}
.field textarea{min-height:120px;resize:vertical}
.req{color:#C22B2B}
.form-note{font-size:.87rem;color:var(--muted);margin:14px 0 0}

/* ---------- CTA band ---------- */
.cta-band{background:linear-gradient(135deg,var(--blue-900),var(--blue) 55%,var(--teal-700));color:#fff;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#DCE6FF;margin-inline:auto}
.cta-band .btn-row{justify-content:center;margin-top:26px}

/* ---------- Footer ---------- */
.footer{background:var(--bg-dark);color:#B9C6E4;padding-block:clamp(46px,6vw,72px) 0;font-size:.96rem}
.footer a{color:#D8E2FA;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer h3{color:#fff;font-size:1.02rem;margin-bottom:14px;letter-spacing:.01em}
.footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:clamp(24px,3vw,44px)}
@media (max-width:860px){.footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer__grid{grid-template-columns:1fr}}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.footer__brand img{width:66px;height:66px;border-radius:50%;margin-bottom:14px}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);margin-top:clamp(32px,4vw,48px);padding-block:22px;
  display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:space-between;font-size:.88rem;color:#8595BC
}
.social{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.social a{
  width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);transition:background .18s,transform .18s
}
.social a:hover{background:var(--teal);transform:translateY(-2px)}
.social svg{width:21px;height:21px;fill:#fff}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta{
  position:fixed;inset-inline:0;bottom:0;z-index:880;display:none;gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-top:1px solid var(--line);box-shadow:0 -6px 24px rgba(8,13,26,.1)
}
.mobile-cta .btn{flex:1;padding:13px 12px;font-size:.97rem;min-height:52px;box-shadow:none}
@media (max-width:760px){
  .mobile-cta{display:flex}
  body{padding-bottom:76px}
}

/* ---------- Breadcrumbs ---------- */
.crumbs{font-size:.9rem;color:var(--muted);padding-block:16px 0}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.crumbs li+li::before{content:"‹";margin-inline-end:8px;color:#B4BFD6}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--blue);text-decoration:underline}

/* ---------- Page hero (inner pages) ---------- */
.phero{background:linear-gradient(150deg,var(--blue-900),var(--blue));color:#fff;padding-block:clamp(46px,6vw,80px)}
.phero h1{color:#fff;margin-bottom:.3em}
.phero p{color:#CFDBF9;font-size:clamp(1.05rem,1.6vw,1.22rem);margin-bottom:0}
.phero .eyebrow{color:var(--teal)}
.phero .crumbs,.phero .crumbs a{color:#A9BAE6}
.phero .crumbs a:hover{color:#fff}

/* ---------- Prose ---------- */
.prose h2{margin-top:1.6em}
.prose h3{margin-top:1.4em;font-size:1.16rem}
.prose ul{padding-inline-start:1.25em;margin-bottom:1.2em}
.prose li{margin-bottom:.45em;max-width:66ch}
.prose table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.97rem}
.prose th,.prose td{border:1px solid var(--line);padding:11px 14px;text-align:start}
.prose th{background:var(--bg-soft);font-weight:800}
.prose caption{caption-side:top;text-align:start;font-weight:800;padding-bottom:10px}

/* ---------- Accessibility toolbar ---------- */
.a11y-btn{
  position:fixed;inset-inline-start:16px;bottom:16px;z-index:890;width:52px;height:52px;border-radius:50%;
  background:var(--blue);border:2px solid #fff;color:#fff;cursor:pointer;display:grid;place-items:center;
  box-shadow:var(--shadow-md)
}
.a11y-btn svg{width:26px;height:26px;fill:currentColor}
@media (max-width:760px){.a11y-btn{bottom:84px}}
.a11y-panel{
  position:fixed;inset-inline-start:16px;bottom:78px;z-index:891;width:min(300px,calc(100vw - 32px));
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:18px;display:none
}
@media (max-width:760px){.a11y-panel{bottom:146px}}
.a11y-panel[data-open="true"]{display:block}
.a11y-panel h2{font-size:1.05rem;margin-bottom:12px}
.a11y-panel button{
  display:flex;width:100%;align-items:center;gap:10px;padding:11px 13px;margin-bottom:7px;border:2px solid var(--line);
  background:#fff;border-radius:10px;font:inherit;font-weight:700;cursor:pointer;text-align:start;color:var(--ink);min-height:46px
}
.a11y-panel button:hover{border-color:var(--blue);background:#F3F6FF}
.a11y-panel button[aria-pressed="true"]{background:var(--blue);color:#fff;border-color:var(--blue)}
.a11y-panel .a11y-close{justify-content:center;background:var(--bg-soft);margin-top:6px}

html[data-a11y-contrast="true"]{filter:contrast(1.32) saturate(1.18)}
html[data-a11y-links="true"] a:not(.btn){text-decoration:underline!important;font-weight:800!important}
html[data-a11y-motion="true"] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-a11y-font="1"]{font-size:112.5%}
html[data-a11y-font="2"]{font-size:125%}

/* ---------- Mobile CTA ergonomics ---------- */
@media (max-width:560px){
  .hero .btn-row .btn,.phero .btn-row .btn,.cta-band .btn-row .btn{width:100%}
  .hero__pills li{font-size:.86rem;padding:6px 12px}
  .a11y-btn{width:46px;height:46px}
  .a11y-btn svg{width:23px;height:23px}
}

/* ---------- Social icons on light background ---------- */
.social--light a{background:var(--bg-soft);border-color:var(--line)}
.social--light svg{fill:var(--blue-900)}
.social--light a:hover{background:var(--blue);border-color:var(--blue)}
.social--light a:hover svg{fill:#fff}

/* ---------- Google rating badge ---------- */
.grate{
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-weight:700;font-size:.92rem;
  margin:0 0 12px;line-height:1
}
.grate:hover{text-decoration:underline}
.grate__stars{letter-spacing:1px;font-size:.95rem}
.grate strong{font-size:1rem}
.phero .grate{margin:14px 0 0;font-size:1rem}
.grate--ask{font-weight:700;opacity:.9}
.grate--ask .grate__stars{font-size:1.1rem}
