:root {
  --paper: #f7faf8;
  --mint: #dff7ef;
  --ink: #10211f;
  --muted: #61706d;
  --line: rgba(16, 33, 31, 0.12);
  --teal: #0f9b8e;
  --cobalt: #3867d6;
  --violet: #7256c8;
  --amber: #d89b32;
  --coral: #d85d4d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(16, 33, 31, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  align-items: center;
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  left: 0;
  min-height: 78px;
  padding: 12px 34px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
  min-width: 190px;
}

.brand img {
  border: 1px solid rgba(56, 103, 214, 0.16);
  border-radius: 8px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: center;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--ink);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.language-switch {
  align-items: center;
  background: rgba(16, 33, 31, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  padding: 4px;
}

.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  min-width: 42px;
  padding: 0 10px;
}

.language-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.icon-link,
.primary-button,
.secondary-button,
.contact-form button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 46px;
  white-space: nowrap;
}

.icon-link {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 33, 31, 0.08);
  color: var(--ink);
  font-size: 14px;
  padding: 0 17px;
}

.icon-link svg,
.primary-button svg,
.secondary-button svg,
.contact-form button svg,
.service-body svg,
.network-points svg,
address svg {
  height: 18px;
  width: 18px;
}

.menu-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.mobile-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  gap: 18px;
  left: 16px;
  padding: 22px;
  position: fixed;
  right: 16px;
  top: 88px;
  z-index: 30;
}

.mobile-nav.open {
  display: grid;
}

.hero {
  background-image: url("https://images.pexels.com/photos/4297522/pexels-photo-4297522.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
  min-height: 720px;
  position: relative;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 22, 20, 0.86), rgba(10, 22, 20, 0.64) 44%, rgba(10, 22, 20, 0.18)),
    linear-gradient(0deg, rgba(16, 33, 31, 0.18), rgba(16, 33, 31, 0.18));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 780px;
  padding: 116px 34px 74px;
  position: relative;
  width: min(100%, 1280px);
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8fff0;
}

.hero h1 {
  font-size: 76px;
  line-height: 0.98;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  line-height: 1.52;
  margin: 24px 0 0;
  max-width: 700px;
}

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

.primary-button {
  background: var(--white);
  color: var(--ink);
  padding: 0 22px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  padding: 0 22px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 56px 0 0;
  max-width: 680px;
}

.hero-metrics div {
  border-left: 3px solid var(--amber);
  min-height: 92px;
  padding: 8px 16px;
}

.hero-metrics dt {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.35;
  margin: 10px 0 0;
}

.section {
  padding: 92px 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 34px;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 54px 0;
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

h2 {
  font-size: 46px;
  line-height: 1.08;
  margin: 0;
}

.intro-grid p:last-child,
.network-grid p,
.tech-copy p,
.contact-section p,
.audience-card p,
.service-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

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

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

.service-card,
.audience-card,
.contact-form,
.trace-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 33, 31, 0.08);
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.service-body {
  padding: 24px;
}

.service-body svg,
.audience-card svg {
  color: var(--cobalt);
}

.service-body h3,
.audience-card h3 {
  font-size: 21px;
  line-height: 1.22;
  margin: 16px 0 10px;
}

.technology-band {
  background:
    linear-gradient(135deg, rgba(15, 155, 142, 0.12), rgba(216, 155, 50, 0.08)),
    var(--mint);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.tech-grid,
.network-grid,
.contact-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.tech-copy {
  max-width: 610px;
}

.tech-copy p {
  margin-top: 22px;
}

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

.check-list li {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 800;
  gap: 12px;
}

.check-list li::before {
  background: var(--coral);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.trace-panel {
  padding: 24px;
}

.trace-header {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: space-between;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.trace-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 76px;
}

.trace-row span:last-child {
  background: rgba(15, 155, 142, 0.12);
  border-radius: 999px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.trace-row.strong span:last-child {
  background: rgba(216, 155, 50, 0.16);
  color: #8a5d0f;
}

.trace-code {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  font-weight: 900;
}

.network-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.network-grid h2 {
  margin-bottom: 22px;
}

.network-points {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.network-points div {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 13px;
  min-height: 60px;
  padding: 14px 16px;
}

.network-points svg {
  color: var(--violet);
  flex: 0 0 auto;
}

.network-visual {
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.network-visual img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.map-layer {
  background: linear-gradient(90deg, rgba(16, 33, 31, 0.72), rgba(16, 33, 31, 0.08));
  inset: 0;
  position: absolute;
}

.node {
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(16, 33, 31, 0.2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 12px;
  position: absolute;
}

.node::before {
  background: var(--coral);
  border: 4px solid rgba(216, 93, 77, 0.18);
  border-radius: 999px;
  content: "";
  height: 13px;
  left: -18px;
  position: absolute;
  top: 10px;
  width: 13px;
}

.node.north {
  left: 28%;
  top: 22%;
}

.node.central {
  left: 42%;
  top: 48%;
}

.node.south {
  left: 58%;
  top: 68%;
}

.audience-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

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

.audience-card {
  padding: 32px;
}

.gallery-section {
  padding-bottom: 48px;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 0.85fr;
}

.gallery-grid figure {
  border-radius: 8px;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.gallery-grid figcaption {
  background: rgba(16, 33, 31, 0.78);
  bottom: 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  left: 16px;
  padding: 9px 12px;
  position: absolute;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.92), rgba(247, 250, 248, 0.96)),
    url("https://images.pexels.com/photos/6812484/pexels-photo-6812484.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-position: center;
  background-size: cover;
}

.contact-grid {
  align-items: stretch;
}

.contact-grid > div {
  display: flex;
  flex-direction: column;
}

.contact-section h2 {
  margin-bottom: 20px;
}

address {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(16, 33, 31, 0.08);
  display: inline-flex;
  font-style: normal;
  font-weight: 800;
  gap: 12px;
  margin-top: 28px;
  min-height: 62px;
  padding: 16px 18px;
}

address svg {
  color: var(--coral);
  flex: 0 0 auto;
}

.map-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(16, 33, 31, 0.1);
  height: 290px;
  margin-top: 18px;
  max-width: 520px;
  overflow: hidden;
  width: 100%;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 18px;
  grid-template-rows: auto auto auto minmax(150px, 1fr) auto auto;
  height: 100%;
  padding: 28px;
}

.hp-field {
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

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

.message-field {
  min-height: 0;
}

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 50px;
  outline: none;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

.message-field textarea {
  height: 100%;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 155, 142, 0.12);
}

.form-status {
  border-radius: 8px;
  display: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 12px 14px;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  background: rgba(15, 155, 142, 0.12);
  color: #08786e;
}

.form-status.error {
  background: rgba(216, 93, 77, 0.13);
  color: #a83c31;
}

.contact-form button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  margin-top: 2px;
  padding: 0 22px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.footer-inner span:last-child {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 60px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 10px 18px;
  }

  .desktop-nav,
  .icon-link {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

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

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 92px 22px 60px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics,
  .intro-grid,
  .tech-grid,
  .network-grid,
  .contact-grid,
  .audience-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 36px;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .gallery-grid figure {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .section-inner {
    padding: 0 18px;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-metrics div {
    min-height: auto;
  }

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

  .network-visual {
    min-height: 390px;
  }

  .node.north {
    left: 32%;
  }

  .node.central {
    left: 36%;
  }

  .node.south {
    left: 48%;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
