:root {
  --ink: #0e2236;
  --muted: #607086;
  --blue-900: #073763;
  --blue-700: #0c5ea8;
  --blue-500: #1595d3;
  --green: #25d366;
  --line: #dbe5ef;
  --surface: #ffffff;
  --soft: #f3f7fb;
  --shadow: 0 18px 45px rgba(7, 55, 99, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--blue-900);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

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

.main-nav a {
  color: #22384f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue-700);
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--blue-900);
  border-radius: var(--radius);
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue-700);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-900);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  overflow: hidden;
  background: var(--blue-900);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(3, 25, 48, 0.86), rgba(3, 25, 48, 0.58) 43%, rgba(3, 25, 48, 0.18)), url("img/banner-vianet-custom.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 78px 0 96px;
}

.hero-content {
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee6ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 30px rgba(21, 149, 211, 0.26);
}

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

.btn-secondary.dark {
  color: var(--blue-900);
  border-color: var(--line);
  background: #fff;
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.2;
}

.trust-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--soft);
}

.split,
.services-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 17px;
}

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

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

.section-heading p {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
}

.section-heading.compact {
  max-width: 720px;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(7, 55, 99, 0.06);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  background: #e7f4fb;
  border-radius: var(--radius);
}

.card p,
.service-list p,
.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-main {
  position: sticky;
  top: 112px;
}

.services-main p:not(.section-kicker) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius);
}

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

.feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-section {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--blue-900), #0b4c86);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  color: #fff;
}

.contact-card .section-kicker {
  color: #8ee6ff;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p:not(.section-kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 28px 0;
  color: #dce8f4;
  background: #061d34;
}

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

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #8ee6ff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: flex;
    padding: 12px;
    border-radius: var(--radius);
  }

  .main-nav .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-media {
    background-image: linear-gradient(180deg, rgba(3, 25, 48, 0.88), rgba(3, 25, 48, 0.65) 58%, rgba(3, 25, 48, 0.4)), url("img/banner-vianet-custom.png");
  }

  .trust-grid,
  .split,
  .services-layout,
  .cards.three,
  .features,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .services-main {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    padding: 56px 0 70px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-text,
  .intro-copy,
  .section-heading p,
  .services-main p:not(.section-kicker) {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .card,
  .feature,
  .service-list article {
    padding: 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
