:root {
  --bg-dark: #030712;
  --bg-card: #0b1221;
  --bg-secondary: #0f172a;
  --brand: #00c0ff;
  --brand-strong: #0094c7;
  --accent: #1d4ed8;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;
  --border: rgba(255, 255, 255, 0.08);
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

section {
  padding: 80px 5vw;
}

.hero {
  min-height: 100vh;
  padding: 48px 5vw 72px;
  background: radial-gradient(circle at top right, rgba(0, 192, 255, 0.2), transparent 40%),
    radial-gradient(circle at bottom left, rgba(29, 78, 216, 0.3), transparent 50%), var(--bg-dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 32px);
  border: 1px solid var(--border);
  border-radius: 28px;
  position: sticky;
  top: 20px;
  margin: 0 auto 48px;
  width: min(1200px, calc(100% - 4vw));
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #010409;
  box-shadow: 0 10px 30px rgba(0, 192, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 192, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
  white-space: nowrap;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
  align-items: center;
  justify-content: center;
  width: min(1200px, calc(100% - 4vw));
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  max-width: 640px;
  justify-self: flex-start;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.hero-keywords {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.95rem;
}

.hero-keywords a {
  color: var(--brand);
  font-weight: 600;
}

.hero-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}

.hero-card ul {
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.hero-card li {
  margin-bottom: 8px;
}

.hero-highlight {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.hero-highlight strong {
  font-size: 2rem;
  color: var(--brand);
  display: block;
}

.section-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.about,
.services,
.ai,
.tech,
.portfolio,
.contact {
  background: var(--bg-secondary);
  margin: 32px 5vw;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.about-grid,
.services-grid,
.ai-grid,
.portfolio-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card,
.service-card,
.portfolio-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
}

.about-card ul {
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card h3 {
  margin-top: 0;
}

.ai-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ai-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
}

.ai-card ul {
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.ai-card li {
  margin-bottom: 6px;
}

.tech-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-card .tag {
  color: var(--brand);
  font-size: 0.9rem;
  margin: 8px 0;
}

.portfolio-card .result {
  color: var(--text-secondary);
  font-weight: 600;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 12px;
}

.map-embed {
  margin: 16px 0 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(3, 7, 18, 0.5);
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  filter: contrast(1.05) saturate(0.85);
}


.contact-location {
  color: var(--text-secondary);
  margin: 8px 0 12px;
}

.contact-map {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--brand);
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-primary);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--brand);
}

.contact-form button {
  width: fit-content;
  margin-top: 8px;
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer {
  padding: 48px 5vw;
  background: #010409;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-note {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 24px;
}

.btn-whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #010409;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 192, 255, 0.35);
  z-index: 20;
}

@media (min-width: 901px) {
  .nav-links {
    flex: 1;
    justify-content: center;
  }

  .navbar .btn-outline {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 24px;
    padding: 16px 20px;
    top: 12px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .navbar .btn-outline {
    margin-left: 0;
  }

  .hero-highlight {
    flex-direction: column;
  }

  .about,
  .services,
  .ai,
  .tech,
  .portfolio,
  .contact {
    margin: 32px 0;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  section,
  .hero {
    padding: 64px 6vw;
  }

  .navbar {
    position: static;
  }

  .hero-content {
    gap: 32px;
  }

  .btn-whatsapp-floating {
    right: 16px;
    bottom: 16px;
  }
}
