:root {
  --bg: #071523;
  --bg-soft: #0d2236;
  --surface: #102b44;
  --surface-soft: #143756;
  --ink: #eef7ff;
  --ink-soft: #b9d1e6;
  --line: rgba(149, 197, 228, 0.24);
  --accent: #20d8e5;
  --accent-strong: #0bb9d3;
  --accent-glow: rgba(32, 216, 229, 0.25);
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(1, 8, 15, 0.35);
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 216, 229, 0.1), transparent 35%),
    radial-gradient(circle at 90% 55%, rgba(32, 216, 229, 0.09), transparent 45%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

p,
li {
  color: var(--ink-soft);
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0.6em;
  line-height: 1.15;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background: linear-gradient(170deg, rgba(14, 40, 63, 0.9), rgba(10, 29, 46, 0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 19, 30, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 0.97rem;
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.73rem;
  color: #9ec4e2;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav > a {
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  padding: 8px 2px;
  color: #dbefff;
}

.site-nav > a:hover,
.site-nav > a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bar {
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: #e6f4ff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 0.89rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-small {
  padding: 9px 16px;
}

.btn-primary {
  color: #02101d;
  background: linear-gradient(135deg, var(--accent), #80f6ff);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-strong), #70e9f4);
}

.btn-ghost {
  border-color: rgba(220, 240, 255, 0.35);
  color: #e9f6ff;
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn.js-whatsapp::before,
.whatsapp-fab::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("assets/icons/whatsapp.svg") center / contain no-repeat;
  mask: url("assets/icons/whatsapp.svg") center / contain no-repeat;
}

.hero {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(17, 47, 72, 0.95), rgba(11, 32, 50, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 0;
  padding-left: 17px;
}

.hero-panel li + li {
  margin-top: 10px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics li {
  background: linear-gradient(160deg, rgba(16, 43, 68, 0.95), rgba(12, 33, 52, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
}

.hero-metrics strong {
  display: block;
  color: #82f4ff;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.hero-metrics span {
  font-size: 0.84rem;
  color: #b6d2e8;
}

.section-head {
  margin-bottom: 24px;
  max-width: 760px;
}

.card-grid,
.portfolio-grid,
.split-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(17, 47, 72, 0.95), rgba(11, 32, 50, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 232, 244, 0.5);
}

.card a {
  margin-top: auto;
  padding-top: 8px;
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
}

.card a:hover {
  text-decoration: underline;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(16, 43, 68, 0.96), rgba(10, 29, 45, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100%;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(32, 216, 229, 0.16);
  border: 1px solid rgba(32, 216, 229, 0.45);
  color: #93f6ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portfolio-card a {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.portfolio-card a:hover {
  text-decoration: underline;
}

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

.panel {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(16, 43, 68, 0.95), rgba(12, 33, 52, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow);
}

.process-wrap {
  background: linear-gradient(160deg, rgba(16, 43, 68, 0.95), rgba(12, 33, 52, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.process-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-list li {
  display: flex;
  flex-direction: column;
  background: rgba(8, 24, 37, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  padding: 12px 12px;
  height: 100%;
}

.process-list h3 {
  font-size: 1.02rem;
}

.list-clean {
  margin: 0;
  padding-left: 16px;
}

.list-clean li + li {
  margin-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 8px;
}

.contact-links a {
  color: var(--accent);
  font-weight: 700;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-form {
  background: linear-gradient(160deg, rgba(16, 43, 68, 0.95), rgba(12, 33, 52, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #dff4ff;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(132, 182, 215, 0.35);
  background: rgba(6, 20, 32, 0.6);
  color: #f0f9ff;
  font: inherit;
  padding: 11px 12px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(32, 216, 229, 0.25);
  border-color: rgba(32, 216, 229, 0.7);
}

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

.note {
  font-size: 0.87rem;
}

.cta-band {
  padding-top: 76px;
  padding-bottom: 92px;
}

.cta-band-inner {
  background: linear-gradient(150deg, rgba(14, 40, 63, 0.95), rgba(8, 24, 37, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 14, 22, 0.92);
  padding: 34px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 20px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-copy {
  margin-top: 12px;
  max-width: 52ch;
}

.footer-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav a {
  color: #d4ebff;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-title {
  color: #d5eeff;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  color: #d5ebff;
  font-weight: 700;
}

.footer-socials a:hover {
  color: var(--accent);
}

.footer-meta {
  margin-top: 12px;
  font-size: 0.86rem;
}

.is-hidden {
  display: none !important;
}

.whatsapp-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #32d96b, #1eb254);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(22, 145, 66, 0.4);
}

.whatsapp-fab:hover {
  filter: brightness(0.95);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .card-grid,
  .card-grid-wide,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .cta-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 4vw;
    right: 4vw;
    display: grid;
    gap: 2px;
    background: rgba(8, 24, 37, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav a {
    padding: 10px;
    border-bottom: 0;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

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

  .hero {
    padding-top: 86px;
  }

  .hero-metrics,
  .card-grid,
  .card-grid-wide,
  .portfolio-grid,
  .portfolio-grid-full,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-wrap,
  .panel,
  .contact-form,
  .cta-band-inner {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
  }

  .brand-text small {
    white-space: normal;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
