/* כוכב לבן בע"מ — ממ"דים ומבנים נוידים */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=Heebo:wght@500;600;700;800;900&family=Secular+One&display=swap');

:root{
  --navy-950:#0f1a2b;
  --navy-900:#152238;
  --navy-800:#1c2f4d;
  --navy-700:#233d63;
  --blue-700:#2a4f80;
  --blue-600:#3563a0;
  --blue-500:#5474a3;   /* logo blue */
  --blue-400:#7c98c2;
  --blue-300:#a9c0e0;
  --blue-100:#e8edf5;
  --signal-600:#1d5cd1;
  --signal-500:#2f6fed;  /* primary accent — matches the logo family, brighter */
  --signal-400:#5b8bf2;
  --signal-light:#e5edfe;
  --steel-100:#eef1f5;
  --steel-200:#dfe4ec;
  --paper:#f5f7fb;
  --white:#ffffff;
  --ink:#141b28;
  --ink-soft:#4d5666;
  --ok:#2f7d5b;

  --f-hero:'Secular One',var(--f-display);
  --f-display:'Heebo',system-ui,sans-serif;
  --f-mono:'Heebo',ui-monospace,monospace;
  --f-body:'Assistant',system-ui,sans-serif;

  --gutter:clamp(1.4rem,4vw,3.2rem);
  --radius:10px;
  --radius-lg:4px;
  --shadow-sm:0 2px 10px rgba(15,26,43,.1);
  --shadow-md:0 14px 34px rgba(15,26,43,.16);
  --shadow-lg:0 26px 64px rgba(15,26,43,.26);

  --step--1:clamp(.82rem,.78rem + .2vw,.92rem);
  --step-0:clamp(1rem,.95rem + .25vw,1.1rem);
  --step-1:clamp(1.2rem,1.1rem + .5vw,1.45rem);
  --step-2:clamp(1.5rem,1.3rem + 1vw,1.9rem);
  --step-3:clamp(1.9rem,1.5rem + 2vw,2.6rem);
  --step-4:clamp(2.4rem,1.8rem + 3vw,3.6rem);
  --step-5:clamp(3.1rem,2rem + 5.5vw,5.6rem);
}

