:root {
  --ink: #061329;
  --muted: #5d6b7e;
  --blue: #5271ff;
  --cyan: #38b6ff;
  --green: #12b981;
  --amber: #ffb547;
  --coral: #ff6f61;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --line: rgba(6, 19, 41, 0.11);
  --shadow: 0 26px 70px rgba(11, 28, 57, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: #253349;
  font-weight: 700;
  font-size: 0.91rem;
  padding: 10px 13px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: rgba(82, 113, 255, 0.09);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(6, 19, 41, 0.18);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 154px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(82, 113, 255, 0.09), rgba(56, 182, 255, 0.06) 38%, rgba(18, 185, 129, 0.07) 74%, rgba(255, 181, 71, 0.08)),
    #fbfdff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 19, 41, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 19, 41, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #174477;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(18, 185, 129, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8.5vw, 7.4rem);
  line-height: 0.89;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  color: #405067;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 34px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-actions.flush {
  margin-bottom: 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
}

.trust-item {
  border-left: 3px solid var(--cyan);
  padding-left: 14px;
}

.trust-item strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 530px;
  perspective: 1400px;
}

.studio-board {
  position: absolute;
  inset: 24px 0 42px 18px;
  padding: 18px;
  border: 1px solid rgba(6, 19, 41, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transform: rotateY(-10deg) rotateX(6deg);
  transform-origin: center;
}

.browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

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

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.dots span:nth-child(2) {
  background: var(--amber);
}

.dots span:nth-child(3) {
  background: var(--green);
}

.url-pill {
  width: 48%;
  height: 24px;
  border-radius: 99px;
  background: var(--soft);
}

.hero-screen {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
}

.screen-panel {
  min-height: 300px;
  border-radius: var(--radius);
  padding: 20px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  transform: rotate(-1deg);
}

.screen-panel img {
  width: 96px;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
}

.screen-panel h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 0.95;
  margin-bottom: 12px;
}

.screen-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.screen-grid {
  display: grid;
  gap: 12px;
}

.mini-window {
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.mini-window:nth-child(2) {
  background: #f8fbff;
}

.bar {
  height: 10px;
  border-radius: 99px;
  background: #dfe7f3;
  margin-bottom: 10px;
}

.bar.short {
  width: 54%;
}

.visual-tags {
  position: absolute;
  right: 36px;
  bottom: 54px;
  display: grid;
  gap: 10px;
  width: min(250px, 44%);
}

.floating-tag {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 16px 38px rgba(6, 19, 41, 0.12);
  padding: 13px 15px;
  font-weight: 850;
}

.floating-tag span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

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

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

.section-head {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 18px;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  color: #47566b;
  font-size: 1.08rem;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.value-card,
.process-step,
.contact-panel,
.project-card,
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(13, 31, 58, 0.07);
}

.service-card,
.value-card,
.process-step,
.stat-card {
  padding: 24px;
}

.service-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  margin-bottom: 20px;
}

.service-card:nth-child(2) .icon-box,
.value-card:nth-child(2) .icon-box {
  background: var(--green);
}

.service-card:nth-child(3) .icon-box,
.value-card:nth-child(3) .icon-box {
  background: var(--amber);
  color: var(--ink);
}

.service-card:nth-child(4) .icon-box {
  background: var(--coral);
}

.service-card:nth-child(5) .icon-box {
  background: var(--cyan);
}

.service-card:nth-child(6) .icon-box {
  background: var(--ink);
}

.service-card p,
.value-card p,
.process-step p,
.stat-card p,
.project-card p {
  color: var(--muted);
}

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

.story-panel {
  padding: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.quote {
  border-left: 4px solid var(--cyan);
  padding-left: 18px;
  margin-top: 28px;
  font-size: 1.28rem;
  font-weight: 850;
}

.process {
  counter-reset: step;
}

.process-step {
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(82, 113, 255, 0.12);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
}

.mockup {
  min-height: 250px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(82, 113, 255, 0.17), rgba(56, 182, 255, 0.12)),
    #eef5ff;
}

.mock-window {
  height: 100%;
  min-height: 214px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 19, 41, 0.11);
  box-shadow: 0 18px 42px rgba(6, 19, 41, 0.14);
}

.mock-window.snapshot {
  background: #eef3f8;
}

.mock-window.snapshot img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
  object-position: top center;
}

.mock-head {
  height: 34px;
  background: #f5f7fb;
  border-bottom: 1px solid var(--line);
}

.mock-body {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 14px;
  padding: 16px;
}

.mock-hero {
  min-height: 136px;
  border-radius: var(--radius);
  background: var(--ink);
}

.project-card:nth-child(2n) .mock-hero {
  background: var(--green);
}

.project-card:nth-child(3n) .mock-hero {
  background: var(--amber);
}

.project-card:nth-child(4n) .mock-hero {
  background: var(--coral);
}

.project-info {
  padding: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 99px;
  background: var(--soft);
  color: #314056;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  padding: 82px 0 72px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  margin-bottom: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(330px, 1.2fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #304157;
  font-weight: 750;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #26364c;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-logo {
  width: 74px;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px;
  margin-bottom: 14px;
}

.copyright {
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
}

.legal-links a:hover {
  color: #fff;
}

.legal-content {
  display: grid;
  gap: 28px;
  max-width: 920px;
}

.legal-content article {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: #4d5c70;
}

.cookiebar {
  position: fixed;
  left: 22px;
  right: 96px;
  bottom: 22px;
  z-index: 29;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookiebar.show {
  display: flex;
}

.cookiebar p {
  margin: 0;
  color: #405067;
  font-size: 0.94rem;
}

.cookiebar a {
  color: var(--blue);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.38);
}

.whatsapp-float img {
  width: 64px;
  height: 64px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

@media (max-width: 960px) {
  .nav {
    min-height: 72px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    display: none;
  }

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

  .hero-visual {
    min-height: 440px;
  }

  .grid-3,
  .grid-4,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .brand span {
    display: none;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 36px;
    gap: 24px;
  }

  .hero-screen,
  .form-row,
  .grid-3,
  .grid-4,
  .project-grid,
  .footer-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .studio-board {
    position: relative;
    inset: auto;
    transform: none;
  }

  .screen-panel {
    min-height: 190px;
  }

  .visual-tags {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero .container {
    padding: 58px 0;
  }

  .copyright,
  .legal-links {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .cookiebar {
    left: 12px;
    right: 12px;
    bottom: 88px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .button {
    flex: 1;
  }
}
