:root {
  --primary: #ff6b35;
  --primary-dark: #e95624;
  --dark: #0f172a;
  --dark-2: #111827;
  --text: #1f2937;
  --muted: #667085;
  --soft: #f6f8fb;
  --border: #e5e7eb;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

section {
  scroll-margin-top: 82px;
}

.site-header {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 72px;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
}

.brand-text {
  color: var(--white);
}

.nav-link {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
  padding: 0.6rem 0.8rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--white);
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0 95px;
  background:
    radial-gradient(circle at 84% 25%, rgba(255, 107, 53, 0.22), transparent 28%),
    linear-gradient(135deg, #0b1220 0%, #111827 100%);
  color: var(--white);
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

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

.eyebrow {
  display: inline-block;
  color: #ffc4ae;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow.dark {
  color: var(--primary-dark);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.hero-card-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.16);
  color: #ffd3c3;
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 18px;
}

.metric-box {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.metric-box:last-of-type {
  border-bottom: 0;
}

.metric-label {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 3px;
}

.metric-box strong {
  font-size: 1.05rem;
}

.trust-strip {
  padding: 24px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-strip strong {
  display: block;
  color: var(--dark);
}

.trust-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-space {
  padding: 92px 0;
}

.bg-soft {
  background: var(--soft);
}

.bg-dark-section,
.contact-section {
  background: var(--dark);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.section-lead + h2 {
  color: var(--dark);
}

.section-heading h2,
#for-whom h2,
#process h2,
#faq h2,
.contact-section h2,
.bg-dark-section h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-heading p,
.section-lead {
  color: var(--muted);
}

.service-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 107, 53, 0.11);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.niche-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-item {
  position: relative;
  padding: 26px 22px;
  border-top: 3px solid var(--primary);
  background: var(--soft);
  border-radius: 0 0 18px 18px;
}

.process-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
}

.process-item h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.process-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.case-card {
  padding: 26px;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.case-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffc4ae;
  margin-bottom: 8px;
}

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.case-card p {
  color: rgba(255, 255, 255, 0.66);
}

.case-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.12);
  color: #ffd9cb;
  font-size: 0.88rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgba(255, 107, 53, 1), #ec5a26);
  color: var(--white);
}

.faq-accordion {
  max-width: 850px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-button {
  font-weight: 800;
  color: var(--dark);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: #fff5f1;
  color: var(--primary-dark);
}

.contact-form {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form .form-label,
.contact-form .form-check-label {
  color: rgba(255, 255, 255, 0.86);
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-form textarea.form-control {
  min-height: 130px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-links a {
  color: var(--white);
  font-weight: 700;
}

.contact-links a:hover {
  color: #ffc4ae;
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  color: #c8f7d7;
}

.site-footer {
  padding: 28px 0;
  background: #0a0f1b;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.footer-link:hover {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1020;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.back-to-top.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 12px 0 18px;
  }

  .hero-section {
    padding: 85px 0 72px;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 68px 0;
  }

  .hero-section {
    padding: 72px 0 62px;
  }

  .hero-section .display-4 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .brand-text {
    font-size: 0.98rem;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .contact-form,
  .cta-panel {
    padding: 22px;
  }

  .hero-points {
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Language switcher */
.lang-switcher .btn {
  min-width: 58px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-switcher .dropdown-menu {
  min-width: 96px;
  padding: 0.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
}

.lang-switcher .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.45rem;
  font-weight: 700;
}

.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:active {
  background: var(--primary);
  color: var(--white);
}

.lang-check {
  display: inline-block;
  width: 1rem;
}

@media (max-width: 991.98px) {
  .lang-switcher {
    margin-top: 0.65rem;
  }

  .lang-switcher .dropdown-menu {
    min-width: 120px;
  }
}


/* Contact links added for the live site */
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-links a {
  color: rgba(255,255,255,.72);
  font-size: .86rem;
}

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


/* Contact form — live backend */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.privacy-note {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status-error {
  background: rgba(220, 53, 69, 0.14);
  color: #ffd4d8;
  border: 1px solid rgba(220, 53, 69, 0.22);
}

.contact-form .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.success-modal-content {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.success-modal-content .modal-title {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}


/* Illustrative case studies */
.case-study-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.case-study-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.case-study-card h3 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.case-metrics {
  display: grid;
  gap: 10px;
}

.case-metrics > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.case-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.case-metrics strong {
  color: var(--dark);
  font-size: 1.05rem;
  white-space: nowrap;
}


.case-study-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.case-study-note {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
