:root {
  --bg: #071426;
  --bg-soft: #0c1c33;
  --panel: rgba(12, 28, 51, 0.72);
  --panel-strong: rgba(7, 20, 38, 0.82);
  --text: #eaf2ff;
  --muted: #bfd0ee;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #53a5ff;
  --primary-2: #87c3ff;
  --success: #25d366;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --nav-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(83, 165, 255, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 211, 102, 0.12), transparent 25%),
    linear-gradient(180deg, #071426 0%, #0b1b31 48%, #071426 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 82%);
  pointer-events: none;
  z-index: -3;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -2;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  left: -60px;
  top: 100px;
  background: rgba(83, 165, 255, 0.38);
}

.orb-2 {
  width: 260px;
  height: 260px;
  right: -30px;
  top: 420px;
  background: rgba(37, 211, 102, 0.22);
  animation-delay: -7s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 30px, 0) scale(1.05); }
}

.navbar {
  min-height: var(--nav-height);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 15, 29, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.35);
}

.nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 600;
  margin-left: .4rem;
  margin-right: .4rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #fff);
  transition: width .3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav-whatsapp,
.btn-whatsapp-solid {
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, #1fb857, #25d366);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .82rem 1.25rem;
  box-shadow: 0 16px 30px rgba(37, 211, 102, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-nav-whatsapp:hover,
.btn-whatsapp-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .28);
  color: #fff;
}

.section-space {
  padding: 6rem 0;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(255,255,255,.04);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin: 1.2rem 0 1.1rem;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 800;
  max-width: 12ch;
}

.hero-lead {
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  min-height: 68px;
  max-width: 640px;
}

.hero-copy,
.section-heading p,
.contact-card p,
.contact-form-card p,
.cta-panel p,
.solution-item p,
.service-card p,
.info-card p,
.glass-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.7rem;
}

.btn-primary-glow,
.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 54px;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-primary-glow {
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  background: linear-gradient(135deg, #0b66ff, #59b0ff);
  box-shadow: 0 18px 40px rgba(45, 126, 255, .28);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 22px 48px rgba(45, 126, 255, .36);
}

.btn-outline-light-custom {
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}

.btn-outline-light-custom:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255,255,255,.12);
}

.hero-badges {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: #dfeaff;
}

.hero-badges i {
  color: #7ed7ff;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.hero-center-logo {
  position: relative;
  z-index: 2;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-center-logo img {
  width: 68%;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

.pulse-ring::before,
.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(135, 195, 255, .18);
  animation: pulseRing 4s linear infinite;
}

.pulse-ring::after {
  inset: -34px;
  animation-delay: -2s;
}

@keyframes pulseRing {
  0% { transform: scale(.96); opacity: .9; }
  100% { transform: scale(1.08); opacity: .12; }
}

.hero-glass-card {
  position: absolute;
  z-index: 3;
  width: min(250px, 70vw);
  padding: 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-glass-card h3 {
  font-size: 1.05rem;
  margin: .8rem 0 .5rem;
}

.hero-glass-card p {
  margin: 0;
  color: #d7e8ff;
  font-size: .95rem;
  line-height: 1.6;
}

.icon-wrap,
.info-icon,
.mini-icon,
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(88, 172, 255, .18), rgba(255,255,255,.06));
  color: #8cc9ff;
  font-size: 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
}

.card-a {
  top: 2rem;
  left: -40px;
}

.card-b {
  right: -20px;
  bottom: 2.5rem;
}

.floating-card {
  animation: floatingCard 6s ease-in-out infinite;
}

.card-b.floating-card {
  animation-delay: -3s;
}

@keyframes floatingCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.03));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 1rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  margin: 1rem 0 .8rem;
}

.info-card,
.glass-panel,
.service-card,
.contact-card,
.contact-form-card,
.cta-panel,
.solution-item {
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.info-card,
.glass-panel,
.service-card,
.contact-card,
.contact-form-card,
.solution-item {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
}

.info-card,
.glass-panel,
.service-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.info-card:hover,
.glass-panel:hover,
.service-card:hover,
.solution-item:hover {
  transform: translateY(-6px);
  border-color: rgba(135, 195, 255, .28);
}

.info-card .info-icon,
.glass-panel .mini-icon,
.service-card .service-icon {
  margin-bottom: 1rem;
}

.glass-panel h3,
.service-card h3,
.solution-item h3,
.contact-card h3,
.contact-form-card h3,
.cta-panel h2 {
  font-weight: 700;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.solution-item {
  position: relative;
  overflow: hidden;
}

.solution-number {
  display: inline-block;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(135, 195, 255, .24);
  margin-bottom: .8rem;
}

.cta-band {
  padding-top: 0;
}

.cta-panel {
  padding: 2rem;
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #9fd2ff;
  border: 1px solid rgba(255,255,255,.12);
}

.contact-item strong {
  display: block;
}

.contact-item span,
.form-note,
.footer-bottom,
.footer-brand p {
  color: var(--muted);
}

.contact-form .form-label {
  color: #f4f8ff;
  font-weight: 600;
}

.contact-form .form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  min-height: 54px;
  border-radius: 16px;
  padding: .9rem 1rem;
}

.contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: rgba(135, 195, 255, .48);
  box-shadow: 0 0 0 4px rgba(83, 165, 255, .12);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.contact-form .form-control::placeholder {
  color: #b9cae7;
}

.site-footer {
  padding: 2.2rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 12, 24, .72);
  backdrop-filter: blur(12px);
}

.footer-inner,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand strong {
  display: block;
  margin-bottom: .2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a {
  color: #e5efff;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1fb857, #25d366);
  color: #fff;
  font-size: 1.8rem;
  z-index: 1000;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .32);
  animation: pulseWhatsapp 2.8s infinite;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}

@keyframes pulseWhatsapp {
  0%, 100% { box-shadow: 0 18px 40px rgba(37, 211, 102, .32); }
  50% { box-shadow: 0 18px 40px rgba(37, 211, 102, .22), 0 0 0 12px rgba(37, 211, 102, .09); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-center-logo {
    width: min(320px, 76vw);
  }

  .hero-center-logo img {
    width: 70%;
  }

  .card-a {
    top: 1rem;
    left: -10px;
  }

  .card-b {
    right: -10px;
    bottom: 1rem;
  }

  .cta-panel,
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-section h1 {
    max-width: none;
  }

  .hero-lead {
    min-height: 88px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-center-logo {
    width: 260px;
  }

  .hero-center-logo img {
    width: 78%;
  }

  .hero-glass-card {
    width: min(220px, 68vw);
    padding: 1rem;
    text-align: center;
  }

  .hero-glass-card p {
    display: none;
  }

  .hero-glass-card h3 {
    font-size: .95rem;
    margin-top: .45rem;
    margin-bottom: 0;
  }

  .icon-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    font-size: 1.3rem;
  }

  .card-a {
    top: -10px;
    left: 10px;
    transform: scale(.9);
  }

  .card-b {
    right: 10px;
    bottom: -10px;
    transform: scale(.9);
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 14px;
  }
}