:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #10212b;
  --muted: #5b6b75;
  --line: #d9e2e7;
  --accent: #007b80;
  --accent-dark: #005f64;
  --warm: #f0a23a;
  --dark: #071820;
  --dark-soft: #0c2630;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(7, 24, 32, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

:focus-visible {
  outline: 3px solid rgba(0, 166, 166, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(16, 24, 23, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--dark-soft), var(--dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(7,24,32,.18);
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.header-phone {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 11px;
  cursor: pointer;
}

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

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

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(0, 166, 166, 0.17), transparent 34%),
    linear-gradient(90deg, rgba(7, 24, 32, 0.98) 0%, rgba(7, 24, 32, 0.91) 48%, rgba(7, 24, 32, 0.68) 100%),
    url("/assets/images/hero-security.jpg") center 32% / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 108px 0 92px;
  max-width: none;
  margin: 0 auto;
}

.hero-eyebrow {
  margin: 0 0 18px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 840px;
}

.hero-subtitle {
  margin: 0 0 30px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 50px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

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

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

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(4, 18, 24, 0.48);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 18px 0;
  max-width: 800px;
}

.hero-proof span {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.hero-proof > span:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: #fff;
  font-size: 16px;
}

.hero-proof a {
  color: #fff;
  text-decoration: underline;
}

.section {
  padding: 112px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
  align-items: start;
}

.section-intro p,
.section-grid > div > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.section-grid > div > h2,
.section-heading h2,
.page-hero h1,
.prose h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .08em;
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.company-facts div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  min-width: 0;
}

.company-facts dt {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0;
}

.company-facts dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.solutions-section {
  background: var(--surface);
}

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

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 28px;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #bfd0d8;
}

.solution-card svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.detail-section {
  border-top: 1px solid var(--line);
}

.detail-section:nth-of-type(odd) {
  background: var(--surface);
}

.detail-section:nth-of-type(even) {
  background: linear-gradient(135deg, #eef5f6, #f8fafb);
}

.detail-grid {
  align-items: center;
}

.detail-grid p {
  margin: 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.contact-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
}

.contact-section .eyebrow {
  color: #7dd3c8;
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-phone {
  font-size: 26px;
  font-weight: 800;
  margin: 22px 0 8px;
}

.contact-phone a {
  color: #fff;
}

.legal-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  color: var(--ink);
  min-width: 0;
}

.contact-section .legal-block {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.legal-block h2,
.legal-block h3 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 0;
}

.legal-block p {
  margin: 0 0 8px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-block .official-statement {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.contact-section .legal-block p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-section .legal-block .official-statement {
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.site-footer {
  background: #041116;
  color: #d9e3df;
  padding: 44px 0 22px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.footer-inner p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
  padding: 92px 0;
}

.page-hero .eyebrow {
  color: #7dd3c8;
}

.page-hero p:last-child {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-page {
  padding-top: 56px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 46px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  min-width: 0;
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.contact-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact-card a {
  font-weight: 800;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.contact-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 6px;
}

.contact-legal {
  max-width: 760px;
}

.prose-section {
  padding-top: 48px;
}

.prose {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.prose h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 16px;
  color: var(--muted);
}

.privacy-legal {
  margin-top: 30px;
  background: var(--bg);
}

.policy-updated {
  display: inline-flex;
  margin: 0 0 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f5f4;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1020px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 32px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

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

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

  .section-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 40px, 1240px);
  }

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

  .brand-copy strong {
    max-width: 150px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding: 76px 0 64px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-proof {
    gap: 12px;
    flex-direction: column;
    padding: 8px 18px;
  }

  .hero-proof span {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .hero-proof > span:last-child {
    border-bottom: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-grid > div > h2,
  .section-heading h2,
  .page-hero h1 {
    font-size: 28px;
  }

  .solution-grid,
  .contact-cards,
  .company-facts {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding-top: 40px;
  }

  .prose {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
