:root {
  --dark: #0b1120;
  --dark-2: #111827;
  --light: #f8fafc;
  --soft: #eef4ff;
  --white: #ffffff;
  --text: #334155;
  --muted: #64748b;
  --heading: #0f172a;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --border: #e2e8f0;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.28), transparent 36%),
    var(--dark);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--heading);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--heading);
  margin: 5px 0;
  border-radius: 10px;
}

.hero {
  padding: 108px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow.light,
.section:not(.section-dark) .eyebrow {
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.1;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.05em;
  color: var(--heading);
}

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

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-tags,
.about-tags,
.stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 28px;
}

.hero-tags span,
.about-tags span,
.stack-strip span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.metric-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card.featured {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-value {
  display: block;
  font-size: 3.3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.metric-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.stack-strip {
  margin-top: 18px;
}

.intro-strip {
  padding: 58px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.intro-grid,
.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.intro-grid p:last-child {
  margin: 8px 0 0;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

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

.service-card,
.work-card,
.feature-item,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.service-card {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.service-card p,
.feature-item p,
.work-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  padding: 28px;
}

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

.work-card {
  padding: 28px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.1));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.work-card:hover::before {
  opacity: 1;
}

.work-card > * {
  position: relative;
}

.work-type {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.about-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.about-content p + p {
  margin-top: 18px;
}

.about-tags {
  margin-top: 28px;
}

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

.contact-details {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.contact-details a {
  font-weight: 800;
  color: var(--heading);
}

.contact-form {
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--heading);
  font-weight: 800;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--heading);
  background: var(--white);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--primary);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: #22c55e;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.32);
}

@media (max-width: 920px) {
  .section {
    padding: 76px 0;
  }

  .hero-grid,
  .intro-grid,
  .split-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }
}

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

  .hero {
    padding-top: 80px;
  }

  .brand-text {
    display: none;
  }

  .hero-mini-grid,
  .cards-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

.form-notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 14px;
  font-weight: 800;
}

.form-notice.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.form-notice.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}
