/* =========================================================
   GroWise – רוני רנסבורג | Landing page
   Mobile first (≤767px) → Desktop (≥768px, fluid up to 1920px design)
   ========================================================= */

:root {
  --navy: #224C88;
  --navy-deep: #1E4585;
  --navy-step: #254B94;
  --cyan: #00A9E0;
  --cyan-soft: #47BDE3;
  --cyan-text: #0077A3;   /* cyan for text: 5:1 contrast on white (WCAG AA) */
  --text: #1D1D1B;
  --text-soft: #4A4A4A;
  --muted: #666666;
  --line: #D9D9D9;
  --white: #FFFFFF;
  --bg-soft: #F3F5F9;

  --grad-brand: linear-gradient(90deg, var(--navy) 0%, #1B6DB8 55%, var(--cyan) 100%);
  --shadow-card: 0 10px 30px rgba(20, 40, 80, .12);
  --shadow-pill: 0 18px 30px rgba(0, 0, 0, .14);

  --font: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  --serif-num: 'Times New Roman', Georgia, serif;

  --gutter: 16px;
  --header-h: 64px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
.hero-intro-heading { display: flex; flex-direction: column; align-items: center; margin: 0; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

/* spam trap – hidden from people, filled by bots */
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.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;
}
.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared: headings ---------- */
.section-heading {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: 22px;
}
.section-heading::after {
  content: ""; width: 74px; height: 3px; background: var(--navy); margin-top: 8px;
}
.section-heading--start { align-items: center; }
.section-heading--light .eyebrow,
.section-heading--light .section-title { color: var(--white); }
.section-heading--light::after { background: var(--white); }

.eyebrow {
  display: block;
  color: var(--cyan-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
  margin-bottom: 4px;
}
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.section-title {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
}
.section-title strong { font-weight: 800; }

/* ---------- Shared: outline button ---------- */
.btn-outline {
  --bw: 2px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 118px; height: 38px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-weight: 700; font-size: 15px;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, color .3s ease;
}
/* full gradient fill, revealed on hover */
.btn-outline::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  opacity: 0; transition: opacity .3s ease;
}
.btn-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  padding: var(--bw);
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-outline:hover, .btn-outline:focus-visible { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 169, 224, .3); }
.btn-outline:hover::after, .btn-outline:focus-visible::after { opacity: 1; }
.btn-outline span { font-weight: 500; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  grid-template-areas: "toggle logo phone";
  align-items: center;
  padding-inline: 12px;
}
.logo { grid-area: logo; justify-self: center; width: 150px; }
.header-phone { grid-area: phone; justify-self: end; width: 26px; }
.menu-toggle {
  grid-area: toggle; justify-self: start;
  width: 32px; height: 26px; padding: 0; background: none; border: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.site-nav {
  position: absolute; top: 100%; inset-inline: 0;
  background: var(--white);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .1);
  padding: 8px 24px 20px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .35s ease, visibility 0s linear .35s;
}
.site-nav.is-open {
  clip-path: inset(0 0 -40px 0);
  visibility: visible;
  transition: clip-path .35s ease;
}
.nav-list a {
  display: block; padding: 12px 0;
  font-size: 18px; color: var(--text);
  border-bottom: 1px solid #EEE;
}
.nav-list--b li:last-child a { border-bottom: 0; }
.nav-list a:hover { color: var(--navy); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: 4px; }
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(0, 169, 224, .14) 0%, rgba(0, 169, 224, 0) 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(34, 76, 136, .10) 0%, rgba(34, 76, 136, 0) 65%),
    #F7FAFD;
}
/* mobile: text-first layout, small round portrait beside the name */
.hero-grid {
  display: grid;
  grid-template-columns: 118px 1fr;
  grid-template-areas:
    "photo title"
    "text  text"
    "points points"
    "cta   cta"
    "intro intro";
  column-gap: 16px;
  align-items: center;
  padding: 30px var(--gutter) 0;
}
.hero-box, .hero-content { display: contents; }
.hero-photo { grid-area: photo; position: relative; width: 118px; height: 118px; }
.hero-photo::before {               /* gradient ring */
  content: ""; position: absolute; inset: -5px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 200deg, var(--cyan), var(--navy), var(--cyan));
}
.hero-photo::after { display: none; }
.hero-photo img {
  position: relative; z-index: 1;
  width: 118px; height: 118px; border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover; object-position: 50% 6%;
  background: #E9EEF5;
}
.hero-title { grid-area: title; line-height: 1.1; text-align: right; }
.hero-name { display: block; font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.hero-role { display: block; font-size: 17px; font-weight: 500; color: var(--navy); margin-top: 4px; }
.hero-text {
  grid-area: text;
  font-size: 15px; line-height: 1.6; color: var(--text-soft); text-align: center;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(34, 76, 136, .14);
}
.hero-points {
  grid-area: points;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.hero-points li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(0, 169, 224, .35);
  font-size: 13.5px; font-weight: 500; color: var(--navy);
}
.hero-points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
}
.hero-content .btn-outline { grid-area: cta; justify-self: center; margin-top: 20px; }
.hero-grid::after { display: none; }
.hero-pigs { display: none; }

