/* ============================================================
   TAX-REFUND Landing Page — oganimy.co.il/tax-refund
   Standalone styles. Hebrew RTL.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0F4C81;
  --primary-dark: #0a3559;
  --accent: #F4A300;
  --accent-dark: #cc8600;
  --success: #1F9D55;
  --bg: #F7F9FC;
  --bg-alt: #ffffff;
  --text: #18222B;
  --text-soft: #4A5A68;
  --text-mute: #6D7E8C;
  --border: #E2E8EE;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.07);
  --shadow-md: 0 6px 24px rgba(15, 76, 129, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 76, 129, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* ===== NAVBAR ===== */
.tr-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.tr-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
}
.tr-logo img { height: 36px; width: auto; }
.tr-nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(244, 163, 0, 0.3);
  transition: transform 0.15s;
}
.tr-nav-phone:hover { transform: translateY(-1px); color: #fff !important; }

/* ===== HERO ===== */
.tr-hero {
  background: linear-gradient(135deg, #0F4C81 0%, #1a6aa8 100%);
  color: #fff;
  padding: 56px 24px 80px;
  position: relative;
  overflow: hidden;
}
.tr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(244,163,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.tr-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.tr-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.tr-hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.tr-hero-accent { color: var(--accent); }
.tr-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
}
.tr-hero-sub strong { color: #fff; font-weight: 700; }
.tr-hero-perks {
  list-style: none;
  margin-bottom: 28px;
}
.tr-hero-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 15.5px;
  color: rgba(255,255,255,0.92);
}
.tr-hero-perks li span {
  background: var(--accent);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 3px;
}
.tr-cta-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(244,163,0,0.4);
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}
.tr-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244,163,0,0.5);
  color: #fff !important;
}
.tr-cta-primary-large { font-size: 20px; padding: 20px 48px; margin-top: 18px; }

.tr-trust-row {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.tr-trust-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.tr-trust-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* HERO CARD VISUAL */
.tr-hero-visual { display: flex; justify-content: center; }
.tr-hero-card {
  background: #fff;
  color: var(--text);
  padding: 28px;
  border-radius: 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}
.tr-hero-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.tr-hero-card-icon { font-size: 30px; }
.tr-hero-card-title { font-weight: 700; font-size: 16px; color: var(--text-soft); }
.tr-hero-card-amount { text-align: center; padding: 16px 0; }
.tr-hero-card-amount-num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.tr-hero-card-amount-hint {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 12px;
}
.tr-hero-card-bar {
  background: var(--border);
  height: 8px;
  border-radius: 999px;
  margin: 18px 0 14px;
  overflow: hidden;
}
.tr-hero-card-bar-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  height: 100%;
  transition: width 0.6s ease;
}
.tr-hero-card-foot {
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
}

