/* ==========================================================================
   Keren Avinoam
   Layout language taken from persona-hr.co.il: one sans family, soft grounds,
   fully rounded pill buttons, deep rounded cards. Colours follow the logo:
   plum, rose and espresso, no black. Media/logo has the source values.
   Logical properties only, so RTL and LTR share every rule.
   ========================================================================== */

:root{
  --plum:     #4A2C40;
  --plum-dk:  #3A2233;
  --plum-lt:  #F4E9EC;
  --rose:     #C0807C;   /* decoration only, 3.2:1 on white */
  --rose-dk:  #9E5A56;   /* rose for text and hovers, 5.2:1 on white */
  --sand:     #F1E6E2;
  --off:      #FBF6F4;
  --white:    #FFFFFF;
  --ink:      #3A2E33;
  --ink-2:    #5C4A39;   /* espresso */
  --ink-3:    #7A6B70;
  --line:     #E9DDD9;

  --sans:  "Noto Sans Hebrew", "Segoe UI", system-ui, sans-serif;
  --serif: "Frank Ruhl Libre", Georgia, serif;   /* recommendation quotes only */

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 44px);
  --sec-y: clamp(34px, 4vw, 64px);
  --card: 22px;

  color-scheme: light;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-padding-top:100px; }
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:var(--sans);
  font-size:clamp(1rem, .97rem + .2vw, 1.1rem);
  font-weight:400;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body{ line-height:1.85; }

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

h1,h2,h3{ margin:0; font-family:var(--sans); font-weight:600; line-height:1.22; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3{ line-height:1.32; }

h1{ font-size:clamp(2rem, 1.25rem + 2.8vw, 3.45rem); }
h2{ font-size:clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); }
h3{ font-size:clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }

