:root {
  --bg: #07101d;
  --bg-deep: #040a14;
  --surface: rgba(3, 22, 51, 0.62);
  --surface-solid: #111b2b;
  --surface-soft: #17202e;
  --text: #dae3f6;
  --muted: #b6c1d4;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #3b90ff;
  --primary-strong: #0d6efd;
  --green: #25d366;
  --success: #3de273;
  --container: 1180px;
  --radius: 1.5rem;
  --shadow: 0 26px 100px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", "Aptos", sans-serif;
  background:
    radial-gradient(circle at 76% 0%, rgba(13, 110, 253, 0.22), transparent 34rem),
    radial-gradient(circle at 15% 25%, rgba(59, 144, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #07101d 0%, #07101d 45%, #050b16 100%);
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 16, 29, 0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, background 0.28s ease;
}

.topbar-hidden {
  transform: translateY(-100%);
}

.topbar-solid {
  background: rgba(7, 16, 29, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 10rem;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 18px rgba(59, 144, 255, 0.25));
}

.nav-links {
  display: flex;
  gap: 1.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links a:hover,
.nav-links a:first-child {
  color: #b1c5ff;
}

.nav-links a:first-child {
  border-bottom: 2px solid #b1c5ff;
  padding-bottom: 0.25rem;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.45rem;
  border: 0;
  border-radius: 0.85rem;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.nav-cta,
.button.primary {
  background: var(--primary-strong);
  box-shadow: 0 18px 46px rgba(13, 110, 253, 0.25);
}

.button.whatsapp {
  background: var(--green);
  box-shadow: 0 18px 46px rgba(37, 211, 102, 0.18);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("hero-bg.png") center / cover no-repeat;
  opacity: 0.9;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.98) 0%, rgba(7, 16, 29, 0.86) 38%, rgba(7, 16, 29, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.05) 0%, #07101d 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 44rem;
}

.hero-logo {
  display: block;
  width: min(24rem, 80vw);
  max-height: 9rem;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.3rem;
  filter: drop-shadow(0 0 24px rgba(59, 144, 255, 0.34));
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #b1c5ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.badge {
  margin-bottom: 1.4rem;
  padding: 0.55rem 0.95rem;
  background: rgba(13, 110, 253, 0.18);
  border: 1px solid rgba(177, 197, 255, 0.28);
}

.eyebrow {
  margin-bottom: 0.85rem;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.45rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 0 22px rgba(177, 197, 255, 0.28);
}

h2 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy p {
  max-width: 39rem;
  margin-bottom: 2.2rem;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-soft {
  background: rgba(6, 14, 27, 0.48);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.glass-card {
  position: relative;
  min-height: 22rem;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.glass-card.featured {
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.16), rgba(3, 22, 51, 0.62));
}

.glass-card.success {
  border-color: rgba(61, 226, 115, 0.22);
}

.glass-card .icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  margin-bottom: 1.4rem;
  background: rgba(13, 110, 253, 0.18);
  border-radius: 1rem;
  font-size: 1.6rem;
}

.glass-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.glass-card li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: #b1c5ff;
}

.success li::before {
  color: var(--success);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
}

.feature span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  grid-row: span 2;
  color: #b1c5ff;
  background: rgba(177, 197, 255, 0.1);
  border-radius: 0.85rem;
}

.feature strong {
  color: #fff;
  font-size: 1.08rem;
}

.feature p {
  margin-bottom: 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.client-grid div {
  display: grid;
  min-height: 8.5rem;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: #fff;
  font-weight: 850;
  background: rgba(3, 22, 51, 0.55);
  border: 1px solid var(--line);
  border-radius: 1rem;
  opacity: 0.82;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

.portfolio-card {
  position: relative;
  min-height: 23rem;
  display: flex;
  align-items: end;
  padding: 2rem;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 72%),
    radial-gradient(circle at 40% 30%, rgba(13, 110, 253, 0.28), transparent 20rem),
    linear-gradient(145deg, #111b2b, #060e1b);
  border: 1px solid var(--line);
  border-radius: 1.7rem;
}

.portfolio-card span {
  color: #b1c5ff;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.process div {
  position: relative;
  text-align: center;
}

.process span {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  margin: 0 auto 1rem;
  color: #fff;
  background: var(--primary-strong);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.process strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-list span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #b1c5ff;
  background: rgba(177, 197, 255, 0.12);
  border-radius: 999px;
}

.contact-list small {
  display: block;
  color: var(--muted);
}

.contact-list strong {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.65rem 0.65rem 0 0;
  outline: 0;
  padding: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  padding: clamp(4rem, 8vw, 7rem) 0 2rem;
  background: #060e1b;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer img {
  width: 12rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 18px rgba(59, 144, 255, 0.22));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  color: #fff;
  background: rgba(13, 110, 253, 0.16);
  border: 1px solid rgba(177, 197, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
}

.social-links a:hover {
  border-color: rgba(177, 197, 255, 0.55);
  background: rgba(13, 110, 253, 0.28);
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.footer strong {
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer a,
.footer p {
  color: var(--muted);
}

.copyright {
  margin: 3rem auto 0;
  padding-top: 2rem;
  width: min(var(--container), calc(100% - 2rem));
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .services-grid,
  .features-grid,
  .client-grid,
  .portfolio-grid,
  .process,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    padding: 0.7rem 0;
  }

  .brand img {
    width: 8.4rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}
