:root {
  --ink: #062744;
  --ink-2: #0c3559;
  --blue: #1f66c7;
  --blue-2: #0f7edc;
  --light: #f4f6f9;
  --line: #d8dee8;
  --muted: #59697b;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(6, 39, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
}
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  width: min(1140px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 300px;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 38px);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  padding: 19px 0;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #8fc8ff;
}

.quote-link {
  padding: 12px 14px !important;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.quote-link:hover,
.quote-link:focus-visible {
  color: var(--white) !important;
  background: var(--blue-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 122px 22px 92px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 20, 37, 0.96), rgba(6, 30, 54, 0.58), rgba(4, 17, 33, 0.82)),
    url("assets/hero-data-center.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 66%, rgba(61, 156, 255, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(2, 12, 27, 0.18), rgba(2, 12, 27, 0.64));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin-bottom: 80px;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.15rem, 3.5vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  margin: 16px auto 34px;
  max-width: 800px;
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  font-weight: 600;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 50px;
  padding: 13px 28px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background: var(--blue-2);
}

.quick-services {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(2, 14, 29, 0.62);
}

.quick-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 16px 18px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.quick-service:last-child {
  border-right: 0;
}

.quick-service svg,
.value-grid svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.quick-service:first-child svg {
  color: #2d7be4;
}

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

.section.about,
.projects {
  background: #f5f7fa;
}

.section-inner {
  width: min(1100px, calc(100% - 42px));
  margin: 0 auto;
  text-align: center;
}

.section-inner.narrow {
  width: min(1100px, calc(100% - 42px));
}

h2 {
  margin: 0 0 4px;
  color: var(--ink-2);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
}

.lead {
  max-width: 780px;
  margin: 24px auto 34px;
  color: #121d2a;
  font-size: 1.08rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.value-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  align-items: center;
  text-align: left;
}

.value-grid svg {
  grid-row: span 2;
  color: var(--blue);
}

h3 {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 00;
}

.value-grid p,
.card-body p,
.contact-band p,
.contact-list {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-grid {
  width: min(960px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.image-card {
  overflow: hidden;
  background: #f3f5f8;
  border: 1px solid #dce3ec;
  border-radius: 2px;
  box-shadow: 0 7px 18px rgba(6, 39, 68, 0.06);
  text-align: center;
}

.image-card img {
  height: 156px;
  object-fit: cover;
}

.project-grid .image-card img {
  height: 145px;
}

.card-body {
  padding: 12px 14px 16px;
}

.card-body p {
  margin-top: 8px;
  font-size: 0.93rem;
}

.contact-band {
  padding: 74px clamp(20px, 5vw, 68px);
  background:
    linear-gradient(90deg, rgba(8, 35, 64, 0.94), rgba(10, 64, 116, 0.86)),
    url("assets/hero-datacenter.webp") center / cover;
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-content span,
.contact-content h2 {
  color: var(--white);
}

.contact-content p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-column,
.quote-form {
  min-width: 0;
  padding: 36px clamp(22px, 5vw, 62px);
  border-right: 1px solid var(--line);
}

.quote-form {
  border-right: 0;
  background: var(--white);
}

.contact-band h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.contact-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin-top: 50px;
  list-style: none;
}

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

.partner-grid span {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 13px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cdd7e4;
  border-radius: 4px;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .primary-btn {
  width: 100%;
  margin-top: 2px;
  box-shadow: none;
}

.form-status {
  min-height: 24px;
  font-weight: 700;
}

.site-footer {
  padding: 22px;
  color: var(--white);
  background: #06182d;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(5, 24, 45, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 12px;
  }

  .quote-link {
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

  .quick-services,
  .value-grid,
  .service-grid,
  .project-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .quick-service {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .quick-service:last-child {
    border-bottom: 0;
  }

  .hero-content {
    margin-bottom: 180px;
  }

  .value-grid article {
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .project-grid {
    gap: 18px;
  }

  .image-card img,
  .project-grid .image-card img {
    height: 210px;
  }

  .contact-column,
  .quote-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: min(100% - 24px, 1140px);
  }

  .brand {
    padding: 4px 6px;
  }

  .brand img {
    width: 224px;
    height: 50px;
  }

  .hero {
    min-height: 680px;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero h1 span {
    white-space: normal;
  }

  .quick-service {
    justify-content: flex-start;
  }

  .section-inner,
  .section-inner.narrow {
    width: min(100% - 28px, 1100px);
  }

  .value-grid article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .value-grid svg {
    grid-row: auto;
    margin: 0 auto;
  }

  .image-card img,
  .project-grid .image-card img {
    height: 180px;
  }

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


/* Navigation color adjustment for white header */
.nav-links a,
.site-nav a,
nav a {
    color: #0b2e59 !important;
}

.nav-links a:hover,
.site-nav a:hover,
nav a:hover {
    color: #000000 !important;
}

section[id] { scroll-margin-top: 150px; }
html { scroll-behavior: smooth; }

/* Responsive enhancements */
body{overflow-x:hidden;}

.contact-content{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

@media (max-width: 1024px){
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .project-grid{grid-template-columns:repeat(2,1fr);}
  .contact-content{grid-template-columns:1fr;}
}

@media (max-width: 768px){
  .brand img{max-width:220px;height:auto;}
  .nav-menu{width:calc(100% - 36px);}
  .hero-content{width:100%;}
  .service-grid,
  .project-grid,
  .value-grid,
  .partner-grid{
    grid-template-columns:1fr;
  }
  .contact-column,
  .quote-form{
    padding:24px 18px;
  }
}

@media (max-width: 480px){
  .hero{
    min-height:auto;
    padding-top:120px;
    padding-bottom:240px;
  }
  .hero h1{font-size:1.8rem;}
  .hero p{font-size:1rem;}
  .quick-service{
    font-size:0.95rem;
    padding:12px;
  }
}
