:root {
  --navy: #071018;
  --navy-mid: #0f1c2e;
  --navy-light: #162436;
  --gold: #c9a84c;
  --gold-bright: #dbb85e;
  --gold-dark: #a8863a;
  --gold-light: #faf6ee;
  --gold-glow: rgba(201, 168, 76, 0.35);
  --white: #ffffff;
  --gray-50: #f4f6f9;
  --gray-100: #eef1f6;
  --gray-200: #dde3ec;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --green: #0d7a5f;
  --whatsapp: #25d366;
  --shadow-sm: 0 2px 8px rgba(7, 16, 24, 0.06);
  --shadow: 0 12px 40px rgba(7, 16, 24, 0.1);
  --shadow-lg: 0 24px 64px rgba(7, 16, 24, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ar: "Noto Sans Arabic", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--gray-50);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--gold-light);
  color: var(--navy);
}
body[dir="rtl"] { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
.container { width: min(1140px, 92vw); margin-inline: auto; }
.container--narrow { width: min(760px, 92vw); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.text-gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn--gold:hover {
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn--gold-outline { background: var(--gold-light); color: var(--gold-dark); border-color: transparent; }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}
.btn--ghost:hover { background: var(--gray-100); }
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.badge--gold { color: var(--gold); border: 1px solid var(--gold); background: rgba(197,160,89,0.12); }
.badge--outline { color: var(--gold-dark); border: 1px solid var(--gold); background: var(--gold-light); }

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-label--gold { color: var(--gold); }
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.section-title--dark { color: var(--navy); }
.section-title--light { color: var(--white); }
.section-desc {
  text-align: center;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-overlay:not(.visible) {
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(7, 16, 24, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header--scrolled {
  background: rgba(7, 16, 24, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}
.header__logo:hover { opacity: 0.92; }
.header__logo-img {
  display: block;
  height: 54px;
  width: 54px;
  max-width: 54px;
  object-fit: cover;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  box-shadow: none;
}
.header__nav {
  display: flex;
  gap: 0.25rem;
}
.header__nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.header__nav .nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.header__nav .nav-link.active {
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.12);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lang-switch {
  display: flex;
  gap: 0.25rem;
  margin-right: 0.25rem;
}
.lang-switch__btn {
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch__btn.active {
  background: var(--gold);
  color: var(--white);
}
.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  background: #ffffff;
  overflow: hidden;
}
.hero__image {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-dubai-v2.png") right center / cover no-repeat;
  opacity: 0.94;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 42%, rgba(255, 255, 255, 0.64) 62%, rgba(255, 255, 255, 0.08) 100%);
  z-index: 1;
}
.hero__layout {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0;
}
.hero__left {
  max-width: 680px;
}
.hero__badge {
  margin-bottom: 1rem;
}
.hero__brand-logo {
  width: min(640px, 100%);
  max-height: 320px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 20px rgba(15, 28, 46, 0.06));
}
.hero__title {
  margin: 0 0 0.85rem;
  color: var(--navy-mid);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero__subtitle {
  margin: 0;
  color: var(--gray-700);
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

/* Partners marquee */
.partners {
  background: var(--navy);
  padding: 2.5rem 0;
  overflow: hidden;
}
.partners .section-label { margin-bottom: 1.5rem; }
.partners__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__slide {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.partners__slide:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners__item {
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  min-width: 168px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.partners__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.partners__item img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.partners__item--ejari img {
  max-height: 72px;
  max-width: 180px;
}
.partners__item--dubai-courts img {
  max-height: 70px;
  max-width: 210px;
}

/* Visa */
.visa { background: var(--gray-50); text-align: center; }
.visa__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card--dark {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--white);
  border-color: rgba(201, 168, 76, 0.25);
}
.price-card--featured {
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.2);
}
.price-card__ribbon {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px var(--gold-glow);
}
.price-card__tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.price-card__tag--gold {
  background: var(--gold);
  color: var(--white);
}
.price-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
}
.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.price-card__features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
.price-card--dark .price-card__features li { color: rgba(255,255,255,0.85); }
.price-card__features--gold li::before { color: var(--gold); }

/* Services */
.services { background: var(--gray-50); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: var(--shadow);
}
.service-card.open {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.service-card__logo {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__logo img {
  max-height: 72px;
  object-fit: contain;
  margin: 0 auto;
}
.service-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
body[dir="rtl"] .service-card__header { text-align: right; }
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg,
.service-card__icon img { display: block; flex-shrink: 0; }
.service-card__header h3 { margin: 0; font-size: 1rem; }
.service-card__header p { margin: 0; font-size: 0.8rem; color: var(--gray-500); }
.service-card__chevron {
  margin-left: auto;
  color: var(--gray-500);
  transition: transform 0.25s;
}
body[dir="rtl"] .service-card__chevron { margin-left: 0; margin-right: auto; }
.service-card.open .service-card__chevron { transform: rotate(180deg); }
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.service-card.open .service-card__list { max-height: 400px; }
.service-card__list li button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
body[dir="rtl"] .service-card__list li button { text-align: right; }
.service-card__list li button::before {
  content: "›";
  color: var(--gold);
  font-weight: 700;
}
.service-card__list li button:hover,
.service-card__list li button.active {
  background: var(--gold-light);
  color: var(--gold-dark);
}

/* About */
.about {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.06), transparent 50%);
  pointer-events: none;
}
.about__inner { position: relative; z-index: 1; }
.about__brand {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.about__text {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}
.about__tagline {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 3rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.stats__item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), background 0.3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}
.stats__item strong {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
  background: linear-gradient(135deg, var(--white), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats__item span { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.stats__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
}
.stats__icon svg,
.stats__icon img,
.service-card__icon img,
.rating-card__icon img,
.form-group__icon img,
.feedback__title-icon img,
.feedback-form__submit-icon img,
.guide-option__icon img {
  display: block;
  object-fit: contain;
}
.ui-icon-img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.stats__icon .ui-icon-img { width: 32px; height: 32px; }
.service-card__icon .ui-icon-img { width: 28px; height: 28px; }
.form-group__icon .ui-icon-img { width: 22px; height: 22px; }
.rating-card__icon .ui-icon-img { width: 36px; height: 36px; }
.guide-option__icon .ui-icon-img { width: 40px; height: 40px; }

/* Testimonials */
.testimonials { background: var(--gray-50); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2.5rem 2.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  position: relative;
  border: 1px solid var(--gray-200);
  border-inline-start: 4px solid var(--gold);
}
.testimonial-card__quote {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card__stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.15em; }
.testimonial-card__text {
  font-style: italic;
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.testimonial-card strong { display: block; color: var(--navy); }
.testimonial-card span { color: var(--gray-500); font-size: 0.9rem; }
.testimonial-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 1.25rem;
  color: var(--navy);
}
.carousel-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  padding: 0;
}
.carousel-dots button.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}

/* FAQ */
.faq { background: var(--gray-50); }
.faq__item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  color: var(--navy);
}
body[dir="rtl"] .faq__question { text-align: right; }
.faq__item.open .faq__question { color: var(--gold-dark); }
.faq__toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: transform 0.25s, background 0.25s;
}
.faq__item.open .faq__toggle {
  background: var(--gold);
  color: var(--white);
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__item.open .faq__answer { max-height: 200px; }
.faq__answer p {
  padding: 0 1.25rem 1.1rem;
  margin: 0;
  color: var(--gray-500);
  font-size: 0.9rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}
.faq-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  margin-top: 2.5rem;
}
.faq-cta__icon { color: var(--gold); font-size: 1.25rem; }
.faq-cta h3 { margin: 0.5rem 0 0.25rem; }
.faq-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1.25rem; }

/* Feedback */
.feedback {
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.feedback__hero {
  position: relative;
  background: #000000;
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(5rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.feedback__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000000;
  pointer-events: none;
  overflow: hidden;
}
.feedback-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}
.feedback-orb--gold {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: rgba(201, 168, 76, 0.55);
  top: 5%;
  left: -12%;
  animation: feedbackOrbGold 11s ease-in-out infinite;
}
.feedback-orb--cyan {
  width: min(360px, 60vw);
  height: min(360px, 60vw);
  background: rgba(34, 211, 238, 0.4);
  top: 25%;
  right: -8%;
  animation: feedbackOrbCyan 13s ease-in-out infinite;
  animation-delay: -3s;
}
.feedback-orb--purple {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: rgba(168, 85, 247, 0.38);
  bottom: 15%;
  left: 30%;
  animation: feedbackOrbPurple 15s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes feedbackOrbGold {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 12%) scale(1.12); }
}
@keyframes feedbackOrbCyan {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, 8%) scale(1.08); }
}
@keyframes feedbackOrbPurple {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, -10%) scale(1.15); }
}
.feedback__wave-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 1;
}
.feedback-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: block;
}
.feedback-wave-svg--1 {
  animation: feedbackWaveSlide 12s linear infinite;
}
.feedback-wave-svg--2 {
  animation: feedbackWaveSlide 16s linear infinite reverse;
  opacity: 0.85;
}
.feedback-wave-svg--3 {
  animation: feedbackWaveSlide 20s linear infinite;
  animation-delay: -5s;
  opacity: 0.7;
}
@keyframes feedbackWaveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.feedback__wave-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 4;
}
.feedback__wave-edge svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: feedbackEdgeWave 6s ease-in-out infinite;
}
@keyframes feedbackEdgeWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.06); }
}
.feedback__hero-inner {
  position: relative;
  z-index: 5;
}
.feedback__title-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  color: var(--gold-bright);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.2);
}
.feedback__title-icon svg { display: block; }
.badge--feedback {
  color: var(--gold-bright);
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.12);
}
.feedback__title {
  color: var(--white) !important;
  margin-bottom: 0.75rem;
}
.feedback__desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
}
.feedback__body {
  background: var(--gray-50);
  padding: 0 0 clamp(4rem, 8vw, 6rem);
  margin-top: -1px;
}
.feedback__ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: -2.5rem auto 1.75rem;
  position: relative;
  z-index: 4;
}
.rating-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}
.rating-card strong { display: block; margin: 0.65rem 0 0.25rem; font-size: 1rem; }
.rating-card small { color: var(--gray-500); font-size: 0.8rem; }
.rating-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--navy);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.rating-card__icon svg { display: block; }
.rating-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.rating-card:hover .rating-card__icon { transform: scale(1.08); }
.rating-card__icon--green {
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  color: #166534;
}
.rating-card__icon--yellow {
  background: linear-gradient(145deg, #fef9c3, #fde047);
  color: #a16207;
}
.rating-card__icon--pink {
  background: linear-gradient(145deg, #fce7f3, #fbcfe8);
  color: #be185d;
}
.rating-card.selected[data-rating="excellent"] {
  background: linear-gradient(160deg, #166534, #15803d);
  border-color: #166534;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(22, 101, 52, 0.35);
}
.rating-card.selected[data-rating="excellent"] .rating-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.rating-card.selected[data-rating="excellent"] small,
.rating-card.selected[data-rating="excellent"] strong { color: var(--white); }
.rating-card.selected[data-rating="okay"] {
  background: linear-gradient(160deg, #eab308, #f5bd23);
  border-color: #eab308;
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.35);
}
.rating-card.selected[data-rating="okay"] .rating-card__icon {
  background: rgba(255, 255, 255, 0.35);
  color: var(--navy);
}
.rating-card.selected[data-rating="needs-work"] {
  background: linear-gradient(160deg, #dc2626, #ef4444);
  border-color: #dc2626;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.35);
}
.rating-card.selected[data-rating="needs-work"] .rating-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.rating-card.selected[data-rating="needs-work"] small,
.rating-card.selected[data-rating="needs-work"] strong { color: var(--white); }
.feedback-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid var(--gray-200);
}
.form-group--icon { position: relative; }
.form-group--icon .form-group__icon {
  position: absolute;
  left: 0.85rem;
  top: 2.65rem;
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-group--icon:has(textarea) .form-group__icon {
  top: 2.75rem;
}
body[dir="rtl"] .form-group--icon .form-group__icon {
  left: auto;
  right: 0.85rem;
}
.form-group--icon input,
.form-group--icon textarea {
  padding-left: 2.75rem;
}
body[dir="rtl"] .form-group--icon input,
body[dir="rtl"] .form-group--icon textarea {
  padding-left: 1rem;
  padding-right: 2.75rem;
}
.feedback-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.feedback-form__submit-icon {
  display: flex;
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-wave-svg,
  .feedback-orb,
  .feedback-wave-svg,
  .feedback__wave-edge svg {
    animation: none;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.btn--loading {
  opacity: 0.75;
  cursor: wait;
  transform: none !important;
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.upload-step-hint {
  margin: -0.35rem 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--gray-500);
}
.upload-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.upload-box .dropzone {
  border: 2px dashed var(--gray-200);
  border-radius: 10px;
  padding: 1rem 0.75rem;
  min-height: 108px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-box .dropzone:hover { border-color: var(--gold); }
.upload-box > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.upload-box { position: relative; }
.upload-box--error .dropzone {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.footer__brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer h4 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}
.footer__links,
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links li,
.footer__contact li { margin-bottom: 0.5rem; }
.footer__links a,
.footer__contact a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Guided journey */
.guide {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  margin-top: 2rem;
}
.guide-progress { margin-bottom: 1.75rem; }
.guide-progress__bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.guide-progress__bar span {
  display: block;
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease);
}
.guide-progress__steps {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
}
.guide-progress__step.active { color: var(--navy); }
.guide-progress__step.done { color: var(--gold-dark); }
.guide-wizard__hint {
  text-align: center;
  color: var(--gray-500);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.guide-options--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.guide-options--list { display: flex; flex-direction: column; gap: 0.5rem; }
.guide-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.guide-option:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.15);
  transform: translateY(-2px);
}
.guide-option__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}
.guide-option strong { font-size: 0.9rem; color: var(--navy); }
.guide-option small { font-size: 0.75rem; color: var(--gray-500); line-height: 1.4; }
.guide-option--row {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  padding: 1rem 1.25rem;
}
.guide-option__chevron { color: var(--gold); font-size: 1.25rem; }
.guide-back {
  display: block;
  margin: 1.25rem auto 0;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
}
.guide-back:hover { color: var(--navy); }
.guide-result { text-align: center; padding: 0.5rem 0; }
.guide-result__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.guide-result h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.guide-result__service {
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.guide-result__note { color: var(--gray-500); font-size: 0.9rem; margin: 0 0 1.5rem; }
.guide-result__actions { display: flex; flex-direction: column; gap: 0.75rem; max-width: 320px; margin: 0 auto; }

.hero-chip--gold {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-bright);
}

/* Multi-step form */
.modal__dialog--wide { width: min(560px, 100%); }
.form-progress { margin-bottom: 1.5rem; }
.form-progress__bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.form-progress__bar span {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  border-radius: var(--radius-pill);
  transition: width 0.35s var(--ease);
}
.form-progress__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
}
.form-progress__step.active { color: var(--navy); }
.form-progress__step.done { color: var(--gold-dark); }
.form-steps { min-height: 200px; position: relative; }
.form-step {
  display: none;
  animation: formFadeIn 0.35s var(--ease);
}
.form-step.active { display: block; }
@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step__lead {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0 0 1.25rem;
}
.form-field {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem 1rem 0.55rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: border-color 0.2s, background 0.2s;
}
.form-field textarea { padding-top: 1.25rem; min-height: 120px; resize: vertical; }
.form-field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--gray-500);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}
body[dir="rtl"] .form-field label { left: auto; right: 1rem; }
.form-field--textarea label { top: 1rem; transform: none; }
.form-field input:focus,
.form-field textarea:focus,
.form-field input:not(:placeholder-shown),
.form-field textarea:not(:placeholder-shown) {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
  transform: none;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.form-field--textarea textarea:focus + label,
.form-field--textarea textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
}
.form-field--phone { display: flex; align-items: stretch; }
.form-field--phone .form-field__prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 2px solid var(--navy);
  border-right: none;
}
body[dir="rtl"] .form-field--phone .form-field__prefix {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-right: 2px solid var(--navy);
  border-left: none;
}
.form-field--phone input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex: 1;
}
body[dir="rtl"] .form-field--phone input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.form-field--phone label { left: 4.5rem; }
body[dir="rtl"] .form-field--phone label { right: 4.5rem; left: auto; }
.input--error { border-color: #dc2626 !important; animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 1rem;
  color: var(--navy);
}
.upload-box__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem 0.75rem;
  min-height: 108px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}