p{ margin:0 0 1.05em; }
p:last-child{ margin-bottom:0; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }
.sec{ padding-block:var(--sec-y); }
.sec-sand{ background:var(--sand); }
.sec-off{ background:var(--off); border-block:1px solid var(--line); }
.sec-deep{ background:var(--plum-dk); color:#fff; }

.center{ text-align:center; }
.lead{ font-size:1.08rem; color:var(--ink-2); max-width:62ch; }
.center .lead{ margin-inline:auto; }
.prose{ color:var(--ink-2); max-width:64ch; }

.skip{
  position:fixed; inset-inline-start:12px; top:12px; z-index:99;
  background:var(--plum); color:#fff; padding:.6rem 1rem;
  border-radius:999px; text-decoration:none;
  transform:translateY(-250%); transition:transform .2s;
}
.skip:focus{ transform:none; }

/* ---------- language ------------------------------------------------------ */
html[data-lang="he"] [data-l="en"],
html[data-lang="en"] [data-l="he"]{ display:none !important; }

.lang{ display:inline-flex; align-items:center; gap:2px; }
.lang button{
  font-family:var(--sans); font-size:.85rem; color:var(--ink-2);
  background:none; border:0; cursor:pointer;
  padding:.3rem .62rem; border-radius:999px;
  transition:color .18s, background .18s;
}
.lang button:hover{ color:var(--ink); }
.lang button[aria-pressed="true"]{ background:var(--plum-lt); color:var(--plum-dk); font-weight:600; }

/* ---------- header -------------------------------------------------------- */
.site-head{ position:sticky; top:0; z-index:40; background:var(--white); border-bottom:1px solid transparent; transition:border-color .25s, box-shadow .25s; }
.site-head.is-stuck{ border-bottom-color:var(--line); box-shadow:0 10px 30px -28px rgba(0,0,0,.5); }
.head-row{ display:flex; align-items:center; gap:clamp(14px,2.6vw,32px); min-height:84px; }

/* the logo is the Allura wordmark as outlines, Media/logo/keren-avinoam-plum-espresso.svg */
.logo{ display:inline-flex; align-items:center; line-height:0; flex-shrink:0; }
.logo-img{ height:clamp(40px, 8vw, 54px); width:auto; }

.nav{ margin-inline-start:auto; display:flex; align-items:center; gap:clamp(10px,1.8vw,28px); }
.nav a{
  text-decoration:none; font-size:.98rem; color:var(--ink);
  padding-block:.4rem; border-bottom:2px solid transparent; white-space:nowrap;
  transition:color .18s, border-color .18s;
}
.nav a:hover{ color:var(--rose-dk); }
.nav a[aria-current="page"]{ border-bottom-color:var(--rose); font-weight:600; }

.head-tools{ display:flex; align-items:center; gap:12px; }
.head-cta{ display:inline-flex; padding-inline:1.5rem; font-size:.95rem; flex:none; }

.burger{
  display:none; width:42px; height:42px; border:1px solid var(--line);
  border-radius:999px; background:var(--white); cursor:pointer; padding:0; place-items:center;
}
.burger span{ display:block; width:17px; height:1.6px; background:var(--ink); margin:3.6px auto; transition:transform .2s; }
.burger[aria-expanded="true"] span:first-child{ transform:translateY(5.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child{ transform:translateY(-5.2px) rotate(-45deg); }

/* ---------- buttons ------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--sans); font-size:1rem; font-weight:600; cursor:pointer;
  text-decoration:none;
  background:var(--plum); color:#fff; border:1.5px solid var(--plum);
  padding:.85rem 2.3rem; border-radius:999px; white-space:nowrap;
  transition:background .2s, color .2s, border-color .2s;
}
.btn:hover{ background:var(--plum-dk); border-color:var(--plum-dk); }
.btn-ghost{ background:transparent; color:var(--plum-dk); }
.btn-ghost:hover{ background:var(--plum); color:#fff; }
.btn-light{ background:#fff; color:var(--plum-dk); border-color:#fff; }
.btn-light:hover{ background:var(--plum-lt); border-color:var(--plum-lt); }
.btn-wide{ width:100%; }

/* ---------- hero ---------------------------------------------------------- */
.hero{ background:var(--sand); padding-block:clamp(40px,5.5vw,84px); }
.hero-grid{
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(28px,4.5vw,64px); align-items:center;
}
.hero h1{ color:var(--plum-dk); max-width:15ch; }
html[dir="rtl"] .hero h1{ max-width:17ch; }
.hero .lead{ margin-top:1.3rem; }
.hero-cta{ margin-top:2rem; display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; }
.hero-note{ font-size:.95rem; color:var(--ink-2); }

.photo-card{ margin:0; }
.photo-card img{ width:100%; border-radius:var(--card); object-fit:cover; }
.photo-tall img{ aspect-ratio:4/5; object-position:50% 20%; }
.photo-square img{ aspect-ratio:1/1; }

/* ---------- page banner (inner pages) ------------------------------------- */
.banner{ background:var(--sand); padding-block:clamp(38px,5vw,74px); }
.banner h1{ color:var(--plum-dk); }
.banner .lead{ margin-top:1.1rem; }

/* ---------- cards --------------------------------------------------------- */
.cards{ display:grid; gap:clamp(16px,2.2vw,26px); }
.cards-2{ grid-template-columns:repeat(2,1fr); }
.cards-3{ grid-template-columns:repeat(3,1fr); }

.card{
  background:var(--white); border-radius:var(--card);
  padding:clamp(26px,3vw,40px);
  display:flex; flex-direction:column; gap:1rem;
  border:1px solid var(--line);
  box-shadow:0 2px 4px rgba(58,34,51,.05), 0 24px 48px -32px rgba(58,34,51,.3);
  text-decoration:none; color:inherit;
  transition:transform .2s, box-shadow .2s;
}
a.card:hover{ transform:translateY(-3px); box-shadow:0 2px 6px rgba(58,34,51,.06), 0 30px 56px -30px rgba(58,34,51,.4); }
.card h3{ color:var(--plum-dk); }
.card p{ color:var(--ink-2); margin:0; }
.card .more{ margin-top:auto; padding-top:.4rem; color:var(--rose-dk); font-weight:600; font-size:.98rem; }

/* ---------- tabs ---------------------------------------------------------- */
.tablist{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:clamp(22px,2.6vw,34px); }
.tablist button{
  font-family:var(--sans); font-size:.97rem; font-weight:400;
  color:var(--ink); background:var(--white);
  border:1.5px solid var(--line); border-radius:999px;
  padding:.55rem 1.3rem; cursor:pointer; white-space:nowrap;
  transition:background .18s, color .18s, border-color .18s;
}
.tablist button:hover{ border-color:var(--plum); color:var(--plum-dk); }
.tablist button[aria-selected="true"]{ background:var(--plum); border-color:var(--plum); color:#fff; font-weight:600; }

[role="tabpanel"]{ color:var(--ink-2); max-width:66ch; }
[role="tabpanel"]:focus-visible{ outline:2px solid var(--plum); outline-offset:8px; border-radius:8px; }

/* steps and definition rows inside a panel */
.steps{ list-style:none; margin:0; padding:0; counter-reset:step; display:grid; gap:0; }
.steps li{
  counter-increment:step;
  display:grid; grid-template-columns:auto minmax(0,1fr);
  gap:.2rem clamp(14px,2vw,22px);
  padding-block:clamp(15px,1.9vw,22px);
  border-top:1px solid var(--line);
}
.steps li:first-child{ border-top:0; padding-top:0; }
.steps li::before{
  content:counter(step); grid-row:span 2;
  font-size:.95rem; font-weight:600; color:var(--plum-dk);
  width:32px; height:32px; border-radius:50%; background:var(--plum-lt);
  display:grid; place-items:center; margin-top:.25rem;
}
.steps h3{ font-size:1.05rem; color:var(--ink); }
.steps p{ margin:0; }

.defs{ margin:0; }
.defs > div{
  display:grid; grid-template-columns:minmax(150px,.75fr) minmax(0,1.6fr);
  gap:.3rem clamp(18px,2.6vw,40px);
  padding-block:clamp(15px,1.9vw,22px);
  border-top:1px solid var(--line);
}
.defs > div:first-child{ border-top:0; padding-top:0; }
.defs dt{ font-weight:600; color:var(--ink); }
.defs dd{ margin:0; }

/* ---------- recommendations -----------------------------------------------
   A scroll-snap carousel: three across on desktop, two on tablet, one on a
   phone. Arrows and dots only show when there is more than fits. No autoplay.
   ------------------------------------------------------------------------- */
/* The heading over this section is sr-only, so it takes no height, and the
   carousel's own top margin was stacking on the section padding into a 93px
   empty band above the quote. Both are pulled in here. */
.recs-sec{ padding-block-start:clamp(24px,2.8vw,38px); }
.recs-sec .rec-carousel{ margin-top:0; }
.recs-sec .rec{ gap:.5rem; }


.rec-carousel{ --per:1; --rec-gap:clamp(20px,3vw,48px); margin-top:clamp(28px,3.5vw,46px); }
.rec-track{
  display:grid; grid-auto-flow:column; gap:var(--rec-gap);
  grid-auto-columns:calc((100% - (var(--per) - 1) * var(--rec-gap)) / var(--per));
  overflow-x:auto; overscroll-behavior-x:contain;
  scrollbar-width:none; padding-block:6px;
}
.rec-track::-webkit-scrollbar{ display:none; }
.rec-track:focus-visible{ outline:2px solid var(--plum); outline-offset:6px; border-radius:8px; }

.rec{
  margin:0; text-align:center;
  display:grid; justify-items:center; align-content:start; gap:1rem;
  padding-inline:clamp(4px,1.5vw,20px);
}
.rec figcaption{ margin-top:.4rem; display:grid; gap:.1rem; color:var(--plum-dk); font-size:clamp(1.12rem,1rem + .4vw,1.32rem); font-weight:700; line-height:1.35; }
.rec blockquote{ margin:0; max-width:none; font-size:clamp(1.05rem,1rem + .25vw,1.18rem); line-height:1.9; color:var(--ink-2); }
.rec.is-placeholder figcaption, .rec.is-placeholder blockquote{ color:var(--ink-3); }

.rec-nav{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:clamp(24px,3vw,36px); }
.rec-nav[hidden]{ display:none; }
.rec-btn{
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  border:1.5px solid var(--plum); background:transparent; color:var(--plum);
  transition:background .18s, color .18s, opacity .18s;
}
.rec-btn:hover:not(:disabled){ background:var(--plum); color:#fff; }
.rec-btn:disabled{ opacity:.35; cursor:default; }
html[dir="rtl"] .rec-btn svg{ transform:scaleX(-1); }
.rec-dots{ display:flex; gap:2px; }
.rec-dots button{ width:28px; height:28px; display:grid; place-items:center; padding:0; border:0; background:none; cursor:pointer; }
.rec-dots button::before{ content:""; width:9px; height:9px; border-radius:50%; border:1.5px solid var(--plum); transition:background .18s; }
.rec-dots button[aria-current="true"]::before{ background:var(--plum); }

/* ---------- contact form -------------------------------------------------- */
.form-card{ max-width:620px; margin-inline:auto; }
.form{ display:grid; gap:12px; margin-top:clamp(26px,3vw,40px); }
.form input, .form textarea{
  font-family:var(--sans); font-size:1.02rem; color:var(--ink);
  background:var(--white); border:1.5px solid transparent; border-radius:10px;
  padding:.95rem 1.1rem; width:100%;
  transition:border-color .18s, box-shadow .18s;
}
.form input::placeholder, .form textarea::placeholder{ color:var(--ink-3); opacity:1; }
.form input[type="tel"]{ direction:inherit; }
.form textarea{ resize:vertical; min-height:170px; }
.form input:focus, .form textarea:focus{ outline:none; border-color:var(--plum); box-shadow:0 0 0 3px rgba(74,44,64,.16); }


.form-note{ font-size:.9rem; color:var(--ink-2); margin:0; text-align:center; }
.form-note.is-error{ color:#9D3B2F; font-weight:600; }


/* ---------- closing strip ------------------------------------------------- */
.closing{ text-align:center; }
.closing h2{ color:#fff; max-width:22ch; margin-inline:auto; }
.closing p{ color:rgba(255,255,255,.82); max-width:52ch; margin-inline:auto; margin-top:1rem; }
.closing .btn{ margin-top:1.8rem; }

/* ---------- footer -------------------------------------------------------- */
.site-foot{ background:var(--off); border-top:1px solid var(--line); padding-block:34px; font-size:.93rem; color:var(--ink-2); }
.foot-row{ display:flex; flex-wrap:wrap; gap:14px 30px; justify-content:space-between; align-items:center; }
.foot-nav{ display:flex; flex-wrap:wrap; gap:8px 22px; }
.site-foot a{ color:var(--ink-2); text-decoration:none; }
.site-foot a:hover{ color:var(--rose-dk); }
.foot-logo{ height:40px; width:auto; }

/* ---------- focus --------------------------------------------------------- */
:where(a,button,input,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--plum); outline-offset:3px; border-radius:6px;
}
.sec-deep :where(a,button):focus-visible{ outline-color:#fff; }

/* ---------- the one motion ------------------------------------------------ */
@keyframes rise{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
/* The entry animation starts from opacity 0 with fill-mode both, which means
   a stalled or never started animation leaves the hero invisible. It now runs
   only when the page has marked itself ready, and a timer removes that mark,
   so the worst case is no animation rather than no content. */
html.anim .hero-copy > *, html.anim .hero .photo-card, html.anim .banner > .wrap > *{
  animation:rise .6s cubic-bezier(.22,.7,.3,1) both; }
html.anim .hero-copy > :nth-child(2){ animation-delay:.1s; }
html.anim .hero-copy > :nth-child(3){ animation-delay:.2s; }
html.anim .hero .photo-card{ animation-delay:.14s; }
@media (prefers-reduced-motion: reduce){
  html.anim .hero-copy > *, html.anim .hero .photo-card, html.anim .banner > .wrap > *{ animation:none; }
  a.card:hover{ transform:none; }
}

/* ---------- responsive ---------------------------------------------------- */
/* between the mobile breakpoint and ~1120px the full nav, the logo, the intro
   call button and the language switch together are wider than the row, and in
   Hebrew the overflow pushed the tools off the end edge. Tighten the row. */
@media (min-width: 901px) and (max-width: 1120px){
  .site-head .wrap{ padding-inline:20px; }
  .head-row{ gap:16px; }
  .logo-img{ height:44px; }
  .nav{ gap:14px; }
  .nav a{ font-size:.92rem; }
  .head-tools{ gap:8px; }
  .head-cta{ padding-inline:1.05rem; font-size:.9rem; }
}

@media (min-width: 901px) and (max-width: 980px){
  .head-row{ gap:12px; }
  .nav{ gap:10px; }
  .nav a{ font-size:.88rem; }
  .head-cta{ padding-inline:.9rem; }
}

@media (max-width: 1000px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero .photo-card{ max-width:340px; }
  .cards-3{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 900px){
  html{ overflow-x:clip; }
  .burger{ display:grid; }
  .head-cta{ display:none; }
  .nav{
    position:fixed; inset-block:0; inset-inline-end:0;
    width:min(86vw,330px); background:var(--white);
    border-inline-start:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0;
    padding:104px var(--gutter) 32px;
    transform:translateX(110%); visibility:hidden;
    transition:transform .28s ease, visibility .28s;
    margin-inline-start:0;
  }
  html[dir="rtl"] .nav{ transform:translateX(-110%); }
  .nav.is-open{ transform:none !important; visibility:visible; }
  .nav a{ font-size:1.06rem; padding-block:.85rem; border-bottom:1px solid var(--line); }
  .nav a[aria-current="page"]{ border-bottom-color:var(--rose); }
  body.nav-open{ overflow:hidden; }
}

@media (max-width: 680px){
  .cards-2, .cards-3{ grid-template-columns:1fr; }
  .defs > div, .steps li{ grid-template-columns:1fr; }
  .steps li::before{ grid-row:auto; margin-bottom:.4rem; }
  .tablist button{ font-size:.92rem; padding:.5rem 1rem; }
  .hero-cta .btn{ width:100%; }
  .hero-note{ width:100%; }
  .foot-row{ justify-content:flex-start; }
}

/* ---------- print --------------------------------------------------------- */
@media print{
  .site-head, .burger, .lang, .form, .skip, .tablist, .closing{ display:none !important; }
  body{ background:#fff; }
  [role="tabpanel"][hidden]{ display:block !important; }
  .rec-track{ grid-auto-flow:row; grid-auto-columns:auto; overflow:visible; }
  .rec-nav{ display:none !important; }
  .hero, .banner, .sec-sand, .sec-off{ background:#fff; }
  html.anim .hero-copy > *, html.anim .hero .photo-card, html.anim .banner > .wrap > *{ animation:none; }
}

/* ---------- one contact control, not two -----------------------------------
   The header pill is the call to action on desktop, so the duplicate "צרו קשר"
   nav link is hidden there. Under 900px the pill is hidden and the link returns.
   -------------------------------------------------------------------------- */
.nav .nav-contact{ display:none; }
@media (max-width: 900px){
  .nav .nav-contact{ display:block; }
}

/* ---------- section heads --------------------------------------------------
   Used by the career and organisation pages, which no longer use tabs.
   -------------------------------------------------------------------------- */
.sec-head{ max-width:70ch; }
.sec-head h2{ color:var(--plum); }
.sec-lead{ margin-top:1.1rem; color:var(--ink-2); max-width:64ch; }

/* ---------- visually hidden, still read aloud ------------------------------
   Used by the recommendations heading, which labels its section through
   aria-labelledby but is not shown on the page.
   -------------------------------------------------------------------------- */
.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; border:0;
}

/* ---------- top-aligned two-column row -------------------------------------
   The about page lines the photo up with the first line of text, rather than
   centring the two columns against each other.
   -------------------------------------------------------------------------- */
.grid-top{ align-items:start; }

/* ---------- inner page banners ---------------------------------------------
   Centred title and lead, the calmer presentation of the reference sites.
   -------------------------------------------------------------------------- */
.banner{ text-align:center; }
.banner .lead{ margin-inline:auto; max-width:62ch; }
.asks{ margin:1.4rem 0 0; padding:0; list-style:none; display:grid; gap:.6rem; }
.asks li{ padding-inline-start:1.1rem; position:relative; color:var(--ink-2); }
.asks li::before{ content:""; position:absolute; inset-inline-start:0; top:.75em;
  width:5px; height:5px; border-radius:50%; background:var(--rose); }


/* ---------- the credo ------------------------------------------------------
   Centred, with the closing clause of each statement carrying the weight.
   -------------------------------------------------------------------------- */
.beliefs{
  max-width:66ch; margin:clamp(20px,2.4vw,30px) auto 0;
  text-align:center; display:grid; gap:clamp(22px,2.6vw,34px);
}
.beliefs p{
  margin:0; color:var(--ink);
  font-size:clamp(1.02rem,.98rem+.3vw,1.18rem); line-height:1.65;
}
.beliefs strong{
  /* a new line inside the same paragraph, not a block of its own, so no
     space above it: the gap between the three beliefs stays the larger one */
  display:block; margin-top:0;
  color:var(--plum); font-weight:700;
  font-size:1.14em; line-height:1.45;
}

/* the two bands at the top of the home page read as one pair */
.pb-tight{ padding-bottom:clamp(22px,2.6vw,34px) !important; }
.pt-tight{ padding-top:clamp(22px,2.6vw,34px) !important; }

/* when the heading is centred, the cards follow it */
.cards-centred .card{ text-align:center; align-items:center; }

/* a centred banner wants its intro centred too */
.lead-centred{ text-align:center; margin-inline:auto; }

/* ---------- a wider measure ------------------------------------------------
   The default 64ch was breaking sentences across three lines where two would
   do. These blocks run wider.
   -------------------------------------------------------------------------- */
.prose-wide{ max-width:84ch; }
/* a centred block of short paragraphs was floating in a wide empty field.
   Give it the room the page already has. */
.lead-centred.prose-wide{ max-width:none; }

/* ---------- a process, read across rather than down ------------------------ */
.process{
  list-style:none; margin:clamp(22px,2.6vw,32px) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,24px);
  counter-reset:step;
}
.process li{
  counter-increment:step;
  background:var(--white); border-radius:var(--card);
  padding:clamp(22px,2.6vw,32px);
  box-shadow:0 2px 4px rgba(51,51,51,.04), 0 24px 48px -32px rgba(51,51,51,.3);
  display:grid; gap:.6rem; align-content:start; text-align:center;
}
.process li::before{
  content:counter(step);
  width:40px; height:40px; border-radius:50%;
  background:var(--plum-lt); color:var(--plum);
  display:grid; place-items:center; margin-inline:auto;
  font-weight:600; font-size:1rem;
}
.process h3{ color:var(--plum); }
.process p{ margin:0; color:var(--ink-2); }
@media (max-width: 860px){ .process{ grid-template-columns:1fr; } }

/* ---------- a centred section head must centre its own box -----------------
   .sec-head is capped at 70ch. Without auto margins that box sits at the
   start edge, so text-align:center only centred the text inside it and the
   heading landed about 100px off the middle of the page.
   -------------------------------------------------------------------------- */
.sec-head.center{ margin-inline:auto; }

/* a lead paragraph above a .prose-wide block has to share its measure,
   otherwise its first line wraps early and leaves a hole. */
.sec-head-wide{ max-width:84ch; }
.sec-head-wide .sec-lead{ max-width:none; }

/* emphasis inside a prose block, matching the credo without going block-level */
.prose strong{ color:var(--plum); font-weight:600; }

/* One recommendation at a time, on every screen, so it reads as a carousel
   rather than as columns of text running down the page. */
.rec-carousel .rec{ max-width:min(100%, 880px); margin-inline:auto; }

/* a banner's bottom padding and the next section's top padding were stacking
   into a ~100px empty band. */
.banner + .sec{ padding-block-start:clamp(18px,2.2vw,30px); }

/* centred paragraphs were breaking into a full line and then three words.
   balance evens the lines out. */
.lead-centred p, .sec-lead{ text-wrap:balance; }

/* plain quote marks around the testimonial, added in CSS so neither
   language's text has to carry them and nothing shifts in RTL. */
.rec blockquote::before{ content:'"'; }
.rec blockquote::after{ content:'"'; }

/* The old confirmation was one line of body text that read almost the same
   as the resting hint, in the same colour, below the fold. Nobody would
   see it. This replaces the form outright. */
.form-done{ text-align:center; display:grid; justify-items:center; gap:.5rem;
  padding:clamp(28px,4vw,44px); border-radius:var(--card);
  background:var(--white); border:1px solid var(--line); }
.form-done[hidden]{ display:none; }
.form[hidden]{ display:none; }
.form-done-mark{ margin:0; display:grid; place-items:center; width:58px; height:58px;
  border-radius:50%; background:var(--plum-lt); color:var(--plum); }
.form-done h2{ color:var(--plum); font-size:clamp(1.3rem,1.1rem + .8vw,1.7rem); margin:0; }
.form-done p{ color:var(--ink-2); margin:0; }

.form-note:empty{ display:none; }
.form-note.is-error{ color:var(--rose-dk); font-weight:600; }

/* WhatsApp. The number sits in the href, which is how every site in this
   market does it, but it is never printed as text on the page. */
.btn-wa{ display:inline-flex; align-items:center; gap:.55rem;
  background:#25D366; border-color:#25D366; color:#0b3d22; font-weight:700; }
.btn-wa:hover{ background:#1faa52; border-color:#1faa52; color:#072b17; }
.btn-wa svg{ flex:none; }

/* WhatsApp as the first, lowest friction way in: a floating button on every
   page, and the top option on the contact page. */
.contact-first{ margin-top:clamp(26px,3vw,40px); }
.contact-or{ display:flex; align-items:center; gap:14px; margin:clamp(18px,2.2vw,26px) 0 0; color:var(--ink-3); font-size:.95rem; }
.contact-or::before, .contact-or::after{ content:""; flex:1; height:1px; background:var(--line); }

.wa-float{
  position:fixed; inset-block-end:20px; inset-inline-end:20px; z-index:60;
  display:grid; place-items:center; width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; text-decoration:none;
  box-shadow:0 6px 18px -4px rgba(37,211,102,.5), 0 2px 6px rgba(0,0,0,.18);
  transition:transform .18s, box-shadow .18s;
}
.wa-float:hover{ transform:translateY(-2px); box-shadow:0 10px 24px -4px rgba(37,211,102,.6), 0 2px 8px rgba(0,0,0,.2); }
.wa-float:focus-visible{ outline:3px solid var(--plum); outline-offset:3px; }
@media (max-width: 680px){ .wa-float{ width:52px; height:52px; inset-block-end:16px; inset-inline-end:16px; } }
@media print{ .wa-float{ display:none !important; } }

/* Contact: the actions on one side, her photograph on the other, the way
   Persona's contact page is laid out. On a phone the actions come first and
   the photograph follows, so nothing stands between arriving and writing. */
.contact-grid{ display:grid; gap:clamp(26px,3.4vw,52px); align-items:start; }
.contact-main{ min-width:0; }
.contact-photo{ display:none; }
/* the card is capped at 620px, which is right for a form on its own but far
   too narrow to sit a photograph beside. When the photo is in, the card widens. */
@media (min-width: 1000px){
  .form-card:has(.contact-photo){ max-width:980px; }
  .contact-grid{ grid-template-columns:minmax(360px,1fr) minmax(280px,360px); }
  .contact-photo{ display:block; position:sticky; top:104px; }
}
@media (max-width: 999px){
  .contact-photo{ display:block; max-width:300px; margin-inline:auto; }
}

/* Round icon buttons for email, WhatsApp and LinkedIn. The address and the
   number live in the href and the label, never as text on the page. */
.social-row{ list-style:none; margin:clamp(26px,3vw,38px) 0 0; padding:0;
  display:flex; gap:14px; justify-content:center; }
.social-row.social-start{ justify-content:flex-start; }
.social-dot{
  display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
  background:var(--white); color:var(--plum); border:1px solid var(--line);
  text-decoration:none; transition:transform .18s, color .18s, border-color .18s, box-shadow .18s;
}
.social-dot:hover{ transform:translateY(-2px); color:var(--rose-dk); border-color:var(--rose);
  box-shadow:0 10px 22px -14px rgba(58,34,51,.6); }
.social-dot:focus-visible{ outline:3px solid var(--plum); outline-offset:3px; }
.social-dot.is-wa:hover{ color:#1faa52; border-color:#25D366; }
.contact-photo img{ aspect-ratio:1/1; object-position:50% 25%; }
