:root {
  --bg: #08111f;
  --bg-soft: #0f1d34;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #e9eefb;
  --muted: #b8c4dd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #60a5fa;
  --accent-2: #22c55e;
  --shadow: 0 20px 60px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(96,165,250,0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(34,197,94,0.12), transparent 22%),
    linear-gradient(180deg, #08111f 0%, #091726 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 88px 0; }
.section.alt { background: rgba(255,255,255,0.02); }
.section-tag, .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}
.section-intro {
  color: var(--muted);
  line-height: 1.8;
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
}
.brand span { color: var(--accent); }
.brand-logo {
  display: inline-flex;
  align-items: center;
}
.brand-logo img {
  height: 54px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
nav a:not(.btn) { color: var(--muted); }
nav a:not(.btn):hover { color: var(--text); }

.hero { padding: 84px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 0.4rem 0 1rem;
}

h3 { margin-top: 0; font-size: 1.2rem; }

.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.quick-contact {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: white;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.75rem 1rem; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn-whatsapp-inline {
  background: linear-gradient(135deg, #25d366, #1faa52);
}

.hero-card {
  position: relative;
  min-height: 360px;
}
.hero-brand-card {
  display: grid;
  gap: 1rem;
}
.hero-banner {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.glow {
  position: absolute;
  inset: 18% 8% 10% 12%;
  background: radial-gradient(circle, rgba(96,165,250,0.4), transparent 60%);
  filter: blur(28px);
}
.card-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 2;
}

.cards,
.tool-grid,
.visual-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.tool-grid { grid-template-columns: repeat(5, 1fr); }
.visual-grid { grid-template-columns: 1.15fr 0.85fr 0.85fr; }

.card, .stat, .contact-box, .tool-card, .visual-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.card,
.tool-card {
  padding: 1.5rem;
}
.card p, .stats span, .contact-box p, .tool-card p, .visual-card figcaption {
  color: var(--muted);
  line-height: 1.8;
}
.tool-card img {
  border-radius: 18px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.visual-card {
  overflow: hidden;
}
.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.visual-card figcaption {
  padding: 1rem 1.2rem 1.25rem;
}
.visual-card.wide {
  grid-row: span 2;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.stats {
  display: grid;
  gap: 1rem;
}
.stat {
  padding: 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.stat strong { font-size: 1.05rem; }

.contact-box {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-row div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25d366, #1faa52);
  color: white;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-weight: 800;
}
.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.project-cards .card h3 {
  min-height: 3.2rem;
}

@media (max-width: 1100px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .visual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .visual-card.wide {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .hero-grid, .cards, .two-col, .tool-grid, .visual-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo img {
    height: 46px;
  }

  .visual-card.wide {
    grid-column: auto;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  nav {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 0.9rem;
  }

  .wa-text {
    display: none;
  }
}

.brand-summary { margin-top: 0.25rem; }
