/*
Theme Name: ITD Communication
Theme URI: https://itd-com.com
Author: Elorin
Description: אתר תדמית ל-ITD תקשורת — טלפוניה ותקשורת לעסקים. עברית RTL, עיצוב "שמיים בהירים" הנגזר מלוגו הענן.
Version: 4.1.1
Requires PHP: 8.0
Text Domain: idt
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #10275a;         /* navy ink — headlines, body */
  --ink-2: #35507c;       /* secondary text */
  --bg: #f4f8fd;          /* sky-tinted white */
  --surface: #ffffff;
  --line: #dbe7f4;
  --accent: #0891b2;      /* cyan — decorative, large elements */
  --accent-ink: #076685;  /* cyan dark enough for text links */
  --brand-blue: #1e40af;
  --tile: #e3f2f9;        /* tinted chip behind icons and tags */
  --numeral: #cfe9f3;     /* the oversized index numeral on cards */
  --grad: linear-gradient(105deg, #0891b2, #1e40af);
  /* Same brand sweep, darkened enough that white text on it clears AA at
     small sizes — the cyan stop of --grad only reaches ~2.9:1. */
  --grad-deep: linear-gradient(105deg, #0e7490, #1e3a8a);
  --radius: 16px;
  --shadow-soft: 0 6px 24px rgba(16, 39, 90, 0.08);
  --shadow-lift: 0 12px 32px rgba(16, 39, 90, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Rubik', 'Assistant', system-ui, sans-serif;
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }

/* Sticky header is ~76px — keep anchored section titles clear of it */
section[id], div[id] { scroll-margin-block-start: 112px; }   /* clears the 92px sticky header */
.band { padding-block: clamp(56px, 9vw, 96px); }
.band--sky { background: var(--bg); }
.band--white { background: var(--surface); }
.band--navy { background: var(--ink); color: #eaf2fb; }
.band-title { text-align: center; max-width: 640px; margin-inline: auto; }
.band-title .kicker {
  display: inline-block; font-weight: 700; color: var(--accent-ink);
  font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 8px;
}
.band-title p { color: var(--ink-2); }

/* Cloud divider between bands */
.cloud-divider { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.cloud-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 12px 28px; border-radius: 999px;
  font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.05rem;
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* Elementor's kit colours every <a> on the page from a rule that outranks these
   classes, which left the header's phone number in link-cyan on a cyan
   gradient — about 1.6:1. The theme chrome sets its own text colour, firmly. */
.btn-primary { background: var(--grad-deep); color: #fff !important; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: var(--surface); color: var(--ink) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn svg { flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px; min-height: 92px;
}
/* The logo is a flex item, and flex items SHRINK by default — at 72px the
   nav took the slack and squeezed the mark to a 1.62 ratio against its
   natural 1.70, which reads as a squashed logo. flex-shrink:0 pins it. */
.site-logo { flex: 0 0 auto; display: block; }
.site-logo img { height: clamp(56px, 6vw, 72px); width: auto; max-width: none; }
/* Eight items at 26px gaps need 746px of a 800px slot — one long Hebrew label
   away from wrapping to a second line. The gap and size flex with the viewport
   so the row survives another item or a longer word. */
.site-nav { display: flex; gap: clamp(14px, 1.6vw, 26px); margin-inline-start: auto; white-space: nowrap; }
.site-nav a {
  color: var(--ink); font-weight: 600; font-size: clamp(0.9rem, 1.05vw, 1rem);
  padding: 8px 2px; white-space: nowrap;
}
.site-nav a:hover { color: var(--accent-ink); text-decoration: none; }
.header-phone { white-space: nowrap; }
/* Elementor's kit styles every <button> on the page, including this one, from
   a `.elementor-kit-NN button` rule that outranks a bare class. Hence the tag
   in the selector — without it the menu button renders as a cyan pill. */
.site-header button.nav-toggle {
  display: none; margin-inline-start: auto;
  background: none; border: 1.5px solid var(--line); border-radius: 10px;
  width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
  box-shadow: none;
}
.site-header button.nav-toggle:hover { background: var(--bg); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eaf3fc 0%, var(--bg) 100%);
  padding-block: clamp(64px, 10vw, 120px) clamp(48px, 7vw, 80px);
}
.hero .wrap { position: relative; z-index: 2; max-width: 760px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-weight: 600; font-size: 0.92rem; color: var(--ink-2);
  box-shadow: var(--shadow-soft); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.22rem; color: var(--ink-2); max-width: 560px; margin-inline: auto; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-trust {
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; padding: 0; list-style: none;
  color: var(--ink-2); font-weight: 600; font-size: 0.97rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent); }

/* Signature: signal arcs echoing the logo, floating behind the hero */
.hero-arcs {
  position: absolute; z-index: 1; pointer-events: none;
  inset-block-start: 50%; transform: translateY(-50%);
  opacity: 0.6;
}
.hero-arcs--end { inset-inline-end: -70px; }
.hero-arcs--start { inset-inline-start: -70px; transform: translateY(-50%) scaleX(-1); }
@keyframes arc-drift {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-52%) translateX(6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arcs--end { animation: arc-drift 9s ease-in-out infinite; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px; margin-top: 44px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #e3f2f9; color: var(--accent-ink); margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 6px; }
.service-card p { color: var(--ink-2); margin: 0; font-size: 1rem; }

/* ---------- Why us ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 44px; }
.pillar { text-align: center; padding-inline: 12px; }
.pillar-num {
  font-family: 'Rubik', sans-serif; font-weight: 800; font-size: 1.05rem;
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff;
}
.pillar p { color: var(--ink-2); font-size: 1rem; }

/* ---------- About + numbers ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.about-text p { color: var(--ink-2); }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.number-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.number-card strong {
  display: block; font-family: 'Rubik', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.number-card span { color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; margin: 0; position: relative;
}
.quote::before {
  content: '”'; position: absolute; inset-block-start: 10px; inset-inline-start: 18px;
  font-family: 'Rubik', sans-serif; font-size: 3rem; line-height: 1; color: var(--accent); opacity: 0.35;
}
.quote p { font-size: 1.05rem; margin: 0 0 14px; padding-inline-start: 8px; }
.quote footer { color: var(--ink-2); font-weight: 600; font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 44px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list svg { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.contact-list a {
  color: inherit; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;
}
.contact-list .label { display: block; font-size: 0.88rem; color: #b9cbe4; }
.band--navy h2 { color: #fff; }
.band--navy .band-title p { color: #b9cbe4; }
.contact-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 30px 28px;
}
.contact-card h3 { color: #fff; }
.contact-card p { color: #b9cbe4; font-size: 1rem; }
.contact-card .btn-primary { width: 100%; margin-top: 8px; }
.contact-card .wa { background: #15803d; }

/* ---------- Footer ---------- */
/* The contact band above is already navy, so the footer goes a shade deeper and
   carries a hairline — otherwise the page just dissolves at the bottom. */
.site-footer {
  background: #081733; color: #a8bedd; font-size: 0.95rem;
  border-block-start: 1px solid #1e3565;
  /* The floating WhatsApp pill parks over the bottom of the viewport, so the
     last line of the footer has to sit above it rather than under it. */
  padding-block: 56px 96px;
}
.footer-cols {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; max-width: 42ch; line-height: 1.7; }

/* `.elementor-kit-NN h2` and `... a` are (0,1,1) and load after the theme, so a
   bare `.site-footer h2` TIES and loses — which rendered these headings in
   navy on near-black (1.24:1, invisible) and the links in dark cyan (2.75:1).
   The extra class in the selector settles it. */
.site-footer .wrap h2 {
  font-family: 'Rubik', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: none;
  color: #7dd3ec; margin: 0 0 14px;
}
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { padding-block: 7px; }

.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-phone {
  font-family: 'Rubik', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: #ffffff !important; letter-spacing: 0.01em;
}
.footer-person { margin: 2px 0 16px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid #2b4a80; border-radius: 999px; padding: 9px 18px;
  font-weight: 600; color: #dce9f8 !important;
}
.footer-wa:hover { background: #0f2450; border-color: #7dd3ec; text-decoration: none; }
.footer-wa svg { flex: 0 0 auto; }
.footer-hours { margin: 16px 0 0; font-size: 0.9rem; color: #8fa9cc; }

.footer-legal {
  display: flex; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap;
  margin-block-start: 44px; padding-block-start: 22px;
  border-block-start: 1px solid #16294f;
  font-size: 0.86rem; color: #7f97ba;
}

/* Every footer link is a touch target, and none of them inherit the body link
   colour, which is tuned for a light background. */
.site-footer .wrap a { color: #cfe0f5; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .wrap a:hover { color: #ffffff; text-decoration: none; }

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr; gap: 34px; }
  /* Seven stacked 44px targets make the footer taller than a phone screen;
     two columns keep the tap area and halve the scroll. */
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-nav h2 { grid-column: 1 / -1; }
  .footer-legal { margin-block-start: 32px; }
  /* Clear of the floating WhatsApp button, which sits bottom-start. */
  .site-footer { padding-block: 44px 96px; }
}

/* ---------- What's included (signature) ---------- */
.included-list {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px 40px;
}
.included-list li { display: flex; gap: 16px; align-items: flex-start; }
.included-list .tick {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; margin-top: 2px;
}
.included-list strong {
  display: block; font-family: 'Rubik', sans-serif; font-size: 1.08rem;
  font-weight: 700; margin-bottom: 2px;
}
.included-list div { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

.price-note {
  margin: 32px auto 0; max-width: 720px; text-align: center;
  background: #e8f4fa; border: 1px solid #c5e3f0; border-radius: 12px;
  padding: 16px 22px; color: var(--ink); font-weight: 600;
}

/* ---------- Rental model ---------- */
.model-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 44px;
}
.model-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.model-card h3 { margin-bottom: 6px; padding-inline-end: 44px; }
.model-card p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.model-num {
  position: absolute; inset-block-start: 6px; inset-inline-end: 14px;
  font-family: 'Rubik', sans-serif; font-weight: 800; font-size: 2.6rem;
  color: var(--accent); opacity: 0.13; line-height: 1;
}
.model-note {
  text-align: center; margin: 30px 0 0; color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Custom development cases ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; border-top: 4px solid var(--accent);
}
.case-tag {
  display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--accent-ink); background: #e3f2f9; border-radius: 999px;
  padding: 4px 12px; margin-bottom: 12px;
}
.case h3 { margin-bottom: 8px; }
.case p { color: var(--ink-2); margin: 0; font-size: 1rem; }

/* ---------- Customer scale ---------- */
.scale-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; margin-top: 44px;
}
.scale-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.scale-card strong {
  display: block; font-family: 'Rubik', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.scale-card span { color: var(--ink-2); font-size: 0.97rem; line-height: 1.55; }
.scale-card--small { border-color: var(--accent); box-shadow: var(--shadow-soft); }

.about-sign {
  margin-top: 20px; font-family: 'Rubik', sans-serif; font-weight: 700;
  color: var(--ink); font-size: 1.02rem;
}
.about-text .kicker { display: inline-block; color: var(--accent-ink); font-weight: 700; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.06rem;
  display: flex; align-items: center; gap: 12px; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: ''; flex: 0 0 auto; width: 11px; height: 11px;
  border-inline-end: 2.4px solid var(--accent); border-block-end: 2.4px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px;
}
.faq-list details[open] summary::before { transform: rotate(135deg); margin-top: 3px; }
.faq-list summary:hover { color: var(--accent-ink); }
.faq-list p {
  margin: 0; padding: 0 22px 20px; color: var(--ink-2);
  padding-inline-start: 45px;
}

/* ---------- Inner pages ---------- */
.page-content { padding-block: clamp(40px, 6vw, 72px); }
.page-content .wrap { max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-arcs { display: none; }
}
/* The desktop row holds 8 items down to ~900px; below that it would wrap,
   so the hamburger takes over earlier than the old 780px breakpoint. */
@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 28px; }
  .site-header button.nav-toggle { display: flex; }
  .header-phone { display: none; }
}

/* ---------- Floating WhatsApp ---------- */
/* inset-inline-END, not start: in RTL the inline start is the RIGHT edge —
   exactly where Hebrew lines begin — so the pill sat on top of the text it
   was meant to support. On the left it clears the reading edge. */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #15803d; color: #fff !important; text-decoration: none !important;
  padding: 13px 20px; border-radius: 999px; min-height: 52px;
  font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 26px rgba(31, 157, 85, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(21,128,61,0.46); }
.wa-float svg { flex: 0 0 auto; }
@media (max-width: 600px) {
  .wa-float { inset-block-end: 16px; inset-inline-end: 16px; padding: 13px 18px; }
  .wa-float span { display: none; }
}

/* ==========================================================================
   Elementor brand layer
   Every widget on the page is a native, editable Elementor widget. These
   rules add the flourishes Elementor has no control for — gradient-filled
   text, the hand-drawn cloud between bands, the gradient tick, the signal
   arcs — keyed to CSS classes set on the widgets themselves.
   ========================================================================== */

.itd-band { position: relative; overflow: hidden; }
.itd-band > .e-con-inner { position: relative; z-index: 1; }

/* Gradient-filled text (headline second line, stat numerals).
   Elementor's per-page stylesheet loads after the theme and sets a flat
   colour on every heading, so the transparent fill has to insist. */
.itd-grad .elementor-heading-title {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

/* The pill above the headline, with its gradient dot */
.itd-badge .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; box-shadow: var(--shadow-soft);
}
.itd-badge .elementor-heading-title::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad);
}

/* Cards lift on hover, as they did in the original. height:100% makes a row of
   them line up at the bottom however long each blurb is. */
.itd-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
/* Fill the grid cell so a row of cards ends level. Elementor drives container
   growth through a --flex-grow custom property applied in its own late
   stylesheet, so plain specificity loses here. */
.e-con.itd-card { --flex-grow: 1; flex-grow: 1 !important; }
.itd-card:hover { transform: translateY(-4px); border-color: #b9d9ec; }
@media (prefers-reduced-motion: reduce) {
  .itd-card, .itd-card:hover { transition: none; transform: none; }
}

/* On phones the arcs are hidden — the hero still needs one soft signature.
   Kept fully inside the band: Elementor containers override the band's
   overflow:hidden, so anything bleeding past the edge adds a sideways scroll. */
@media (max-width: 900px) {
  .itd-arcs-hero::after {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    inset-block-start: 0; inset-inline-end: 0;
    width: 300px; height: 300px; max-width: 80%; border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.16) 0%, rgba(8, 145, 178, 0) 70%);
  }
}

