* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b1020;
  --bg-2: #11182b;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --text: #132033;
  --muted: #68758a;
  --line: #e4eaf2;
  --primary: #5b7cff;
  --primary-2: #7b61ff;
  --cyan: #39c6f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 23, 49, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(11, 16, 32, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(91,124,255,.25);
}

.brand-text {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,.82);
  font-size: .94rem;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
  background:
    linear-gradient(145deg, #09101f 0%, #0f1730 55%, #121c3d 100%);
  color: white;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  width: 430px;
  height: 430px;
  right: -120px;
  top: 120px;
  background: radial-gradient(circle, rgba(91,124,255,.30), transparent 67%);
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(57,198,244,.16), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: #a9bcff;
}

.kicker.dark {
  color: var(--primary);
}

.hero h1 {
  max-width: 760px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #8ea7ff;
}

.hero-text {
  max-width: 660px;
  margin-top: 26px;
  color: #b6c0d4;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 14px 35px rgba(91,124,255,.25);
}

.btn-outline {
  color: white;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 34px;
  color: #93a0b8;
  font-size: .86rem;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  background: rgba(7, 12, 26, .72);
  box-shadow: 0 36px 90px rgba(0,0,0,.35);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}

.panel-dots {
  display: flex;
  gap: 7px;
}

.panel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39435b;
}

.panel-dots span:nth-child(1) { background: #ff6b6b; }
.panel-dots span:nth-child(2) { background: #ffd166; }
.panel-dots span:nth-child(3) { background: #4ade80; }

.panel-title {
  color: #71809c;
  font-size: .75rem;
}

.panel-content {
  padding: 34px 28px;
  font-family: Consolas, monospace;
  font-size: .92rem;
  line-height: 1.9;
}

.code-line {
  white-space: nowrap;
}

.code-gap {
  height: 10px;
}

.code-muted { color: #44516d; margin-right: 10px; }
.code-purple { color: #c084fc; }
.code-green { color: #7ee787; }
.code-blue { color: #79c0ff; }

.panel-badges {
  display: flex;
  gap: 10px;
  padding: 0 28px 28px;
}

.panel-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: #9da9bf;
  font-size: .72rem;
}

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--surface);
}

.section-dark {
  background: var(--bg);
  color: white;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2,
.about-content h2,
.contact-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-head > p {
  color: var(--muted);
}

.section-head-dark > p {
  color: #95a1b8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #d4deec;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  transition: .25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(142,167,255,.35);
  background: linear-gradient(180deg, rgba(91,124,255,.10), rgba(255,255,255,.02));
}

.project-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  color: rgba(255,255,255,.09);
}

.project-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: #8ea7ff;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.project-card p {
  color: #96a2b8;
  font-size: .92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-photo-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.about-photo-wrap {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #dfe7f3;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px;
}

.about-mini span {
  padding: 7px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

.about-content p {
  margin-top: 18px;
  color: var(--muted);
}

.about-content strong {
  color: var(--text);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.about-highlights div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.about-highlights strong,
.about-highlights span {
  display: block;
}

.about-highlights strong {
  margin-bottom: 4px;
}

.about-highlights span {
  color: var(--muted);
  font-size: .78rem;
}

.contact-section {
  background: #f3f6fb;
}

.contact-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 15%, rgba(57,198,244,.12), transparent 28%),
    linear-gradient(145deg, #0b1020, #111936);
  color: white;
  box-shadow: 0 30px 80px rgba(13,28,64,.18);
}

.contact-copy > p {
  margin-top: 18px;
  color: #a7b3c8;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-info div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}

.contact-info span,
.contact-info a {
  display: block;
}

.contact-info span {
  margin-bottom: 4px;
  color: #8290a9;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-info a {
  color: white;
}

.contact-form {
  padding: 26px;
  border-radius: 20px;
  background: white;
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: .8rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #f8fbff;
  color: var(--text);
  outline: none;
  transition: .2s ease;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 145px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91,124,255,.10);
  background: white;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: .76rem;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.form-submit {
  width: 100%;
  border: 0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 34px 0;
  background: #070b15;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}

.footer-grid > div:first-child p {
  margin-top: 8px;
  color: #6f7d95;
  font-size: .84rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: #8b97ab;
  font-size: .86rem;
}

.copyright {
  color: #6f7d95;
  font-size: .8rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  transition: .2s ease;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #11182b;
  }

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

  .nav-links a {
    padding: 11px 12px;
  }

  .hero-grid,
  .about-grid,
  .contact-shell,
  .section-head {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .section {
    padding: 78px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .panel-content {
    padding: 24px 18px;
    font-size: .78rem;
    overflow-x: auto;
  }

  .code-line {
    min-width: 420px;
  }

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

  .btn {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
