/* ==========================================================
   TSD דלתות מוסך - contact page (RTL)
   ========================================================== */

.contact-page { background: #f3f5f9; }
.ct-kicker {
  display: inline-block; font-weight: 800; font-size: .9rem; letter-spacing: .5px;
  color: var(--red); background: rgba(215,25,32,.1); padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}

/* ---------- hero ---------- */
.ct-hero { position: relative; color: #fff; padding: 56px 0 0; background: var(--navy-dark); overflow-x: clip; overflow-y: visible; }
.ct-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(215,25,32,.45), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(22,64,127,.9), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 46px),
    linear-gradient(160deg, #0a2149, #061531);
}
.ct-hero-bg::after { /* garage-door slats fading out */
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(180deg, transparent, #f3f5f9);
}
.ct-hero-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ct-hero .ct-kicker { color: #fff; background: rgba(255,255,255,.14); }
.ct-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.ct-hero h1 span { display: block; color: #ff5a60; }
.ct-hero-text p { font-size: 1.15rem; max-width: 620px; margin: 0; color: #d9e2f2; }

/* pulsing call orb */
.ct-call-orb { position: relative; width: 230px; height: 230px; display: grid; place-items: center; margin-left: 20px; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,90,96,.6); animation: orb 2.4s ease-out infinite; }
.orb-ring.r2 { animation-delay: 1.2s; }
@keyframes orb { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.orb-core {
  position: relative; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff4a50, var(--red) 55%, var(--red-dark));
  box-shadow: 0 18px 40px rgba(215,25,32,.45), inset 0 -6px 14px rgba(0,0,0,.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  transition: transform .25s;
}
.ct-call-orb:hover .orb-core { transform: scale(1.05); }
.orb-core svg { width: 40px; height: 40px; fill: #fff; }
.orb-core b { font-size: 1.25rem; }
.orb-core span { font-weight: 800; font-size: 1.05rem; }

/* three ways cards */
.ct-ways { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; margin-bottom: -50px; }
.way {
  display: flex; align-items: center; gap: 14px; background: #fff; color: var(--text);
  border-radius: 18px; padding: 18px 18px; box-shadow: 0 14px 34px rgba(13,42,92,.16);
  border-bottom: 5px solid var(--navy); transition: transform .2s, box-shadow .2s;
}
.way:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(13,42,92,.22); }
.way-ic { flex: 0 0 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); }
.way-ic svg { width: 30px; height: 30px; fill: #fff; color: #fff; }
.way-txt h2 { font-size: 1.25rem; font-weight: 900; color: var(--navy); margin-bottom: 2px; }
.way-txt > span { display: block; font-weight: 800; font-size: 1.05rem; }
.way-txt small { color: #6b7587; font-size: .9rem; }
.way-phone { border-bottom-color: var(--red); }
.way-phone .way-ic { background: var(--red); }
.way-wa { border-bottom-color: #1fa855; }
.way-wa .way-ic { background: #1fa855; }

/* ---------- wizard + side ---------- */
.ct-main { padding: 96px 0 56px; }
.ct-main-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.ct-wizard { background: #fff; border-radius: 22px; box-shadow: 0 10px 34px rgba(13,42,92,.12); overflow: hidden; }
.wz-head { padding: 24px 26px 0; }
.wz-head h2 { color: var(--navy); font-size: 1.7rem; font-weight: 900; margin-bottom: 14px; }
.wz-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 10px; padding: 0; }
.wz-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; color: #8a93a3; font-size: .95rem; }
.wz-steps li span { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6eaf1; color: #6b7587; font-weight: 900; }
.wz-steps li.on, .wz-steps li.done { color: var(--navy); }
.wz-steps li.on span { background: var(--red); color: #fff; }
.wz-steps li.done span { background: var(--navy); color: #fff; }
.wz-bar { height: 6px; background: #e6eaf1; border-radius: 6px; overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 33.3%; background: linear-gradient(270deg, var(--red), #ff6a6f); border-radius: 6px; transition: width .35s; margin-right: 0; }

#ctForm { padding: 22px 26px 26px; }
.wz-pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.wz-pane legend { font-weight: 900; color: var(--navy); font-size: 1.2rem; margin-bottom: 14px; padding: 0; }
.wz-pane.on { animation: paneIn .35s ease; }
@keyframes paneIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-tile input, .urg input, .pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.st-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 98px; padding: 12px 8px; border-radius: 14px; border: 2px solid #dfe4ec; background: #f8fafc;
  font-weight: 800; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.st-box svg { width: 32px; height: 32px; fill: var(--navy); color: var(--navy); }
.st-box:hover { border-color: var(--navy-light); transform: translateY(-2px); }
.svc-tile input:checked + .st-box { border-color: var(--red); background: #fff1f1; color: var(--red-dark); }
.svc-tile input:checked + .st-box svg { fill: var(--red); color: var(--red); }
.svc-tile input:focus-visible + .st-box, .urg input:focus-visible + .urg-box, .pill-group input:focus-visible + span { outline: 3px solid rgba(13,42,92,.35); outline-offset: 2px; }

.urg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.urg-box { display: block; height: 100%; padding: 14px; border-radius: 14px; border: 2px solid #dfe4ec; background: #f8fafc; cursor: pointer; transition: .15s; }
.urg-box b { display: block; color: var(--navy); font-size: 1.1rem; }
.urg-box small { color: #6b7587; }
.urg input:checked + .urg-box { border-color: var(--navy); background: #eef2f8; }
.urg input:checked + .urg-hot { border-color: var(--red); background: #fff1f1; }
.urg input:checked + .urg-hot b { color: var(--red-dark); }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-field { display: block; margin-bottom: 14px; }
.ct-field > span, .ct-label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 6px; font-size: .98rem; }
.ct-field input, .ct-field textarea {
  width: 100%; font: inherit; font-size: 1.02rem; padding: 12px 14px; border-radius: 12px;
  border: 2px solid #dfe4ec; background: #f8fafc; transition: border-color .15s, background .15s; resize: vertical;
}
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.ct-field input.error { border-color: var(--red); background: #fff6f6; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill-group span { display: inline-block; padding: 8px 16px; border-radius: 30px; border: 2px solid #dfe4ec; font-weight: 700; cursor: pointer; background: #f8fafc; transition: .15s; }
.pill-group input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-err { display: none; color: var(--red); font-weight: 800; margin: 12px 0 0; }
.wz-err.show { display: block; }

.wz-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.wz-nav button, .wz-done button { font: inherit; font-weight: 900; font-size: 1.1rem; border-radius: 40px; padding: 12px 28px; cursor: pointer; border: 0; }
.wz-next { background: var(--navy); color: #fff; margin-right: auto; }
.wz-next::after { content: " ←"; }
.wz-back { background: #eef1f6; color: var(--navy); }
.wz-send { display: inline-flex; align-items: center; gap: 8px; background: #1fa855; color: #fff; margin-right: auto; box-shadow: 0 8px 20px rgba(31,168,85,.3); }
.wz-send svg { width: 22px; height: 22px; fill: #fff; }
.wz-nav button[hidden] { display: none; }

.wz-done { padding: 40px 26px; text-align: center; }
.done-ic { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; animation: pop .4s ease; }
.done-ic svg { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(.4); } to { transform: scale(1); } }
.wz-done h2 { color: var(--navy); font-weight: 900; font-size: 1.6rem; margin-bottom: 8px; }
.wz-done a { color: var(--red); font-weight: 900; }

.ct-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.ct-card { background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 8px 26px rgba(13,42,92,.1); }
.ct-card h2 { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }
.ct-card-dark { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.ct-logo { width: 150px; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 14px; }
.ct-details li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.ct-details li + li { border-top: 1px solid rgba(255,255,255,.14); }
.ct-details svg { flex: 0 0 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.12); fill: #fff; color: #fff; }
.ct-details b { display: block; font-size: .85rem; color: #aebbd3; font-weight: 700; }
.ct-details span { font-weight: 800; font-size: 1.05rem; }
.ct-details a:hover { text-decoration: underline; }
.ct-promise ol { list-style: none; counter-reset: c; margin: 0; padding: 0; }
.ct-promise li { counter-increment: c; position: relative; padding: 0 44px 14px 0; color: #4a5568; }
.ct-promise li::before { content: counter(c); position: absolute; right: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; display: grid; place-items: center; }
.ct-promise li:not(:last-child)::after { content: ""; position: absolute; right: 14px; top: 32px; bottom: 2px; width: 2px; background: #f0c9cb; }
.ct-promise b { display: block; color: var(--navy); }
.ct-safety { background: #fff6e8; border: 2px dashed #f2a900; box-shadow: none; }
.ct-safety h2 { color: #8a5a00; }
.ct-safety h2 svg { width: 24px; height: 24px; color: #e08a00; }
.ct-safety p { margin: 0; color: #5d4a22; }

/* ---------- map ---------- */
.ct-map { position: relative; }
.ct-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: saturate(.85); background: #dde3ec; }
.ct-map-card-wrap { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.ct-map-card { pointer-events: auto; max-width: 380px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 18px 44px rgba(13,42,92,.25); border-top: 6px solid var(--red); }
.ct-map-card h2 { color: var(--navy); font-size: 1.45rem; font-weight: 900; margin-bottom: 8px; }
.ct-map-card p { margin: 0 0 12px; color: #4a5568; }
.ct-link { font-weight: 900; color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ct-main-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
  .ct-hero { padding-top: 34px; }
  .ct-hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ct-hero-text p { margin-inline: auto; }
  .ct-call-orb { width: 200px; height: 200px; margin: 0; }
  .orb-core { width: 156px; height: 156px; }
  .ct-ways { grid-template-columns: 1fr; margin-top: 26px; }
  .ct-map-card-wrap { position: static; display: block; margin-top: -60px; padding-bottom: 30px; }
  .ct-map iframe { height: 300px; }
}
@media (max-width: 560px) {
  .svc-tiles { grid-template-columns: repeat(2, 1fr); }
  .urg { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; }
  .wz-steps li { font-size: 0; gap: 0; justify-content: center; }
  .wz-steps li span { font-size: .95rem; }
  .wz-head, #ctForm { padding-inline: 16px; }
  .wz-nav button { padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-ring { animation: none; opacity: 0; }
  .wz-pane.on, .done-ic { animation: none; }
}
