:root {
  --navy-950: #020a17;
  --navy-900: #06162f;
  --navy-800: #092247;
  --blue-500: #0788f5;
  --blue-400: #2ba6ff;
  --blue-300: #6bc4ff;
  --silver: #dfe7ef;
  --muted: #8494aa;
  --line: rgba(152, 190, 229, 0.14);
  --white: #ffffff;
  --font-body: "Manrope", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 4% 90%, rgba(7, 136, 245, 0.13), transparent 31rem),
    radial-gradient(circle at 86% 12%, rgba(7, 136, 245, 0.08), transparent 27rem),
    var(--navy-950);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  color: var(--navy-950);
  background: var(--white);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 100%);
}

.ambient {
  position: fixed;
  z-index: -2;
  border: 1px solid rgba(43, 166, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: inherit;
  border-radius: inherit;
}

.ambient::after {
  inset: 29%;
}

.ambient-one {
  top: -25rem;
  right: -20rem;
  width: 54rem;
  height: 54rem;
}

.ambient-two {
  bottom: -28rem;
  left: -25rem;
  width: 50rem;
  height: 50rem;
}

.cursor-glow {
  position: fixed;
  top: -22rem;
  left: -22rem;
  z-index: -1;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.7;
  background: radial-gradient(circle, rgba(7, 136, 245, 0.18) 0%, rgba(7, 136, 245, 0.07) 36%, transparent 70%);
  transform: translate3d(74vw, 18vh, 0);
  will-change: transform;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 20;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.3);
  animation: whatsapp-tada 1.5s ease-in-out infinite;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: inherit;
  animation: whatsapp-ring 2.2s ease-out infinite;
}

.whatsapp-float::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.75rem);
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  color: var(--silver);
  background: rgba(4, 15, 32, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.whatsapp-float:hover {
  background: #20bd5a;
  box-shadow: 0 18px 46px rgba(37, 211, 102, 0.42);
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float:focus-visible {
  animation-play-state: paused;
}

.whatsapp-float:hover::after,
.whatsapp-float:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.site-shell {
  display: flex;
  width: min(100% - 2.5rem, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  overflow: hidden;
  width: 248px;
  border-radius: 1rem;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  transition: border-color 220ms ease, transform 220ms ease;
}

.brand:hover {
  border-color: rgba(43, 166, 255, 0.42);
  transform: translateY(-2px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.top-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.top-contact:hover {
  border-color: rgba(43, 166, 255, 0.45);
  background: rgba(7, 136, 245, 0.09);
  transform: translateY(-2px);
}

.contact-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 0 rgba(43, 166, 255, 0.55);
  animation: pulse 2s infinite;
}

.phone-glyph {
  display: none;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.74fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(3rem, 8vh, 6.75rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.7rem;
  color: var(--blue-300);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-500), transparent);
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 6.3vw, 6.6rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 span {
  display: block;
  padding-bottom: 0.08em;
  color: transparent;
  background: linear-gradient(92deg, var(--blue-300) 0%, var(--blue-500) 48%, #1069d5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 650px;
  margin: 2rem 0 0;
  color: #9bacc1;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 500;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), #0762c6);
  box-shadow: 0 16px 48px rgba(7, 136, 245, 0.23);
}

.button-primary:hover {
  box-shadow: 0 20px 54px rgba(7, 136, 245, 0.34);
}

.button-secondary {
  border-color: var(--line);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: rgba(107, 196, 255, 0.32);
  background: rgba(255, 255, 255, 0.065);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.8rem;
}

.expertise {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: linear-gradient(145deg, rgba(12, 34, 69, 0.74), rgba(4, 15, 32, 0.82));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.expertise::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(107, 196, 255, 0.24), transparent 34%, rgba(7, 136, 245, 0.15));
  filter: blur(18px);
  opacity: 0.5;
}

.expertise-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.2rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.expertise-topline p {
  margin: 0;
  color: var(--blue-300);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.expertise-topline > div > span {
  display: block;
  margin-top: 0.35rem;
  color: #6f8199;
  font-size: 0.78rem;
}

.technical-mark {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 11px;
  border: 1px solid rgba(107, 196, 255, 0.2);
  border-radius: 0.8rem;
  background: rgba(7, 136, 245, 0.1);
}

.technical-mark span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--blue-400);
}

.technical-mark span:nth-child(1) { height: 42%; }
.technical-mark span:nth-child(2) { height: 86%; }
.technical-mark span:nth-child(3) { height: 62%; }

.service-list {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  transition: left 520ms ease;
}

.service-card:hover {
  border-color: rgba(43, 166, 255, 0.23);
  background: rgba(7, 136, 245, 0.055);
  transform: translateX(-4px);
}

.service-card:hover::after {
  left: 140%;
}

.service-number {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(43, 166, 255, 0.2);
  border-radius: 0.85rem;
  color: var(--blue-300);
  background: rgba(7, 136, 245, 0.08);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0.35rem 0 0;
  color: #72849b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 1.05fr;
  gap: 2rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-strip > a,
.contact-intro {
  display: flex;
  min-width: 0;
  align-items: center;
}

.contact-strip > a {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
  transition: color 180ms ease;
}

.contact-strip > a:hover strong {
  color: var(--blue-300);
}

.contact-strip small {
  display: block;
  color: #61758f;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-strip strong {
  display: block;
  max-width: 100%;
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  transition: color 180ms ease;
}

.contact-intro {
  gap: 1rem;
}

.line-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(43, 166, 255, 0.2);
  border-radius: 50%;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue-400);
  transform: translate(-50%, -50%);
}

.line-icon::before { width: 14px; height: 1px; }
.line-icon::after { width: 1px; height: 14px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.6rem;
  color: #53667f;
  font-size: 0.7rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 220ms; }
.delay-3 { animation-delay: 340ms; }
.delay-4 { animation-delay: 470ms; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 166, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(43, 166, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 166, 255, 0); }
}

@keyframes whatsapp-ring {
  0% { opacity: 0.8; transform: scale(0.9); }
  75%, 100% { opacity: 0; transform: scale(1.22); }
}

@keyframes whatsapp-tada {
  0%, 100% { transform: scale(1) rotate(0); }
  10%, 20% { transform: scale(0.9) rotate(-4deg); }
  30%, 50%, 70%, 90% { transform: scale(1.1) rotate(4deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-4deg); }
}

:focus-visible {
  outline: 2px solid var(--blue-300);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-copy {
    max-width: 850px;
  }

  .expertise {
    max-width: 760px;
  }

  .contact-strip {
    grid-template-columns: 1fr 1fr;
  }

  .contact-intro {
    grid-column: 1 / -1;
  }

  .contact-strip > a:first-of-type {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 2rem, 1240px);
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float::after {
    display: none;
  }

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

  .site-header {
    min-height: 92px;
  }

  .brand {
    width: 175px;
    border-radius: 0.8rem;
  }

  .top-contact {
    width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
    font-size: inherit;
  }

  .top-contact .contact-pulse,
  .top-contact .phone-number {
    display: none;
  }

  .phone-glyph {
    display: block;
    color: var(--blue-300);
    font-family: Arial, sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    transform: rotate(-12deg);
  }

  .hero {
    gap: 3rem;
    padding: 3.25rem 0 4rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
    line-height: 0.97;
  }

  .hero-description {
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .expertise {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .service-card {
    grid-template-columns: 42px 1fr;
    padding: 0.9rem;
  }

  .service-number {
    width: 42px;
    height: 42px;
  }

  .contact-strip {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .contact-intro {
    grid-column: auto;
  }

  .contact-strip > a,
  .contact-strip > a:first-of-type {
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}