.dropzone input[type="file"],
.dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.dropzone:hover { border-color: var(--gold); background: var(--gold-light); }
.dropzone--drag {
  border-color: var(--gold);
  background: var(--gold-light);
}
.dropzone--filled {
  border-style: solid;
  border-color: var(--green);
  background: rgba(13, 122, 95, 0.06);
}
.dropzone--error {
  border-color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.06) !important;
}
.dropzone__text {
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
  max-width: 100%;
}
.dropzone__hint {
  display: none;
  font-size: 0.72rem;
  color: var(--gray-400);
}
.review-docs {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.review-doc {
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.4;
}
.review-doc strong {
  display: inline-block;
  word-break: break-word;
}
.review-doc--ok strong { color: var(--green); }
.review-doc--missing strong { color: #dc2626; }
.form-wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}
.form-wizard-nav .btn--gold { margin-left: auto; }
body[dir="rtl"] .form-wizard-nav .btn--gold { margin-left: 0; margin-right: auto; }
.review-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-200);
}
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.review-row:last-child { border-bottom: none; }
.review-row span { color: var(--gray-500); }
.review-row strong { text-align: right; color: var(--navy); }
.review-row--block { flex-direction: column; }
.review-row--block p { margin: 0.35rem 0 0; color: var(--navy); line-height: 1.5; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 33, 0.7);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s;
  pointer-events: auto;
}
.modal.open .modal__dialog { transform: translateY(0); }
.modal__dialog--wide { width: min(560px, 100%); }
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-50);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--gray-500);
  line-height: 1;
}
body[dir="rtl"] .modal__close { right: auto; left: 1rem; }
.modal__dialog h3 {
  margin: 0 2rem 1.25rem 0;
  font-size: 1.1rem;
  line-height: 1.4;
}
body[dir="rtl"] .modal__dialog h3 { margin: 0 0 1.25rem 2rem; }

