:root {
  /* Color palette */
  --primary-blue: #0066ff;
  --primary-blue-dark: #0052cc;
  --primary-blue-light: #e8f4fb;
  --dark-blue: #0f3a7d;
  --medium-blue: #1a4d8d;
  --cyan: #00bfff;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #1f2937;
  --gray-900: #111827;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-family-sans: "Prompt", "Sarabun", "Segoe UI", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-thai: "Prompt", "Sarabun", "Anuphan", sans-serif;
  --font-family-mono: "SFMono-Regular", "Menlo", "Monaco", "Courier", monospace;

  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-md: 18px;
  --font-size-lg: 24px;
  --font-size-xl: 36px;
  --font-size-2xl: 48px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;

  /* Spacing */
  --spacing-0: 0;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 60px;
  --spacing-4xl: 80px;
  --spacing-5xl: 120px;

  /* Radius */
  --radius-none: 0;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  --shadow-blue-sm: 0 4px 12px rgba(0, 102, 255, 0.25);
  --shadow-blue-md: 0 8px 20px rgba(0, 102, 255, 0.35);
  --shadow-blue-lg: 0 12px 30px rgba(0, 102, 255, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --gradient-header: linear-gradient(90deg, #ffffff 0%, #e8f4fb 100%);
  --gradient-hero: linear-gradient(180deg, #e8f4fb 0%, #ffffff 100%);
  --gradient-button-primary: linear-gradient(90deg, #0066ff 0%, #0052cc 100%);
  --gradient-button-hover: linear-gradient(90deg, #0052cc 0%, #003d99 100%);
  --gradient-dark: linear-gradient(135deg, #0f3a7d 0%, #1a4d8d 100%);
  --gradient-contact: linear-gradient(90deg, #0066ff 0%, #0052cc 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(15, 58, 125, 0) 0%, rgba(15, 58, 125, 0.9) 100%);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 100;
  --z-fixed: 1000;
  --z-modal: 1050;
  --z-tooltip: 1100;

  /* Layout */
  --container-max-width: 1200px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--gray-600);
  background: var(--white);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--dark-blue);
  line-height: var(--line-height-tight);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: var(--spacing-md);
  top: var(--spacing-md);
  width: auto;
  height: auto;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark-blue);
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-lg);
}

.container {
  width: min(100%, var(--container-max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-4xl) 0;
}

section[id] {
  scroll-margin-top: 88px;
}

.section-title {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.section-title--light {
  color: var(--white);
}

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

.section-subtitle {
  max-width: 760px;
  margin: 0 auto var(--spacing-2xl);
  text-align: center;
  color: var(--gray-500);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.82);
}

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: none;
  transition: box-shadow var(--transition-fast), background var(--transition-fast);
}

.header--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header__container {
  width: min(100%, var(--container-max-width));
  margin: 0 auto;
  padding: 0 24px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.header__logo-img,
.footer__logo-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.header__logo-img {
  width: clamp(220px, 20vw, 260px);
  max-height: 64px;
}

.footer__logo-image {
  width: clamp(120px, 12vw, 172px);
  max-height: 52px;
}

.header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 0;
}

.header__nav-link {
  position: relative;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  transition: width var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--primary-blue);
}

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after,
.header__nav-link.is-active::after,
.header__nav-link[aria-current="page"]::after {
  width: 100%;
}

.header__nav-link.is-active,
.header__nav-link[aria-current="page"] {
  color: var(--primary-blue-dark);
}

.header__cta {
  border: 0;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  color: var(--white);
  background: linear-gradient(90deg, var(--primary-blue), var(--cyan));
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.28);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header__cta:hover,
.header__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue-md);
}

.header__mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 0;
}

.header__mobile-menu-line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark-blue);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.header__mobile-menu.is-active .header__mobile-menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__mobile-menu.is-active .header__mobile-menu-line:nth-child(2) {
  opacity: 0;
}

