/* ---------- Fonts (the original site's uploaded Wix fonts, self-hosted) ---------- */
@font-face { font-family: "u-title";   src: url("assets/fonts/ac2910_8e8d1062b0e4408b918aabdbc690f710.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-body";    src: url("assets/fonts/ac2910_fe448f8ee975428697cb75c0878e3969.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-alt";     src: url("assets/fonts/ac2910_d846a4de8dc24308aa4200fa9f1edd65.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-text";    src: url("assets/fonts/e86b93_256571f42f664d6b8905b31130de7542.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-display"; src: url("assets/fonts/e86b93_cdf653ae53b1462d84e56f79c881e409.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-button";  src: url("assets/fonts/e86b93_49b8690140d545e8b21e8e4f0399ad7c.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "u-form";    src: url("assets/fonts/e86b93_d28544ed4a4c4d9aa09ef84296cf9347.woff2") format("woff2"); font-display: swap; }

:root {
  --teal: #00a1a7;
  --teal-dark: #008a8f;
  --yellow: #ffde59;
  --ink: #4b4f51;
  --muted: #6b6b77;
  --line: #909496;
  --soft: #f5f6f7;
  --field-border: rgba(222, 225, 227, 0.53);
  --white: #fff;
  --f-title: "u-title", Arial, sans-serif;
  --f-body: "u-body", Arial, sans-serif;
  --f-text: "u-text", Arial, sans-serif;
  --f-display: "u-display", Arial, sans-serif;
  --f-button: "u-button", Arial, sans-serif;
  --f-form: "u-form", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; } /* no offsets: in RTL a negative left widens the page */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* =====================================================================
 * Layout is fluid: sizes scale with the viewport via clamp(), rows wrap,
 * and sections size to their content. Tuned so that at 1440px it matches
 * the original page.
 * Breakpoints: desktop > 1024 · tablet 751–1024 · mobile ≤ 750
 * ===================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(700px, 75vw, 1086px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero picture { display: contents; }
.hero__intro {
  position: absolute;
  top: clamp(20px, 1.6vw, 26px);
  right: clamp(24px, 3.2vw, 46px);
  width: clamp(340px, 33vw, 500px);
}
.hero__logo {
  width: clamp(170px, 14.7vw, 212px);
  height: auto;
  aspect-ratio: 212 / 78;
  margin: 0 0 0 auto;
  object-fit: contain;
}
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1.05;
  color: var(--muted);
}
.hero__line {
  width: 93%;
  margin: clamp(12px, 1.25vw, 18px) 0 15px auto;
  border: 0;
  border-top: 2px solid var(--line);
}
.hero__text {
  font-family: var(--f-text);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.25;
  color: var(--ink);
}

/* ---------- Lead form: a floating card inside the hero ---------- */
.lead {
  position: absolute;
  top: clamp(24px, 3.3vw, 48px);
  left: clamp(24px, 3.3vw, 48px);
  width: clamp(400px, 38vw, 560px);
  background: var(--white);
  border-radius: 20px;
  padding: clamp(24px, 2.2vw, 32px) clamp(20px, 2vw, 28px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}
.lead__form { display: flex; flex-direction: column; }
.lead__title {
  font-family: var(--f-form);
  font-size: 25px;
  line-height: 37.5px;
  color: var(--teal);
  margin-bottom: 20px;
}
.field { margin-bottom: 16px; }
.field__error {
  margin-top: 4px;
  font-family: var(--f-text);
  font-size: 14px;
  line-height: 1.3;
  color: #df3131;
}
.field__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 20px;
  color: var(--ink);
}
.input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  background: var(--soft);
  border: 1px solid var(--field-border);
  border-radius: 8px;
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}
/* emails and phone numbers read left-to-right, but stay aligned with the RTL form */
.input[type="email"], .input[type="tel"] { direction: ltr; text-align: right; }
.input::placeholder { color: var(--teal); opacity: .75; }
.input:hover, .input:focus { border-color: var(--teal); }
.input--phone { padding-right: 24px; }
.input.is-invalid { border-color: #df3131; }
.select { position: relative; }
.select .input { cursor: pointer; }
.select svg {
  position: absolute;
  left: 12px; top: 7px;
  color: var(--teal);
  pointer-events: none;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
  cursor: pointer;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 24px;
  color: var(--teal);
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none;
  width: 16px; height: 16px;
  display: grid; place-items: center;
  color: var(--teal);
  border: 1px solid var(--field-border);
}
.check input:not(:checked) + .check__box svg { visibility: hidden; }
.check input:focus-visible + .check__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.lead__submit {
  width: 100%;
  height: 44px;
  padding: 11px 15px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--f-button);
  font-size: 18px;
  line-height: 21.6px;
  cursor: pointer;
  transition: opacity .2s;
}
.lead__submit:hover { opacity: .85; }
.lead__submit:disabled { opacity: .6; cursor: default; }
.lead__status {
  min-height: 0;
  margin-top: 10px;
  font-family: var(--f-text);
  font-size: 16px;
  text-align: center;
  color: var(--teal);
}
.lead__status:empty { display: none; }
.lead__status.is-error { color: #df3131; }

/* ---------- Features (teal) ---------- */
.features {
  background: var(--teal-dark);
  padding: clamp(48px, 6.3vw, 91px) 20px clamp(56px, 6.5vw, 94px);
}
.features__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 37px);
  max-width: 1211px;
  margin: 0 auto;
}
.card {
  flex: 1 1 260px;
  max-width: 379px;
  min-height: 263px;
  padding: 52px 24px 32px;
  background: var(--white);
  border-radius: 27px;
  box-shadow: 0 1.35px 9.46px 1.35px rgba(0, 0, 0, 0.09);
  text-align: center;
}
.card__icon { width: 58px; height: 58px; margin: 0 auto 9px; }
.card__title {
  font-family: var(--f-title);
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
}
.card__text {
  max-width: 236px;
  margin: 3px auto 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: clamp(36px, 3.6vw, 52px);
  color: var(--white);
  text-align: center;
}
.stat { flex: 0 1 433px; }
.stats__divider {
  flex: none;
  width: 2px;
  height: 69px;
  margin: 0 16px 0 11px;
  background: var(--yellow);
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(38px, 3.8vw, 55px);
  line-height: 1;
}
.stat__label {
  margin-top: 4px;
  font-family: var(--f-text);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.4;
}

/* ---------- About ---------- */
.about {
  display: flex;
  flex-wrap: wrap;
  background: var(--soft);
}
.about__col {
  flex: 1 1 380px;
  padding: clamp(44px, 6.1vw, 88px) clamp(24px, 4.2vw, 60px) clamp(44px, 5.5vw, 80px);
}
.accent {
  display: block;
  width: 28px;
  border-top: 8px solid var(--yellow);
  margin-bottom: 7px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 3vw, 43px);
  line-height: 1.1;
  color: var(--teal);
  max-width: 590px;
}
.section-title--center { max-width: none; text-align: center; }
.about__text {
  max-width: 590px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}
.about .section-title { margin-bottom: 27px; }
.about__text strong { font-family: var(--f-title); font-weight: 400; }

/* ---------- Client logos marquee ---------- */
.clients {
  margin-top: 38px;
  overflow: hidden;
  direction: rtl;
}
.clients__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.clients__track img {
  flex: none;
  width: clamp(170px, 19.8vw, 285px);
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: clamp(48px, 4.7vw, 68px) 20px clamp(56px, 5.6vw, 80px);
}
.testimonials__icon { display: block; margin: 0 auto 10px; }
.testimonials .section-title { margin-bottom: clamp(28px, 3vw, 43px); }
.testimonials__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
  max-width: 1063px;
  margin: 0 auto;
}
.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 260px;
  max-width: 333px;
  min-height: 228px;
  padding: 28px 30px 28px;
  background: var(--white);
  border-radius: 27px;
  box-shadow: 0 1.14px 11.38px 3.41px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.quote__text {
  flex: 1;
  max-width: 261px;
  padding-bottom: 20px;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}
.quote__bar { width: 48px; border-top: 8px solid var(--yellow); }
.quote__name {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--teal);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 34px 20px clamp(48px, 6.8vw, 98px);
  color: var(--white);
  text-align: center;
}
.footer__logo { width: 195px; height: auto; aspect-ratio: 3 / 2; margin: 0 auto; object-fit: contain; }
.footer__cta-text {
  margin-top: 14px;
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.4;
}
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 318px;
  height: 48px;
  margin: 13px auto 0;
  background: var(--yellow);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--f-title);
  font-size: 16px;
  text-decoration: none;
  transition: opacity .2s;
}
.footer__cta:hover { opacity: .85; }

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 20px;
  max-width: 1226px;
  margin: clamp(56px, 7.4vw, 107px) auto 0;
}
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 349px;
}
.footer__head {
  margin-bottom: 26px;
  font-family: var(--f-title);
  font-size: 16px;
  line-height: 1.4;
  color: var(--yellow);
}
.footer__col a, .footer__col p {
  margin-bottom: 23px;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--white);
  text-decoration: none;
}
.footer__col a:hover { text-decoration: underline; }
.social {
  display: flex;
  gap: 19px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}
