@font-face {
  font-family: 'IRANSansXFaNum';
  src: url('font/IRANSansXFaNum-Regular.woff2') format('woff2'),
    url('font/IRANSansXFaNum-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #273164;
  --primary-700: #1f2752;
  --primary-600: #35427a;
  --secondary: #19c670;
  --secondary-700: #13ad61;

  --bg-page: #f6f8fc;
  --bg-surface: #ffffff;
  --bg-subtle: #f0f3fa;

  --text-900: #1f2a4d;
  --text-700: #3a456d;
  --text-600: #5d678a;
  --text-inverse: #f7f9ff;

  --border: rgba(31, 42, 77, 0.14);
  --border-strong: rgba(31, 42, 77, 0.22);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;

  --font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --h1: clamp(2rem, 4vw, 3.1rem);
  --h2: clamp(1.6rem, 2.8vw, 2.2rem);
  --h3: clamp(1.1rem, 1.5vw, 1.32rem);
  --body: 1rem;
  --small: 0.9rem;

  --dur-fast: 160ms;
  --dur-base: 220ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--body);
  line-height: 1.85;
  color: var(--text-700);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 64px;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-white {
  color: #fff !important;
}

.rounded-3xl {
  border-radius: var(--radius-xl) !important;
}

.p-6 {
  padding: var(--space-6) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text-900);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 94vw);
}