/* AI Panel */
.ai-panel {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: min(360px, calc(100vw - 48px));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  max-height: 420px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
body[dir="rtl"] .ai-panel { left: auto; right: 24px; }
.ai-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ai-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
}
.ai-panel__header button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
}
.ai-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  min-height: 180px;
  max-height: 260px;
}
.ai-msg {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.ai-msg--bot {
  background: var(--gray-50);
  color: var(--navy);
}
.ai-msg--typing {
  opacity: 0.7;
  font-style: italic;
}
.ai-msg--user {
  background: var(--gold-light);
  color: var(--navy);
  margin-left: 2rem;
}
body[dir="rtl"] .ai-msg--user { margin-left: 0; margin-right: 2rem; }
.ai-panel__input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--gray-200);
}
.ai-panel__input input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}
.ai-panel__input button {
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
}

/* FABs */
.fab {
  position: fixed;
  z-index: 1400;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.08); }
.fab--ai {
  bottom: 24px;
  left: 24px;
  background: var(--navy);
  color: var(--white);
}
body[dir="rtl"] .fab--ai { left: auto; right: 24px; }
.fab-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
body[dir="rtl"] .fab-stack { right: auto; left: 24px; }
.fab--whatsapp { background: var(--whatsapp); color: var(--white); position: static; }
.fab--phone { background: var(--gold); color: var(--white); position: static; }

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Visa section polish */
.visa { position: relative; }
.visa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .partners__slide { animation: none; }
}

