:root {
  --navy: #071c2f;
  --navy-2: #0b2e4b;
  --blue: #0d6efd;
  --electric: #f4c430;
  --steel: #5c6b75;
  --light: #f4f7fb;
  --white: #ffffff;
  --ink: #12202f;
  --muted: #637182;
  --line: rgba(18, 32, 47, 0.12);
  --shadow: 0 24px 70px rgba(7, 28, 47, 0.16);
  --radius: 26px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--electric);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.container {
  width: min(100% - 36px, var(--container));
  margin: 0 auto;
}
.section-pad { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 32, 47, 0.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(640px, 76vw);
}
.brand-text { min-width: 0; }
.brand-mark {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--electric);
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 14px 34px rgba(13, 110, 253, .24);
}
.brand-text { display: grid; line-height: 1.12; min-width: 0; }
.brand-text strong {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.brand-text small { color: var(--muted); font-size: .78rem; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy-2);
  font-weight: 700;
  font-size: .92rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(13, 110, 253, 0.1);
  color: var(--blue);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(244,196,48,.22), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(13,110,253,.18), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #eef4fa 48%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 62px solid rgba(13,110,253,.07);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.45rem, 6.2vw, 5.65rem);
  line-height: .94;
  letter-spacing: -.055em;
  margin-bottom: 24px;
  color: var(--navy);
}
.hero-title span { display: block; }
h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin-bottom: 18px;
  color: var(--navy);
}
h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--navy-2);
}
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--steel);
  max-width: 660px;
  margin-bottom: 28px;
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0858c8);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(13, 110, 253, .25);
}
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-pills span,
.chips span,
.feature-list span,
.contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(18,32,47,.1);
  color: var(--navy-2);
  font-weight: 800;
  font-size: .92rem;
}
.hero-visual {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,32,47,.08);
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  border-radius: 24px;
  object-fit: contain;
  background: #e6eef5;
}
.visual-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  width: min(280px, 82%);
  padding: 18px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(7, 28, 47, .25);
}
.visual-card strong { display: block; color: var(--electric); margin-bottom: 6px; }
.visual-card span { color: rgba(255,255,255,.78); font-size: .94rem; }

.two-col,
.split-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.split-layout { grid-template-columns: 1fr 1fr; }
.split-layout.reverse { grid-template-columns: 1.05fr .95fr; }
.center-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}
.center-heading p:last-child { color: var(--muted); }
.text-panel,
.detail-card,
.contact-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(7,28,47,.08);
  padding: clamp(22px, 4vw, 38px);
}
.text-panel p,
.content-stack p,
.contact-card p,
.service-card p,
.site-footer p { color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), #ffe383);
  box-shadow: inset 0 0 0 5px rgba(7,28,47,.14);
}
.compact-list { margin-top: 18px; }
.columns-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.services { background: var(--navy); color: var(--white); }
.services h2, .services h3 { color: var(--white); }
.services .center-heading p:last-child,
.services .service-card p { color: rgba(255,255,255,.72); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 240px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, background .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: var(--electric);
  color: var(--navy);
  font-size: 1.4rem;
}
.detail { background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-card.dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}
.detail-card.dark h3,
.detail-card.dark li { color: var(--white); }
.deliverables {
  margin-top: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(13,110,253,.10), rgba(244,196,48,.18));
  border: 1px solid var(--line);
}
.chips, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-section,
.systems,
.steel { background: var(--light); }
.content-stack { max-width: 620px; }
.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.image-stack img,
.single-image img,
.image-pair img,
.gallery-strip img,
.gallery-item img {
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(18,32,47,.08);
  box-shadow: 0 18px 52px rgba(7,28,47,.12);
  object-fit: contain;
}
.image-stack img:first-child { transform: translateY(-18px); }
.image-stack img:last-child { transform: translateY(18px); }
.single-image { padding: 16px; border-radius: 34px; background: var(--white); box-shadow: var(--shadow); }
.single-image img { width: 100%; box-shadow: none; border-radius: 22px; }
.lines {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0b2e4b);
}
.lines h2 { color: var(--white); }
.lines .feature-list span {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.16);
}
.cfe { background: #fff; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.gallery-strip img { width: 100%; height: 245px; padding: 6px; background: var(--white); }
.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.image-pair img { width: 100%; padding: 6px; background: var(--white); }
.telecom { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  padding: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover img {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(7,28,47,.18);
}
.contact {
  background: linear-gradient(135deg, var(--navy), #0f3d61);
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: rgba(255,255,255,.96);
}
.contact-card h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.contact-actions { justify-content: flex-end; }
.contact-chip { background: var(--light); }
.site-footer {
  background: #04111d;
  color: var(--white);
  padding: 38px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 24px;
  align-items: start;
}
.site-footer span { color: var(--electric); display: block; font-weight: 900; margin-bottom: 8px; }
.site-footer a { color: var(--white); font-weight: 800; }
.site-footer p { margin: 0; color: rgba(255,255,255,.72); }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(37,211,102,.35);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4,17,29,.88);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--electric);
  color: var(--navy);
  font-size: 2rem;
  cursor: pointer;
}
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .section-pad { padding: 72px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 12px 14px; }
  .hero-grid,
  .two-col,
  .split-layout,
  .split-layout.reverse,
  .detail-grid,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-actions { justify-content: flex-start; }
  .visual-card { left: 18px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 26px, var(--container)); }
  .section-pad { padding: 58px 0; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 54px; height: 54px; border-radius: 16px; font-size: .9rem; }
  .brand-text strong { font-size: .78rem; }
  .brand-text small { font-size: .72rem; }
  .hero { min-height: auto; padding-top: 26px; }
  h1 { font-size: clamp(2.2rem, 12vw, 4rem); letter-spacing: -.045em; }
  h2 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-pills span, .feature-list span, .chips span, .contact-chip { width: 100%; justify-content: center; text-align: center; }
  .visual-card { position: static; width: 100%; margin-top: 12px; }
  .columns-list,
  .service-grid,
  .gallery-strip,
  .image-stack,
  .image-pair,
  .gallery-grid { grid-template-columns: 1fr; }
  .image-stack img:first-child,
  .image-stack img:last-child { transform: none; }
  .gallery-strip img,
  .gallery-item img { height: auto; max-height: 420px; }
  .single-image { padding: 10px; }
  .whatsapp-float { left: 14px; right: 14px; bottom: 12px; }
  .site-footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
