:root {
  --bg: #0d1725;
  --bg-soft: #111f31;
  --surface: #ffffff;
  --surface-soft: #f2f5f9;
  --surface-dark: #13253c;
  --text: #16202b;
  --text-light: #eaf1f8;
  --muted: #607086;
  --line: #d5dde7;
  --blue: #1d5fa7;
  --blue-dark: #123f70;
  --orange: #f28c28;
  --orange-dark: #d67211;
  --shadow: 0 20px 45px rgba(8, 19, 36, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 95, 167, 0.2), transparent 30%),
    linear-gradient(180deg, #f6f9fc 0%, #edf3f8 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(13, 23, 37, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 148px;
  height: 42px;
  padding: 0.3rem 0.7rem 0.25rem;
  border-radius: 14px;
  background: #ffffff;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.hero,
.intro,
.branches,
.business-section,
.contact-section {
  padding: 5.5rem 0;
}

.hero {
  padding-top: 4.75rem;
}

.hero-grid,
.business-grid,
.contact-grid,
.intro-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.business-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.business-copy h2,
.contact-card h2,
.trust-card h2,
.intro h2 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  max-width: 11ch;
}

.lead {
  max-width: 62ch;
  color: #415062;
  font-size: 1.1rem;
}

.eyebrow,
.section-label,
.branch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions,
.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #3a86d8);
  box-shadow: 0 16px 32px rgba(29, 95, 167, 0.28);
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(29, 95, 167, 0.12);
}

.button-ghost {
  color: var(--text);
  background: rgba(242, 140, 40, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(18, 63, 112, 0.18);
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.45rem;
  color: #344558;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(242, 140, 40, 0.16);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 31, 49, 0.95), rgba(29, 95, 167, 0.8));
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(242, 140, 40, 0.22);
  filter: blur(8px);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.94;
}

.intro-grid {
  grid-template-columns: 1.1fr 1fr;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(18, 63, 112, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.intro h2,
.business-copy h2,
.contact-card h2,
.trust-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.branch-card,
.contact-card,
.trust-card,
.software-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.branch-card {
  border: 1px solid rgba(18, 63, 112, 0.08);
}

.branch-card-accent {
  background: linear-gradient(180deg, rgba(17, 31, 49, 0.98), rgba(20, 42, 69, 0.95));
  color: var(--text-light);
}

.branch-card-accent .branch-tag,
.branch-card-accent .text-link {
  color: #85b7f1;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.business-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.8));
}

.business-section-dark {
  background: linear-gradient(180deg, #0f1b2b 0%, #13253c 100%);
  color: var(--text-light);
}

.business-section-dark .section-label,
.business-section-dark .button-secondary {
  color: #99c8ff;
}

.business-grid-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.partner-logo {
  padding-top: 1rem;
}

.partner-logo img {
  max-width: 190px;
}

.hardware-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hardware-tile {
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.hardware-tile-large {
  grid-column: 1 / -1;
  min-height: 290px;
}

.hardware-tile img {
  width: 100%;
  height: calc(100% - 46px);
  object-fit: cover;
}

.hardware-tile figcaption {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 1rem;
  font-weight: 700;
}

.software-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-card {
  max-width: 420px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.95));
}

.software-card img {
  max-height: 88px;
  margin: 0 auto 1.5rem;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.contact-card address {
  font-style: normal;
  margin-bottom: 1.2rem;
}

.contact-card a,
.site-footer a {
  color: var(--blue);
  font-weight: 600;
}

.contact-note {
  color: var(--muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.trust-logos img {
  max-height: 86px;
  width: auto;
  border-radius: 10px;
  background: #fff;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(18, 63, 112, 0.12);
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .business-grid,
  .business-grid-reverse,
  .contact-grid,
  .intro-grid,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-card {
    min-height: 360px;
  }

  .topbar,
  .site-nav,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .intro,
  .branches,
  .business-section,
  .contact-section {
    padding: 4rem 0;
  }

  .button,
  .hero-actions,
  .business-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .branch-card,
  .contact-card,
  .trust-card,
  .software-card,
  .intro-grid {
    padding: 1.5rem;
  }

  .hardware-showcase {
    grid-template-columns: 1fr;
  }

  .hardware-tile-large {
    grid-column: auto;
  }
}