*,*::before,*::after{box-sizing:border-box}
html{font-size:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

body{
  margin:0;
  font-family:var(--f-body);
  font-size:var(--step-0);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,video{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{font-family:var(--f-display);font-weight:800;margin:0;color:var(--navy-900);line-height:1.14}
p{margin:0}
button{font:inherit;cursor:pointer}
section{position:relative}

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

/* keyboard users land here first (ת"י 5568) */
.skip-link{
  position:fixed;top:-100px;inset-inline-start:1rem;z-index:300;
  background:var(--signal-500);color:#fff;padding:.9rem 1.4rem;border-radius:0 0 8px 8px;
  font-family:var(--f-display);font-weight:800;font-size:var(--step--1);
  transition:top .2s ease;
}
.skip-link:focus{top:0;outline:3px solid #fff;outline-offset:-6px}

/* technical bracket label, replaces generic pill badges */
.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--f-mono);font-weight:800;font-size:var(--step--1);
  letter-spacing:.06em;color:var(--signal-600);
}
.eyebrow::before{content:'//';color:var(--blue-400);font-weight:900}
.section-alt .eyebrow,.section:not(.process-strip):not(.hero) .eyebrow{color:var(--signal-600)}
.process-strip .eyebrow,.hero .eyebrow{color:var(--signal-400)}
.process-strip .eyebrow::before,.hero .eyebrow::before{color:var(--blue-300)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.7rem;
  font-family:var(--f-display);font-weight:800;font-size:var(--step-0);
  padding:1.05rem 2.1rem;border-radius:var(--radius);border:2px solid transparent;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--signal-500);color:var(--white);box-shadow:0 10px 26px rgba(47,111,237,.35)}
.btn-primary:hover{background:var(--signal-600);transform:translateY(-2px);box-shadow:0 14px 32px rgba(47,111,237,.42)}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.55);color:var(--white)}
.btn-outline:hover{background:rgba(255,255,255,.12);border-color:#fff;transform:translateY(-2px)}
.btn-ghost{background:var(--white);color:var(--navy-800);border-color:var(--steel-200)}
.btn-ghost:hover{border-color:var(--signal-500);color:var(--signal-600);transform:translateY(-2px)}

/* ---------- header ---------- */
.site-header{
  position:fixed;inset-inline:0;top:0;z-index:100;
  padding:.9rem 0;
  transition:background .3s ease,box-shadow .3s ease,padding .3s ease;
}
.site-header.is-scrolled{background:rgba(15,26,43,.97);box-shadow:0 6px 24px rgba(0,0,0,.18);padding:.55rem 0}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1.2rem}
.brand{display:flex;align-items:center;gap:.8rem;color:#fff}
.brand img{width:44px;height:44px;border-radius:50%;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.brand-name{font-family:var(--f-display);font-weight:800;font-size:1.05rem;line-height:1.15}
.brand-name small{display:block;font-family:var(--f-body);font-weight:600;font-size:.72rem;color:var(--blue-300);letter-spacing:.02em}

.main-nav{display:flex;align-items:center;gap:2.1rem}
.main-nav a{color:#e7ecf5;font-weight:700;font-size:var(--step--1);position:relative;padding:.3rem 0}
.main-nav a::after{content:'';position:absolute;inset-inline:0;bottom:-2px;height:2px;background:var(--signal-500);transform:scaleX(0);transition:transform .25s ease}
.main-nav a:hover::after{transform:scaleX(1)}

.header-actions{display:flex;align-items:center;gap:.9rem}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.22);
  color:#fff;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
}
.icon-btn:hover{transform:translateY(-2px) scale(1.05);border-color:#fff}
.icon-btn svg{width:20px;height:20px}
.icon-btn.whatsapp{background:#25D366;border-color:#25D366}
.icon-btn.whatsapp:hover{box-shadow:0 8px 20px rgba(37,211,102,.4)}

.nav-toggle{display:none;background:none;border:none;color:#fff;padding:.4rem}
.nav-toggle svg{width:26px;height:26px}
.nav-close{display:none;background:none;border:none;padding:.4rem}

@media (max-width:920px){
  .main-nav{position:fixed;inset:0;top:0;background:var(--navy-950);flex-direction:column;justify-content:center;gap:2.4rem;transform:translateY(-105%);transition:transform .35s ease;z-index:99}
  .main-nav.open{transform:translateY(0)}
  .main-nav a{font-size:var(--step-2)}
  .nav-toggle{display:inline-flex}
  .nav-close{display:none;position:fixed;top:1.3rem;inset-inline-end:var(--gutter);z-index:101;background:none;border:none;color:#fff}
  .main-nav.open ~ .nav-close,.main-nav.open .nav-close{display:inline-flex}
}

/* ---------- hero — solid text panel + untouched banner image, never overlapping ---------- */
.hero{
  min-height:620px;display:grid;grid-template-columns:minmax(380px,44%) 1fr;
  background:var(--navy-950);
}
@media (min-width:1400px){.hero{max-height:840px}}
.hero-copy{
  position:relative;z-index:2;color:#fff;max-width:560px;
  padding:7.5rem 2.2rem 3.4rem clamp(1.4rem,4vw,3.2rem);
  display:flex;flex-direction:column;justify-content:center;
}
.hero-copy::before{
  content:'';display:block;width:3.4rem;height:3px;background:var(--signal-400);margin-bottom:1.6rem;
}
.hero h1{
  font-family:var(--f-hero);font-weight:400;font-size:var(--step-4);color:#fff;letter-spacing:-.01em;
}
.hero h1 em{font-style:normal;color:var(--signal-400)}
.hero-lead{margin-top:1.5rem;font-size:var(--step-0);color:#c3cee2;max-width:44ch;font-weight:600}
.hero-cta{display:flex;flex-direction:column;gap:.9rem;margin-top:2.2rem;align-items:stretch}
.hero-cta .btn{width:100%}
.hero-badges{display:flex;flex-direction:column;gap:.9rem;margin-top:2.4rem;padding-top:1.8rem;border-top:1px solid rgba(255,255,255,.16)}
.hero-badge{display:flex;align-items:center;gap:.6rem;color:#eef2fa;font-weight:800;font-size:var(--step--1)}
.hero-badge svg{width:20px;height:20px;color:var(--signal-400);flex-shrink:0}

/* contain, not cover: the banner is a designed composition — it must never be cropped.
   A blurred copy of the banner fills the leftover space so there are no flat letterbox bands. */
.hero-media{position:relative;overflow:hidden;background:#5a7b9c;isolation:isolate}
.hero-media::before{
  content:'';position:absolute;inset:-40px;z-index:0;
  background:url('../images/hero-desktop.jpg') center/cover no-repeat;
  filter:blur(30px) saturate(1.1);
}
.hero-media img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center;display:block}
/* soft seam into the copy panel (physical right edge in RTL) */
.hero-media::after{
  content:'';position:absolute;inset-block:0;right:0;width:14%;z-index:2;
  background:linear-gradient(to left,var(--navy-950),transparent);
}

@media (min-width:1180px){
  .hero-copy{max-width:620px}
  .hero-cta{flex-direction:row}
  .hero-cta .btn{width:auto}
  .hero-badges{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.9rem 1.6rem}
}

@media (max-width:820px){
  .hero{grid-template-columns:1fr;min-height:auto}
  /* the box matches the banner's own aspect ratio exactly: nothing is cropped AND there are no
     letterbox bands, so the blurred fill isn't needed here at all */
  .hero-media{height:auto;aspect-ratio:941/1672;max-height:none;order:-1;background:#3e6590}
  .hero-media img{object-fit:cover}
  .hero-media::before,.hero-media::after{display:none}
  .hero-copy{max-width:none;padding:2.4rem clamp(1.2rem,5vw,2rem) 3rem}
}

/* ---------- hazard strip divider ---------- */
.hazard-strip{
  height:10px;
  background:repeating-linear-gradient(-45deg,var(--signal-500) 0 18px,var(--navy-900) 18px 36px);
}

/* ---------- trust strip ---------- */
.trust-strip{background:var(--navy-950);padding:1.8rem 0 2.8rem}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.trust-item{color:#c3cee2;font-size:var(--step--1);text-align:center;padding:0 .6rem;border-inline-start:1px solid rgba(255,255,255,.14)}
.trust-item:first-child{border-inline-start:none}
.trust-item strong{display:block;color:#fff;font-family:var(--f-display);font-weight:800;font-size:var(--step-0);margin-bottom:.3rem}
@media (max-width:800px){.trust-grid{grid-template-columns:repeat(2,1fr);row-gap:2rem}.trust-item{border-inline-start:none}}

/* ---------- section shell ---------- */
.section{padding:6.5rem 0}
.section-alt{background:var(--white)}
.section-head{max-width:660px;margin-bottom:3.4rem}
.section-head.center{margin-inline:auto;text-align:center}
.section-head h2{font-size:var(--step-4);margin-top:.8rem;font-weight:800}
.section-head p{margin-top:1.1rem;color:var(--ink-soft);font-size:var(--step-1);font-weight:500}

/* ---------- services — asymmetric split cards ---------- */
.services-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--steel-200)}
.service-card{
  background:var(--white);overflow:hidden;position:relative;
  display:grid;grid-template-rows:230px auto;
}
.service-card::before{
  content:attr(data-index);position:absolute;top:1.1rem;inset-inline-start:1.1rem;z-index:2;
  font-family:var(--f-mono);font-weight:800;font-size:var(--step--1);color:#fff;
  background:var(--signal-500);padding:.3rem .7rem;
}
.service-media{overflow:hidden}
.service-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease,filter .6s ease}
.service-card:hover .service-media img{transform:scale(1.07)}
.service-body{padding:2.2rem 2.2rem 2.6rem}
.service-tag{color:var(--signal-600);font-family:var(--f-mono);font-weight:800;font-size:var(--step--1);letter-spacing:.04em}
.service-body h3{font-size:var(--step-2);margin-top:.6rem;font-weight:800}
.service-body p{color:var(--ink-soft);margin-top:.9rem;font-weight:500}
.service-list{margin-top:1.4rem;display:grid;gap:.7rem}
.service-list li{display:flex;align-items:flex-start;gap:.65rem;color:var(--ink);font-weight:700;font-size:var(--step--1)}
.service-list svg{width:19px;height:19px;color:var(--signal-500);flex-shrink:0;margin-top:.1rem}
@media (max-width:860px){.services-grid{grid-template-columns:1fr}}

/* ---------- process — blueprint spec sheet ---------- */
.process-strip{background:var(--navy-900);color:#fff}
.process-strip .section-head h2,.process-strip .section-head p{color:#fff}
.process-strip .section-head p{color:#b3c1da}
.process-grid{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.process-track{grid-column:1/-1;grid-row:1;position:relative;pointer-events:none;z-index:0}
.process-line-bg{
  position:absolute;top:1.9rem;inset-inline:2%;height:2px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.25) 0 8px,transparent 8px 16px);
}
/* physical right/left on purpose: in RTL, inset-inline-end resolves to physical "left",
   which would silently reverse this animation's travel direction (01 -> 04, right to left) */
.process-line-fill{
  position:absolute;top:1.9rem;right:2%;height:2px;width:0;
  background:linear-gradient(90deg,var(--signal-600),var(--signal-400));
  box-shadow:0 0 10px rgba(91,139,242,.6);
  transition:width 1.8s cubic-bezier(.22,1,.36,1) .25s;
}
.process-track.in .process-line-fill{width:96%}
.process-marker{
  position:absolute;top:1.9rem;right:2%;transform:translate(50%,-50%);
  width:1.1rem;height:1.1rem;border-radius:50%;background:var(--signal-400);
  box-shadow:0 0 0 6px rgba(91,139,242,.28),0 4px 14px rgba(0,0,0,.45);
  transition:right 1.8s cubic-bezier(.22,1,.36,1) .25s;
  animation:process-pulse 2s ease-in-out infinite;
}
.process-track.in .process-marker{right:96%}
@keyframes process-pulse{0%,100%{box-shadow:0 0 0 6px rgba(91,139,242,.28),0 4px 14px rgba(0,0,0,.45)}50%{box-shadow:0 0 0 11px rgba(91,139,242,.14),0 4px 14px rgba(0,0,0,.45)}}
.process-step{position:relative;padding:0 1.6rem 0 0;text-align:start;z-index:1}
.process-icon{
  position:relative;width:4.4rem;height:4.4rem;border-radius:16px;
  background:linear-gradient(145deg,var(--signal-400),var(--signal-600));
  box-shadow:0 12px 28px rgba(47,111,237,.35),inset 0 1px 0 rgba(255,255,255,.28);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.5rem;z-index:1;animation:pi-float 4.5s ease-in-out infinite;
}
.process-step:nth-of-type(2) .process-icon{animation-delay:.45s}
.process-step:nth-of-type(3) .process-icon{animation-delay:.9s}
.process-step:nth-of-type(4) .process-icon{animation-delay:1.35s}
.process-icon svg{width:34px;height:34px;color:#fff;overflow:visible}
.process-icon::after{
  content:attr(data-n);position:absolute;top:-.6rem;inset-inline-end:-.6rem;
  background:var(--navy-950);color:var(--signal-400);border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  font-family:var(--f-mono);font-weight:800;font-size:.62rem;padding:.15rem .45rem;line-height:1.4;
}
@keyframes pi-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.process-step h4{color:#fff;font-size:var(--step-0);margin-bottom:.6rem;font-weight:800}
.process-step p{color:#b3c1da;font-size:var(--step--1);font-weight:500}

/* every icon animates continuously; transform-box:fill-box keeps SVG origins local */
.pi .paper,.pi .muted{opacity:.4}

/* 01 — the plan keeps drawing itself, pencil tracks along */
.pi-sketch .pi-draw{stroke-dasharray:120;animation:pi-draw 4s ease-in-out infinite}
.pi-sketch .pencil{transform-box:fill-box;transform-origin:center;animation:pi-pencil 4s ease-in-out infinite}
@keyframes pi-draw{0%{stroke-dashoffset:120}55%{stroke-dashoffset:0}88%{stroke-dashoffset:0}100%{stroke-dashoffset:120}}
@keyframes pi-pencil{0%{transform:translate(-7px,5px)}55%{transform:translate(4px,-4px)}88%{transform:translate(4px,-4px)}100%{transform:translate(-7px,5px)}}

/* 02 — finish swatches light up one after another */
.pi-swatch .sw{transform-box:fill-box;transform-origin:bottom;animation:pi-chip 2.4s ease-in-out infinite}
.pi-swatch .sw2{animation-delay:.3s}
.pi-swatch .sw3{animation-delay:.6s}
@keyframes pi-chip{0%,100%{opacity:.4;transform:scaleY(.72)}45%{opacity:1;transform:scaleY(1)}}

/* 03 — factory smoke drifts up, saw blade turns */
.pi-factory .puff{opacity:0;animation:pi-puff 2.8s ease-in infinite}
.pi-factory .puff.p2{animation-delay:.95s}
.pi-factory .puff.p3{animation-delay:1.9s}
@keyframes pi-puff{0%{opacity:0;transform:translateY(0) scale(.5)}20%{opacity:.95}100%{opacity:0;transform:translateY(-12px) scale(1.3)}}

/* 04 — truck rolls, wheels spin, speed lines flick past */
.pi-truck .body{transform-box:fill-box;transform-origin:center;animation:pi-bob 1.3s ease-in-out infinite}
.pi-truck .wheel{transform-box:fill-box;transform-origin:center;animation:pi-spin 1.1s linear infinite}
.pi-truck .dash{animation:pi-dash 1.1s ease-in-out infinite}
.pi-truck .dash2{animation-delay:.18s}
.pi-truck .dash3{animation-delay:.36s}
@keyframes pi-spin{to{transform:rotate(360deg)}}
@keyframes pi-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.4px)}}
@keyframes pi-dash{0%,100%{opacity:.15}50%{opacity:.95}}

@media (max-width:900px){.process-grid{grid-template-columns:1fr 1fr;gap:2.4rem 1.6rem}.process-track{display:none}}
/* single column: drop the desktop gutter so the icon lines up with the text edge */
@media (max-width:560px){.process-grid{grid-template-columns:1fr}.process-step{padding:0}.process-icon{width:4rem;height:4rem}}

/* ---------- video section ---------- */
.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.video-card{position:relative;overflow:hidden;cursor:pointer;background:var(--navy-950);box-shadow:var(--shadow-sm)}
.video-card video{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;transition:transform .5s ease}
.video-card:hover video{transform:scale(1.04)}
.video-card .play-badge{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(15,26,43,.25);transition:background .3s ease;
}
.video-card:hover .play-badge{background:rgba(15,26,43,.4)}
.video-card .play-badge span{
  width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.92);
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.35);
  transition:transform .3s ease;
}
.video-card:hover .play-badge span{transform:scale(1.1)}
.video-card .play-badge svg{width:24px;height:24px;color:var(--signal-600);margin-inline-start:3px}
.video-caption{
  position:absolute;inset-inline:0;bottom:0;padding:1rem 1.1rem;
  background:linear-gradient(0deg,rgba(15,26,43,.92),transparent);
  color:#fff;font-family:var(--f-mono);font-weight:700;font-size:var(--step--1);
}
@media (max-width:760px){.video-grid{grid-template-columns:1fr}}

/* ---------- photo carousel — auto-scrolling strip, true aspect ratio (never cropped) ---------- */
.carousel{overflow:hidden;position:relative;margin-top:3.2rem}
.carousel::before,.carousel::after{
  content:'';position:absolute;top:0;bottom:0;width:6%;z-index:2;pointer-events:none;
}
.carousel::before{right:0;background:linear-gradient(to left,var(--white),transparent)}
.carousel::after{left:0;background:linear-gradient(to right,var(--white),transparent)}
/* NO gap here on purpose: with `gap`, N cards have N-1 gaps, so translateX(50%) lands half a gap
   short of the duplicate set and the strip visibly jumps every cycle. Carrying the gap as a
   per-card margin makes each card's outer width uniform, so 50% is exactly one set. */
.carousel-track{display:flex;width:max-content;animation:carousel-move 26s linear infinite}
/* hover-pause only where hover is real — on touch it sticks after a tap and freezes the strip */
@media (hover:hover){.carousel:hover .carousel-track{animation-play-state:paused}}
.carousel-card{
  position:relative;flex:0 0 auto;height:340px;margin-left:1.2rem;
  overflow:hidden;cursor:pointer;box-shadow:var(--shadow-sm);
}
/* aspect-ratio reserves the right width before the (lazy) image loads, so the two halves
   are always equal and the loop stays seamless */
.carousel-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.carousel-card:hover img{transform:scale(1.05)}
.carousel-card::after{content:'';position:absolute;inset:0;border:2px solid transparent;transition:border-color .3s ease}
.carousel-card:hover::after{border-color:var(--signal-500)}
.carousel-caption{
  position:absolute;inset-inline:0;bottom:0;padding:1rem .9rem .7rem;
  background:linear-gradient(0deg,rgba(15,26,43,.9),transparent);
  color:#fff;font-family:var(--f-mono);font-weight:700;font-size:var(--step--1);
  opacity:0;transform:translateY(8px);transition:opacity .3s ease,transform .3s ease;
}
.carousel-card:hover .carousel-caption{opacity:1;transform:none}
@keyframes carousel-move{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media (max-width:760px){
  /* shorter cards so a landscape frame is narrower than the screen instead of overflowing it */
  .carousel-card{height:175px;margin-left:.7rem}
  .carousel-track{animation-duration:18s}
  .carousel-caption{opacity:1;transform:none;padding:.7rem .7rem .5rem;font-size:.72rem}
  .carousel::before,.carousel::after{width:7%}
}
@media (prefers-reduced-motion:reduce){.carousel-track{animation:none}}

/* lightbox */
.lightbox{position:fixed;inset:0;background:rgba(9,14,22,.94);z-index:200;display:none;align-items:center;justify-content:center;padding:4vh 3vw}
.lightbox.open{display:flex}
.lightbox img,.lightbox video{max-width:100%;max-height:92vh;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lightbox-close{position:absolute;top:2rem;inset-inline-end:2rem;background:rgba(255,255,255,.12);border:none;color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.lightbox-close svg{width:22px;height:22px}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:center}
.about-media{position:relative;box-shadow:var(--shadow-lg)}
.about-media::before{content:'';position:absolute;top:0;inset-inline:0;height:4px;background:var(--signal-500);z-index:1}
.about-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.about-tag{
  position:absolute;top:1.7rem;inset-inline-start:1.4rem;background:rgba(15,26,43,.9);
  border:1px solid rgba(255,255,255,.18);padding:.7rem 1.1rem;
  font-family:var(--f-mono);font-weight:800;font-size:var(--step--1);color:#fff;letter-spacing:.02em;
}
.about-tag strong{color:var(--signal-400)}
@media (max-width:600px){
  .about-tag{padding:.5rem .8rem;top:1.1rem;inset-inline-start:1rem}
  .about-tag .tag-rest{display:none}
}
.about-body p{color:var(--ink-soft);margin-top:1.1rem;font-size:var(--step-0);font-weight:500}
.about-quote{
  margin-top:2rem;padding:1.6rem 1.8rem;background:var(--signal-light);border-inline-start:4px solid var(--signal-500);
  font-weight:700;color:var(--navy-800);font-size:var(--step-0);
}
.about-stats{display:flex;gap:2.4rem;margin-top:2.4rem;flex-wrap:wrap}
.about-stats div strong{display:block;font-family:var(--f-hero);font-weight:400;font-size:var(--step-3);color:var(--signal-600)}
.about-stats div span{color:var(--ink-soft);font-size:var(--step--1);font-weight:700}
@media (max-width:900px){.about-grid{grid-template-columns:1fr}}

/* ---------- instagram cta band — brand-neutral, icon carries the color ---------- */
.ig-band{
  background:var(--navy-950);padding:3.6rem 0;color:#fff;position:relative;overflow:hidden;
  background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.035) 0 14px,transparent 14px 28px);
}
.ig-band-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;position:relative}
.ig-band h3{color:#fff;font-size:var(--step-2);font-weight:800;display:flex;align-items:center;gap:.8rem}
.ig-band h3 .ig-glyph{
  width:34px;height:34px;border-radius:9px;flex-shrink:0;
  background:linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  display:flex;align-items:center;justify-content:center;
}
.ig-band h3 .ig-glyph svg{width:19px;height:19px;color:#fff}
.ig-band p{color:#b3c1da;margin-top:.5rem;font-size:var(--step-0);font-weight:500}

/* ---------- contact ---------- */
.contact-wrap{max-width:820px;margin-inline:auto;background:var(--navy-950);color:#fff;overflow:hidden;box-shadow:var(--shadow-lg);padding:3.6rem 3rem;text-align:center;border-top:3px solid var(--signal-500)}
.contact-wrap h3{color:#fff;font-size:var(--step-2);font-weight:800}
.contact-wrap>p{color:#b3c1da;margin-top:1rem;max-width:48ch;margin-inline:auto;font-weight:500}
.contact-rows{margin-top:2.6rem;display:grid;gap:.85rem;max-width:440px;margin-inline:auto;text-align:start}
.contact-row{
  display:flex;align-items:center;gap:1rem;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  padding:.85rem 1.1rem;transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.contact-row:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24);transform:translateY(-1px)}
.contact-row .ic{
  width:44px;height:44px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-row .ic svg{width:22px;height:22px;color:var(--signal-400)}
.contact-row .ic.whatsapp{background:rgba(37,211,102,.14);border-color:rgba(37,211,102,.4)}
.contact-row .ic.whatsapp svg{color:#25D366}
.contact-row .ic.instagram{background:rgba(255,255,255,.1)}
.contact-row-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.contact-row-text strong{font-family:var(--f-display);font-weight:800;font-size:var(--step-0);color:#fff}
.contact-row-text small{color:#9fb0cc;font-size:var(--step--1);font-weight:600}
/* physical borders on purpose — logical ones would flip the chevron in RTL */
.contact-row::after{
  content:'';width:9px;height:9px;flex-shrink:0;margin-inline-start:auto;
  border-left:2px solid rgba(255,255,255,.35);border-bottom:2px solid rgba(255,255,255,.35);
  transform:rotate(45deg);transition:border-color .2s ease,transform .2s ease;
}
.contact-row:hover::after{border-color:var(--signal-400);transform:rotate(45deg) translate(2px,-2px)}
.contact-cta{margin-top:2.6rem;display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* ---------- footer ---------- */
.site-footer{background:var(--navy-950);color:#b3c1da;padding:4.2rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2.6rem}
.footer-brand{display:flex;align-items:center;gap:.8rem;margin-bottom:1.1rem}
.footer-brand img{width:46px;height:46px;border-radius:50%}
.footer-brand strong{color:#fff;font-family:var(--f-display);font-weight:800;font-size:1.05rem;display:block}
.footer-brand small{color:var(--blue-300);font-size:.75rem}
.site-footer p{font-size:var(--step--1);max-width:34ch;font-weight:500}
.footer-col h5{color:#fff;font-family:var(--f-display);font-weight:800;font-size:var(--step-0);margin-bottom:1.1rem}
.footer-col ul{display:grid;gap:.75rem}
.footer-col a{font-size:var(--step--1);color:#b3c1da;font-weight:600}
.footer-col a:hover{color:#fff}
.footer-bottom{margin-top:3.2rem;padding-top:1.8rem;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:var(--step--1);color:#7f8ba0}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr;gap:2.2rem}}
/* keep the last line clear of the floating buttons */
@media (max-width:820px){.site-footer{padding-bottom:6rem}.footer-bottom{justify-content:center;text-align:center}}

/* ---------- floating action buttons ---------- */
/* accessibility widget (nova-a11y.js) is pinned physical-left; WhatsApp goes physical-right so they never overlap */
.float-cta{
  position:fixed;bottom:1.6rem;right:1.6rem;z-index:90;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;color:#fff;
  box-shadow:0 10px 28px rgba(37,211,102,.45);
  animation:pulse 2.6s ease-in-out infinite;
}
.float-cta svg{width:28px;height:28px}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}

/* ---------- legal pages ---------- */
.legal{max-width:820px;margin-inline:auto;padding:9.5rem var(--gutter) 6rem}
.legal h1{font-family:var(--f-hero);font-weight:400;font-size:var(--step-3);margin-bottom:2rem}
.legal h2{font-size:var(--step-1);margin-top:3rem;color:var(--signal-600);font-weight:800}
.legal p,.legal li{color:var(--ink-soft);font-size:var(--step-0);line-height:1.8}
.legal ul{list-style:disc;padding-inline-start:2.2rem;display:grid;gap:.7rem;margin:1.2rem 0}
.legal a{color:var(--signal-600);font-weight:700;text-decoration:underline}
.legal .back{display:inline-flex;align-items:center;gap:.7rem;margin-top:3rem;font-family:var(--f-display);font-weight:800;color:var(--navy-900)}

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

/* ============ mobile pass ============ */
@media (max-width:820px){
  /* sections were sized for desktop — tighten the vertical rhythm */
  .section{padding:4.2rem 0}
  .section-head{margin-bottom:2.4rem}
  .section-head p{font-size:var(--step-0)}

  .hero h1{font-size:2.35rem;line-height:1.12}
  .hero-lead{font-size:var(--step-0);max-width:none}
  .hero-cta{margin-top:2rem}
  .hero-cta .btn{padding:1rem 1.4rem}

  /* badges: bordered chips instead of a thin ragged column */
  .hero-badges{
    display:grid;grid-template-columns:1fr 1fr;gap:.6rem;
    margin-top:2rem;padding-top:1.6rem;
  }
  .hero-badge{
    background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
    border-radius:10px;padding:.7rem .7rem;gap:.45rem;font-size:.78rem;line-height:1.25;
  }
  .hero-badge:last-child{grid-column:1/-1;justify-content:center}
  .hero-badge svg{width:17px;height:17px}

  .trust-strip{padding:1.4rem 0 2.2rem}
  .trust-item{font-size:.8rem}
  .trust-grid{row-gap:1.7rem}

  .service-card{grid-template-rows:200px auto}
  .service-body{padding:1.7rem 1.4rem 2rem}
  .service-list li{gap:.5rem;font-size:.85rem}

  .video-grid{gap:1rem}
  .carousel{margin-top:2.2rem}

  .about-grid{gap:2.2rem}
  .about-quote{padding:1.2rem 1.3rem;font-size:var(--step--1)}
  .about-stats{gap:1.6rem}

  .ig-band{padding:2.6rem 0}
  .ig-band-inner{gap:1.4rem}
  .ig-band h3{font-size:var(--step-1)}

  .contact-wrap{padding:2.4rem 1.2rem}
  .contact-rows{max-width:none}
  .contact-cta{margin-top:2rem}
  .contact-row{padding:.8rem .9rem;gap:.8rem}
  .contact-row-text strong{font-size:.95rem}
  /* let the value shrink instead of pushing the row past the viewport */
  .contact-row-text{flex:1;min-width:0}
  .contact-row-text strong,.contact-row-text small{overflow-wrap:anywhere}

  .legal{padding-top:7rem}
}

@media (max-width:600px){
  /* headings were clamping to a desktop-ish minimum and wrapping badly */
  :root{
    --step-1:1.05rem;
    --step-2:1.3rem;
    --step-3:1.65rem;
    --step-4:1.95rem;
  }
  .hero h1{font-size:2.1rem}
  .container{padding-inline:1.2rem}
  /* top-align so a 2-line item doesn't push its neighbour out of line */
  .trust-grid{align-items:start}
}

@media (max-width:360px){
  .contact-row::after{display:none}
  .contact-row .ic{width:40px;height:40px}
  .contact-row .ic svg{width:20px;height:20px}
}