.header__mobile-menu.is-active .header__mobile-menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__mobile-nav {
  display: none;
  padding: 8px 24px 18px;
  border-top: 1px solid rgba(0, 102, 255, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 30px rgba(15, 58, 125, 0.08);
}

.header__mobile-nav[hidden] {
  display: none;
}

.header__mobile-nav .header__nav-link {
  display: block;
  padding: var(--spacing-sm) 0;
}

.hero {
  position: relative;
  background-color: #eef7fd;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.98) 20%,
      rgba(255, 255, 255, 0.92) 34%,
      rgba(255, 255, 255, 0.68) 50%,
      rgba(255, 255, 255, 0.14) 72%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../images/hero/Hero Background.png");
  background-position:
    0 0,
    right center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  overflow: hidden;
}

.hero.section {
  padding-top: clamp(18px, 1.8vw, 28px);
  padding-bottom: clamp(12px, 1.4vw, 20px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.28) 16%,
    rgba(255, 255, 255, 0.1) 32%,
    rgba(255, 255, 255, 0) 56%
  );
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 2.2vw, 36px);
  min-height: clamp(620px, 60vw, 680px);
  padding: clamp(24px, 2.6vw, 40px) 0 clamp(18px, 2.2vw, 32px);
}

.hero__content {
  position: relative;
  max-width: 620px;
  z-index: 1;
  padding-left: clamp(6px, 1.2vw, 18px);
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -14px auto auto -14px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0) 74%);
  pointer-events: none;
}

.hero__content > * {
  position: relative;
}

.hero__eyebrow {
  margin-bottom: 10px;
  color: var(--primary-blue);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
  font-size: clamp(46px, 3.4vw, 64px);
  font-weight: var(--font-weight-bold);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--gradient {
  background: linear-gradient(90deg, #1f68ff 0%, #00bfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-line--dark {
  color: #172b63;
}

.hero__subtitle {
  max-width: 520px;
  margin-bottom: 12px;
  color: var(--dark-blue);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
}

.hero__description {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__buttons .btn {
  min-height: 52px;
  padding: 14px 28px;
  min-width: 180px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(90deg, #0052cc 0%, #0066ff 45%, #00bfff 100%);
  box-shadow: 0 12px 26px rgba(0, 102, 255, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gradient-button-hover);
  box-shadow: var(--shadow-blue-md);
}

.btn--secondary {
  color: var(--primary-blue);
  border-color: rgba(0, 102, 255, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(15, 58, 125, 0.08);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--primary-blue-light);
}

.btn--white {
  color: var(--primary-blue);
  background: var(--white);
}

.btn--white:hover,
.btn--white:focus-visible {
  background: var(--gray-100);
}

.stats {
  background:
    linear-gradient(180deg, rgba(232, 244, 251, 0.35) 0%, rgba(255, 255, 255, 0) 100%),
    var(--white);
}

.stats.section {
  margin-top: -28px;
  padding-top: clamp(4px, 0.5vw, 10px);
  padding-bottom: clamp(28px, 2.6vw, 40px);
}

.stats__grid {
  display: grid;
  gap: clamp(12px, 1.4vw, 18px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(22px, 2vw, 30px) clamp(16px, 1.6vw, 24px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 249, 255, 0.96) 100%);
  border: 1px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 16px 34px rgba(15, 58, 125, 0.09);
  text-align: center;
  min-height: 168px;
}

.stat-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 191, 255, 0.16));
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.08);
}

.stat-card__icon svg {
  width: 28px;
  height: 28px;
}

.stat-card__value {
  color: var(--dark-blue);
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card__label {
  color: var(--gray-600);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
}

.services {
  background: var(--white);
}

.services.section {
  padding-top: clamp(42px, 4vw, 60px);
  padding-bottom: clamp(48px, 4vw, 64px);
}

.services__grid {
  display: grid;
  gap: clamp(14px, 1.4vw, 20px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 24px;
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 58, 125, 0.08);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
  min-height: 300px;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.18), rgba(0, 191, 255, 0.24));
  border: 1px solid rgba(0, 102, 255, 0.14);
  color: var(--primary-blue);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.service-card__icon img,