.hero-intro {
  grid-area: intro;
  display: flex; flex-direction: column; align-items: center;
  padding: 26px 0 22px;
}
/* mobile: intro sits on the same dark grey as the services slider below → one block */
.hero-intro {
  margin-top: 30px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 28px 0 14px;
  background: #4F4E4D;
}
.hero-intro .eyebrow { color: #7FD3F2; }
.hero-intro .hero-intro-title { color: var(--white); }
/* same size as every other section title */
.hero-intro-title { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.hero-intro .eyebrow { font-size: 17px; }
.hero-intro-arrow { display: none; }

/* =========================================================
   SLIDER (shared by services on mobile + testimonials)
   ========================================================= */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 34px; height: 44px; margin-top: -22px;
  background: none; border: 0; padding: 0;
}
.slider-arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 14px; height: 14px;
  border-top: 2px solid currentColor; border-left: 2px solid currentColor;
}
.slider-arrow--prev { right: 4px; }
.slider-arrow--prev::before { transform: rotate(135deg); }
.slider-arrow--next { left: 4px; }
.slider-arrow--next::before { transform: rotate(-45deg); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { position: relative; }
.services .slider-arrow { color: var(--white); }
.services-track { grid-auto-columns: 100%; }
.service {
  position: relative; isolation: isolate;
  min-height: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 36px 54px;
  color: var(--white);
  background: var(--bg) center / cover no-repeat;
  transition: color .45s ease;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(40, 40, 40, .78);
  transition: background-color .45s ease;
}
.service-icon { transition: filter .45s ease, transform .45s ease; }
.service-icon { width: 54px; height: 54px; object-fit: contain; margin-bottom: 12px; }
.service-title { font-size: 23px; font-weight: 700; line-height: 1.2; }
.service-title::after {
  content: ""; display: block; width: 70px; height: 3px; margin: 10px auto 12px; background: var(--cyan);
}
.service p { font-size: 16px; line-height: 1.45; max-width: 320px; }
/* Hover: tile turns light (as the white tile in the design) – desktop only */
@media (hover: hover) and (min-width: 768px) {
  .service:hover { color: var(--text); }
  .service:hover::before { background-color: rgba(255, 255, 255, .86); }
  .service:hover .service-icon { filter: invert(1); transform: translateY(-4px); }
}

/* =========================================================
   LEAD STRIP
   ========================================================= */
.lead { padding: 26px var(--gutter); }
.lead-box {
  max-width: 420px; margin-inline: auto;
  border-radius: 34px;
  padding: 26px 22px 30px;
  background:
    radial-gradient(90% 38% at 0% 0%, rgba(255,255,255,.95) 0%, rgba(178,222,247,.75) 38%, rgba(60,150,220,0) 72%),
    radial-gradient(70% 30% at 0% 22%, rgba(120,195,240,.55) 0%, rgba(120,195,240,0) 70%),
    linear-gradient(165deg, #1A7FD0 0%, #0B5DB5 45%, #0A3F8C 100%);
  box-shadow: var(--shadow-card);
  text-align: center;
  color: var(--white);
}
.lead-heading { display: flex; flex-direction: column; align-items: center; margin-bottom: 16px; }
.lead-heading .eyebrow { font-size: 16px; }
.lead-title { font-size: 24px; font-weight: 800; line-height: 1.15; }
.lead-form { display: grid; gap: 12px; max-width: 300px; margin-inline: auto; }
.lead-input {
  height: 44px; width: 100%;
  border: 0; border-radius: 10px;
  background: var(--white); color: var(--text);
  padding: 0 14px; font-size: 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,.1);
}
.lead-input::placeholder { color: var(--text-soft); }
.lead-submit {
  height: 42px; border: 0; border-radius: 10px;
  background: #12346A; color: var(--white);
  font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  transition: background .2s ease;
}
.lead-submit:hover { background: #163a6e; }

.form-status { font-size: 15px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-success { color: #0f8a43; }
.form-status.is-error { color: #c62828; }
.lead .form-status.is-success, .lead .form-status.is-error { color: var(--white); font-weight: 500; }
input.is-invalid { box-shadow: 0 0 0 2px #e53935 inset; }
/* Phone & email: numbers/addresses stay LTR but align to the right like the other fields */
input[type="tel"], input[type="email"] { direction: ltr; text-align: right; }
input[type="tel"]::placeholder, input[type="email"]::placeholder { direction: rtl; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: flex; flex-direction: column-reverse; padding-top: 10px; }
.about-content { padding: 0 var(--gutter) 26px; text-align: center; }
.about-text { text-align: right; font-size: 15.5px; line-height: 1.55; color: var(--text); margin-bottom: 18px; }
.about-text p + p { margin-top: 10px; }
.about-media {
  overflow: hidden;
  /* real photo (city view) + deep navy vignette for a darker, premium look */
  background: radial-gradient(70% 70% at 50% 35%, #1E3F73 0%, #13294F 55%, #0B1A36 100%);
  position: relative;
}
.about-media { aspect-ratio: 4 / 4.2; }
.about-media img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: auto; height: 100%; max-width: none; aspect-ratio: auto; object-fit: contain;
  /* soft side edges that melt into the navy backdrop */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
/* navy vignette: face stays bright, background and edges go deep blue */
.about-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(42% 38% at 55% 32%, rgba(15, 35, 70, 0) 0%, rgba(15, 35, 70, 0) 55%, rgba(15, 35, 70, .35) 100%),
    linear-gradient(180deg, rgba(15, 35, 70, .25) 0%, rgba(15, 35, 70, .05) 35%, rgba(15, 35, 70, .30) 80%, rgba(15, 35, 70, .65) 100%),
    linear-gradient(90deg, rgba(15, 35, 70, .55) 0%, rgba(15, 35, 70, 0) 30%, rgba(15, 35, 70, 0) 70%, rgba(15, 35, 70, .45) 100%);
  mix-blend-mode: multiply;
}
.about-media { margin: 0 var(--gutter); border-radius: 24px; }
.about-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* =========================================================
   FREE SERVICE
   ========================================================= */
.free {
  position: relative;
  padding: 32px 0 34px;
  background: url('images/houses.png') center 8% / 180% auto no-repeat;
}
.free::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.65) 55%, #fff 100%);
}
.free .container { position: relative; }
.free-text { text-align: center; font-size: 15.5px; line-height: 1.55; }
.free-text p + p { margin-top: 10px; }
.free-text strong { font-weight: 700; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  padding: 30px 0 34px;
  background: #EEF0F4 url('images/testimonials-bg.jpg') center / cover no-repeat;
}
.testimonials .slider { padding-inline: 28px; }
.testimonials .slider-arrow { color: var(--text); }
.testimonials .slider-arrow--prev { right: -6px; }
.testimonials .slider-arrow--next { left: -6px; }
.testimonials-track {
  grid-auto-columns: 100%;
  gap: 10px;
  padding: 6px 2px 14px;
}
.testimonial {
  height: 100%;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-card);
  padding: 18px 20px 20px;
  text-align: right;
}
.stars { width: 72px; margin-inline-end: auto; margin-bottom: 6px; }
.testimonial-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.testimonial blockquote { font-size: 15px; line-height: 1.5; color: var(--text-soft); }

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  position: relative;
  padding: 30px 0 40px;
  background:
    url('images/steps-bg.jpg') center top / cover no-repeat;
  background-color: #2F5DA8;
  overflow: hidden;
}
.steps::after {
  content: ""; position: absolute; inset: 55% 0 0; z-index: 0;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.35) 40%, rgba(255,255,255,.55));
  pointer-events: none;
}
.steps .container { position: relative; z-index: 1; }
.steps-deco { display: none; }
.steps-list { display: grid; gap: 22px; padding-inline: 8px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: 60px;
  padding: 10px 10px 10px 22px;
  margin-inline-start: 34px;
  box-shadow: var(--shadow-pill);
}
.step-num {
  position: absolute; top: -18px; right: -36px;
  font-family: var(--serif-num); font-weight: 700;
  font-size: 58px; line-height: 1; color: var(--white);
  text-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.step-icon {
  width: 96px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-step);
  border: 6px solid #F1F1F1;
  box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 0 1px #E3E3E3;
}
.step-icon img { width: 50%; max-height: 50%; object-fit: contain; }
.step-body { text-align: right; }
.step-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.step-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--cyan); margin: 6px 0; }
.step-body p { font-size: 14.5px; line-height: 1.45; color: var(--text-soft); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 250px;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 44px var(--gutter) 30px;
  background: #5A6FA8;
  text-align: center;
}
/* Animated photo: a slow push-in with a gentle forward drift, so the family
   feels like it is moving toward the horizon (their new home). */
