:root {
  --primary-navy: #17345c;
  --secondary-navy: #23496f;
  --light-background: #eceef2;
  --section-background: #eaecf1;
  --card-shadow: 0 8px 32px rgba(25, 44, 72, 0.10), 0 2px 8px rgba(25, 44, 72, 0.06);
  --soft-shadow: 0 4px 20px rgba(26, 44, 72, 0.08);
  --accent-yellow: #eeb13f;
  --accent-yellow-deep: #c8881d;
  --text-dark: #23354d;
  --text-muted: #5f7287;
  --white: #ffffff;
  --content-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.layout-frame {
  width: 100%;
  margin: 0;
}

.content-card {
  background: var(--white);
  border: 0;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid rgba(140, 157, 181, 0.2);
  box-shadow: 0 1px 3px rgba(23, 52, 92, 0.06);
  transition: box-shadow 0.3s ease;
}

.header-topline {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy) 0%, var(--secondary-navy) 52%, var(--accent-yellow) 100%);
}

.header-row {
  max-width: var(--content-max);
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  width: 196px;
  height: auto;
  max-width: 100%;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #2a3b53;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-base);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary-navy);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-mini img,
.lang-current img {
  width: 12px;
  height: 8px;
  box-shadow: 0 0 0 1px rgba(27, 47, 74, 0.22);
}

.lang-current {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #2f4563;
  cursor: pointer;
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #395372;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(37, 56, 83, 0.25);
  background: #f5f8fc;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #2a4668;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(1.06) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(16, 44, 77, 0.68) 0%, rgba(23, 55, 91, 0.5) 34%, rgba(30, 64, 100, 0.22) 62%, rgba(57, 84, 116, 0) 100%),
    linear-gradient(180deg, rgba(16, 36, 61, 0.08) 0%, rgba(14, 31, 54, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: 520px;
  padding: 72px 54px 64px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #f4f8fe;
  text-shadow: 0 2px 6px rgba(13, 29, 50, 0.4);
}

.hero p {
  margin: 22px 0 0;
  max-width: 585px;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: rgba(233, 243, 255, 0.95);
  text-shadow: 0 1px 3px rgba(10, 24, 42, 0.35);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  min-width: 160px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

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

.btn-primary {
  color: #22374f;
  background: linear-gradient(180deg, #f3bc51 0%, #e0a331 60%, #c9871c 100%);
  border-color: rgba(138, 92, 19, 0.4);
  box-shadow: 0 6px 20px rgba(16, 34, 55, 0.18), inset 0 1px 0 rgba(255, 239, 199, 0.84);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(16, 34, 55, 0.24), inset 0 1px 0 rgba(255, 243, 208, 0.9);
}

.btn-secondary {
  color: rgba(241, 247, 255, 0.96);
  background: linear-gradient(180deg, #2a4a70 0%, #1c3758 100%);
  border-color: rgba(170, 195, 224, 0.2);
  box-shadow: 0 6px 20px rgba(16, 34, 55, 0.18), inset 0 1px 0 rgba(164, 190, 218, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  filter: brightness(1.1);
  box-shadow: 0 10px 28px rgba(16, 34, 55, 0.26), inset 0 1px 0 rgba(176, 201, 227, 0.3);
}

.services,
.technologies {
  background: linear-gradient(180deg, #f0f2f6 0%, var(--section-background) 100%);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 32px 64px;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1f3553;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
  margin-top: 12px;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: block;
  min-height: 160px;
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.35);
  box-shadow: var(--soft-shadow);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(238, 177, 63, 0.4);
  box-shadow: 0 12px 36px rgba(26, 44, 72, 0.12), 0 0 0 1px rgba(238, 177, 63, 0.15);
}

.service-card:focus-visible {
  outline: 3px solid rgba(240, 178, 58, 0.7);
  outline-offset: 3px;
}

.service-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.service-card h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--primary-navy);
  font-weight: 700;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.technologies {
  padding-bottom: 18px;
}

.service-detail .section-inner {
  padding-bottom: 56px;
}

.service-copy {
  margin-top: 20px;
  max-width: 920px;
  font-size: 15px;
  line-height: 1.7;
  color: #3a4c63;
}

.service-bullets {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.service-bullets li {
  color: #3a4c63;
  line-height: 1.6;
}

.tech-panel {
  position: relative;
  margin-top: 20px;
  min-height: 145px;
  border: 1px solid rgba(177, 192, 211, 0.35);
  background: #f7faff;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  border-radius: var(--radius-md);
}

.tech-strip {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.7;
}

.tech-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.97) 0%, rgba(245, 250, 255, 0.9) 40%, rgba(241, 247, 255, 0.22) 72%, rgba(238, 245, 255, 0.04) 100%);
}

.tech-rows {
  position: relative;
  z-index: 1;
  padding: 24px 32px;
}

.tech-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.tech-row + .tech-row {
  border-top: 1px solid rgba(174, 190, 211, 0.3);
}

.tech-logo-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.tech-logo-box img {
  width: auto;
  height: 50px;
}

.tech-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-card {
  margin-top: 0;
  position: relative;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  color: #edf4ff;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 35, 61, 0.92) 0%, rgba(16, 41, 70, 0.88) 52%, rgba(20, 47, 77, 0.72) 100%),
    linear-gradient(180deg, rgba(12, 30, 52, 0.4) 0%, rgba(10, 26, 45, 0.78) 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 32px 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand .brand-logo,
.footer-mini .brand-logo {
  filter: brightness(0) invert(1) opacity(0.98);
}

.footer-columns {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #eff5ff;
}

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

.footer-col li {
  margin: 6px 0;
  font-size: 14px;
  color: rgba(212, 225, 245, 0.97);
  line-height: 1.4;
  padding-left: 14px;
  position: relative;
  transition: color var(--transition-base);
}

.footer-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-yellow);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(197, 214, 238, 0.18);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
}

.footer-madeby {
  justify-self: end;
  display: inline-flex;
  align-items: center;
}

.footer-madeby img {
  width: auto;
  height: 24px;
  opacity: 0.9;
}

.footer-madeby:hover img,
.footer-madeby:focus-visible img {
  opacity: 1;
}

.footer-mini .brand-logo {
  width: 150px;
  height: auto;
}

.footer-item {
  margin: 0;
  font-size: 13px;
  color: rgba(213, 227, 246, 0.95);
  white-space: nowrap;
}

.footer-item a:hover,
.footer-item a:focus-visible {
  color: #ffffff;
}

/* Footer credit line */
.footer-credit {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(197, 214, 238, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-credit span {
  font-size: 11px;
  color: rgba(200, 215, 238, 0.55);
  font-weight: 400;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

.footer-credit a:hover {
  opacity: 0.9;
}

.footer-credit img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 1100px) {
  .layout-frame {
    width: 100%;
    margin-top: 0;
  }

  .hero {
    min-height: 460px;
  }

  .hero-inner {
    min-height: 460px;
    padding: 48px 40px;
  }

  .hero h1 {
    font-size: clamp(32px, 4vw, 50px);
  }

  .hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 520px;
  }

  .section-inner {
    padding: 44px 28px 52px;
  }

  .footer-col h3 {
    font-size: 14px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .header-row {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav,
  .header-lang {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid rgba(155, 170, 191, 0.38);
    transition: max-height 0.26s ease;
  }

  .site-header.menu-open .mobile-panel {
    max-height: 380px;
  }

  .mobile-nav {
    display: grid;
    padding: 8px 24px 0;
  }

  .mobile-nav a {
    font-size: 15px;
    font-weight: 600;
    color: #22344d;
    padding: 13px 0;
    border-bottom: 1px solid rgba(155, 170, 191, 0.3);
    transition: color var(--transition-base);
  }

  .mobile-nav a:hover {
    color: var(--primary-navy);
  }

  .mobile-lang {
    padding: 12px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    min-height: 400px;
  }

  .hero-inner {
    min-height: 400px;
    padding: 36px 24px;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .tech-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  .tech-logo-box {
    min-height: 0;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .layout-frame {
    width: 100%;
    margin: 0;
  }

  .header-topline {
    height: 3px;
  }

  .header-row {
    height: 60px;
    padding: 0 16px;
  }

  .brand-logo {
    width: 154px;
    height: auto;
  }

  .hero {
    min-height: 360px;
  }

  .hero-inner {
    min-height: 360px;
    padding: 32px 18px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 35px);
  }

  .hero p {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 12px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    font-size: 15px;
  }

  .section-inner {
    padding: 32px 16px 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-card {
    margin-top: 0;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .footer-item {
    white-space: normal;
  }
}

/* ---- Modern extras ---- */

/* About page */
.about-intro {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: start;
}

.about-intro-text {
  font-size: 15px;
  line-height: 1.7;
  color: #3a4c63;
}

.about-intro-text p {
  margin: 0 0 16px;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  min-height: 160px;
}

.about-highlight-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-highlight-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(233, 243, 255, 0.9);
  line-height: 1.3;
}

.about-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 52, 92, 0.08) 0%, rgba(23, 52, 92, 0.04) 100%);
  color: var(--primary-navy);
  margin: 0 auto 12px;
  transition: background var(--transition-base), color var(--transition-base);
}

.about-value-card:hover .about-value-icon {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  color: var(--accent-yellow);
}

.about-partners {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.about-partners-content {
  /* text side */
}

.about-partner-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  min-width: 220px;
}

.about-partner-logo {
  display: flex;
  align-items: center;
}

.about-partner-logo img {
  height: 44px;
  width: auto;
}

@media (max-width: 860px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-highlight {
    flex-direction: row;
    gap: 16px;
    min-height: auto;
    padding: 24px 28px;
  }

  .about-highlight-label {
    text-align: left;
  }

  .about-partners {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-partner-logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
    padding: 20px 24px;
    min-width: 0;
  }
}

/* Testimonials */
.testimonial-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 44, 72, 0.12);
}

.testimonial-stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent-yellow);
  line-height: 1;
}

.testimonial-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(177, 192, 211, 0.25);
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Process steps grid */.process-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  padding: 32px 20px 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 177, 63, 0.4);
  box-shadow: 0 12px 36px rgba(26, 44, 72, 0.12), 0 0 0 1px rgba(238, 177, 63, 0.15);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-yellow-deep) 100%);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(238, 177, 63, 0.3);
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
}