section {
  padding: var(--space-10) 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.section-title {
  font-size: var(--h2);
  color: var(--text-900);
}

.section-header p,
.steps-intro,
.showcase-intro {
  margin-top: var(--space-3);
  color: var(--text-600);
  line-height: 1.9;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
}

.navbar .container {
  min-height: 64px;
  align-items: center;
}

.navbar.scrolled {
  border-bottom-color: var(--border-strong);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.navbar-brand-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(5.9);
  transform-origin: center;
  filter: contrast(1.2) saturate(1.15);
  -webkit-filter: contrast(1.2) saturate(1.15);
  image-rendering: -webkit-optimize-contrast;
}

.navbar-brand {
  filter: drop-shadow(0 0.5px 0 rgba(31, 42, 77, 0.28));
}

.nav-link {
  color: var(--text-700) !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 6px 10px !important;
  border-radius: 999px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.navbar .btn-nav {
  font-size: 0.85rem !important;
  padding: 8px 14px !important;
  min-height: 38px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-900) !important;
  background: #eaf0fb;
}

.btn {
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.btn:focus-visible,
.nav-link:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.btn-nav,
.btn-hero-primary,
.btn-contact,
.btn-submit-custom {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: #fff;
}

.btn-nav:hover,
.btn-hero-primary:hover,
.btn-contact:hover,
.btn-submit-custom:hover {
  background: var(--secondary-700);
  border-color: var(--secondary-700);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background: #fff;
  border: 1px solid var(--primary-600);
  color: var(--primary);
}

.btn-hero-secondary:hover {
  background: #f5f8ff;
}

.hero-section {
  background: var(--primary-700);
  color: var(--text-inverse);
  padding-top: 116px;
  padding-bottom: 84px;
}

.hero-section .row {
  align-items: center;
}

.hero-section .col-lg-6:first-child {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: clamp(10px, 1.6vw, 22px);
}

.hero-section .col-lg-6:last-child {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: clamp(10px, 1.6vw, 22px);
}

.hero-content {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: max-content;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 11px;
  color: rgba(247, 249, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-badge i {
  font-size: 0.78rem;
  color: #9ff1c8;
}

.hero-badge span {
  font-size: 0.8rem;
  line-height: 1.7;
}

.hero-title {
  font-size: var(--h1);
  color: var(--text-inverse);
  line-height: 1.34;
  text-wrap: balance;
}

.hero-title br {
  display: none;
}

.hero-title span {
  color: var(--secondary);
}

.hero-description,
.hero-description-secondary {
  color: rgba(247, 249, 255, 0.93);
  max-width: 112ch;
  font-size: 1.02rem;
  line-height: 1.95;
  text-wrap: pretty;
}

.hero-description-secondary {
  color: rgba(235, 241, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.hero-buttons-mobile {
  display: none;
}

.btn-hero {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.hero-card {
  width: min(100%, 820px);
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-icon-wrapper {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: #111938;
}

.hero-motion-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-float {
  display: none;
}

.trust-strip {
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.trust-chip {
  min-height: 62px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-700);
  font-weight: 600;
  background: #fff;
}

.trust-chip i {
  color: var(--secondary-700);
}

.features-section,
.professions-section {
  background: #ffffff;
}

.steps-section,
.faq-section {
  background: var(--bg-page);
}

.features-bg {
  display: none;
}

.features-subtitle-box {
  margin-top: var(--space-2);
}

.features-subtitle-box span {
  display: inline-block;
  background: #eaf0fb;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--small);
  font-weight: 600;
}

.features-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}

.features-scroll-dots {
  display: none;
}

.feature-simple-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-surface);
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.feature-simple-item:hover,
.feature-simple-item:focus-within {
  transform: translateY(-2px) !important;
  background: #f5f8ff !important;
  border-color: rgba(39, 49, 100, 0.28) !important;
  box-shadow: none !important;
}

.feature-simple-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f7f9ff;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.feature-simple-icon i {
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-simple-item:hover .feature-simple-icon,
.feature-simple-item:focus-within .feature-simple-icon {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: scale(1.04) !important;
  box-shadow: none !important;
}

.feature-simple-item:hover .feature-simple-icon i,
.feature-simple-item:focus-within .feature-simple-icon i {
  color: #ffffff !important;
  transform: none !important;
  filter: none !important;
}

.feature-simple-item h3 {
  font-size: 0.88rem;
  margin-bottom: 2px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-simple-item p {
  color: var(--text-600);
  font-size: 0.82rem;
  line-height: 1.7;
}

.steps-modern {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.steps-line-progress {
  position: absolute;
  top: 32px;
  right: 14%;
  left: 14%;
  height: 1px;
  background: var(--border);
}

.step-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--bg-surface);
}

.step-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.step-card-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  background: #eef2fd;
}

.step-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-700);
  background: #f7f9ff;
}

.step-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.step-card-body p {
  color: var(--text-600);
  font-size: var(--small);
  line-height: 1.9;
}

.steps-cta-row {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

@media (min-width: 993px) {
  .steps-section .container {
    width: min(1080px, 92vw);
  }

  .steps-section .section-header {
    margin-bottom: 24px;
  }

  .steps-section .section-title {
    font-size: clamp(1.7rem, 2.2vw, 2rem);
    line-height: 1.32;
  }

  .steps-section .steps-intro {
    max-width: 72ch;
    margin-inline: auto;
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .steps-modern {
    gap: 16px;
    align-items: stretch;
  }

  .steps-line-progress {
    right: 11%;
    left: 11%;
    top: 34px;
  }

  .step-card {
    min-height: 220px;
    padding: 18px;
    border-radius: 14px;
    transition: border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  }

  .step-card:hover {
    border-color: rgba(39, 49, 100, 0.3);
    transform: translateY(-2px);
  }

  .step-card-head {
    margin-bottom: 12px;
  }

  .step-card-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .step-card-icon {
    width: 40px;
    height: 40px;
  }

  .step-card-icon i {
    font-size: 1.1rem;
  }

  .step-card-body h3 {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 6px;
  }

  .step-card-body p {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .steps-cta-row {
    margin-top: 22px;
    gap: 12px;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: center;
  align-items: start;
}

.showcase-section {
  background: var(--bg-page);
  padding-top: 56px;
  padding-bottom: 56px;
}

.showcase-section .section-title,
.showcase-section .showcase-intro {
  color: var(--text-900);
}

.showcase-section .section-title {
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.showcase-section .showcase-intro {
  color: var(--text-600);
  font-size: 0.94rem;
  line-height: 1.85;
}

@media (min-width: 993px) {
  .showcase-section .container {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 20px;
    align-items: start;
  }

  .showcase-section .section-header {
    grid-column: 1;
    text-align: right;
    max-width: none;
    margin: 0;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .showcase-section .showcase-grid {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-items: start;
    width: min(100%, 560px);
  }

  .showcase-section .showcase-card {
    width: 100%;
    max-width: 272px;
    padding: 6px;
  }

  .showcase-section .showcase-media {
    aspect-ratio: 4 / 5;
  }
}

.showcase-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  background: var(--bg-surface);
  width: min(100%, 320px);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 49, 100, 0.28);
}

.showcase-media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 5;
  background: #eef3ff;
  border: 1px solid rgba(39, 49, 100, 0.12);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
}

.showcase-preview-icon {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 49, 100, 0.8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.faq-title-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--bg-surface);
  text-align: center;
}

.faq-header-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  color: var(--secondary-700);
  font-size: 1.35rem;
  background: #f7f9ff;
}

.faq-main-title {
  font-size: 1.45rem;
}

.faq-content .accordion {
  display: grid;
  gap: var(--space-3);
  counter-reset: faqCounter;
}

.faq-content .accordion-item {
  counter-increment: faqCounter;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
}

.faq-content .accordion-button {
  background: #fff;
  color: var(--text-900);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-content .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #f9fbff;
  box-shadow: none;
}

.faq-content .accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}

.faq-number {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.84rem;
  flex-shrink: 0;
}

.faq-number::before {
  content: counter(faqCounter);
}

.faq-question {
  flex: 1;
  text-align: right;
}

.faq-content .accordion-body {
  padding: 14px 18px 18px;
  color: var(--text-600);
  line-height: 1.95;
  font-size: 0.95rem;
}

.professions-carousel {
  position: relative;
}

.professions-shell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: 12px;
}

.professions-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.professions-wrapper::-webkit-scrollbar {
  display: none;
}

.professions-wrapper.dragging {
  cursor: grabbing;
}

.professions-track {
  display: flex;
  gap: 16px;
  align-items: center;
}

.professions-img,
.profession-card {
  flex: 0 0 auto;
}

.professions-img {
  width: 204px;
  height: 152px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  object-fit: cover;
}

.profession-card {
  min-width: 196px;
  min-height: 164px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  text-align: center;
}

.profession-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f9ff;
  overflow: hidden;
}

.profession-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profession-card h3 {
  font-size: 0.9rem;
  line-height: 1.5;
}

.professions-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.professions-arrow.prev {
  right: 8px;
}

.professions-arrow.next {
  left: 8px;
}

.contact-section {
  background: var(--primary-700);
  color: var(--text-inverse);
}

.contact-section .section-title,
.contact-section .section-subtitle,
.contact-section p,
.contact-section label {
  color: var(--text-inverse);
}

.footer {
  background: var(--primary-700);
  color: rgba(245, 248, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: var(--space-9) 0 var(--space-5);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.footer-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 4px;
}

.footer-description {
  color: rgba(235, 240, 255, 0.86);
  max-width: 55ch;
}

.footer-title {
  font-size: 1.04rem;
  margin-bottom: var(--space-3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(235, 240, 255, 0.92);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  color: rgba(235, 240, 255, 0.76);
  font-size: var(--small);
}

.consultation-modal {
  border: 1px solid #d7deee !important;
  border-radius: 20px !important;
  overflow: hidden;
  background: #ffffff !important;
}

#consultationModal .modal-dialog {
  max-width: 560px;
}

.consultation-modal .modal-header {
  min-height: 56px;
  padding: 10px 14px !important;
  border: none !important;
  border-bottom: 1px solid #e7ecf8 !important;
  background: #f7f9ff !important;
  position: relative;
}

.consultation-modal .modal-body {
  padding: 22px 24px 24px !important;
}

.btn-close-modal {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid #d7deee !important;
  color: var(--primary) !important;
}

.btn-close-modal:hover {
  background: #f1f4fb !important;
  transform: none !important;
}

.modal-title-custom {
  color: var(--text-900) !important;
  font-size: 1.2rem !important;
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--text-600) !important;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-group-custom {
  margin-bottom: 14px;
}

.form-group-custom label {
  color: var(--text-700) !important;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea,
#registerModal .form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  background: #fff !important;
  color: var(--text-700) !important;
  box-shadow: none !important;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus,
#registerModal .form-control:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 2px rgba(25, 198, 112, 0.15) !important;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder,
#registerModal .form-control::placeholder {
  color: #8a93b1;
}

.select-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235d678a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
}

.textarea-wrapper textarea {
  min-height: 100px;
  resize: vertical;
}

.btn-submit-custom {
  width: 100%;
  min-height: 48px;
  border-radius: 12px !important;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.consultation-feedback {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
}

.consultation-feedback.is-success,
.consultation-feedback.is-error {
  display: block;
}

.consultation-feedback.is-success {
  color: #0f5132;
  background: #e8f7ef;
  border: 1px solid #b9e6cc;
}

.consultation-feedback.is-error {
  color: #842029;
  background: #fbe9ec;
  border: 1px solid #f1c2c7;
}

#registerModal .modal-content,
.lightbox-modal .modal-content {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  background: #fff !important;
}

.lightbox-modal .modal-content {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.lightbox-modal .modal-body {
  background: transparent !important;
}

#registerModal .modal-header {
  background: var(--primary) !important;
  border: none !important;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 999px;
  opacity: 1;
  z-index: 100;
  border: 1px solid var(--border) !important;
}

.lightbox-img {
  border-radius: var(--radius-lg) !important;
}

@media (max-width: 992px) {
  section {
    padding: var(--space-9) 0;
  }

  .navbar-brand {
    width: 22px;
    height: 22px;
  }

  .hero-section {
    padding-top: 88px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-section .col-lg-6:first-child,
  .hero-section .col-lg-6:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-description,
  .hero-description-secondary {
    max-width: 100%;
  }

  .trust-strip-grid,
  .steps-modern,
  .showcase-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    justify-items: center;
  }

  .showcase-card {
    width: min(100%, 360px);
  }

  .features-grid-simple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .steps-line-progress {
    display: none;
  }

  .faq-title-section {
    text-align: right;
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .faq-header-icon {
    margin: 0;
  }

  .professions-img {
    width: 180px;
    height: 134px;
  }

  .profession-card {
    min-width: 176px;
    min-height: 152px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .navbar .container {
    min-height: 60px;
  }

  .navbar-brand {
    width: 24px;
    height: 24px;
    overflow: visible;
    margin-right: 8px;
  }

  .navbar-brand-icon {
    width: 100%;
    height: 100%;
    transform: scale(5.2);
    transform-origin: right center;
    clip-path: none;
    filter: contrast(1.15) saturate(1.1);
    -webkit-filter: contrast(1.15) saturate(1.1);
  }

  .hero-section {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .showcase-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-title {
    font-size: clamp(1.72rem, 7.6vw, 2.2rem);
    line-height: 1.42;
  }

  .hero-description,
  .hero-description-secondary {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .hero-content .hero-buttons {
    display: none !important;
  }

  .hero-buttons-mobile {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: 14px;
  }

  .hero-buttons-mobile .btn-hero {
    width: 100%;
  }

  .hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-hero,
  .btn-nav,
  .btn-contact,
  .btn-submit-custom {
    min-height: 46px;
    justify-content: center;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .section-title {
    font-size: clamp(1.45rem, 6.4vw, 1.86rem);
  }

  .feature-simple-item,
  .step-card,
  .showcase-card,
  .faq-content .accordion-item,
  .faq-title-section,
  .professions-shell {
    border-radius: var(--radius-md);
  }

  .showcase-card {
    width: 100%;
    max-width: 340px;
    padding: 8px;
  }

  .showcase-media {
    border-radius: 10px;
  }

  .professions-arrow {
    display: none;
  }

  .professions-img {
    width: 58vw;
    height: 42vw;
    min-height: 120px;
  }

  .profession-card {
    min-width: 56vw;
    min-height: 136px;
  }

  .features-grid-simple {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .features-grid-simple::-webkit-scrollbar {
    display: none;
  }

  .features-grid-simple .feature-simple-item {
    min-width: 78vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .features-scroll-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }

  .features-scroll-dots .features-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: #b8c2df;
    padding: 0;
    transition: width var(--dur-fast) ease, background-color var(--dur-fast) ease;
  }

  .features-scroll-dots .features-dot.is-active {
    width: 18px;
    background: var(--primary);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start !important;
  }

  .consultation-modal .modal-body {
    padding: 16px !important;
  }

  #consultationModal .modal-dialog {
    margin: 12px;
  }
}

@media (max-width: 390px) {
  body {
    padding-top: 56px;
  }

  .navbar .container {
    min-height: 56px;
  }

  .navbar-brand {
    width: 22px;
    height: 22px;
    overflow: visible;
    margin-right: 6px;
  }

  .navbar-brand-icon {
    width: 100%;
    height: 100%;
    transform: scale(4.8);
    transform-origin: right center;
    clip-path: none;
  }

  .footer-brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-section {
    padding-top: 74px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
    line-height: 1.45;
  }

  .hero-description,
  .hero-description-secondary {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .hero-card {
    padding: 8px;
  }

  .hero-icon-wrapper {
    border-radius: 12px;
  }

  .features-grid-simple {
    gap: 8px;
  }

  .features-grid-simple .feature-simple-item {
    min-width: 84vw;
  }

  .features-scroll-dots {
    gap: 5px;
    margin-top: 8px;
  }

  .professions-img {
    width: 70vw;
    height: 50vw;
    min-height: 110px;
  }

  .profession-card {
    min-width: 66vw;
    min-height: 128px;
  }
}

/* Final clean override: Showcase section */
.showcase-section {
  background: #f6f8fc !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.showcase-section .section-header {
  margin-bottom: 14px !important;
}

.showcase-section .section-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
  line-height: 1.35 !important;
  color: var(--text-900) !important;
}

.showcase-section .showcase-intro {
  font-size: 0.9rem !important;
  color: var(--text-600) !important;
  line-height: 1.75 !important;
}

.showcase-section .showcase-grid {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  justify-items: center;
}

.showcase-section .showcase-card {
  width: 100% !important;
  max-width: 300px !important;
  padding: 6px !important;
  border-radius: 12px !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
}

.showcase-section .showcase-media {
  border-radius: 10px !important;
  aspect-ratio: 4 / 5 !important;
  background: #eef2fb !important;
  border: 1px solid rgba(31, 42, 77, 0.12) !important;
}

.showcase-section .showcase-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.showcase-section .showcase-preview-icon {
  bottom: 8px !important;
  left: 8px !important;
  width: 30px !important;
  height: 30px !important;
}

@media (min-width: 993px) {
  .showcase-section .container {
    display: block !important;
    width: min(980px, 92vw) !important;
  }

  .showcase-section .section-header {
    text-align: right !important;
    max-width: 620px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 768px) {
  .showcase-section .showcase-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    gap: 10px !important;
  }

  .showcase-section .showcase-card {
    max-width: 320px !important;
  }
}

/* FAQ refinement: no title background, centered icon above questions */
.faq-layout {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  max-width: 860px;
  margin-inline: auto;
}

.faq-title-section {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.faq-header-icon {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 10px !important;
  border-radius: 999px;
  border: 1px solid rgba(39, 49, 100, 0.22) !important;
  background: #ffffff !important;
  color: var(--primary) !important;
  font-size: 1.1rem !important;
  position: relative;
}

.faq-header-icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(39, 49, 100, 0.14);
  pointer-events: none;
}

.faq-main-title {
  font-size: clamp(1.3rem, 2vw, 1.55rem) !important;
  color: var(--text-900);
}

/* Final professions section fix: proper size + horizontal scroll */
.professions-section {
  background: #ffffff;
}

.professions-carousel {
  max-width: 980px;
  margin: 0 auto;
}

.professions-shell {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.professions-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.professions-track {
  display: flex;
  gap: 12px;
  align-items: center;
}

.professions-img {
  width: clamp(156px, 15.5vw, 188px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.profession-card {
  min-width: 170px;
  min-height: 138px;
  padding: 10px;
}

.profession-icon {
  width: 56px;
  height: 56px;
}

.professions-arrow {
  width: 34px;
  height: 34px;
}

@media (max-width: 992px) {
  .professions-track {
    gap: 10px;
  }

  .professions-img {
    width: clamp(148px, 25vw, 176px);
  }

  .profession-card {
    min-width: 164px;
    min-height: 132px;
  }
}

@media (max-width: 768px) {
  .professions-shell {
    padding: 6px;
  }

  .professions-img {
    width: 56vw;
    min-width: 150px;
    max-width: 210px;
    padding: 4px;
  }

  .profession-card {
    min-width: 52vw;
    min-height: 126px;
  }
}

/* Showcase refinement v2 */
.showcase-section {
  background: #ffffff !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

@media (min-width: 993px) {
  .showcase-section .container {
    width: min(1020px, 92vw) !important;
    display: grid !important;
    grid-template-columns: 0.88fr 1.12fr !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .showcase-section .section-header {
    margin: 0 !important;
    max-width: 360px !important;
    text-align: right !important;
    justify-self: start;
  }

  .showcase-section .showcase-grid {
    max-width: 560px !important;
    margin: 0 !important;
    gap: 8px !important;
  }

  .showcase-section .showcase-card {
    max-width: 268px !important;
    padding: 5px !important;
    border-radius: 10px !important;
  }
}

.showcase-section .section-title {
  font-size: clamp(1.45rem, 2vw, 1.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  color: var(--text-900) !important;
}

.showcase-section .showcase-intro {
  font-size: 0.9rem !important;
  line-height: 1.75 !important;
  color: var(--text-600) !important;
  margin-top: 8px !important;
}

.showcase-section .showcase-card {
  border-color: rgba(31, 42, 77, 0.16) !important;
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease !important;
}

.showcase-section .showcase-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(39, 49, 100, 0.32) !important;
}

.showcase-section .showcase-media {
  aspect-ratio: 3 / 4 !important;
  border-radius: 9px !important;
  background: #f2f5fd !important;
  border: 1px solid rgba(31, 42, 77, 0.14) !important;
}

.showcase-section .showcase-img {
  object-fit: cover !important;
  object-position: top center !important;
}

.showcase-section .showcase-preview-icon {
  width: 28px !important;
  height: 28px !important;
  left: 7px !important;
  bottom: 7px !important;
  background: rgba(31, 42, 77, 0.82) !important;
}

@media (prefers-reduced-motion: reduce) {

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

/* Professions final polish v2 */
.professions-section {
  background: #f6f8fc !important;
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

.professions-section .section-header {
  margin-bottom: 16px !important;
}

.professions-carousel {
  max-width: 980px;
  margin: 0 auto;
}

.professions-shell {
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 8px !important;
}

.professions-wrapper {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x !important;
  padding-bottom: 4px;
  cursor: grab;
}

.professions-wrapper.dragging {
  cursor: grabbing;
}

.professions-track {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: max-content;
}

.professions-track > * {
  flex: 0 0 auto;
}

.professions-img {
  width: 160px !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 4px !important;
  scroll-snap-align: start;
}

.professions-progress {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.professions-progress-track {
  width: min(180px, 45vw);
  height: 4px;
  border-radius: 999px;
  background: #d7deee;
  position: relative;
  overflow: hidden;
}

.professions-progress-thumb {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 34px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateX(0);
  transition: transform 120ms linear;
}

.professions-arrow {
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  border: 1px solid var(--border) !important;
  background: #ffffff !important;
}

.professions-arrow.prev {
  right: 6px !important;
}

.professions-arrow.next {
  left: 6px !important;
}

@media (max-width: 992px) {
  .professions-img {
    width: 152px !important;
  }
}

@media (max-width: 768px) {
  .professions-shell {
    padding: 6px !important;
  }

  .professions-track {
    gap: 8px !important;
  }

  .professions-img {
    width: 52vw !important;
    min-width: 136px !important;
    max-width: 176px !important;
  }

  .professions-progress-track {
    width: min(160px, 56vw);
  }
}

/* Professions refinement v3: compact, draggable, clear progress */
.professions-section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.professions-carousel {
  max-width: 1040px !important;
}

.professions-shell {
  border: 1px solid #d9e0ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 10px 44px !important;
  position: relative;
  overflow: hidden;
}

.professions-wrapper {
  cursor: grab;
  scrollbar-width: none;
}

.professions-wrapper::-webkit-scrollbar {
  display: none;
}

.professions-wrapper.dragging {
  cursor: grabbing;
}

.professions-track {
  gap: 12px !important;
  padding: 2px 0 !important;
}

.professions-img {
  width: clamp(142px, 10.5vw, 164px) !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: #fbfcff !important;
  border: 1px solid #d9e0ef !important;
  border-radius: 10px !important;
  padding: 5px !important;
}

.professions-arrow {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #cfd7e8 !important;
  background: #ffffff !important;
  color: var(--primary-dark) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.professions-arrow:hover {
  background: #f5f8ff !important;
}

.professions-arrow.prev {
  right: 8px !important;
}

.professions-arrow.next {
  left: 8px !important;
}

.professions-progress {
  margin-top: 10px !important;
}

.professions-progress-track {
  width: min(210px, 50vw) !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #dde4f2 !important;
}

.professions-progress-thumb {
  right: auto !important;
  left: 0 !important;
  width: 40px !important;
  background: #1f2a4d !important;
}

@media (max-width: 992px) {
  .professions-shell {
    padding: 8px 40px !important;
  }

  .professions-img {
    width: clamp(136px, 20vw, 156px) !important;
  }
}

@media (max-width: 768px) {
  .professions-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .professions-shell {
    padding: 6px 8px 8px !important;
    border-radius: 12px !important;
  }

  .professions-track {
    gap: 10px !important;
  }

  .professions-img {
    width: clamp(132px, 46vw, 168px) !important;
    padding: 4px !important;
  }

  .professions-arrow {
    display: none !important;
  }

  .professions-progress-track {
    width: min(180px, 58vw) !important;
  }
}

/* Professions refinement v4: tighter composition */
.professions-section .section-header {
  margin-bottom: 14px !important;
}

.professions-section .section-title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important;
}

.professions-carousel {
  max-width: 980px !important;
}

.professions-shell {
  padding: 8px 40px !important;
  border-radius: 12px !important;
}

.professions-track {
  gap: 10px !important;
}

.professions-img {
  width: clamp(134px, 9.8vw, 152px) !important;
  border-radius: 9px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.professions-arrow {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
}

.professions-progress {
  margin-top: 8px !important;
}

.professions-progress-track {
  width: min(188px, 46vw) !important;
  height: 4px !important;
}

.professions-progress-thumb {
  width: 34px !important;
}

@media (max-width: 992px) {
  .professions-shell {
    padding: 8px 36px !important;
  }

  .professions-img {
    width: clamp(130px, 18vw, 148px) !important;
  }
}

@media (max-width: 768px) {
  .professions-section .section-header {
    margin-bottom: 10px !important;
  }

  .professions-shell {
    padding: 6px 8px 8px !important;
  }

  .professions-img {
    width: clamp(126px, 44vw, 154px) !important;
  }

  .professions-progress-track {
    width: min(170px, 54vw) !important;
  }
}

/* Professions refinement v5: logo-strip style (match reference) */
.professions-section {
  background: #eef0f4 !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

.professions-carousel {
  max-width: 1240px !important;
}

.professions-shell {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 52px !important;
  overflow: visible !important;
}

.professions-wrapper {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  padding: 0 !important;
}

.professions-track {
  gap: 18px !important;
  align-items: center !important;
}

.professions-img {
  width: 250px !important;
  height: 250px !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 20px !important;
  padding: 22px !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 0 0 auto !important;
}

.professions-arrow {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 2px solid #f2b705 !important;
  background: transparent !important;
  color: #f2b705 !important;
  box-shadow: none !important;
}

.professions-arrow:hover {
  background: #fff6d9 !important;
}

.professions-arrow.prev {
  right: 10px !important;
}

.professions-arrow.next {
  left: 10px !important;
}

.professions-progress {
  display: none !important;
}

@media (max-width: 992px) {
  .professions-shell {
    padding: 0 40px !important;
  }

  .professions-track {
    gap: 14px !important;
  }

  .professions-img {
    width: clamp(164px, 30vw, 208px) !important;
    height: clamp(90px, 17vw, 114px) !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 768px) {
  .professions-shell {
    padding: 0 !important;
  }

  .professions-track {
    gap: 10px !important;
    padding: 0 6px !important;
  }

  .professions-img {
    width: clamp(156px, 56vw, 194px) !important;
    height: clamp(86px, 33vw, 108px) !important;
    border-radius: 16px !important;
    padding: 10px 12px !important;
  }
}

/* Final fixed size for last section images (user request) */
.professions-img {
  width: 170px !important;
  height: 170px !important;
  flex: 0 0 170px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  clip-path: inset(0 round 20px);
  -webkit-clip-path: inset(0 round 20px);
  object-fit: cover !important;
  display: block !important;
}

/* Professions final behavior/style alignment */
#professions .section-header {
  margin-bottom: clamp(20px, 2.4vw, 30px) !important;
}

#professions .professions-shell {
  padding: 0 46px !important;
}

#professions .professions-track {
  gap: 14px !important;
}

#professions .professions-arrow {
  width: 46px !important;
  height: 46px !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3;
  border-radius: 14px !important;
  border: 1px solid rgba(39, 49, 100, 0.2) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 255, 0.96) 100%) !important;
  color: var(--primary) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 42, 77, 0.18), 0 2px 6px rgba(31, 42, 77, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

#professions .professions-arrow:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.045) !important;
  box-shadow: 0 16px 30px rgba(31, 42, 77, 0.28), 0 3px 8px rgba(31, 42, 77, 0.14) !important;
}

#professions .professions-arrow:active {
  transform: translateY(-50%) scale(0.97) !important;
}

#professions .professions-arrow:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 198, 112, 0.28), 0 14px 26px rgba(31, 42, 77, 0.22) !important;
}

#professions .professions-arrow i {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}

#professions .professions-arrow.prev {
  right: 6px !important;
}

#professions .professions-arrow.next {
  left: 6px !important;
}

@media (max-width: 768px) {
  #professions .section-header {
    margin-bottom: 16px !important;
  }

  #professions .professions-shell {
    padding: 0 34px !important;
  }

  #professions .professions-arrow {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }
}

/* Mobile polish: navbar toggler + FAQ */
@media (max-width: 991.98px) {
  .navbar-toggler {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(39, 49, 100, 0.24) !important;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(25, 198, 112, 0.22) !important;
  }

  .navbar-light .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2825,42,77,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar-collapse {
    margin-top: 10px;
    border: 1px solid rgba(39, 49, 100, 0.14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 42, 77, 0.1);
    padding: 10px;
  }

  .navbar-nav {
    gap: 4px;
  }

  .navbar-nav .nav-item {
    margin: 0 !important;
  }

  .navbar-nav .nav-link {
    border-radius: 10px;
    padding: 10px 12px !important;
    font-size: 0.95rem;
  }

  .navbar-nav .nav-link i {
    font-size: 0.92rem;
  }

  .navbar .d-flex {
    margin-top: 8px;
  }

  .navbar .btn-nav {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #faq {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  #faq .faq-layout {
    gap: 12px !important;
  }

  #faq .faq-title-section {
    border: 1px solid rgba(39, 49, 100, 0.14) !important;
    border-radius: 14px !important;
    background: #fff !important;
    padding: 12px 14px !important;
    text-align: right !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #faq .faq-header-icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    font-size: 1rem !important;
  }

  #faq .faq-header-icon::before {
    display: none;
  }

  #faq .faq-main-title {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
  }

  #faq .faq-content .accordion {
    gap: 8px !important;
  }

  #faq .faq-content .accordion-item {
    border-radius: 12px !important;
  }

  #faq .faq-content .accordion-button {
    padding: 12px !important;
    font-size: 0.94rem !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  #faq .faq-content .accordion-button::after {
    margin-right: 8px !important;
    transform: scale(0.9);
  }

  #faq .faq-number {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.78rem !important;
  }

  #faq .faq-question {
    line-height: 1.75;
  }

  #faq .faq-content .accordion-body {
    padding: 10px 12px 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.9 !important;
  }
}

@media (max-width: 390px) {
  .navbar-toggler {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .navbar-light .navbar-toggler-icon {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }

  #faq .faq-main-title {
    font-size: 1.03rem !important;
  }
}
