:root {
  --ink: #101820;
  --muted: #5b6672;
  --line: #d9e0e7;
  --paper: #e8eef2;
  --white: #ffffff;
  --navy: #0b1726;
  --steel: #2f4a5f;
  --green: #1ea672;
  --green-dark: #107a55;
  --gold: #d7a64a;
  --shadow: 0 20px 60px rgba(13, 24, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(rgba(10, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 24, 39, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(7, 17, 29, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--navy), var(--green));
}

.brand-logo {
  width: 206px;
  height: 52px;
  object-fit: contain;
  background: var(--navy);
}

.brand:has(.brand-logo) > span {
  display: none;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: #64e0af;
}

.nav-cta {
  padding: 10px 15px;
  color: var(--white) !important;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 78px clamp(20px, 5vw, 72px) 122px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 18, 31, 0.98) 0%, rgba(12, 31, 48, 0.93) 48%, rgba(15, 61, 69, 0.82) 100%),
    radial-gradient(circle at 78% 30%, rgba(30, 166, 114, 0.28), transparent 34%),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 108px;
  background: linear-gradient(180deg, transparent, rgba(246, 248, 250, 0.96));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #64e0af;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.65rem, 5.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(30, 166, 114, 0.26);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(34, 71, 91, 0.2), rgba(8, 18, 31, 0.45));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 84%);
}

.skyline {
  position: absolute;
  inset: auto 0 0;
  height: 128px;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(255,255,255,0.14) 4% 10%, transparent 10% 14%, rgba(255,255,255,0.1) 14% 22%, transparent 22% 28%, rgba(255,255,255,0.15) 28% 40%, transparent 40% 47%, rgba(255,255,255,0.12) 47% 58%, transparent 58% 66%, rgba(255,255,255,0.1) 66% 78%, transparent 78% 100%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.tower {
  position: absolute;
  left: 19%;
  bottom: 54px;
  width: 190px;
  height: 420px;
  clip-path: polygon(48% 0, 53% 0, 100% 100%, 77% 100%, 50% 22%, 23% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.18));
}

.tower span {
  position: absolute;
  left: 50%;
  width: 190px;
  height: 1px;
  background: rgba(255,255,255,0.75);
  transform: translateX(-50%) rotate(-31deg);
}

.tower span:nth-child(1) {
  top: 32%;
}

.tower span:nth-child(2) {
  top: 52%;
}

.tower span:nth-child(3) {
  top: 72%;
}

.fiber {
  position: absolute;
  right: 9%;
  width: 330px;
  height: 330px;
  border: 2px solid rgba(100, 224, 175, 0.56);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.fiber-one {
  top: 72px;
}

.fiber-two {
  top: 122px;
  right: 16%;
  width: 240px;
  height: 240px;
  border-color: rgba(215, 166, 74, 0.45);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.fiber-three {
  top: 190px;
  right: 7%;
  width: 190px;
  height: 190px;
}

.solar-grid {
  position: absolute;
  right: 8%;
  bottom: 76px;
  width: 210px;
  height: 104px;
  transform: skewX(-18deg);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(135deg, rgba(30,166,114,0.6), rgba(47,74,95,0.76));
  background-size: 42px 26px, 42px 26px, auto;
  box-shadow: 0 16px 30px rgba(0,0,0,0.25);
}

.cctv {
  position: absolute;
  right: 29%;
  top: 42%;
  width: 94px;
  height: 38px;
  background: rgba(255,255,255,0.74);
  transform: rotate(-14deg);
}

.cctv::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30, 166, 114, 0.9);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 72px);
  bottom: 38px;
  display: grid;
  width: min(640px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.45rem;
  line-height: 1;
}

.hero-panel span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.page-header {
  padding: 112px clamp(20px, 5vw, 72px) 86px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 18, 31, 0.98), rgba(14, 49, 59, 0.92)),
    var(--navy);
}

.page-header h1 {
  max-width: 960px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-header p:last-child {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 860px;
}

.intro-band {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.62), rgba(219,228,234,0.86)),
    var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.intro-grid article {
  min-height: 260px;
  padding: 32px;
  background: #f8fafb;
}

.intro-grid p,
.service-card p,
.project-grid p,
.contact-card p,
.statement-list p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  color: var(--white);
  background: var(--navy);
}

.statement-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.statement-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.statement-list span {
  color: var(--gold);
  font-weight: 800;
}

.statement-list p {
  color: rgba(255, 255, 255, 0.76);
}