.client-icon img,
.why-choose__visual-card img,
.contact__qr img,
.footer__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__title {
  color: var(--dark-blue);
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
}

.service-card__description {
  color: var(--gray-500);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.service-card__link {
  margin-top: auto;
  color: var(--primary-blue);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.service-card__link:hover,
.service-card__link:focus-visible {
  text-decoration: underline;
}

.middle-panels {
  width: min(100%, var(--container-max-width));
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 20px;
  align-items: stretch;
}

.middle-panels > .section {
  padding: 0;
  min-width: 0;
}

.middle-panels #why-choose,
.middle-panels #clients {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 58, 125, 0.12);
}

.middle-panels #why-choose .why-choose__container,
.middle-panels #clients .container {
  height: 100%;
  box-sizing: border-box;
  padding: 18px;
}

.middle-panels #why-choose .why-choose__container {
  grid-template-columns: 1fr;
  min-height: 100%;
  gap: 12px;
}

.middle-panels #why-choose .why-choose__content {
  max-width: none;
}

.middle-panels #why-choose .why-choose__content .section-title {
  margin-bottom: 10px;
  font-size: clamp(26px, 2vw, 30px);
}

.middle-panels #why-choose .why-choose__features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.middle-panels #why-choose .why-choose__feature {
  min-height: 52px;
  padding: 9px 11px;
}

.middle-panels #clients .section-title {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: clamp(26px, 2vw, 30px);
}

.middle-panels #clients .clients__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
  gap: 10px;
}

.middle-panels #clients .client-icon {
  min-height: 112px;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15, 58, 125, 0.08);
}

.middle-panels #clients .client-icon img {
  width: 54px;
  height: 54px;
}

.middle-panels #clients .client-icon__label {
  font-size: 12px;
  line-height: 1.15;
}

.middle-panels #why-choose .why-choose__feature-icon {
  color: transparent;
  font-size: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.middle-panels #why-choose .why-choose__feature-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  color: #ffffff;
}

.middle-panels #why-choose .why-choose__feature:nth-child(1) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='2.4'/><circle cx='16.5' cy='9' r='2'/><path d='M4.8 19.2c0-2.5 2.3-4.4 5.2-4.4s5.2 1.9 5.2 4.4'/><path d='M14.9 19.2c.2-1.9 1.5-3.4 3.3-4'/></svg>");
}

.middle-panels #why-choose .why-choose__feature:nth-child(2) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3.5l1.8 3.7 4.1.6-3 2.9.7 4.1-3.6-1.9-3.6 1.9.7-4.1-3-2.9 4.1-.6z'/><path d='M12 15.1v3.8'/><path d='M10.1 18.9h3.8'/></svg>");
}

.middle-panels #why-choose .why-choose__feature:nth-child(3) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4.3l6.1 1.8v4.5c0 4.1-2.6 7.1-6.1 9.1-3.5-2-6.1-5-6.1-9.1V6.1z'/><path d='M9.2 12.2l1.9 1.9 3.8-4.1'/></svg>");
}

.middle-panels #why-choose .why-choose__feature:nth-child(4) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 17.5V13'/><path d='M8.2 17.5V9.5'/><path d='M12 17.5V12'/><path d='M15.8 17.5V7.8'/><path d='M19.5 17.5V5.8'/><path d='M4.2 20h16'/><path d='M4.5 8.6l4.4-2.4 3.7 2.3 6.9-4'/></svg>");
}

.middle-panels #why-choose .why-choose__feature:nth-child(5) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='7.2'/><circle cx='12' cy='12' r='3.2'/><path d='M12 2.8v2.4'/><path d='M12 18.8v2.4'/><path d='M2.8 12h2.4'/><path d='M18.8 12h2.4'/></svg>");
}

.middle-panels #why-choose .why-choose__feature:nth-child(6) .why-choose__feature-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13a7 7 0 0 1 14 0'/><path d='M4.5 13.2h2.3v4.5H4.5a1.2 1.2 0 0 1-1.2-1.2v-2.1a1.2 1.2 0 0 1 1.2-1.2Z'/><path d='M17.2 13.2h2.3a1.2 1.2 0 0 1 1.2 1.2v2.1a1.2 1.2 0 0 1-1.2 1.2h-2.3z'/><path d='M13.8 19.2H12c-1.4 0-2.5-.8-2.5-1.8'/></svg>");
}