/* Icon list → the gradient tick circles. Elementor centres each row against
   its own text; a tick belongs beside the TITLE, so the alignment insists. */
.itd-ticks .elementor-icon-list-item { align-items: flex-start !important; }
.itd-ticks .elementor-icon-list-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: 1px;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.28);
}
.itd-ticks .elementor-icon-list-icon svg { fill: #fff; width: 15px; height: 15px; }
.itd-ticks .elementor-icon-list-text { text-align: right; line-height: 1.65; padding-block-start: 2px; }
.itd-ticks .elementor-icon-list-text strong {
  display: block; font-family: 'Rubik', sans-serif; font-size: 1.16rem;
  font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.35;
}
.itd-ticks .elementor-icon-list-text span { color: var(--ink-2); font-size: 1.04rem; }
@media (max-width: 860px) {
  .itd-ticks .elementor-icon-list-item + .elementor-icon-list-item { margin-block-start: 30px; }
}
@media (min-width: 861px) {
  .itd-ticks .elementor-icon-list-items { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; }
  .itd-ticks .elementor-icon-list-item { margin: 0 !important; }
}

/* Numbered cards — the big pale numeral is a real, editable heading widget;
   only its placement is CSS. Stacked on desktop where the card is narrow,
   pulled beside the title on phones where the card runs the full width. */
.itd-numcard { position: relative; }
.elementor-widget-heading.itd-num .elementor-heading-title {
  font-family: 'Rubik', sans-serif; font-weight: 800; font-size: 3.1rem;
  line-height: 0.85; letter-spacing: -0.02em;
  color: var(--numeral) !important;
}
.itd-numcard .itd-title .elementor-heading-title { line-height: 1.3; }
@media (max-width: 860px) {
  .itd-numcard .itd-num {
    position: absolute; inset-block-start: 26px; inset-inline-end: 26px;
    pointer-events: none; margin: 0 !important;
  }
  .elementor-widget-heading.itd-num .elementor-heading-title { font-size: 3rem; }
  /* The numeral is out of flow, so the title reserves its height — otherwise
     the paragraph below slides underneath it. */
  .itd-numcard .itd-title { padding-inline-end: 92px; min-height: 44px; }
}

/* Case cards — a cyan cap across the top and a tinted tag above the title.
   ::after, not ::before: Elementor containers already own ::before for their
   own background overlay. */
.itd-case { position: relative; overflow: hidden; }
.itd-case::after {
  content: ''; position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 5px; background: var(--grad); z-index: 2;
  border-start-start-radius: 16px; border-start-end-radius: 16px;
}
.elementor-widget-heading.itd-tag .elementor-heading-title {
  display: inline-block; background: var(--tile); color: var(--accent-ink);
  border-radius: 999px; padding: 5px 14px;
  font-family: 'Assistant', sans-serif;
  font-size: 0.86rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em;
}

/* Contact details on the navy band: label quiet above, the value loud below */
.itd-clist .elementor-icon-list-item { align-items: flex-start !important; }
.itd-clist .elementor-icon-list-icon { margin-top: 3px; }
.itd-clist .elementor-icon-list-text { text-align: right; line-height: 1.5; }
.itd-clist .elementor-icon-list-text strong {
  display: block; color: #8FB4D9; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.itd-clist .elementor-icon-list-text span {
  color: #ffffff; font-size: 1.06rem; font-weight: 600;
}
.itd-clist a:hover .elementor-icon-list-text span { color: #7DD3EC; }

/* The highlighted note under the price section */
.itd-note p {
  background: #e8f4fa; border: 1px solid #c5e3f0; border-radius: 12px;
  padding: 16px 22px; font-weight: 600; margin: 30px auto 0;
}

/* The hand-drawn cloud silhouette between bands — not a stock divider */
.itd-cloud-sky::after, .itd-cloud-white::after {
  content: ''; position: absolute; inset-inline: 0; inset-block-end: -1px;
  height: 70px; z-index: 2; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.itd-cloud-sky::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 L0,52 C180,14 360,64 720,40 C1080,16 1260,66 1440,30 L1440,80 Z' fill='%23f4f8fd'/%3E%3C/svg%3E");
}
.itd-cloud-white::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 L0,44 C220,70 420,12 760,44 C1100,74 1260,20 1440,48 L1440,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Signal arcs from the logo, blown up and bled past the edge */
.itd-arcs-hero::before, .itd-arcs-mid::before, .itd-arcs-contact::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 780px; height: 780px; top: 50%; transform: translateY(-50%);
  background-repeat: no-repeat; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none'%3E%3Cg stroke='%230891b2' stroke-width='2' stroke-linecap='round' fill='none'%3E%3Cpath d='M 150 120 A 240 240 0 0 1 150 480'/%3E%3Cpath d='M 220 60 A 300 300 0 0 1 220 540'/%3E%3Cpath d='M 290 10 A 360 360 0 0 1 290 590'/%3E%3C/g%3E%3Ccircle cx='95' cy='300' r='8' fill='%230891b2'/%3E%3C/svg%3E");
}
.itd-arcs-hero::before    { inset-inline-end: -200px; opacity: 0.75; width: 860px; height: 860px; }
.itd-arcs-mid::before     { inset-inline-start: -280px; opacity: 0.42; transform: translateY(-50%) scaleX(-1); }
.itd-arcs-contact::before { inset-inline-end: -260px; opacity: 0.24; filter: brightness(2.4); }
@media (max-width: 900px) {
  .itd-arcs-hero::before, .itd-arcs-mid::before, .itd-arcs-contact::before { display: none; }
}

/* FAQ panel */
.itd-faq .elementor-accordion-item { border-radius: 14px; margin-bottom: 12px; overflow: hidden; }

/* Cards keep their white panel even on the dark anchor band */
.itd-band .itd-card { background: #fff; }

/* Header phone button — keep the icon clear of the digits */
.site-header .header-phone { gap: 12px; padding-inline: 24px; }

/* A phone number must never break across lines — bidi splits it mid-digits,
   which reads as two different numbers. */
.elementor-button-text { white-space: nowrap; }

/* A heading and the sentence under it belong together */
.itd-band .elementor-widget-heading + .elementor-widget-text-editor { margin-block-start: 2px; }

/* ═══════════════════════════════════════════════════════════════════════
   נגישות — toolbar + the user-controlled modes it switches on
   Self-hosted. The site already meets AA; these are preferences on top.
   ═══════════════════════════════════════════════════════════════════════ */

/* Skip link — the first thing a keyboard user meets, invisible until focused. */
.skip-link {
  position: absolute; inset-block-start: -60px; inset-inline-start: 12px;
  z-index: 100; padding: 12px 22px; border-radius: 0 0 12px 12px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  transition: inset-block-start .18s;
}
.skip-link:focus { inset-block-start: 0; }

/* The trigger sits on the INLINE-START side; WhatsApp already owns inline-end,
   and two floating buttons stacked on one corner is a thumb trap on mobile. */
.a11y-widget { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 90; }
.a11y-widget button.a11y-fab {
  width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(16,39,90,.28); transition: transform .16s, background .16s;
}
.a11y-widget button.a11y-fab:hover, .a11y-widget button.a11y-fab:focus-visible { transform: scale(1.06); background: #0b1c42; }
.a11y-widget button.a11y-fab:focus-visible { outline: 3px solid #0891B2; outline-offset: 3px; }

.a11y-panel {
  position: absolute; inset-block-end: 64px; inset-inline-start: 0;
  inline-size: min(268px, calc(100vw - 44px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; box-shadow: 0 18px 48px rgba(16,39,90,.20);
  display: flex; flex-direction: column; gap: 6px;
}
/* A class selector beats the UA sheet's [hidden]{display:none}, so without
   this the panel renders permanently open despite the attribute being set —
   and the same trap applies to the notice below. */
.a11y-panel[hidden], .itd-notice[hidden] { display: none !important; }
.a11y-title { margin: 0 0 4px; font-size: 1.02rem; color: var(--ink); font-weight: 800; }
.a11y-zoom { display: flex; align-items: center; gap: 8px; margin-block-end: 4px; }
.a11y-panel .a11y-zoom button[data-zoom] {
  flex: 1; padding: 9px 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font-weight: 800; cursor: pointer; font-size: .95rem;
}
.a11y-zoom-val { min-inline-size: 52px; text-align: center; font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.a11y-panel button.a11y-opt {
  display: flex; align-items: center; gap: 10px; inline-size: 100%;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer; text-align: start;
  font-size: .94rem; font-family: inherit;
}
.a11y-panel button.a11y-opt:hover { background: var(--bg); }
.a11y-panel button.a11y-opt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-ico { inline-size: 20px; text-align: center; font-size: 1rem; }
.a11y-panel button.a11y-reset {
  margin-block-start: 4px; padding: 9px; border: 0; border-radius: 10px;
  background: #F1F5F9; color: var(--ink-2); cursor: pointer; font-family: inherit; font-size: .9rem;
}
.a11y-panel a.a11y-statement { text-align: center; font-size: .85rem; color: var(--ink-2); padding-block-start: 4px; }
.a11y-panel button:focus-visible, .a11y-statement:focus-visible { outline: 2px solid #0891B2; outline-offset: 2px; }

/* ── the modes ─────────────────────────────────────────────────────────── */

/* Zoom scales the ROOT font size, so everything sized in rem follows and the
   layout reflows instead of overlapping — which is what breaks under a naive
   transform: scale(). */
html.a11y-zoomed { font-size: calc(100% * var(--a11y-zoom, 1)); }

html.a11y-contrast body { background: #fff; }
html.a11y-contrast :is(p, li, span, div, td) { color: #14181F !important; }
html.a11y-contrast :is(h1, h2, h3, h4, .elementor-heading-title) { color: #0A1633 !important; }
html.a11y-contrast .itd-grad .elementor-heading-title {
  color: #0A1633 !important; -webkit-text-fill-color: #0A1633 !important; background: none !important;
}
html.a11y-contrast a:not(.btn) { color: #0A3A6B !important; }
html.a11y-contrast .e-con { --background-color: transparent; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn) { background: #FFF6C2 !important; color: #0A1633 !important; box-shadow: 0 0 0 2px #FFF6C2; }

/* Arial is the pragmatic choice for Hebrew: it is present on every desktop and
   phone, so it needs no download and cannot fall back per-glyph the way a
   Latin-only "dyslexia font" would on Hebrew text. */
html.a11y-readable :is(body, p, li, h1, h2, h3, h4, span, div, button, a) {
  font-family: Arial, "Noto Sans Hebrew", sans-serif !important;
  letter-spacing: normal !important;
}
html.a11y-spacing :is(p, li) { line-height: 2 !important; letter-spacing: .06em !important; word-spacing: .16em !important; }
html.a11y-spacing :is(h1, h2, h3) { line-height: 1.5 !important; }

html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

@media (max-width: 640px) {
  .a11y-widget { inset-block-end: 16px; inset-inline-start: 16px; }
  .a11y-widget button.a11y-fab { width: 46px; height: 46px; }
}

/* ── cookie / privacy notice ───────────────────────────────────────────── */
.itd-notice {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 95;
  background: var(--ink); color: #E8EFFA;
  padding: 14px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  font-size: .93rem; line-height: 1.55;
  box-shadow: 0 -6px 24px rgba(16,39,90,.22);
}
.itd-notice p { margin: 0; max-inline-size: 68ch; }
.itd-notice p a { color: #9AD5EC; text-decoration: underline; }
.itd-notice button#itd-notice-ok {
  flex: 0 0 auto; padding: 9px 24px; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; font-family: inherit;
}
.itd-notice button#itd-notice-ok:focus-visible { outline: 3px solid #9AD5EC; outline-offset: 2px; }
@media (max-width: 640px) { .itd-notice { padding-block-end: 76px; } }

/* ── legal / content pages (הצהרת נגישות · מדיניות פרטיות) ─────────────── */
.page-content {
  max-inline-size: 820px; margin-inline: auto;
  padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 32px) 90px;
}
.page-content h1 {
  font-family: 'Rubik', sans-serif; font-weight: 800; color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; margin-block-end: .5em;
  letter-spacing: -.4px;
}
.page-content h2 {
  font-family: 'Rubik', sans-serif; font-weight: 700; color: var(--ink);
  font-size: clamp(1.18rem, 2.3vw, 1.42rem); margin-block: 2.2em .7em;
  padding-block-end: .4em; border-block-end: 2px solid var(--line);
}
.page-content p, .page-content li { color: var(--ink-2); line-height: 1.85; font-size: 1.02rem; }
.page-content .lead {
  font-size: 1.12rem; color: var(--ink); background: var(--bg);
  border-inline-start: 4px solid #0E7490;
  padding: 18px 22px; border-radius: 0 14px 14px 0; margin-block-end: 1.4em;
}
.page-content ul { padding-inline-start: 1.3em; display: grid; gap: .7em; margin-block: 1em; }
.page-content li::marker { color: #0E7490; }
.page-content a { color: #0A3A6B; text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: #0E7490; }
.page-content strong { color: var(--ink); font-weight: 700; }

/* Tables carry the coordinator's details — the part a regulator actually
   looks for, so it gets read as a record and not as prose. */
.itd-table { inline-size: 100%; border-collapse: collapse; margin-block: 1.1em; }
.itd-table :is(th, td) {
  padding: 12px 16px; border: 1px solid var(--line); text-align: start;
  font-size: .99rem; color: var(--ink-2); line-height: 1.6;
}
.itd-table th { background: var(--bg); color: var(--ink); font-weight: 700; inline-size: 34%; }
.itd-table tr:first-child th { inline-size: auto; }
.itd-updated {
  margin-block-start: 2.6em; padding-block-start: 1.2em; border-block-start: 1px solid var(--line);
  font-size: .9rem; color: #6B7A93;
}
.footer-legal-links { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .footer-legal-links a { color: #cfe0f5; text-decoration: underline; }

@media (max-width: 560px) {
  .itd-table, .itd-table tbody, .itd-table tr, .itd-table :is(th, td) { display: block; inline-size: auto; }
  .itd-table tr { margin-block-end: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .itd-table :is(th, td) { border: 0; }
  .itd-table th { border-block-end: 1px solid var(--line); }
}

/* ── טופס פנייה ────────────────────────────────────────────────────────── */
.itd-form { display: grid; gap: 14px; max-inline-size: 520px; margin-inline: auto; text-align: start; }
.itd-form-row { display: grid; gap: 6px; }
.itd-form label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.itd-form label span { color: #B91C1C; }
/* Element+class beats Elementor's kit rules on input/textarea, the same trap
   the accessibility widget hit. */
.itd-form input[type="text"], .itd-form input[type="tel"], .itd-form textarea {
  inline-size: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.itd-form input:focus, .itd-form textarea:focus {
  outline: 0; border-color: #0E7490; box-shadow: 0 0 0 3px rgba(14,116,144,.16);
}
.itd-form textarea { resize: vertical; min-block-size: 84px; }
/* The honeypot must be unreachable, not merely invisible: display:none alone
   is what naive bots look for, and visibility hidden still tabs. */
/* inline-size needs the same attribute specificity as the field rule above,
   or the trap stays 443px wide (offscreen, but able to widen the page). */
.itd-form input[type="text"].itd-hp {
  position: absolute !important; inset-inline-start: -9999px;
  inline-size: 1px !important; block-size: 1px; opacity: 0; padding: 0 !important; border: 0 !important;
}
.itd-form button.itd-form-submit {
  inline-size: 100%; margin-block-start: 4px; cursor: pointer;
  background-color: #0E7490; background-image: var(--grad-deep); color: #fff;
  border: 0; border-radius: 999px; padding: 15px 30px; font-weight: 700; font-size: 1.02rem;
}
.itd-form-note { font-size: .88rem; color: var(--ink-2); text-align: center; margin: 2px 0 0; line-height: 1.6; }
.itd-form-note a { color: #0A3A6B; font-weight: 700; }
.itd-form-msg {
  max-inline-size: 520px; margin: 0 auto 18px; padding: 15px 20px; border-radius: 14px;
  font-weight: 700; text-align: center; line-height: 1.6;
}
.itd-form-msg.is-ok  { background: #E7F6EC; color: #14532D; border: 1.5px solid #86C79B; }
.itd-form-msg.is-err { background: #FDECEC; color: #7F1D1D; border: 1.5px solid #E5A3A3; }
