:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #667085;
  --border: #e5e7eb;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --shadow: 0 4px 24px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.1);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  background: none;
  border: 0;
}

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

.container {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-size: 0.75rem;
}

.brand-text {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: #525866;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn {
  display: none;
}

.lang-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.lang-btn {
  min-width: 36px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  color: #5f6b82;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-layout,
.about-grid,
.contact-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 18px 0 0;
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(3.6rem, 7vw, 5.7rem);
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.hero-subtitle,
.section-subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 70ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

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

.btn-block {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.stat-pill {
  min-width: 92px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-pill strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.stat-pill span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.glass-card,
.service-card,
.step-card,
.testimonial-card,
.faq-item,
.contact-form,
.about-panel,
.contact-point {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  min-height: 470px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card-top {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #fb7185;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #34d399;
}

.hero-card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.hero-card-footer strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.card-label {
  color: var(--muted);
  font-size: 0.84rem;
}

.pulse-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 8px solid rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 0 16px rgba(37, 99, 235, 0.12);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.testimonials-toolbar {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.brands-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: slideBrands 28s linear infinite;
}

.brand-card {
  flex: 0 0 auto;
  width: 250px;
  min-height: 140px;
  padding: 22px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.22);
}

.brands-carousel:hover .brands-track {
  animation-play-state: paused;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

.brand-logo-adde {
  grid-auto-flow: column;
  gap: 12px;
}

.brand-adde-mark {
  position: relative;
  width: 70px;
  height: 88px;
  border-radius: 26px;
  background: #1f2937;
  transform: skewX(-14deg);
}

.brand-adde-mark::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5e7eb;
}

.brand-adde-text {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #20242c;
}

.brand-logo-capital {
  gap: 10px;
}

.brand-capital-icon {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 3px solid #8f8f8f;
  border-radius: 50%;
  color: #7b7b7b;
  font-size: 2rem;
}

.brand-capital-icon .fa-plane {
  position: absolute;
  right: 2px;
  top: 16px;
  font-size: 1.4rem;
  transform: rotate(-12deg);
}

.brand-capital-icon::before,
.brand-capital-icon::after {
  content: "";
  position: absolute;
  inset: 8px -6px;
  border-top: 3px solid #8f8f8f;
  border-bottom: 3px solid #8f8f8f;
  border-radius: 50%;
  transform: rotate(18deg);
}

.brand-capital-text {
  font-size: 1rem;
  font-weight: 700;
  color: #5b5b5b;
  letter-spacing: -0.03em;
}

.brand-paydesign-text {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #1f2937;
}

.brand-bioclec-text {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  color: #b6bbc4;
}

@keyframes slideBrands {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

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

.service-card,
.step-card,
.testimonial-card,
.faq-item,
.contact-form,
.about-panel,
.contact-point {
  padding: 28px;
}

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.step-card:hover,
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
}

.service-card h3,
.step-card h3,
.testimonial-card strong,
.faq-item summary {
  margin: 16px 0 0;
  font-size: 1.02rem;
}

.service-card p,
.step-card p,
.testimonial-card p,
.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

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

.step-card span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-item,
.contact-point,
.panel-note {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i,
.contact-point i,
.panel-note i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  flex: 0 0 auto;
}

.about-panel {
  display: grid;
  gap: 14px;
}

.panel-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel-row > div {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.panel-row strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.panel-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-note {
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 18px;
}

.testimonial-form {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.testimonial-form-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.testimonial-form-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-form-fields {
  display: grid;
  gap: 16px;
}

.testimonial-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.testimonial-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card-main {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.testimonials-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.testimonials-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.52);
}

.testimonials-modal-dialog {
  position: relative;
  width: min(1040px, calc(100% - 24px));
  max-height: 80vh;
  margin: 5vh auto 0;
  padding: 24px;
  overflow: auto;
}

.testimonials-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.testimonials-modal-header h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.testimonials-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.testimonials-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-point {
  padding: 18px 20px;
}

.contact-point strong {
  display: block;
  margin-top: 4px;
  font-size: 0.98rem;
}

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

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.error {
  min-height: 1em;
  color: #ef4444;
  font-size: 0.8rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  padding: 42px 0 28px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-links a,
.footer-contact span {
  color: var(--muted);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.word-animate .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: wordFade 0.65s ease forwards;
  animation-delay: calc(var(--word-index) * 65ms);
}

.letter-animate .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: letterFade 0.75s ease forwards;
  animation-delay: calc(var(--letter-index) * 28ms);
}

@keyframes wordFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letterFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1440px) {
  .container {
    width: min(1320px, calc(100% - 40px));
  }
}

@media (max-width: 1200px) {
  .hero-layout,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .testimonials-grid,
  .testimonial-form {
    grid-template-columns: 1fr;
  }

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

  .steps-grid,
  .panel-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(3.2rem, 7vw, 4.7rem);
  }

  .hero-subtitle,
  .section-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 80px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 14px;
    border-radius: 12px;
    background: #f8fafc;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .lang-switcher {
    display: none;
  }

  .hero-layout {
    gap: 28px;
  }

  .hero-actions,
  .testimonial-form-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-toolbar {
    justify-content: flex-start;
  }

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

  .hero-card {
    min-height: 360px;
  }

  .brands-track {
    gap: 14px;
    animation-duration: 22s;
  }

  .brand-card {
    width: 210px;
    min-height: 110px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .section {
    padding: 64px 0;
  }

  .brand-text {
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-subtitle,
  .section-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .cards-grid,
  .hero-card-body,
  .contact-points,
  .footer-grid,
  .testimonials-modal-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-pill,
  .contact-point,
  .field input,
  .field textarea {
    width: 100%;
  }

  .contact-form,
  .testimonial-form,
  .about-panel,
  .contact-point,
  .faq-item {
    padding: 20px;
    border-radius: 18px;
  }

  .hero-card {
    min-height: 320px;
    padding: 18px;
  }

  .brand-card {
    width: 180px;
    min-height: 96px;
  }

  .testimonials-modal-dialog {
    width: calc(100% - 16px);
    margin-top: 3vh;
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 18px);
  }

  .header-inner {
    gap: 10px;
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 0.7rem;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.4rem);
  }

  .section-title {
    font-size: 1.7rem;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .nav {
    left: 10px;
    right: 10px;
  }

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

  .hero-card {
    min-height: 300px;
    padding: 16px;
  }

  .brand-card {
    width: 164px;
    min-height: 92px;
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 16px);
  }

  .hero-title {
    font-size: 1.78rem;
  }

  .section-title {
    font-size: 1.52rem;
  }

  .btn {
    min-height: 46px;
    padding-inline: 16px;
  }

  .contact-form,
  .testimonial-form,
  .about-panel,
  .contact-point,
  .faq-item {
    padding: 16px;
  }
}