.why-choose {
  background:
    radial-gradient(circle at top right, rgba(0, 191, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #0f3a7d 0%, #123f88 48%, #0a2f68 100%);
  color: var(--white);
}

.why-choose__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  min-height: 340px;
  padding: clamp(14px, 1.8vw, 24px) 0;
}

.why-choose__content {
  max-width: none;
}

.why-choose__content .section-title {
  text-align: center;
  margin-bottom: 14px;
  font-size: clamp(30px, 2.4vw, 36px);
}

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

.why-choose__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.why-choose__feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(6, 22, 56, 0.12);
}

.why-choose__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}

.why-choose__feature-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.3;
}

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

.why-choose__visual-card {
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 30px rgba(6, 22, 56, 0.16);
  overflow: hidden;
}

.clients {
  position: relative;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.clients::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 95% 8%, rgba(0, 191, 255, 0.12), transparent 22%),
    radial-gradient(circle at 90% 30%, rgba(0, 102, 255, 0.06), transparent 24%);
  z-index: 0;
  pointer-events: none;
}

.clients .container {
  position: relative;
  z-index: 1;
}

.clients.section {
  padding-top: clamp(34px, 3vw, 48px);
  padding-bottom: clamp(38px, 3.4vw, 52px);
}

.clients .section-subtitle {
  max-width: 820px;
}

.clients .section-title {
  font-size: clamp(32px, 2.4vw, 38px);
  margin-bottom: 6px;
}

.clients__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-top: 22px;
}

.client-icon {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 14px 10px 12px;
  border-radius: 15px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 58, 125, 0.06);
  color: var(--primary-blue);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  overflow: hidden;
}

.client-icon:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.client-icon img {
  width: 56px;
  height: 56px;
}

.client-icon__label {
  color: var(--dark-blue);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
}

.portfolio {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.portfolio.section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.portfolio__container {
  display: flex;
  flex-direction: column;
}

.portfolio__header {
  margin-bottom: 40px;
  text-align: center;
}

.portfolio__title {
  margin-bottom: 12px;
  color: var(--dark-blue);
  font-size: clamp(32px, 2.8vw, 36px);
  font-weight: 800;
}

.portfolio__subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 16px;
}

.portfolio__grid {
  display: grid;
  gap: clamp(20px, 2vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0, 102, 255, 0.12);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.18);
}

.portfolio-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #071a3d 0%, #0052cc 55%, #00bfff 100%);
}

.portfolio-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 61, 0.08) 0%, rgba(7, 26, 61, 0.18) 100%);
  pointer-events: none;
}

.portfolio-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--transition-normal),
    filter var(--transition-normal);
}

.portfolio-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.portfolio-card__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.portfolio-card__title {
  margin-bottom: 10px;
  color: var(--dark-blue);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.portfolio-card__description {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}

.portfolio-card__link {
  margin-top: auto;
  padding-top: 16px;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 700;
}

.portfolio-card__link:hover,
.portfolio-card__link:focus-visible {
  text-decoration: underline;
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.04);
  filter: saturate(1.02) brightness(0.98);
}

.contact {
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.16), transparent 26%),
    linear-gradient(180deg, #0b5ae6 0%, #0052cc 55%, #0046b8 100%);
  color: var(--white);
}

.contact.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.contact__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 4.5vw, 56px);
  align-items: center;
  padding: 0;
}

.contact__form-wrap {
  width: 100%;
  max-width: 620px;
  justify-self: start;
}

.contact__heading {
  margin-bottom: 32px;
}

.contact__title {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.contact__subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
}

.contact__form {
  display: grid;
  gap: 18px;
}

.contact__form .btn {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0066ff 0%, #00bfff 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(0, 191, 255, 0.28);
}