/* Responsive */
.lang-switch--nav {
  display: none;
}
@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 1.5rem;
    gap: 0.35rem;
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }
  body[dir="rtl"] .header__nav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.3);
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__nav .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
  .header__menu-btn { display: flex; }
  .header__actions .lang-switch--header { display: none; }
  .header__nav .lang-switch--nav {
    display: flex;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: center;
    gap: 0.5rem;
  }
  .header__nav .lang-switch--nav .lang-switch__btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
  }
  .header__actions .btn span { display: none; }
  .hero__layout {
    justify-content: center;
    min-height: auto;
    text-align: center;
  }
  .hero__left {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero__title,
  .hero__subtitle {
    max-width: none;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 8%, rgba(255, 255, 255, 0.82) 52%, rgba(255, 255, 255, 0.9) 100%);
  }
  .stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .feedback__ratings {
    grid-template-columns: 1fr;
    margin-top: -1.5rem;
  }
  .feedback__hero { padding-bottom: 5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1rem);
  }
  .hero__brand-logo {
    max-height: 210px;
  }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn {
    width: 100%;
  }
  .header__logo-img { height: 44px; width: 44px; max-width: 44px; padding: 0; }
  .modal { padding: 0.5rem; align-items: flex-end; }
  .modal__dialog,
  .modal__dialog--wide {
    width: 100%;
    max-height: 92vh;
    padding: 1.15rem 1rem 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .modal__dialog h3 {
    font-size: 1rem;
    margin-right: 2rem;
  }
  .form-progress__steps {
    gap: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }
  .form-wizard-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .form-wizard-nav .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }
  .upload-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .upload-box__label {
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
  }
  .upload-step-hint {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }
  .dropzone,
  .upload-box .dropzone {
    min-height: 118px;
    padding: 1.1rem 0.85rem;
  }
  .dropzone__text { font-size: 0.82rem; }
  .dropzone__hint { display: block; }
  .form-section-title {
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
  }
  .review-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .review-row strong { text-align: left; }
  body[dir="rtl"] .review-row strong { text-align: right; }
}