.footer__col .social a { margin: 0; }
.social img { width: 39px; height: 39px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 40px;
  max-width: 1246px;
  margin: clamp(56px, 11.6vw, 168px) auto 0;
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.4;
}
.footer__legal { text-align: right; }
.footer__credit { text-align: left; }
.footer__credit a { font-family: var(--f-title); text-decoration: none; }
.footer__legal a { text-decoration: underline; }

/* ---------- Sticky CTA (tablet + mobile) ---------- */
.sticky-cta { display: none; }
.sticky-cta { transition: opacity .25s, transform .25s; }
.sticky-cta.is-hidden, .lead-sent .sticky-cta { opacity: 0; transform: translateY(140%); pointer-events: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .clients__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet + mobile: the form leaves the hero (see script.js) ---------- */
@media (max-width: 1024px) {
  .hero { height: clamp(620px, 100svh, 900px); }
  .hero__bg { object-position: 50% 100%; }
  .hero__intro {
    left: 0; right: 0;
    top: clamp(28px, 4vw, 48px);
    width: auto;
    padding: 0 20px;
    text-align: center;
  }
  .hero__logo { width: clamp(220px, 34vw, 290px); margin: 0 auto; }
  .hero__title { font-size: clamp(34px, 5.2vw, 48px); line-height: 1.15; margin-top: 4px; }
  .hero__line { width: 100%; max-width: 560px; margin: 14px auto 16px; }
  .hero__text {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(21px, 3vw, 26px);
    line-height: 1.35;
  }

  .lead {
    position: static;
    width: auto;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    padding: 50px 20px 64px;
  }
  .lead__title { font-size: clamp(28px, 4vw, 34px); line-height: 1.3; margin-bottom: 26px; }
  .input { height: 44px; border-radius: 12px; background: var(--white); font-size: 16px; }
  .select svg { top: 10px; }
  .field { margin-bottom: 20px; }
  .lead__submit { height: 50px; }

  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 50;
    max-width: 560px;
    height: 62px;
    margin: 0 auto;
    background: var(--yellow);
    border-radius: 16px;
    box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.35);
    color: var(--ink);
    font-family: var(--f-title);
    font-size: 20px;
    text-decoration: none;
  }
  .footer { padding-bottom: 120px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 750px) {
  /* portrait crop at its natural ratio: the white top holds the text, faces start below it */
  .hero { height: min(calc(100vw * 2100 / 780), 1300px); }
  .hero__bg { object-position: 50% 0; }
  .hero__intro { top: clamp(24px, 7vw, 40px); padding: 0 16px; }
  .hero__logo { width: clamp(200px, 62vw, 260px); }
  .hero__title { font-size: clamp(28px, 8.6vw, 40px); }
  .hero__line { max-width: 92vw; }
  .hero__text { max-width: 92vw; font-size: clamp(19px, 5.6vw, 24px); }

  .features__cards { flex-direction: column; align-items: center; }
  .card { flex: none; width: min(100%, 330px); padding: 34px 18px 40px; }
  .card__title { font-size: 26px; line-height: 1.25; }
  .stat__num { font-size: 40px; }
  .stats__divider { margin: 0 8px; }

  .about__col { flex-basis: 100%; }

  .testimonials__cards { flex-direction: column; align-items: center; }
  .quote { flex: none; width: 100%; }

  .footer__cols { flex-direction: column; align-items: center; margin-top: 60px; }
  .footer__col { flex: none; }
  .footer__bottom { flex-direction: column; align-items: center; margin-top: 50px; }
  .footer__legal, .footer__credit { text-align: center; }
}