.contact__form .btn:hover,
.contact__form .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 102, 255, 0.3);
}

.contact__info-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 452px;
  padding: 42px 44px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
  color: var(--gray-600);
  box-shadow: 0 24px 60px rgba(7, 26, 61, 0.18);
}

.contact__info-head {
  display: grid;
  gap: 10px;
}

.contact__company {
  color: #0f3a7d;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.12;
}

.contact__description {
  color: #1f2937;
  font-size: 16px;
  line-height: 1.8;
}

.contact__details {
  display: grid;
  gap: 14px;
}

.contact__detail {
  display: grid;
  gap: 2px;
  line-height: 1.7;
}

.contact__detail-label {
  color: #0f3a7d;
  font-size: 14px;
  font-weight: 700;
}

.contact__detail-value {
  color: #1f2937;
  font-size: 15px;
}

.contact__qr-group {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.contact__qr {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 20px;
  background: #eef6ff;
  border: 1px solid rgba(0, 102, 255, 0.12);
  color: var(--primary-blue);
  overflow: hidden;
}

.contact__qr-label {
  color: #0f3a7d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact__qr img,
.footer__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form {
  display: grid;
  gap: 18px;
}

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

.form__label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.form__input,
.form__textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-700);
  font-size: 15px;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form__input {
  height: 56px;
}

.form__textarea {
  min-height: 156px;
  padding: 18px;
  resize: vertical;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-400);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  background: var(--white);
}

.form__input.is-invalid,
.form__textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.form__feedback {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-xs);
  margin-top: 2px;
}

.form__status {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.form__status--success {
  background: rgba(16, 185, 129, 0.16);
  color: #dcfce7;
}

.form__status--error {
  background: rgba(239, 68, 68, 0.16);
  color: #fee2e2;
}

.footer,
.site-footer {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #071a3d;
  background-image: url("../images/footer-bg-tech65.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.footer::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 61, 0.62) 0%,
    rgba(7, 26, 61, 0.4) 35%,
    rgba(7, 26, 61, 0.2) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.footer::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background:
    radial-gradient(circle at 18% 100%, rgba(0, 191, 255, 0.28), transparent 34%),
    radial-gradient(circle at 82% 100%, rgba(0, 191, 255, 0.34), transparent 30%),
    linear-gradient(180deg, rgba(0, 102, 255, 0), rgba(0, 102, 255, 0.16));
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.site-footer > .container,
.site-footer .footer__bottom {
  position: relative;
  z-index: 1;
}

.site-footer .footer__container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 36px);
  width: min(100%, var(--container-max-width));
  margin: 0 auto;
  padding: 56px 24px 30px;
  align-items: start;
}

.site-footer .footer__column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.site-footer .footer__column:first-child {
  max-width: 360px;
}

.site-footer .footer__column:last-child {
  align-content: start;
}

.site-footer .footer__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-footer .footer__description {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
}

.site-footer .footer__title {
  color: #ffffff;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
}

.site-footer .footer__nav {
  display: grid;
  gap: 10px;
}

.site-footer .footer__link,
.site-footer .footer__contact {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  transition: color var(--transition-fast);
}

.site-footer .footer__link {
  width: fit-content;
  text-decoration: none;
}

.site-footer .footer__link:hover,
.site-footer .footer__link:focus-visible {
  color: #56dfff;
}

.site-footer .footer__contact {
  line-height: 1.7;
  word-break: break-word;
}

.site-footer .footer__qr {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background: rgba(4, 16, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.site-footer .footer__bottom {
  width: min(100%, var(--container-max-width));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 24px 18px;
  text-align: center;
}

.site-footer .footer__copyright {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.header--scrolled .header__container {
  min-height: 80px;
}

.hero,
.stats,
.services,
.why-choose,
.clients,
.portfolio,
.contact,
.footer {
  position: relative;
}

.header__nav-link:focus-visible,
.header__cta:focus-visible,
.header__mobile-menu:focus-visible,
.btn:focus-visible,
.service-card__link:focus-visible,
.footer__link:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