.services {
  background:
    linear-gradient(180deg, #dfe7ec, #edf2f5);
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f8fafb;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 166, 114, 0.42);
  box-shadow: var(--shadow);
}

.service-card.wide {
  grid-column: span 2;
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  font-weight: 800;
  background: var(--steel);
}

.projects {
  background:
    linear-gradient(180deg, #eef3f5, #dfe7ec);
}

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

.project-grid article {
  background: var(--white);
  border: 1px solid var(--line);
}

.project-grid h3,
.project-grid p {
  padding-right: 26px;
  padding-left: 26px;
}

.project-grid h3 {
  margin-top: 24px;
}

.project-grid p {
  padding-bottom: 30px;
}

.project-visual {
  height: 230px;
  background-position: center;
  background-size: cover;
  background:
    linear-gradient(rgba(11, 23, 38, 0.2), rgba(11, 23, 38, 0.55)),
    linear-gradient(135deg, var(--steel), var(--green));
  position: relative;
  overflow: hidden;
}

.project-visual.actual {
  background-position: center;
  background-size: cover;
}

.project-visual.actual::before,
.project-visual.actual::after {
  display: none;
}

.project-visual.route {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.08), rgba(11, 23, 38, 0.36)),
    url("assets/mpaj/image3.png");
}

.project-visual.cabinet {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.05), rgba(11, 23, 38, 0.28)),
    url("assets/mpaj/image27.png");
}

.project-visual.maintenance {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.05), rgba(11, 23, 38, 0.28)),
    url("assets/mpaj/image30.png");
}

.project-visual.fiber-route {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.1), rgba(11, 23, 38, 0.36)),
    url("assets/projects/fiber-route.jpg");
}

.project-visual.fiber-site {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.03), rgba(11, 23, 38, 0.22)),
    url("assets/projects/fiber-site.png");
  background-position: center 42%;
}

.project-visual.cctv-pole {
  background-image:
    linear-gradient(rgba(11, 23, 38, 0.03), rgba(11, 23, 38, 0.25)),
    url("assets/projects/cctv-smart-pole.png");
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
}

.project-visual.telecom::before {
  left: 50%;
  bottom: 24px;
  width: 120px;
  height: 180px;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 76% 100%, 50% 24%, 24% 100%, 0 100%);
  transform: translateX(-50%);
}

.project-visual.telecom::after {
  left: 18%;
  top: 40px;
  width: 230px;
  height: 230px;
  border: 2px solid rgba(255,255,255,0.48);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  background: transparent;
}

.project-visual.network {
  background:
    linear-gradient(rgba(11, 23, 38, 0.2), rgba(11, 23, 38, 0.55)),
    linear-gradient(135deg, #263543, #1ea672);
}

.project-visual.network::before {
  inset: 40px 46px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 34px 34px;
}

.project-visual.network::after {
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  border: 8px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.project-visual.security {
  background:
    linear-gradient(rgba(11, 23, 38, 0.18), rgba(11, 23, 38, 0.58)),
    linear-gradient(135deg, #31485f, #d7a64a);
}

.project-visual.security::before {
  left: 50%;
  top: 48%;
  width: 150px;
  height: 62px;
  transform: translate(-50%, -50%) rotate(-9deg);
}

.project-visual.security::after {
  left: calc(50% + 62px);
  top: calc(48% - 15px);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #153b45);
}

.cta-band h2 {
  max-width: 820px;
}

.contact {
  background:
    linear-gradient(180deg, #e8eef2, #f4f7f8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 42px;
}

.contact-card,
.inquiry-form {
  border: 1px solid var(--line);
  background: #f8fafb;
}

.contact-card {
  padding: 32px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: #334250;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: #07111d;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  background: var(--green);
  box-shadow: 0 14px 32px rgba(16, 122, 85, 0.34);
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 150px;
  }

  .hero-media {
    min-height: 420px;
    order: -1;
  }

  .section-heading,
  .intro-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #0b1726;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
  }

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

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

  .nav-cta {
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 170px;
  }

  .hero-media {
    min-height: 330px;
  }

  .tower {
    left: 8%;
    width: 140px;
    height: 300px;
  }

  .fiber {
    right: -22%;
  }

  .solar-grid {
    right: 10%;
    width: 150px;
    height: 74px;
  }

  .hero-panel {
    right: 20px;
    bottom: 28px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 20px;
  }

  .page-header {
    padding: 76px 20px 58px;
  }

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

  .intro-grid.two {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
