@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --c-900: #021B1A;
  --c-850: #062F2D;
  --c-800: #0B4F4A;
  --c-700: #0F766E;
  --c-600: #14B8A6;
  --c-500: #2DD4BF;
  --c-200: #CCFBF1;
  --c-100: #FFFFFF;
  --c-muted: #94A3B8;
  --c-glow: #14F1D9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 15% 15%, rgba(20, 184, 166, 0.16), transparent 30%),
              radial-gradient(circle at 85% 25%, rgba(20, 241, 217, 0.12), transparent 35%),
              linear-gradient(155deg, var(--c-900), var(--c-850) 52%, #041f1e);
  color: var(--c-100);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display { font-family: 'Playfair Display', serif; letter-spacing: 0.02em; }
.nav-font, .font-mont { font-family: 'Montserrat', sans-serif; }

.section-label {
  color: var(--c-200);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.industrial-grid {
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
}

.brand-mark::before {
  background: linear-gradient(135deg, var(--c-500), var(--c-glow));
  border: 1px solid rgba(204, 251, 241, 0.65);
  box-shadow: 0 0 24px rgba(20, 241, 217, 0.35);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  content: '';
  display: inline-block;
  height: 2.15rem;
  width: 2.15rem;
}

.glass {
  background: rgba(4, 25, 24, 0.56);
  border: 1px solid rgba(204, 251, 241, 0.22);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.premium-card {
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.16), rgba(2, 27, 26, 0.68));
  box-shadow: 0 22px 40px rgba(2, 27, 26, 0.38), inset 0 0 0 1px rgba(204, 251, 241, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.premium-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(20, 241, 217, 0.65);
  box-shadow: 0 30px 50px rgba(2, 27, 26, 0.52), 0 0 30px rgba(20, 241, 217, 0.14);
}

.tech-card {
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(180deg, rgba(204, 251, 241, 0.075), rgba(2, 27, 26, 0.66));
  overflow: hidden;
  position: relative;
}

.tech-card::before {
  background: linear-gradient(90deg, transparent, rgba(20, 241, 217, 0.45), transparent);
  content: '';
  height: 1px;
  left: -30%;
  position: absolute;
  right: -30%;
  top: 0;
  transform: translateX(-40%);
  transition: transform 0.8s ease;
}

.tech-card:hover::before { transform: translateX(40%); }

.image-card img,
.service-card img,
.industry-card img {
  transition: transform 0.8s ease, filter 0.8s ease;
}

.image-card:hover img,
.service-card:hover img,
.industry-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
}

.icon-tile {
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.24), rgba(20, 241, 217, 0.08));
  border: 1px solid rgba(204, 251, 241, 0.24);
  border-radius: 0.85rem;
  color: var(--c-200);
  display: inline-flex;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.metric-strip {
  border-top: 1px solid rgba(204, 251, 241, 0.14);
  border-bottom: 1px solid rgba(204, 251, 241, 0.14);
  background: rgba(2, 27, 26, 0.34);
}

.neon-text { text-shadow: 0 0 16px rgba(20, 241, 217, 0.4); }
.neon-ring { box-shadow: 0 0 0 1px rgba(20, 241, 217, 0.42), 0 0 24px rgba(20, 241, 217, 0.35); }

.btn-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--c-700), var(--c-500));
  border: 1px solid rgba(204, 251, 241, 0.45);
  color: var(--c-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28), transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}
.btn-premium:hover::after { transform: translateX(130%); }
.btn-premium:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 241, 217, 0.28); }

.btn-outline {
  border: 1px solid rgba(204, 251, 241, 0.38);
  background: rgba(2, 27, 26, 0.35);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(2, 27, 26, 0.9), rgba(11, 79, 74, 0.62), rgba(2, 27, 26, 0.86));
  z-index: 1;
}

.hero-bg img {
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, #14B8A6, #14F1D9);
  box-shadow: 0 0 18px rgba(20, 241, 217, 0.9);
}

#mouseGlow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(20, 241, 217, 0.11), transparent 64%);
  transform: translate(-50%, -50%);
  z-index: 5;
}

.particle {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(204,251,241,0.88), rgba(20,241,217,0.2));
  filter: blur(0.4px);
  opacity: 0.45;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(20px); opacity: 0; }
  15% { opacity: 0.55; }
  100% { transform: translateY(-120vh); opacity: 0; }
}

.hex-card {
  clip-path: polygon(25% 6%, 75% 6%, 98% 50%, 75% 94%, 25% 94%, 2% 50%);
}

.hex-card {
  min-height: 185px;
  display: grid;
  place-items: center;
  padding: 2.4rem;
  position: relative;
}

.hex-card::after {
  border: 1px solid rgba(20, 241, 217, 0.24);
  clip-path: inherit;
  content: '';
  inset: 0.55rem;
  position: absolute;
}

.industry-card {
  min-height: 300px;
}

.industry-card .content {
  background: linear-gradient(180deg, transparent, rgba(2, 27, 26, 0.94));
}

.team-social {
  border: 1px solid rgba(204, 251, 241, 0.22);
  border-radius: 999px;
  color: var(--c-200);
  display: inline-grid;
  height: 2rem;
  place-items: center;
  width: 2rem;
}

.footer-link {
  color: var(--c-muted);
  display: block;
  margin-top: 0.45rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
  color: var(--c-200);
  transform: translateX(4px);
}

.form-field {
  background: rgba(2, 27, 26, 0.64);
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 0.85rem;
  color: white;
  padding: 0.9rem 1rem;
  width: 100%;
}

.form-field::placeholder { color: rgba(148, 163, 184, 0.84); }

.masonry { column-count: 1; column-gap: 1rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; }

.fab {
  position: fixed;
  right: 1.25rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  box-shadow: 0 12px 24px rgba(2, 27, 26, 0.5);
}
.fab svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
#fabWhatsApp { bottom: 5.5rem; background: linear-gradient(130deg, #0f9f80, #14B8A6); }
#fabCall { bottom: 9.5rem; background: linear-gradient(130deg, #0F766E, #14F1D9); }
#scrollTop { bottom: 1.5rem; background: linear-gradient(130deg, #0B4F4A, #14B8A6); display: none; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #021B1A;
  display: grid;
  place-items: center;
}
.preloader .ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(20, 241, 217, 0.2);
  border-top-color: var(--c-glow);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.section-grad {
  background: linear-gradient(140deg, rgba(2, 27, 26, 0.72), rgba(6, 47, 45, 0.62));
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--c-700), var(--c-glow));
}

.nav-scrolled {
  background: rgba(2, 27, 26, 0.74);
  border-bottom: 1px solid rgba(204,251,241,0.22);
  box-shadow: 0 8px 24px rgba(2, 27, 26, 0.45);
}

.map-wrap iframe { filter: grayscale(0.15) contrast(1.2) saturate(0.85) hue-rotate(145deg); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-glow);
  outline-offset: 3px;
}
