:root {
  --navy: #07162f;
  --navy-2: #0c2449;
  --blue: #0e62b8;
  --cyan: #52b7df;
  --black: #07090e;
  --white: #ffffff;
  --silver: #d7dde8;
  --muted: #657084;
  --line: rgba(12, 36, 73, 0.12);
  --panel: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(7, 22, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: #f6f8fb;
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  color: var(--white);
  background: rgba(7, 22, 47, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(7, 22, 47, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 5px;
  color: var(--silver);
  font-size: 10px;
  font-weight: 800;
}

.brand-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 62px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/starinfra-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 12, 28, 0.92) 0%, rgba(4, 12, 28, 0.72) 38%, rgba(4, 12, 28, 0.18) 76%),
    linear-gradient(180deg, rgba(4, 12, 28, 0.18), rgba(4, 12, 28, 0.8));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(320px, 420px);
  align-items: end;
  justify-content: space-between;
  gap: 140px;
  padding: 150px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  max-width: 540px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

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

h3 {
  color: var(--navy);
  line-height: 1.2;
}

.tagline {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}

.hero-text {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #072d66);
  box-shadow: 0 16px 32px rgba(14, 98, 184, 0.28);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 22, 47, 0.45);
  border-radius: 8px;
}

.hero-panel span {
  display: block;
  color: var(--white);
  font-size: 34px;
  font-weight: 900;
}

.hero-panel p {
  margin: 0;
  color: var(--silver);
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: start;
}

.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.about-list span {
  display: block;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 22, 47, 0.06);
}

.services-section {
  background: var(--white);
}

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

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

.service-card {
  display: block;
  min-height: 238px;
  padding: 14px 14px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(7, 22, 47, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 98, 184, 0.3);
  box-shadow: 0 24px 55px rgba(7, 22, 47, 0.13);
}

.service-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 8px;
}

.service-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

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

.service-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.service-hero::before,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-hero::before {
  background-image: url("assets/starinfra-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.service-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 12, 28, 0.94), rgba(4, 12, 28, 0.72) 48%, rgba(4, 12, 28, 0.24)),
    linear-gradient(180deg, rgba(4, 12, 28, 0.1), rgba(4, 12, 28, 0.78));
}

.service-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 72px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--silver);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--cyan);
}

.service-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 66px);
}

.service-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.detail-panel,
.sidebar-panel,
.faq-item,
.related-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(7, 22, 47, 0.07);
}

.detail-panel {
  padding: 34px;
}

.detail-panel p {
  color: var(--muted);
  font-size: 17px;
}

.detail-panel ul {
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--muted);
}

.detail-panel li {
  margin-bottom: 8px;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px 0 30px;
  box-shadow: var(--shadow);
}

.benefit-grid,
.industry-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 32px;
}

.benefit-grid span,
.industry-grid span {
  display: block;
  padding: 13px 14px;
  color: var(--navy);
  font-weight: 800;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 34px;
}

.faq-item {
  padding: 18px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
}

.sidebar-panel {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.sidebar-panel h2 {
  font-size: 24px;
}

.sidebar-panel p,
.sidebar-panel a {
  color: var(--muted);
}

.sidebar-panel .btn {
  width: 100%;
  margin-top: 12px;
  color: var(--white);
}

.related-card {
  padding: 18px;
}

.related-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

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

.stats-section {
  padding: 70px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 22, 47, 0.98), rgba(12, 36, 73, 0.94)),
    radial-gradient(circle at 85% 25%, rgba(82, 183, 223, 0.35), transparent 32%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 26px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

.stat span {
  color: var(--silver);
  font-weight: 700;
}

.location-grid {
  display: grid;
  gap: 24px;
}

.location-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-content {
  padding: 32px;
}

.location-content p {
  color: var(--muted);
}

.location-card iframe {
  width: 100%;
  min-height: 310px;
  height: 100%;
  border: 0;
  filter: grayscale(0.15);
}

.contact-section {
  background: var(--white);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-methods a {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f8fbff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 36, 73, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(14, 98, 184, 0.16);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #050b17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 36px;
  padding: 54px 0;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
}

.footer-brand .brand-logo {
  width: 120px;
  height: 72px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #16b45f;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(22, 180, 95, 0.38);
}

.whatsapp-float span {
  font-weight: 900;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(40px, 9vw, 68px);
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1061px) and (max-width: 1380px) {
  .hero-grid {
    grid-template-columns: minmax(0, 500px) minmax(300px, 380px);
    gap: 90px;
  }

  h1 {
    max-width: 500px;
    font-size: clamp(42px, 4vw, 56px);
  }

  .hero-text {
    max-width: 500px;
  }

  .hero-panel {
    max-width: 380px;
  }
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7, 22, 47, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .contact-grid,
  .location-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    padding: 136px 0 72px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .section {
    padding: 72px 0;
  }

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

  .location-card iframe {
    min-height: 260px;
  }

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

  .sidebar-panel {
    position: static;
  }

  .benefit-grid,
  .industry-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header {
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 11px;
  }

  .brand small {
    font-size: 9px;
  }

  .brand-logo {
    width: 94px;
    height: 50px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-text,
  .section-copy p,
  .section-heading p,
  .contact-copy p {
    font-size: 16px;
  }

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

  .about-list,
  .service-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .detail-panel,
  .sidebar-panel {
    padding: 22px;
  }

  .benefit-grid,
  .industry-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
