/* ===========================================================
   SB media — Design System
   Light · airy · refined Google-blue · RTL Hebrew
   =========================================================== */

:root {
  /* Palette — bright & delicate */
  --bg:        #ffffff;
  --bg-soft:   #f5f8fd;
  --bg-tint:   #eaf2fe;
  --ink:       #16203a;
  --ink-soft:  #36405a;
  --muted:     #5a6580;
  --line:      #e4eaf4;
  --line-soft: #eef2f9;

  /* Refined Google blue */
  --brand:      #1a73e8;
  --brand-deep: #1557b0;
  --brand-soft: #e8f0fe;
  --brand-glow: rgba(26,115,232,.18);

  /* Google multicolor — used only as micro-accents */
  --g-blue:   #4285f4;
  --g-red:    #ea4335;
  --g-yellow: #fbbc05;
  --g-green:  #34a853;

  /* Type */
  --font:    'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Fredoka', 'Rubik', var(--font);

  /* Spatial */
  --maxw: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadows — soft, light */
  --shadow-sm: 0 2px 10px rgba(22,32,58,.05);
  --shadow:    0 12px 36px rgba(22,32,58,.08);
  --shadow-lg: 0 24px 70px rgba(26,115,232,.14);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-deep); }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background: linear-gradient(180deg, var(--bg-tint), #f3f8ff);
}
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}