.cta-media {
  position: absolute; inset: -2%; z-index: -3;
  background: url('images/cta-family.jpg') 56% center / cover no-repeat;
  transform-origin: 56% 62%;
  animation: cta-push 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes cta-push {
  0%   { transform: scale(1)    translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(0, -2.2%, 0); }
}
/* Floating petals / light specks drifting up through the scene */
.cta-particles { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.cta-particles::before, .cta-particles::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200%;
  background-repeat: repeat;
  will-change: transform;
}
.cta-particles::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,230,240,.7) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(200,225,255,.7) 0 2.5px, transparent 3.5px);
  background-size: 180px 220px, 260px 300px, 340px 260px;
  background-position: 20px 40px, 120px 160px, 60px 90px;
  filter: blur(.4px);
  opacity: .7;
  animation: cta-float 22s linear infinite;
}
.cta-particles::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.6) 0 3.5px, transparent 5px),
    radial-gradient(circle, rgba(255,215,230,.5) 0 3px, transparent 4.5px);
  background-size: 420px 380px, 520px 460px;
  background-position: 200px 30px, 40px 250px;
  filter: blur(1.5px);
  opacity: .55;
  animation: cta-float 34s linear infinite;
}
@keyframes cta-float {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-60px, -50%, 0); }
}
/* Real video (when images/cta-family.mp4 exists) fades in over the photo */
.cta-video {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  opacity: 0; transition: opacity .8s ease;
}
.cta.has-video .cta-video { opacity: 1; }
.cta.has-video .cta-media, .cta.has-video .cta-particles::before, .cta.has-video .cta-particles::after { animation-play-state: paused; }
.cta-title { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .cta-media, .cta-particles::before, .cta-particles::after { animation: none !important; }
}
.cta-title {
  color: var(--white); font-weight: 800; font-size: 22px; line-height: 1.3;
  text-shadow: 0 2px 12px rgba(20, 40, 90, .45);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: flex; flex-direction: column; }