/* ===== SECTIONS ===== */
.tr-section { padding: 72px 24px; }
.tr-section-alt { background: #fff; }
.tr-section-inner { max-width: 1100px; margin: 0 auto; }
.tr-h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}
.tr-section-lead {
  text-align: center;
  font-size: 17px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ===== REASONS ===== */
.tr-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.tr-reason {
  background: #fff;
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
}
.tr-reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.tr-reason span { font-size: 36px; display: block; margin-bottom: 10px; }
.tr-reason h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.tr-reason p { font-size: 14px; color: var(--text-soft); }

/* ===== CALCULATOR ===== */
.tr-section-calc { background: linear-gradient(180deg, #fff 0%, #F7F9FC 100%); }
.tr-calc {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 36px 32px;
  max-width: 720px;
  margin: 0 auto;
}
.tr-calc-progress { margin-bottom: 28px; }
.tr-calc-progress-bar {
  background: var(--border);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.tr-calc-progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  height: 100%;
  width: 16.66%;
  transition: width 0.4s ease;
  border-radius: 999px;
}
.tr-calc-progress-text {
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  font-weight: 500;
}
.tr-q { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tr-q h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.tr-q-hint {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.tr-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tr-opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tr-opts-multi { gap: 8px; }
.tr-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text);
}
.tr-opt:hover { border-color: var(--accent); background: #FFFAF0; }
.tr-opt input { accent-color: var(--accent); transform: scale(1.2); }
.tr-opt input:checked + span { font-weight: 700; }
.tr-opt:has(input:checked) {
  border-color: var(--accent);
  background: #FFFAF0;
  box-shadow: 0 2px 8px rgba(244,163,0,0.15);
}

/* RESULT */
.tr-q-result { text-align: center; }
.tr-result-banner {
  background: linear-gradient(135deg, #FFFAF0 0%, #FFF4D9 100%);
  border: 2px dashed var(--accent);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 28px;
}
.tr-result-icon { font-size: 40px; margin-bottom: 8px; }
.tr-result-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.tr-result-label { font-size: 16px; font-weight: 600; color: var(--text-soft); }
.tr-result-hint { font-size: 12.5px; color: var(--text-mute); margin-top: 10px; }

.tr-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  text-align: right;
}
.tr-lead-fields input[type="text"],
.tr-lead-fields input[type="tel"],
.tr-lead-fields input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  transition: border 0.15s;
}
.tr-lead-fields input:focus {
  outline: none;
  border-color: var(--accent);
}
.tr-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 4px;
  cursor: pointer;
}
.tr-consent input { margin-top: 4px; accent-color: var(--accent); }

/* CALC NAV */
.tr-calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}
.tr-btn {
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.tr-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(244,163,0,0.3);
  margin-right: auto;
}
.tr-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(244,163,0,0.4);
  background: var(--accent-dark);
}
.tr-btn-ghost {
  background: transparent;
  color: var(--text-mute);
  border: 2px solid var(--border);
}
.tr-btn-ghost:hover { border-color: var(--text-mute); color: var(--text); }
.tr-btn-submit { font-size: 17px; padding: 14px 32px; }
.tr-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== STEPS ===== */
.tr-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.tr-step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.tr-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(244,163,0,0.3);
}
.tr-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.tr-step p { font-size: 14px; color: var(--text-soft); }

/* ===== TESTIMONIALS ===== */
.tr-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.tr-testi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.tr-testi:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tr-testi-stars { color: var(--accent); font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.tr-testi p { font-size: 15px; color: var(--text); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.tr-testi-author { font-size: 14px; color: var(--text-soft); }
.tr-testi-author strong { color: var(--primary); }

/* ===== FAQ ===== */
.tr-faqs { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.tr-faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 22px;
  transition: all 0.15s;
}
.tr-faq[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.tr-faq summary {
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 28px;
  color: var(--text);
}
.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary::after {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
}
.tr-faq[open] summary::after { content: '−'; }
.tr-faq p { margin-top: 12px; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.tr-faq strong { color: var(--text); }

/* ===== CTA FINAL ===== */
.tr-cta-final {
  background: linear-gradient(135deg, #F4A300 0%, #cc8600 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.tr-cta-final h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 900; margin-bottom: 14px; color: #fff; }
.tr-cta-final p { font-size: 18px; margin-bottom: 8px; opacity: 0.95; }
.tr-cta-final .tr-cta-primary { background: #fff; color: var(--primary) !important; }
.tr-cta-final .tr-cta-primary:hover { background: #fff; }

/* ===== FOOTER ===== */
.tr-foot {
  background: var(--text);
  color: #fff;
  padding: 48px 24px 20px;
}
.tr-foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tr-foot-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.tr-foot-col p { font-size: 14.5px; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.tr-foot-col a { color: rgba(255,255,255,0.85); }
.tr-foot-col a:hover { color: var(--accent); }
.tr-foot-logo { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.tr-foot-copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-top: 20px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .tr-hero { padding: 36px 20px 56px; }
  .tr-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .tr-hero-visual { order: -1; }
  .tr-hero-card { max-width: 100%; }
  .tr-trust-row { gap: 18px; }
  .tr-trust-num { font-size: 22px; }
  .tr-section { padding: 48px 20px; }
  .tr-calc { padding: 24px 18px; }
  .tr-q h3 { font-size: 19px; }
  .tr-nav-phone-text { display: none; }
  .tr-nav-phone { padding: 10px 14px; }
  .tr-opts-grid { grid-template-columns: 1fr 1fr; }
  .tr-cta-final h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .tr-opts-grid { grid-template-columns: 1fr; }
  .tr-hero h1 { font-size: 26px; }
  .tr-calc-nav { flex-direction: column-reverse; }
  .tr-calc-nav .tr-btn { width: 100%; margin: 0; }
}