h1, h2, h3 { font-family: var(--display); line-height: 1.16; color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.section > .wrap > h2,
.section-head h2 { margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font); font-weight: 700; font-size: 1.02rem;
  padding: .92rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; box-shadow: 0 10px 24px var(--brand-glow);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px var(--brand-glow); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--light:hover { background: rgba(255,255,255,.26); color:#fff; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-size: 1.18rem; color: var(--ink); }
.brand-name span { color: var(--brand); }
.brand-tag { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  color: var(--ink-soft); font-weight: 600; font-size: .98rem;
  padding: .55rem .85rem; border-radius: 10px; transition: all .2s var(--ease);
}
/* hover/current only for plain nav links — never the CTA button */
.nav-links a:not(.btn):hover, .nav-links a:not(.btn)[aria-current="page"] { color: var(--brand-deep); background: var(--brand-soft); }
.nav-cta { margin-inline-start: .6rem; }
.nav-cta .btn--primary { color: #fff; padding: .62rem 1.3rem; }
.nav-cta .btn--primary:hover { color: #fff; background: linear-gradient(135deg, var(--brand-deep), #0e3d82); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 1rem clamp(1.1rem,4vw,2.5rem) 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(60% 55% at 78% 0%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, #eafaf0 0%, transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), #00b3a4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin-bottom: 1.9rem; max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.9rem; }
.hero-trust { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.stars { color: var(--g-yellow); letter-spacing: 2px; font-size: 1.05rem; }
.hero-trust strong { color: var(--ink); }

/* Hero visual — floating cards */
.hero-visual { position: relative; min-height: 420px; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.25rem;
  animation: float 6s var(--ease) infinite;
}
.float-card h4 { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: .35rem; }
.float-card .big { font-family: var(--display); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.float-card .up { color: var(--g-green); font-weight: 700; font-size: .9rem; }
.fc-1 { top: 6%; inset-inline-end: 4%; width: 220px; }
.fc-2 { bottom: 14%; inset-inline-start: 0; width: 235px; animation-delay: -2s; }
.fc-3 { top: 42%; inset-inline-end: 30%; width: 190px; animation-delay: -4s; z-index: 2; }
.hero-ring {
  position: absolute; inset: 0; margin: auto; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  z-index: 0;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.bar { height: 7px; border-radius: 4px; background: var(--line-soft); margin-top: .55rem; overflow: hidden; }
.bar i { display:block; height:100%; border-radius:4px; background: linear-gradient(90deg, var(--brand), #00b3a4); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; order: -1; }
  .hero p.lead { max-width: none; }
}
@media (max-width: 520px) {
  .hero-visual { display: none; }
}

/* ---------- Founder hero (personal brand) ---------- */
.founder-stage {
  position: relative; min-height: 520px; display: flex;
  align-items: flex-end; justify-content: center;
}
.founder-blob {
  position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  width: clamp(300px, 34vw, 440px); aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 42%, #cfe2ff 0%, #e6f0ff 48%, rgba(234,242,254,0) 72%);
}
.founder-blob::after {
  content: ""; position: absolute; inset: -7%; border-radius: 50%;
  border: 2px dashed rgba(26,115,232,.28);
  animation: spin 36s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.founder-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; z-index: 1; }
.founder-dot.b { background: var(--g-blue);   top: 12%; right: 16%; }
.founder-dot.r { background: var(--g-red);    top: 24%; left: 12%; }
.founder-dot.y { background: var(--g-yellow); bottom: 30%; right: 8%; }
.founder-dot.g { background: var(--g-green);  bottom: 14%; left: 16%; }
.founder-img {
  position: relative; z-index: 2; width: clamp(280px, 33vw, 420px); height: auto;
  filter: drop-shadow(0 26px 30px rgba(22,32,58,.18));
}
.founder-ground {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 26px; border-radius: 50%; z-index: 1;
  background: radial-gradient(ellipse, rgba(22,32,58,.16), transparent 70%); filter: blur(4px);
}
.chip {
  position: absolute; z-index: 4; background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 16px;
  box-shadow: var(--shadow); padding: .75rem .9rem; display: flex; gap: .6rem; align-items: center;
  animation: floatY 6s var(--ease) infinite;
}
.chip .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip h4 { font-size: .72rem; color: var(--muted); font-weight: 600; margin: 0 0 1px; }
.chip .v { font-family: var(--display); font-size: 1.15rem; line-height: 1; color: var(--ink); }
.chip.c1 { top: 10%; right: -2%; }
.chip.c2 { top: 40%; left: -4%; animation-delay: -2s; }
.chip.c3 { bottom: 16%; right: 0%; animation-delay: -4s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.name-badge {
  position: absolute; z-index: 4; bottom: 6%; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
  padding: .55rem 1.2rem; border-radius: 999px; box-shadow: 0 12px 26px var(--brand-glow);
  display: flex; align-items: center; gap: .5rem; white-space: nowrap; font-size: .92rem;
}
.name-badge b { font-weight: 800; }
.name-badge .verify { width: 18px; height: 18px; color: #9fe6c2; }
@media (max-width: 520px) {
  /* show the founder hero on mobile too, scaled down */
  .hero-visual { display: block; }
  .founder-stage { display: flex; min-height: 440px; }
  .founder-img { width: 240px; }
  .founder-blob { width: 250px; bottom: 2%; }
  /* compact chips, parked in the top corners above the figure so they
     never cover the face or body */
  .chip { padding: .5rem .65rem; width: max-content; max-width: 47%; }
  .chip .ic { width: 28px; height: 28px; }
  .chip .v { font-size: .95rem; }
  .chip h4 { font-size: .66rem; }
  .chip.c1 { top: 0; inset-inline-start: auto; inset-inline-end: 0; }
  .chip.c2 { display: none; }
  .chip.c3 { top: 0; bottom: auto; inset-inline-end: auto; inset-inline-start: 0; }
  .name-badge { font-size: .8rem; padding: .42rem .9rem; bottom: 2%; }
}

/* ===========================================================
   Pillars (right under hero)
   =========================================================== */
.pillars-sec { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6e2f7; }
.pillar-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.pillar p { color: var(--muted); font-size: .98rem; }

/* ===========================================================
   Logos / trust strip
   =========================================================== */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust-strip .wrap { display: flex; align-items: center; justify-content: space-around; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--brand); }

/* ===========================================================
   Cards / Grid
   =========================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6e2f7; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 1.1rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; font-size: .95rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(-4px); }

/* link card variant */
a.card { color: inherit; display: block; }

/* ===========================================================
   Feature split (image/visual + text)
   =========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media {
  background: linear-gradient(140deg, var(--brand-soft), #f3fbff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; min-height: 280px; display: grid; place-items: center;
}
.photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; line-height: 0; position: relative;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; width: 100%;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame .tag {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(255,255,255,.86); backdrop-filter: blur(8px);
  border-radius: 12px; padding: .5rem .85rem; line-height: 1.3; font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.photo-frame .tag b { display: block; color: var(--ink); }
.photo-frame .tag span { color: var(--muted); font-size: .78rem; }

.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; color: var(--ink-soft); }
.check-list li svg { flex: none; width: 22px; height: 22px; color: var(--g-green); margin-top: 3px; }

/* ===========================================================
   Steps / Process
   =========================================================== */
.steps { counter-reset: step; display: grid; gap: 1.3rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* ===========================================================
   Spotlight — ליווי אישי
   =========================================================== */
.spotlight {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e2a5e, #1557b0 55%, #1a73e8);
  border-radius: var(--radius-lg); color: #fff; padding: clamp(2.2rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
}
.spotlight::after {
  content:""; position:absolute; inset-inline-end:-80px; top:-80px; width:340px; height:340px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); border-radius:50%;
}
.spotlight h2, .spotlight h3 { color: #fff; }
.spotlight .lead { color: rgba(255,255,255,.86); }
.spotlight-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; position: relative; z-index: 1; }
@media (max-width: 880px) { .spotlight-grid { grid-template-columns: 1fr; } }
.badge-flag {
  display:inline-flex; align-items:center; gap:.5rem; background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28); padding:.4rem .95rem; border-radius:999px;
  font-weight:700; font-size:.85rem; margin-bottom:1.1rem;
}
.spot-list { display: grid; gap: .8rem; margin: 1.4rem 0 1.8rem; }
.spot-list li { display:flex; gap:.7rem; align-items:flex-start; color: rgba(255,255,255,.92); }
.spot-list svg { flex:none; width:22px; height:22px; color:#9fe6c2; margin-top:3px; }
.spot-card {
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(6px);
}
.spot-card .hours { font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.spot-card .hours span { font-size: 1.1rem; opacity: .8; }

/* ===========================================================
   Pricing / Packages
   =========================================================== */
.pkg {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; display:flex; flex-direction:column; height:100%; transition: transform .3s var(--ease), box-shadow .3s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg.featured { border:2px solid var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.pkg.featured::before {
  content:"הכי פופולרי"; position:absolute; top:-13px; inset-inline-start:50%; transform:translateX(50%);
  background: linear-gradient(135deg,var(--brand),var(--brand-deep)); color:#fff; font-size:.78rem; font-weight:700;
  padding:.35rem 1rem; border-radius:999px;
}
.pkg h3 { margin-bottom:.4rem; }
.pkg .price { font-family: var(--display); font-size: 2.4rem; color: var(--ink); margin:.6rem 0; }
.pkg .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.pkg ul { display:grid; gap:.7rem; margin: 1.2rem 0 1.8rem; }
.pkg ul li { display:flex; gap:.6rem; align-items:flex-start; color:var(--ink-soft); font-size:.96rem; }
.pkg ul li svg { flex:none; width:20px; height:20px; color:var(--g-green); margin-top:3px; }
.pkg .btn { margin-top:auto; }

/* ===========================================================
   Stats
   =========================================================== */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:1.5rem; text-align:center; }
@media (max-width:700px){ .stats{ grid-template-columns: repeat(2,1fr);} }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem,5vw,3rem); color: var(--brand-deep); line-height:1; }
.stat .lbl { color: var(--muted); font-size:.95rem; margin-top:.4rem; }

/* ===========================================================
   Testimonials
   =========================================================== */
.quote {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem; height:100%;
}
.quote .stars { margin-bottom:.8rem; display:block; }
.quote p { color:var(--ink-soft); font-size:1.02rem; }
.quote .who { display:flex; align-items:center; gap:.7rem; margin-top:1.2rem; }
.quote .ava { width:44px;height:44px;border-radius:50%; background:var(--brand-soft); color:var(--brand-deep); display:grid;place-items:center; font-weight:800; }
.quote .who b { display:block; font-size:.95rem; }
.quote .who small { color:var(--muted); }

/* ===========================================================
   Portfolio — browser-frame showcase
   =========================================================== */
.portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
@media (max-width:900px){ .portfolio-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .portfolio-grid{ grid-template-columns:1fr;} }

a.site-card { color:inherit; display:flex; }
.site-card {
  flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.site-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:#cfe0fa; }

.browser-bar { display:flex; align-items:center; gap:.6rem; padding:.55rem .75rem; background:var(--bg-soft); border-bottom:1px solid var(--line); }
.browser-dots { display:flex; gap:5px; flex:none; }
.browser-dots i { width:10px; height:10px; border-radius:50%; display:block; }
.browser-dots .rd{ background:#ff5f57; } .browser-dots .yl{ background:#febc2e; } .browser-dots .gr{ background:#28c840; }
.browser-url {
  flex:1; background:#fff; border:1px solid var(--line); border-radius:7px;
  padding:.18rem .7rem; font-size:.72rem; color:var(--muted); direction:ltr;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center;
}

.shot { position:relative; aspect-ratio:4/3; overflow:hidden; background:linear-gradient(135deg,var(--brand-soft),#f3fbff); }
.shot img {
  width:100%; height:100%; object-fit:cover; object-position:center top;
  transition:object-position 2.8s var(--ease); display:block;
}
.site-card:hover .shot img { object-position:center bottom; }
.shot::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(14,23,48,.4), transparent 42%); opacity:0; transition:opacity .3s; }
.site-card:hover .shot::after { opacity:1; }
.shot-cta {
  position:absolute; inset-block-end:.85rem; inset-inline:0; margin-inline:auto; width:max-content; z-index:2;
  background:linear-gradient(135deg,var(--brand),var(--brand-deep)); color:#fff; font-weight:700; font-size:.85rem;
  padding:.5rem 1.15rem; border-radius:999px; box-shadow:var(--shadow);
  opacity:0; transform:translateY(10px); transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.site-card:hover .shot-cta { opacity:1; transform:translateY(0); }

.site-meta { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:1rem 1.15rem; }
.site-meta b { display:block; font-size:1.02rem; color:var(--ink); }
.site-meta .cat { font-size:.8rem; color:var(--muted); }
.site-meta .go { width:34px; height:34px; border-radius:50%; flex:none; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-deep); transition:.3s var(--ease); }
.site-card:hover .site-meta .go { background:var(--brand); color:#fff; transform:rotate(-45deg); }
.site-meta .go svg { width:17px; height:17px; }

/* ===========================================================
   FAQ accordion
   =========================================================== */
.faq { display:grid; gap:.8rem; max-width: 820px; margin-inline:auto; }
.faq details {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden;
}
.faq details[open] { border-color:#d6e2f7; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor:pointer; list-style:none; padding:1.1rem 1.3rem; font-weight:700; color:var(--ink);
  display:flex; justify-content:space-between; align-items:center; gap:1rem;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.5rem; color:var(--brand); transition:transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color:var(--muted); }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: var(--radius-lg); color:#fff; padding: clamp(2.2rem,5vw,3.6rem); text-align:center;
  box-shadow: var(--shadow-lg); position:relative; overflow:hidden;
}
.cta-band h2 { color:#fff; }
.cta-band p { color:rgba(255,255,255,.88); max-width:560px; margin:.7rem auto 1.8rem; }
.cta-band .hero-actions { justify-content:center; margin:0; }

/* ===========================================================
   Forms
   =========================================================== */
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom:1.1rem; }
.field label { display:block; font-weight:700; margin-bottom:.4rem; font-size:.95rem; }
.field input, .field textarea, .field select {
  width:100%; font-family:var(--font); font-size:1rem; color:var(--ink);
  padding:.85rem 1rem; border:1.5px solid var(--line); border-radius:12px; background:var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-glow); background:#fff;
}
.field textarea { min-height:130px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.form-note { font-size:.85rem; color:var(--muted); margin-top:.6rem; }
.form-ok { display:none; background:#e8f7ee; border:1px solid #bfe6cd; color:#1c6b3a; padding:1rem 1.2rem; border-radius:12px; margin-top:1rem; }
.form-ok.show { display:block; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background:#0e1730; color:#c4cde0; padding-block: clamp(3rem,6vw,4.5rem) 1.5rem; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:2rem; margin-bottom:2.5rem; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer .brand-name { color:#fff; }
.site-footer .brand img { background:#fff; border-radius:50%; padding:4px; }
.footer-about p { color:#9fabc6; margin:1rem 0; font-size:.95rem; max-width:32ch; }
.footer-col h4 { color:#fff; font-size:1rem; margin-bottom:1rem; }
.footer-col a, .footer-col li { color:#9fabc6; display:block; padding:.3rem 0; font-size:.95rem; }
.footer-col a:hover { color:#fff; }
.social { display:flex; gap:.6rem; margin-top:1rem; }
.social a { width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.08); color:#c4cde0; }
.social a:hover { background:var(--brand); color:#fff; }
.social svg { width:18px;height:18px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:1.4rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.88rem; color:#8190ad; }

/* ===========================================================
   Floating actions
   =========================================================== */
.floats { position:fixed; inset-block-end:1.3rem; inset-inline-end:1.3rem; z-index:90; display:flex; flex-direction:column; gap:.7rem; }
.float-btn { width:56px;height:56px;border-radius:50%; display:grid;place-items:center; color:#fff; box-shadow:0 8px 22px rgba(0,0,0,.18); transition:transform .25s var(--ease); }
.float-btn:hover{ transform:scale(1.08); color:#fff; }
.float-btn svg{ width:28px;height:28px; }
.float-wa{ background:#25d366; }
.float-tel{ background:var(--brand); }

/* ===========================================================
   Accessibility widget
   =========================================================== */
.a11y-toggle{ position:fixed; inset-block-end:1.3rem; inset-inline-start:1.3rem; z-index:95; width:56px;height:56px;border-radius:50%; border:none; cursor:pointer; background:var(--ink); color:#fff; display:grid;place-items:center; box-shadow:0 8px 22px rgba(0,0,0,.2); }
.a11y-toggle svg{ width:30px;height:30px; }
.a11y-panel{ position:fixed; inset-block-end:5.6rem; inset-inline-start:1.3rem; z-index:96; width:300px; max-width:calc(100vw - 2rem); background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:1.2rem; display:none; }
.a11y-panel.open{ display:block; }
.a11y-panel h3{ font-size:1.05rem; margin-bottom:.3rem; }
.a11y-panel .sub{ font-size:.82rem; color:var(--muted); margin-bottom:1rem; }
.a11y-grid{ display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.a11y-grid button{ font-family:var(--font); font-size:.82rem; font-weight:600; padding:.6rem .4rem; border:1.5px solid var(--line); border-radius:10px; background:var(--bg-soft); color:var(--ink); cursor:pointer; transition:.2s; }
.a11y-grid button:hover{ border-color:var(--brand); }
.a11y-grid button.active{ background:var(--brand-soft); border-color:var(--brand); color:var(--brand-deep); }
.a11y-reset{ width:100%; margin-top:.7rem; padding:.6rem; border:none; border-radius:10px; background:var(--ink); color:#fff; font-family:var(--font); font-weight:600; cursor:pointer; }

/* Accessibility states (applied to <html>) */
html.a11y-contrast body{ background:#000 !important; color:#fff !important; }
html.a11y-contrast .card, html.a11y-contrast .site-header, html.a11y-contrast .pkg, html.a11y-contrast .quote{ background:#111 !important; border-color:#666 !important; }
html.a11y-grayscale body{ filter:grayscale(1); }
html.a11y-invert body{ filter:invert(1) hue-rotate(180deg); }
html.a11y-links a{ text-decoration:underline !important; color:#0a52c9 !important; }
html.a11y-readable body{ font-family: Arial, sans-serif !important; letter-spacing:.02em; }
html.a11y-bigcursor, html.a11y-bigcursor *{ cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='%23000' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M3 2l7 18 2.5-7L20 10z'/%3E%3C/svg%3E"), auto !important; }
html.a11y-spacing body{ letter-spacing:.06em; word-spacing:.12em; line-height:2.1 !important; }
html.a11y-stop *{ animation:none !important; transition:none !important; }

/* Reading guide bar */
.reading-guide{ position:fixed; inset-inline:0; height:34px; background:rgba(26,115,232,.16); border-block:2px solid var(--brand); z-index:9999; pointer-events:none; display:none; }
html.a11y-guide .reading-guide{ display:block; }

.skip-link{ position:absolute; inset-block-start:-60px; inset-inline-start:1rem; background:var(--brand); color:#fff; padding:.7rem 1.2rem; border-radius:0 0 10px 10px; z-index:9999; transition:top .2s; }
.skip-link:focus{ inset-block-start:0; color:#fff; }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ background: var(--section--tint, linear-gradient(180deg,var(--bg-tint),#f5f9ff)); padding-block: clamp(3rem,6vw,4.5rem); border-bottom:1px solid var(--line); }
.breadcrumb{ font-size:.85rem; color:var(--muted); margin-bottom:1rem; display:flex; gap:.4rem; flex-wrap:wrap; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--brand); }
.page-hero h1{ max-width:18ch; }
.page-hero p.lead{ max-width:60ch; margin-top:1rem; }

.prose p{ margin-bottom:1.1rem; color:var(--ink-soft); }
.prose h2{ margin:2.2rem 0 .9rem; }
.prose h3{ margin:1.6rem 0 .6rem; }
.prose ul{ margin:0 0 1.2rem; display:grid; gap:.6rem; }
.prose ul li{ display:flex; gap:.6rem; align-items:flex-start; color:var(--ink-soft); }
.prose ul li::before{ content:"●"; color:var(--brand); font-size:.7rem; margin-top:.5rem; }