.contact-form-wrap { padding: 32px 30px 26px; }
.contact .section-heading { margin-bottom: 18px; }
.contact-intro { font-size: 17px; margin-bottom: 4px; text-align: right; }
.contact-form { display: grid; gap: 0; }
.field input {
  width: 100%; height: 50px;
  border: 0; border-bottom: 2px solid var(--line);
  background: transparent; padding: 0 2px;
  font-size: 16px;
  transition: border-color .2s ease;
}
.field input:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 2px 0 0 var(--navy); }
.field input::placeholder { color: var(--text-soft); }
.field input.is-invalid { box-shadow: none; border-bottom-color: #e53935; }

.consent {
  display: flex; align-items: center; gap: 6px;
  margin: 14px 0 14px; font-size: 14px; color: var(--text-soft); cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box {
  flex: none; width: 20px; height: 20px; border: 1.5px solid var(--navy); border-radius: 5px;
  position: relative; background: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
/* checked: filled brand box with a centered white check */
.consent input:checked + .consent-box {
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  border-color: transparent;
}
.consent input:checked + .consent-box::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.consent input.is-invalid + .consent-box { border-color: #e53935; box-shadow: 0 0 0 2px rgba(229,57,53,.25); }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.contact-form .btn-outline { justify-self: start; }
.contact-form .form-status { margin-top: 10px; text-align: center; }

.socials {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px;
}
.socials img { height: 30px; width: auto; transition: transform .2s ease; }
.socials a:hover img { transform: translateY(-2px); }
.socials-gap { margin-inline-start: 22px; }

.contact-media {
  position: relative;
  min-height: 330px;
  background: url('images/contact-family.jpg') 35% center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
}
.contact-logo { width: 140px; align-self: flex-start; }
.contact-card {
  align-self: flex-end;
  display: grid; gap: 6px;
  background: rgba(255,255,255,.88);
  border-radius: 16px; /* desktop overrides with a pill shape */
  padding: 14px 18px;
  font-size: 15px;
  direction: rtl;
}
.contact-card a { display: flex; align-items: center; gap: 8px; flex-direction: row; justify-content: flex-start; }
.contact-card img { width: 20px; height: 20px; object-fit: contain; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px var(--gutter) 92px; /* room for the sticky WhatsApp button */
  font-size: 13.5px; color: var(--text);
  text-align: center;
}
.powered {
  display: flex; align-items: center; gap: 8px;
  color: #666666; letter-spacing: .02em; direction: ltr;
}
.powered img { width: 150px; height: auto; }

.br-mobile { display: inline; }

/* =========================================================
   DESKTOP ≥ 768px – fluid scale from the 1920px design
   (values = design px / 19.2 → vw, capped at design px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: clamp(24px, 4.2vw, 120px); --header-h: clamp(84px, 7.8vw, 150px); }
  body { font-size: clamp(14px, 1.146vw, 22px); }
  .br-mobile { display: none; }

  /* Headings */
  .section-heading { margin-bottom: clamp(24px, 2.6vw, 50px); }
  .section-heading::after { width: clamp(80px, 7.66vw, 147px); height: clamp(3px, .3vw, 6px); margin-top: clamp(10px, 1.1vw, 20px); }
  .section-heading--start { align-items: flex-start; text-align: right; }
  .section-heading--start::after { display: block; }
  .eyebrow { font-size: clamp(16px, 1.5625vw, 30px); margin-bottom: clamp(4px, .35vw, 7px); }
  .section-title { font-size: clamp(22px, 2.083vw, 40px); }
  .section-title--xl { font-size: clamp(28px, 2.8125vw, 54px); }

  .btn-outline {
    --bw: clamp(2px, .16vw, 3px);
    min-width: clamp(130px, 11.6vw, 223px); height: clamp(40px, 3.44vw, 66px);
    font-size: clamp(14px, 1.302vw, 25px); padding: 0 1.2em;
  }

  /* Header */
  .header-inner {
    max-width: 1920px; margin-inline: auto;
    grid-template-columns: 1fr auto auto auto 1fr;
    grid-template-areas: ". navA logo navB phone";
    column-gap: clamp(20px, 3.3vw, 64px);
    padding-inline: clamp(24px, 5.3vw, 102px);
  }
  .menu-toggle { display: none; }
  .logo { width: clamp(190px, 19.5vw, 374px); }
  .header-phone { width: clamp(28px, 2.5vw, 48px); }
  .site-nav {
    display: contents; position: static; visibility: visible; clip-path: none; box-shadow: none; padding: 0;
  }
  .nav-list { display: flex; gap: clamp(16px, 2.6vw, 50px); }
  .nav-list--a { grid-area: navA; }
  .nav-list--b { grid-area: navB; }
  .nav-list a {
    padding: 6px 0; border: 0; position: relative;
    font-size: clamp(14px, 1.25vw, 24px); color: #333;
  }
  .nav-list a::after {
    content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 2px;
    background: var(--cyan); transition: width .25s ease;
  }
  .nav-list a:hover::after { width: 100%; }

  /* Hero (1920: photo 1260–1980, frame 710→edge, pigs 87–672) */
  /* Desktop hero: soft brand tint + faint "growth" motif (bars + rising arrow, as in the logo) */
  .hero {
    padding-top: 0; overflow: hidden;
    background:
      radial-gradient(60% 80% at 100% 0%, rgba(0, 169, 224, .12) 0%, rgba(0, 169, 224, 0) 70%),
      radial-gradient(50% 70% at 0% 100%, rgba(34, 76, 136, .08) 0%, rgba(34, 76, 136, 0) 70%),
      linear-gradient(180deg, #F3F7FC 0%, #EAF1F9 70%, #F7FAFD 100%);
  }
  .hero-photo { grid-area: photo; width: auto; height: auto; padding-top: 0; z-index: 2; }
  .hero-photo img { width: 100%; height: auto; border-radius: 0; border: 0; object-fit: fill; background: none; }
  .hero-text { margin-top: 0; padding-top: 0; border-top: 0; text-align: right; }
  .hero-name { letter-spacing: 0; }
  .hero-content .btn-outline { margin-top: 0; }
  .hero-photo::before, .hero-photo::after { display: none; }
  .hero-role::after { display: none; }
  .hero-name { font-weight: 700; }
  .hero-role { color: var(--text); }
  .hero-grid {
    display: grid; align-items: end; padding: 0; column-gap: 0;
    max-width: 1920px; margin-inline: auto;
    position: relative;
    --c-photo: 27; --c-text: 32;
    grid-template-columns: calc(var(--c-photo) * 1%) calc(var(--c-text) * 1%) 1fr;
    --c-text: 29;
    grid-template-rows: auto auto;
    grid-template-areas:
      "photo box pigs"
      "photo intro pigs";
    padding-top: clamp(16px, 2vw, 40px);
  }
  .hero-grid::after { display: none; }
  /* photo's bottom sits exactly on the frame's bottom line (as in the PSD) */
  .hero-photo { grid-row: 1; align-self: end; margin-inline-start: -3%; }
  .hero-photo img { width: 100%; max-height: none; }
  /* gradient frame: spans from text column's left edge to the page edge, behind the photo */
  .hero-box {
    display: flex; align-items: center;
    width: auto; max-width: none; background: #fff; border-radius: 0;
    box-shadow: 0 24px 50px rgba(34, 76, 136, .12);
    grid-column: 1 / 3; grid-row: 1;
    align-self: end;
    margin-top: clamp(80px, 9.8vw, 188px);
    min-height: min(25.4vw, 487px);
    padding: clamp(18px, 2.4vw, 46px) calc(var(--c-photo) / (var(--c-photo) + var(--c-text)) * 100%) clamp(18px, 2.4vw, 46px) clamp(18px, 2.4vw, 46px);
    border: clamp(6px, .63vw, 12px) solid transparent;
    border-image: linear-gradient(270deg, var(--cyan) 0%, #1B6DB8 45%, var(--navy) 70%) 1;
    z-index: 1;
  }
  .hero-content { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-content .btn-outline { order: 2; }
  .hero-points { order: 3; justify-content: flex-start; margin-top: clamp(14px, 1.4vw, 26px); gap: clamp(6px, .6vw, 10px); }
  .hero-points li { font-size: clamp(12px, .85vw, 16px); padding: .4em .9em; }
  .hero-title, .hero-content .btn-outline, .hero-text { padding: 0; margin-inline: 0; }
  .hero-content .btn-outline { margin: 0; }
  .hero-title { margin-bottom: clamp(10px, 1vw, 18px); }
  .hero-name { font-size: clamp(26px, 2.52vw, 48.5px); line-height: 1; }
  .hero-role { font-size: clamp(18px, 1.82vw, 35px); font-weight: 500; }
  .hero-text { font-size: clamp(12px, 1.146vw, 22px); line-height: 1.22; margin-bottom: clamp(16px, 2.1vw, 40px); }
  .hero-pigs { display: block; grid-column: 3; grid-row: 1; align-self: end; padding: 0 4% clamp(8px, 1vw, 20px) 3%; }
  .hero-pigs img { width: 100%; max-width: 560px; margin-inline: auto; }
  .hero-intro .eyebrow { color: var(--cyan-text); }
  .hero-intro .hero-intro-title { color: var(--navy); }
  .hero-intro { margin: 0; background: none; grid-area: intro; padding: clamp(14px, 1.6vw, 30px) 0 clamp(10px, 1vw, 18px); z-index: 2; }
  .hero-intro .eyebrow { font-size: clamp(16px, 1.5625vw, 30px); align-self: center; margin-inline-start: 22%; }
  .hero-intro-title { font-size: clamp(22px, 2.083vw, 40px); }
  .hero-intro-arrow { display: block; width: clamp(34px, 3.44vw, 66px); margin-top: 4px; transition: transform .3s ease; }
  .hero-intro:hover .hero-intro-arrow { transform: translateY(6px); }

  /* Services – 2×2 grid */
  .services .slider-arrow { display: none; }
  .services-track {
    grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; scroll-snap-type: none;
  }
  .service {
    min-height: clamp(300px, 24.9vw, 478px);
    align-items: flex-start; text-align: right; justify-content: flex-start;
    padding: clamp(28px, 2.9vw, 56px) clamp(28px, 4.9vw, 95px) clamp(28px, 2.6vw, 50px) 10%;
  }
  .service-icon {
    width: clamp(52px, 4.9vw, 94px); height: clamp(52px, 4.9vw, 94px);
    margin-bottom: clamp(16px, 2.1vw, 40px);
  }
  .service-title { font-size: clamp(20px, 2.083vw, 40px); }
  .service-title::after { width: clamp(80px, 7.66vw, 147px); height: clamp(3px, .26vw, 5px); margin: clamp(10px, 1.2vw, 22px) 0 clamp(14px, 1.6vw, 30px); }
  .service p { font-size: clamp(13px, 1.302vw, 25px); line-height: 1.24; max-width: 23em; }

  /* Lead strip – pill */
  .lead { padding: clamp(10px, 1.1vw, 20px) var(--gutter) clamp(10px, 1.1vw, 20px); }
  .lead-box {
    max-width: 1541px; width: 80.3vw;
    display: flex; align-items: center; justify-content: space-between; gap: 3%;
    border-radius: 999px;
    padding: 0 clamp(36px, 4.5vw, 86px) 0 clamp(36px, 3.4vw, 66px);
    min-height: clamp(84px, 8.33vw, 160px);
    background: url('images/form-bg.jpg') 74% 97% / 137.4% auto no-repeat, var(--navy);
    text-align: right;
  }
  .lead-heading { align-items: flex-start; margin: 0; flex: none; }
  .lead-heading .eyebrow { font-size: clamp(15px, 1.5625vw, 30px); margin-bottom: clamp(4px, .35vw, 7px); }
  .lead-title { font-size: clamp(20px, 2.083vw, 40px); }
  .lead-form {
    max-width: none; margin: 0;
    grid-template-columns: repeat(3, clamp(120px, 12.14vw, 233px));
    gap: clamp(10px, 1.6vw, 18px);
  }
  .lead-input, .lead-submit {
    height: clamp(40px, 3.23vw, 62px);
    border-radius: clamp(6px, .55vw, 10px);
    font-size: clamp(13px, 1.25vw, 24px);
  }
  .lead-input { padding: 0 .8em; }
  .lead-form .form-status { grid-column: 1 / -1; margin-top: -4px; }

  /* About */
  .about {
    max-width: 1920px; margin-inline: auto;
    flex-direction: row-reverse; align-items: center;
    padding: clamp(10px, 1.6vw, 30px) 0 0;
    gap: 4%;
  }
  .about-media {
    flex: 0 0 52%; margin: 0;
    aspect-ratio: 1000 / 965;
    border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  }
  .about-media::after { padding: clamp(4px, .5vw, 9px); padding-left: 0; background: linear-gradient(90deg, var(--navy) 0%, #1B6DB8 55%, var(--cyan) 100%); }
  .about-media img { left: 44%; }
  .about-content { flex: 1; padding: 0 0 0 0; padding-inline-start: var(--gutter); padding-inline-end: 0; text-align: right; max-width: 44%; }
  .about-content { padding-right: clamp(24px, 4.1vw, 80px); }
  .about-text { font-size: clamp(13px, 1.146vw, 22px); line-height: 1.22; margin-bottom: clamp(24px, 2.6vw, 50px); }
  .about-text p + p { margin-top: 1.2em; }

  /* Free service */
  .free {
    padding: clamp(60px, 6.8vw, 130px) 0 clamp(40px, 3.7vw, 70px);
    background-size: 100% auto; background-position: center clamp(20px, 3.1vw, 60px);
  }
  .free::before { background: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.45) 70%, #fff 100%); }
  .free-text { font-size: clamp(13px, 1.146vw, 22px); line-height: 1.22; max-width: 1510px; margin-inline: auto; }
  .free-text p + p { margin-top: 1.2em; }

  /* Testimonials */
  .testimonials { padding: clamp(50px, 4.7vw, 90px) 0 clamp(60px, 7vw, 135px); }
  .testimonials .slider { max-width: 1490px; margin-inline: auto; padding-inline: clamp(50px, 5.5vw, 105px); }
  .testimonials .slider-arrow { width: 40px; height: 60px; margin-top: -30px; }
  .testimonials .slider-arrow::before { width: clamp(16px, 1.4vw, 26px); height: clamp(16px, 1.4vw, 26px); border-width: 3px; }
  .testimonials .slider-arrow--prev { right: 0; }
  .testimonials .slider-arrow--next { left: 0; }
  .testimonials-track {
    grid-template-rows: auto auto;
    grid-auto-columns: calc(50% - clamp(12px, 1.4vw, 28px));
    gap: clamp(20px, 1.9vw, 36px) clamp(24px, 2.8vw, 56px);
    padding: 8px 6px 20px;
  }
  .testimonial { padding: clamp(18px, 2vw, 38px) clamp(20px, 1.9vw, 36px) clamp(18px, 2vw, 38px) clamp(24px, 4vw, 76px); min-height: clamp(150px, 12vw, 230px); }
  .stars { width: clamp(64px, 4.8vw, 92px); margin-bottom: clamp(6px, .6vw, 12px); }
  .testimonial-name { font-size: clamp(15px, 1.25vw, 24px); margin-bottom: .2em; }
  .testimonial blockquote { font-size: clamp(12px, 1.0417vw, 20px); line-height: 1.22; }

  /* Steps – 5 pills in a row */
  .steps {
    padding: clamp(36px, 3.3vw, 64px) 0 clamp(60px, 4.6vw, 90px);
    background: linear-gradient(#fff, #fff) 0 100% / 100% 54% no-repeat,
                url('images/steps-bg.jpg') center top / 100% auto no-repeat;
    background-color: #fff;
  }
  .steps::after { display: none; }
  .steps-deco {
    display: flex; gap: clamp(8px, .9vw, 16px); position: absolute;
    top: clamp(24px, 2.3vw, 44px); right: clamp(40px, 4.6vw, 88px); z-index: 1;
  }
  .steps-deco i {
    width: 0; height: 0;
    border-block: clamp(16px, 1.67vw, 32px) solid transparent;
    border-right: clamp(28px, 2.9vw, 56px) solid var(--cyan);
  }
  .steps .section-heading { margin-bottom: clamp(40px, 5vw, 96px); }
  .steps-list {
    --cols: 5;
    --gap: clamp(14px, 3.1vw, 60px);
    display: flex; flex-wrap: wrap; justify-content: center;
    column-gap: var(--gap);
    row-gap: clamp(70px, 7vw, 110px);
    padding-inline: 0;
    max-width: 1675px; margin-inline: auto;
  }
  .steps .container { max-width: 1920px; }
  /* Pill proportions follow the design (287 × 497 at 1920px).
     Everything inside scales with the pill's own width (cqi = 1% of pill width). */
  .step {
    container-type: inline-size;
    margin: 0;
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    min-width: 0;
    grid-template-columns: 1fr; justify-items: center; align-content: start;
    border-radius: 999px;
    aspect-ratio: 287 / 497;
    padding: 0;
    text-align: center;
    gap: 0;
  }
  .step-num {
    top: 0; bottom: auto; right: -2cqi; left: auto;
    transform: translateY(-58%);
    font-size: 43cqi;
  }
  .step-icon {
    width: 84cqi; margin-top: 8cqi; margin-bottom: 13cqi;
    border-width: 6.3cqi;
  }
  .step-icon img { width: 48%; max-height: 48%; }
  .step-body { text-align: center; padding: 0 9cqi 14cqi; }
  .step-title { font-size: max(12px, 7cqi); line-height: 1.2; }
  .step-title::after { width: 24cqi; height: max(3px, 2cqi); margin: 4cqi auto; }
  .step-body p { font-size: max(10.5px, 5.6cqi); line-height: 1.25; }

  /* CTA */
  .cta {
    min-height: 0; aspect-ratio: 1920 / 671;
    padding: clamp(60px, 7.9vw, 152px) var(--gutter) 0;
    background-position: center;
  }
  .cta-title { font-size: clamp(26px, 2.5vw, 48px); }

  /* Contact – image left, form right */
  .contact {
    flex-direction: row; align-items: stretch;
    max-width: 1920px; margin-inline: auto;
  }
  .contact-form-wrap {
    flex: 0 0 36.9%;
    padding: clamp(40px, 4.8vw, 92px) clamp(24px, 5.4vw, 104px) clamp(30px, 2.5vw, 48px) clamp(24px, 4.6vw, 88px);
  }
  .contact .section-heading { margin-bottom: clamp(24px, 3.3vw, 64px); }
  .contact .section-heading .eyebrow { font-size: clamp(16px, 1.61vw, 31px); }
  .contact .section-heading::after { display: block; margin-inline-start: 0; }
  .contact-intro { font-size: clamp(15px, 1.406vw, 27px); margin-bottom: clamp(4px, .6vw, 12px); }
  .field input { height: clamp(48px, 4.75vw, 91px); font-size: clamp(14px, 1.302vw, 25px); border-bottom-width: clamp(2px, .26vw, 5px); padding-top: .6em; }
  .consent { font-size: clamp(11px, .9375vw, 18px); margin: clamp(14px, 1.4vw, 26px) 0; gap: 10px; }
  .consent-box { width: clamp(16px, 1.2vw, 23px); height: clamp(16px, 1.2vw, 23px); }
  .contact-form .btn-outline { justify-self: start; }
  .contact-form .form-status { text-align: right; }
  .socials { justify-content: flex-start; gap: clamp(10px, 1vw, 20px); margin-top: clamp(24px, 3.2vw, 62px); }
  .socials img { height: clamp(26px, 2.35vw, 45px); }
  .socials-gap { margin-inline-start: clamp(30px, 3.6vw, 70px); }

  .contact-media {
    flex: 1;
    min-height: clamp(480px, 47.3vw, 908px);
    padding: clamp(40px, 3.6vw, 70px) 0 0 0;
    justify-content: flex-start;
    background-position: 30% center;
  }
  .contact-logo { width: clamp(200px, 20.8vw, 400px); align-self: flex-start; margin-inline-start: 5%; } /* top-right, over the right-hand cloud */
  .contact-card {
    position: absolute; left: 0; top: 33%;
    width: clamp(260px, 26.8vw, 514px);
    min-height: clamp(160px, 14.7vw, 283px);
    align-content: center;
    gap: clamp(10px, 1.3vw, 25px);
    padding: 0 clamp(20px, 2vw, 40px);
    border-radius: 0 999px 999px 0;
    background: rgba(255,255,255,.88);
    font-size: clamp(13px, 1.302vw, 25px);
  }
  .contact-card a { gap: clamp(10px, 1vw, 16px); }
  .contact-card img { width: clamp(18px, 1.8vw, 34px); height: clamp(18px, 1.8vw, 34px); }

  /* Footer */
  .site-footer {
    flex-direction: row; justify-content: space-between;
    max-width: 1920px; margin-inline: auto;
    padding: clamp(18px, 1.8vw, 34px) clamp(24px, 5.6vw, 108px) clamp(18px, 1.8vw, 34px) 120px;
    font-size: clamp(13px, 1.19vw, 23px);
  }
  .powered { font-size: clamp(14px, 1.52vw, 29px); gap: clamp(8px, .8vw, 16px); }
  .powered img { width: clamp(150px, 11vw, 210px); }
}

/* Laptops: give the hero text more room (smaller pigs, tighter frame padding) */
@media (min-width: 768px) and (max-width: 1599px) {
  .hero-grid { --c-photo: 27; --c-text: 38; min-height: 0; }
  .hero-box {
    margin-top: clamp(50px, 6.5vw, 110px);
    padding-top: clamp(22px, 2.6vw, 40px); padding-bottom: clamp(22px, 2.6vw, 40px);
    padding-left: clamp(22px, 2.6vw, 40px);
  }
  .hero-text { max-width: none; }
  .hero-pigs img { max-width: 92%; margin-inline: auto; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero-grid { --c-photo: 28; --c-text: 44; }
  .hero-box { margin-top: 36px; }
  .hero-name { font-size: 24px; }
  .hero-role { font-size: 17px; }
  .hero-text { font-size: 13px; line-height: 1.3; }
}
/* Small tablets */
@media (min-width: 768px) and (max-width: 1099px) {

  .lead-box { width: 92vw; gap: 16px; }
  .about-content { max-width: 48%; }
}
/* Narrow tablets: 3 + 2 pills, same proportions */
@media (min-width: 768px) and (max-width: 899px) {
  .steps-list { --cols: 3; max-width: 680px; }
  .step:nth-child(n+4) .step-num { color: var(--navy); text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Toast for phone/email links when the page is shown inside a preview frame */
.contact-toast {
  position: fixed; bottom: 20px; left: 50%; z-index: 200;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-size: 16px; font-weight: 500; direction: rtl;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  user-select: text;
}
.contact-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.contact-toast button {
  border: 1px solid rgba(255,255,255,.6); background: transparent; color: inherit;
  border-radius: 999px; padding: 4px 12px; font-size: 13px;
}

/* =========================================================
   STICKY WHATSAPP BUTTON (bottom-left, always visible)
   ========================================================= */
.whatsapp-float {
  position: fixed; z-index: 150;
  left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.12); }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(37, 211, 102, .45); }
.whatsapp-float-label {
  position: absolute; left: calc(100% + 10px); top: 50%;
  white-space: nowrap;
  background: var(--white); color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  opacity: 0; pointer-events: none;
  transform: translate(-6px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translate(0, -50%); }
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (min-width: 768px) {
  .whatsapp-float { width: 64px; height: 64px; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; display: none; }
}


/* =========================================================
   FOOTER LEGAL LINK + POPUP (terms of use & privacy)
   ========================================================= */
.legal-link {
  background: none; border: 0; padding: 4px 2px;
  color: var(--navy); font-size: inherit; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
.legal-link:hover { color: var(--cyan-text); }

.legal-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(82vh, 820px);
  padding: 0; border: 0; border-radius: 18px;
  box-shadow: 0 30px 80px rgba(10, 25, 55, .35);
  color: var(--text); background: #fff;
  direction: rtl; text-align: right;
}
.legal-dialog::backdrop { background: rgba(10, 25, 55, .55); backdrop-filter: blur(2px); }
.legal-dialog[open] { animation: legal-in .25s ease; }
@keyframes legal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.legal-inner { position: relative; padding: 30px 26px 28px; overflow-y: auto; max-height: min(82vh, 820px); }
.legal-dialog h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 6px; padding-left: 36px; }
.legal-meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #E5EAF1; }
.legal-dialog h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 18px 0 4px; }
.legal-dialog p { font-size: 15px; line-height: 1.65; color: var(--text-soft); }
.legal-close {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #F0F4F9; color: var(--navy);
  font-size: 24px; line-height: 1;
}
.legal-close:hover { background: var(--navy); color: #fff; }
@media (min-width: 768px) {
  .legal-inner { padding: 40px 44px 36px; }
  .legal-dialog h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .legal-dialog[open] { animation: none; } }

/* =========================================================
   DESKTOP READABILITY FLOORS
   Fluid sizes scale with the screen, but never below a comfortable
   reading size on laptops (≈1100–1440px). Large screens are unchanged.
   ========================================================= */
@media (min-width: 768px) {
  .nav-list a { font-size: max(16px, 1.25vw); }
  .hero-text { font-size: max(16px, 1.146vw); line-height: 1.5; }
  .hero-points li { font-size: max(14px, .85vw); }
  .btn-outline { font-size: max(16px, 1.302vw); }
  .service-title { font-size: max(24px, 2.083vw); }
  .service p { font-size: max(17px, 1.302vw); line-height: 1.45; }
  .lead-input, .lead-submit { font-size: max(16px, 1.25vw); }
  .about-text, .free-text { font-size: max(17px, 1.146vw); line-height: 1.6; }
  .testimonial-name { font-size: max(18px, 1.25vw); }
  .testimonial blockquote { font-size: max(16px, 1.0417vw); line-height: 1.5; }
  .step-title { font-size: max(16px, 7cqi); }
  .step-body p { font-size: max(14.5px, 5.6cqi); line-height: 1.45; }
  .contact-intro { font-size: max(18px, 1.406vw); }
  .field input { font-size: max(17px, 1.302vw); }
  .consent { font-size: max(14.5px, .9375vw); }
  .contact-card { font-size: max(17px, 1.302vw); }
  .site-footer { font-size: max(15px, 1.19vw); }
  .legal-link { font-size: inherit; }
}
/* Narrow tablets (768–1099px): slightly smaller floors so blocks still fit */
@media (min-width: 768px) and (max-width: 1099px) {
  .hero-text { font-size: 15px; }
  .about-text, .free-text { font-size: 16px; }
  .service p { font-size: 16px; }
  .step-body p { font-size: 14px; }
}

/* =========================================================
   ACCESSIBILITY MENU (sticky, round, above the WhatsApp button)
   ========================================================= */
.footer-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; color: var(--muted); }

.a11y { position: fixed; z-index: 160; left: 16px; bottom: calc(16px + 58px + 12px + env(safe-area-inset-bottom, 0px)); }
.a11y-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid #fff; background: var(--navy); color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .2s ease, background-color .2s ease;
}
.a11y-toggle:hover { transform: scale(1.06); background: #163a6e; }
.a11y-toggle:focus-visible { outline: 3px solid #FFD400; outline-offset: 3px; }

.a11y-panel {
  position: absolute; left: 0; bottom: calc(100% + 12px);
  width: min(330px, calc(100vw - 32px));
  max-height: min(70vh, 560px); overflow-y: auto;
  background: #fff; color: #1D1D1B;
  border-radius: 16px; border: 2px solid var(--navy);
  box-shadow: 0 20px 50px rgba(10, 25, 55, .3);
  padding: 14px 14px 12px; direction: rtl; text-align: right;
  font-family: var(--font);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.a11y-head h2 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0; }
.a11y-close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #EEF2F8; color: var(--navy); font-size: 22px; line-height: 1; }
.a11y-font {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 6px;
  background: #F3F6FB; border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; font-size: 15px; font-weight: 500;
}
.a11y-font button { width: 44px; height: 40px; border-radius: 8px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 16px; font-weight: 700; }
.a11y-font output { min-width: 48px; text-align: center; font-weight: 700; color: var(--navy); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 70px; padding: 8px 6px; border-radius: 10px;
  border: 1.5px solid #C9D5E6; background: #fff; color: #1D1D1B;
  font-size: 14px; font-weight: 500; line-height: 1.2;
}
.a11y-ico { font-size: 20px; line-height: 1; color: var(--navy); font-weight: 800; }
.a11y-grid button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y-grid button[aria-pressed="true"] .a11y-ico { color: #fff; }
.a11y-panel button:hover { border-color: var(--navy); }
.a11y-panel button:focus-visible { outline: 3px solid #FFD400; outline-offset: 2px; }
.a11y-foot { display: flex; gap: 8px; margin-top: 10px; }
.a11y-foot button { flex: 1; min-height: 42px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.a11y-reset { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); }
.a11y-statement-link { border: 0; background: var(--navy); color: #fff; }

@media (min-width: 768px) {
  .a11y { left: 24px; bottom: calc(24px + 64px + 14px + env(safe-area-inset-bottom, 0px)); }
  .a11y-toggle { width: 64px; height: 64px; }
}

/* ---------- effects applied by the menu (on <html>) ---------- */
/* text size: zoom page content (not the fixed buttons) */
html[data-a11y-zoom="1"] :is(.site-header, main, .site-footer) { zoom: 1.1; }
html[data-a11y-zoom="2"] :is(.site-header, main, .site-footer) { zoom: 1.2; }
html[data-a11y-zoom="3"] :is(.site-header, main, .site-footer) { zoom: 1.3; }
html[data-a11y-zoom="-1"] :is(.site-header, main, .site-footer) { zoom: .92; }

html.a11y-grayscale :is(.site-header, main, .site-footer) { filter: grayscale(1); }

html.a11y-contrast :is(.site-header, main, .site-footer),
html.a11y-contrast :is(.site-header, main, .site-footer) *:not(img):not(svg):not(svg *):not(picture):not(video) {
  background-color: #000 !important; background-image: none !important;
  color: #fff !important; border-color: #fff !important;
  text-shadow: none !important; box-shadow: none !important;
}
html.a11y-contrast :is(.site-header, main, .site-footer) :is(a, button, .eyebrow, .section-title, h1, h2, h3) { color: #FFE600 !important; }
html.a11y-contrast :is(.site-header, main, .site-footer) :is(input) { border: 2px solid #fff !important; }
html.a11y-contrast :is(.site-header, main, .site-footer) ::placeholder { color: #ddd !important; }
html.a11y-contrast .about-media::before, html.a11y-contrast .service::before, html.a11y-contrast .cta-particles { display: none !important; }

html.a11y-links :is(main, .site-header, .site-footer) a,
html.a11y-links :is(main, .site-header, .site-footer) button:not(.a11y *) {
  text-decoration: underline !important; text-underline-offset: 3px;
  outline: 2px dashed #E3A400 !important; outline-offset: 2px;
}
html.a11y-readable body, html.a11y-readable :is(.site-header, main, .site-footer) * {
  font-family: Arial, "Arial Hebrew", Helvetica, sans-serif !important;
}
html.a11y-headings :is(h1, h2, h3) { outline: 2px solid #E3A400; outline-offset: 4px; background-color: rgba(255, 230, 0, .18); }
html.a11y-spacing :is(main, .site-footer) :is(p, li, blockquote, h1, h2, h3, a, span, label) {
  line-height: 1.8 !important; letter-spacing: .06em !important; word-spacing: .14em !important;
}
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 4l32 18-14 3 9 16-6 3-9-16-12 10z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important;
}

/* Video credit (required by the Magnific free license): small, discreet, but readable */
.cta-credit {
  position: absolute; z-index: 2; left: 10px; bottom: 8px;
  font-size: 11px; line-height: 1; direction: ltr;
  color: rgba(255, 255, 255, .85); text-decoration: none;
  background: rgba(10, 25, 55, .35); padding: 4px 7px; border-radius: 4px;
  display: none;
}
.cta-credit:hover { color: #fff; text-decoration: underline; }
.cta.has-video .cta-credit { display: inline-block; }
@media (min-width: 768px) { .cta-credit { font-size: 12px; left: 16px; bottom: 12px; } }

/* Keep the white CTA title readable over the bright sky of the video */
.cta.has-video::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: #1A3C78;   /* dark brand blue layer between video and title */
  opacity: .65;
}
.cta.has-video .cta-video { filter: saturate(.7); }
.cta.has-video .cta-title { z-index: 1; }
.cta.has-video .cta-credit { z-index: 2; }

/* Never show the native play button / controls on the background video (iOS) */
.cta-video { pointer-events: none; }
.cta-video::-webkit-media-controls,
.cta-video::-webkit-media-controls-panel,
.cta-video::-webkit-media-controls-overlay-play-button,
.cta-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }

/* Mobile only: line under "שירותי החברה", same as every section heading (white on the dark band) */
.hero-intro-heading::after {
  content: ""; display: block; width: 74px; height: 3px; margin: 10px auto 0; background: var(--white);
}
@media (min-width: 768px) { .hero-intro-heading::after { display: none; } }

/* Mobile only: center the About text */
@media (max-width: 767px) { .about-text { text-align: center; } }

/* =========================================================
   ANIMATIONS
   All respect prefers-reduced-motion and the a11y "stop animations" toggle.
   ========================================================= */

/* 1. Hero "growth" motif: bars rise one by one, arrow line draws, head pops */
.hero { position: relative; }
.hero-growth { display: none; }
@media (min-width: 768px) {
  .hero-growth {
    display: block; position: absolute; z-index: 0; pointer-events: none;
    left: -1%; bottom: -2%; width: clamp(300px, 30vw, 600px); height: auto;
  }
  .hero-grid { position: relative; z-index: 1; }
  .hg-bars rect { fill: #224C88; fill-opacity: .07; transform-box: fill-box; transform-origin: 50% 100%; animation: hg-rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .hg-bars rect:nth-child(1) { animation-delay: .3s; }
  .hg-bars rect:nth-child(2) { animation-delay: .45s; }
  .hg-bars rect:nth-child(3) { animation-delay: .6s; }
  .hg-bars rect:nth-child(4) { animation-delay: .75s; }
  .hg-line { fill: none; stroke: #00A9E0; stroke-opacity: .22; stroke-width: 16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hg-draw 1.3s ease-out 1s forwards; }
  .hg-head { fill: #00A9E0; fill-opacity: .22; transform-box: fill-box; transform-origin: 30% 70%; opacity: 0; animation: hg-pop .45s ease-out 2.15s forwards; }
}
@keyframes hg-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hg-draw { to { stroke-dashoffset: 0; } }
@keyframes hg-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* 2. Hero entrance: photo glides in, gradient frame "draws" from the right, text fades up */
@media (min-width: 768px) {
  .hero-photo img { animation: hero-photo-in .9s cubic-bezier(.2,.8,.2,1) .1s both; }
  .hero-box { animation: frame-draw .9s cubic-bezier(.6,0,.2,1) .25s both; }
  .hero-content { animation: fade-up .7s ease-out .8s both; }
  .hero-pigs img { animation: fade-up .8s ease-out 1.1s both; }
}
@media (max-width: 767px) {
  .hero-photo { animation: pop-in .7s cubic-bezier(.2,.8,.2,1) .1s both; }
  .hero-title { animation: fade-up .6s ease-out .3s both; }
  .hero-text { animation: fade-up .6s ease-out .45s both; }
  .hero-points { animation: fade-up .6s ease-out .6s both; }
  .hero-content .btn-outline { animation: fade-up .6s ease-out .75s both; }
}
@keyframes hero-photo-in { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes frame-draw { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* 3 + 4. Reveal on scroll (only elements that start below the fold get hidden by JS) */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-pending.reveal-in { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 140ms); }

/* 5. Shine sweeping across the submit buttons every few seconds */
.lead-submit, .contact-form .btn-outline { overflow: hidden; }
.lead-submit { position: relative; }
.lead-submit::after, .contact-form .btn-outline .shine {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shine 4.5s ease-in-out 2s infinite; pointer-events: none;
}
.contact-form .btn-outline .shine { background: linear-gradient(100deg, transparent, rgba(0,169,224,.28), transparent); z-index: 1; }
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

@media (prefers-reduced-motion: reduce) {
  .hg-bars rect, .hg-line, .hg-head, .hero-photo, .hero-photo img, .hero-box, .hero-content, .hero-pigs img,
  .hero-title, .hero-text, .hero-points, .hero-content .btn-outline { animation: none !important; }
  .hg-line { stroke-dashoffset: 0; } .hg-head { opacity: 1; }
  .lead-submit::after, .contact-form .btn-outline .shine { display: none; }
}
html.a11y-motion .hg-line { stroke-dashoffset: 0; }
html.a11y-motion .hg-head { opacity: 1; }
html.a11y-motion .reveal-pending { opacity: 1 !important; transform: none !important; }

/* =========================================================
   COOKIE CONSENT BANNER
   ========================================================= */
.cookie-banner {
  position: fixed; z-index: 170; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 760px; margin-inline: auto;
  background: #fff; color: var(--text); direction: rtl; text-align: right;
  border-radius: 16px; border: 1px solid #DCE4EF;
  box-shadow: 0 18px 50px rgba(10, 25, 55, .28);
  animation: fade-up .45s ease-out both;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 16px 18px; display: grid; gap: 12px; }
.cookie-text { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.cookie-text strong { color: var(--navy); }
.cookie-policy-link { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; font-size: inherit; }
.cookie-prefs { display: grid; gap: 8px; padding: 10px 12px; background: #F3F6FB; border-radius: 10px; }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cookie-opt input { width: 18px; height: 18px; accent-color: var(--navy); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; border: 1.5px solid var(--navy); }
.ck-btn[hidden] { display: none; }
.ck-accept, .ck-save { background: var(--navy); color: #fff; }
.ck-reject, .ck-settings { background: #fff; color: var(--navy); }
.ck-btn:hover { filter: brightness(1.08); }
.ck-btn:focus-visible, .cookie-policy-link:focus-visible { outline: 3px solid #FFD400; outline-offset: 2px; }
@media (min-width: 768px) {
  .cookie-banner { bottom: 24px; }
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookie-prefs { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; }
  .cookie-actions { flex-wrap: nowrap; }
}
