:root {
  --bg: #050609;
  --panel: rgba(10, 14, 22, 0.78);
  --panel-solid: #0c111b;
  --text: #f5f7fb;
  --muted: #b7bfce;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff7a00;
  --orange-2: #ff9d2e;
  --cyan: #00c8ff;
  --green: #78d83b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 200, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(255, 122, 0, 0.20), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(120, 216, 59, 0.10), transparent 32%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 82%);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 72px 0 48px;
  position: relative;
}

.tech-bg {
  position: absolute;
  inset: 46px -80px 0;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(0, 200, 255, 0.10), transparent 36%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow), inset 0 0 120px rgba(255, 122, 0, 0.06);
  overflow: hidden;
}

.tech-bg::before,
.tech-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.8;
}

.tech-bg::before {
  width: 360px;
  height: 360px;
  background: rgba(255, 122, 0, 0.18);
  right: -120px;
  top: -90px;
}

.tech-bg::after {
  width: 300px;
  height: 300px;
  background: rgba(0, 200, 255, 0.15);
  left: -100px;
  bottom: -80px;
}

.hero-content {
  position: relative;
  text-align: center;
  width: min(880px, 100%);
  padding: 54px 24px;
}

.logo {
  width: min(620px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.55));
}

.eyebrow,
.section-heading span,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-2);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.eyebrow::before,
.section-heading span::before,
.contact-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--orange));
}

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

h1 {
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.lead {
  max-width: 790px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover,
.gallery-item:hover,
.social-row a:hover,
.contact-list a:hover { transform: translateY(-2px); }

.primary {
  color: #111;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 34px rgba(255, 122, 0, 0.24);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.gallery-section,
.contact-section {
  padding: 58px 0;
}

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

.section-heading h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 18px;
}

.section-heading p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease, border-color .2s ease;
}

.gallery-item:hover { border-color: rgba(255, 122, 0, 0.72); }

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.13), transparent 42%),
    linear-gradient(315deg, rgba(0, 200, 255, 0.08), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span,
.social-row a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 16px;
  padding: 15px 16px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease;
}

.contact-list a:hover,
.social-row a:hover { border-color: rgba(255, 122, 0, 0.7); }

.social-row {
  margin: 26px 0 10px;
}

.social-row span { color: var(--muted); font-weight: 800; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  place-items: center;
  padding: 72px 20px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: min(1080px, 86vw);
  max-height: 78vh;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 32px 100px rgba(0,0,0,0.55);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(12, 17, 27, 0.82);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .2s ease, background .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: scale(1.04);
  background: rgba(255, 122, 0, 0.85);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 32px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 74px;
  border-radius: 18px;
  font-size: 54px;
  line-height: 1;
}

.lightbox-nav:hover { transform: translateY(-50%) scale(1.04); }

.prev { left: 22px; }
.next { right: 22px; }

.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: var(--muted);
  background: rgba(12, 17, 27, 0.82);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 24px, 1180px); }
  .hero { min-height: auto; padding-top: 42px; }
  .tech-bg { inset: 20px -10px 0; border-radius: 28px; }
  .hero-content { padding: 42px 12px; }
  .logo { width: 92vw; margin-bottom: 24px; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item { border-radius: 16px; min-height: 118px; }
  .contact-card { border-radius: 24px; }
  .lightbox-nav { width: 42px; height: 58px; font-size: 42px; }
  .prev { left: 8px; }
  .next { right: 8px; }
  .lightbox img { max-width: 92vw; }
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 18px;
    border: 1px solid rgba(255, 122, 0, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: 0.25s ease;
}

.social-links a:hover {
    border-color: #ff7a00;
    background: rgba(255, 122, 0, 0.12);
    transform: translateY(-2px);
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    transition: 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
}

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

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 31px;
        height: 31px;
    }
}