.process-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Contact page layout */
.contact-header {
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f3553;
  margin: 0 0 8px;
  display: inline-block;
}

.contact-header h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
  margin-top: 12px;
}

.contact-lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Form styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.5);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(95, 114, 135, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(238, 177, 63, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235f7287' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  min-width: 200px;
}

/* Sidebar info blocks */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(177, 192, 211, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  padding: 8px 0;
}

.contact-info-block {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(177, 192, 211, 0.2);
}

.contact-info-block:last-child {
  border-bottom: none;
}

.contact-info-block h3 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
}

.contact-info-block a {
  color: var(--primary-navy);
  font-weight: 600;
}

.contact-info-block a:hover {
  color: var(--accent-yellow-deep);
}

.contact-muted {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.4 !important;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-sidebar {
    order: -1;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form .btn {
    width: 100%;
  }
}

/* No accent line on hero headings */
.hero h1::after {
  display: none;
}

/* Subtle section separator */
.services,
.technologies {
  position: relative;
}

/* Smooth link transitions */
a {
  transition: color var(--transition-base);
}

/* Card icon scale on hover */
.service-card:hover img {
  transform: scale(1.06);
}

.service-card img {
  transition: transform var(--transition-base);
}

/* Footer link hover with underline */
.footer-col a {
  transition: color var(--transition-base);
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Why UnitePro icons */
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(238, 177, 63, 0.12) 0%, rgba(238, 177, 63, 0.04) 100%);
  color: var(--primary-navy);
  margin: 0 auto 12px;
  transition: background var(--transition-base), color var(--transition-base);
}

.service-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  color: var(--accent-yellow);
}

/* Selection colors */
::selection {
  background: rgba(238, 177, 63, 0.25);
  color: var(--primary-navy);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Smooth scrollbar */
@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 52, 92, 0.25) transparent;
  }
}
