:root {
  color-scheme: light;
  --blue: #004aad;
  --blue-ok: oklch(0.43 0.18 260);
  --blue-deep: oklch(0.22 0.12 260);
  --blue-soft: oklch(0.95 0.035 260);
  --ink: oklch(0.17 0.012 260);
  --muted: oklch(0.46 0.018 260);
  --paper: oklch(0.985 0.006 260);
  --panel: oklch(0.965 0.01 260);
  --line: oklch(0.88 0.018 260);
  --shadow: 0 28px 90px oklch(0.28 0.12 260 / 0.18);
  --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, oklch(0.985 0.006 260 / 0.92), oklch(0.955 0.014 260 / 0.88)),
    radial-gradient(circle at 18% 4%, oklch(0.78 0.13 260 / 0.2), transparent 36rem),
    url("assets/images/f4ssfondo.jpeg") center top / cover no-repeat;
  background-attachment: scroll;
  color: var(--ink);
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 14px;
  border: 1px solid oklch(0.9 0.02 260 / 0.8);
  border-radius: 999px;
  background: oklch(0.985 0.006 260 / 0.97);
  box-shadow: 0 10px 28px oklch(0.31 0.08 260 / 0.1);
}

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

.brand-logo {
  display: block;
  width: clamp(142px, 15vw, 188px);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a,
.site-footer a {
  transition: color 260ms var(--ease);
}

.nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.mobile-guide-cta {
  display: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.nav-cta {
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
}

.button {
  padding: 0 24px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: oklch(0.985 0.006 260);
  box-shadow: 0 20px 54px oklch(0.38 0.16 260 / 0.28);
}

.button-primary:hover {
  box-shadow: 0 26px 70px oklch(0.38 0.16 260 / 0.34);
}

.button-secondary {
  border: 1px solid var(--line);
  background: oklch(0.985 0.006 260 / 0.76);
  color: var(--ink);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(76px, 10vw, 128px) clamp(44px, 7vw, 78px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 8% -12% 0;
  background-image:
    linear-gradient(oklch(0.62 0.08 260 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.62 0.08 260 / 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 38%, black, transparent 68%);
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  opacity: 0.6;
  animation: drift 11s var(--ease) infinite alternate;
}

.orbit-one {
  width: 42vw;
  height: 42vw;
  right: -14vw;
  top: 8vh;
  background: radial-gradient(circle, oklch(0.58 0.2 260 / 0.22), transparent 68%);
}

.orbit-two {
  width: 24vw;
  height: 24vw;
  left: -8vw;
  bottom: 8vh;
  background: radial-gradient(circle, oklch(0.71 0.13 260 / 0.22), transparent 68%);
  animation-delay: -4s;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro .eyebrow,
.benefit-copy .eyebrow,
.final-cta > .eyebrow {
  font-size: clamp(0.92rem, 1.2vw, 1.06rem);
  letter-spacing: 0.075em;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 6.4vw, 5.95rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 750;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 5.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-text,
.benefit-copy p,
.final-cta p {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

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

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.device-frame {
  width: min(100%, 450px);
  padding: 12px;
  border: 1px solid oklch(0.83 0.05 260);
  border-radius: 34px;
  background: linear-gradient(145deg, oklch(0.99 0.006 260), oklch(0.9 0.045 260));
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  transition: transform 500ms var(--ease);
}

.hero-visual:hover .device-frame {
  transform: rotate(0deg) translateY(-8px);
}

.device-topbar {
  display: flex;
  gap: 7px;
  padding: 10px 12px 14px;
}

.device-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: oklch(0.62 0.04 260);
}

.pro-dashboard {
  min-height: 490px;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 82% 4%, oklch(0.68 0.18 260 / 0.22), transparent 38%),
    linear-gradient(180deg, oklch(0.985 0.006 260), oklch(0.93 0.028 260));
  color: var(--ink);
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.profile-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 58px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid oklch(0.88 0.025 260);
  border-radius: 16px;
  background: oklch(0.985 0.006 260);
  box-shadow: 0 18px 38px oklch(0.38 0.16 260 / 0.24);
}

.profile-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-block strong,
.profile-block small {
  display: block;
}

.profile-block strong {
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.profile-block small,
.dashboard-metrics span,
.dashboard-metrics small,
.chart-topline span,
.content-list p {
  color: var(--muted);
}

.live-pill {
  padding: 8px 11px;
  border: 1px solid oklch(0.8 0.12 150 / 0.42);
  border-radius: 999px;
  background: oklch(0.92 0.12 150 / 0.58);
  color: oklch(0.44 0.14 150);
  font-size: 0.76rem;
  font-weight: 900;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.dashboard-metrics article,
.chart-card,
.content-list {
  border: 1px solid oklch(0.86 0.02 260);
  border-radius: 22px;
  background: oklch(0.985 0.006 260 / 0.88);
  box-shadow: 0 18px 42px oklch(0.28 0.08 260 / 0.08);
}

.dashboard-metrics article {
  padding: 18px;
}

.dashboard-metrics span,
.dashboard-metrics small {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-metrics strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--blue);
  font-size: 2.45rem;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
}

.chart-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.78rem;
}

.chart-topline strong {
  color: var(--blue);
}

.chart-bars {
  height: 132px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
}

.chart-bars span {
  height: var(--bar);
  min-height: 24px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, oklch(0.66 0.18 260), var(--blue));
  animation: barPulse 3.6s var(--ease) infinite alternate;
  animation-delay: calc(var(--bar) * -0.025);
}

.content-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
}

.content-list div {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: oklch(0.95 0.014 260 / 0.72);
}

.content-thumb {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 28% 22%, oklch(0.8 0.13 260), transparent 42%),
    var(--blue);
}

.content-thumb.second {
  background:
    radial-gradient(circle at 70% 20%, oklch(0.78 0.1 150), transparent 44%),
    oklch(0.42 0.14 260);
}

.content-thumb.third {
  background:
    radial-gradient(circle at 30% 20%, oklch(0.74 0.17 38), transparent 46%),
    oklch(0.34 0.1 260);
}

.content-list p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}

.content-list strong {
  color: var(--blue);
  font-size: 0.82rem;
}

@keyframes barPulse {
  from {
    transform: scaleY(0.88);
    opacity: 0.76;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.trust-strip {
  width: min(1020px, calc(100% - 32px));
  margin: 0 auto clamp(82px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 22px 12px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.split-section,
.portfolio,
.process,
.benefits {
  padding-block: clamp(72px, 10vw, 142px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(32px, 6vw, 76px);
}

.section-intro.compact {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid oklch(0.985 0.006 260 / 0.24);
  border-radius: var(--radius);
  color: oklch(0.985 0.006 260);
  background:
    radial-gradient(circle at 18% 8%, oklch(0.91 0.05 250 / 0.32), transparent 32%),
    radial-gradient(circle at 86% 18%, oklch(0.77 0.09 235 / 0.26), transparent 38%),
    linear-gradient(150deg, oklch(0.57 0.105 255 / 0.74), #004aad 48%, oklch(0.43 0.12 260));
  box-shadow: 0 24px 70px oklch(0.28 0.11 260 / 0.18);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}

.service-media {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  margin: 0 0 auto;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 20%, oklch(0.65 0.19 38 / 0.28), transparent 36%),
    linear-gradient(135deg, oklch(0.16 0.018 260), oklch(0.24 0.026 260));
}

.case-logo {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid oklch(0.985 0.006 260 / 0.66);
  background: oklch(0.985 0.006 260 / 0.86);
  box-shadow: 0 18px 42px oklch(0.18 0.08 260 / 0.24);
  backdrop-filter: blur(14px);
}

.case-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-logo-progressly {
  width: 112px;
  height: 112px;
  align-self: center;
  margin: 0 auto 24px;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(145deg, oklch(0.985 0.006 260), oklch(0.92 0.035 260));
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, oklch(0.16 0.04 260 / 0.62)),
    radial-gradient(circle at 20% 10%, oklch(0.72 0.19 38 / 0.2), transparent 42%);
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 650ms var(--ease);
}

.service-media .service-screenshot {
  padding: clamp(28px, 5vw, 58px) clamp(18px, 4vw, 46px);
  object-fit: contain;
  filter: drop-shadow(0 28px 48px oklch(0.12 0.04 260 / 0.48));
}

.service-card:hover .service-media img {
  transform: scale(1.09);
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  border-color: oklch(0.985 0.006 260 / 0.42);
  box-shadow: 0 30px 86px oklch(0.28 0.12 260 / 0.22);
}

.service-card.tall {
  grid-row: span 2;
  min-height: 596px;
  gap: 18px;
}

.service-card.wide {
  grid-column: span 2;
  min-height: 330px;
}

.web-logo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.web-logo-box {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 14px;
  border: 1px solid oklch(0.985 0.006 260 / 0.38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, oklch(0.985 0.006 260 / 0.36), transparent 54%),
    oklch(0.985 0.006 260 / 0.9);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.82), 0 16px 40px oklch(0.18 0.08 260 / 0.18);
}

.web-logo-box img {
  display: block;
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.web-logo-square img {
  max-height: 56px;
}

.ecommerce-logo-strip {
  margin: 0 0 22px;
}

.ecommerce-logo-strip .web-logo-box {
  min-height: 76px;
  aspect-ratio: 1.35;
  padding: 14px;
  border-color: oklch(0.985 0.006 260 / 0.34);
  background: oklch(0.985 0.006 260 / 0.88);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.82);
}

.ecommerce-logo-strip .web-logo-box img {
  width: auto;
  max-width: 88%;
  max-height: 34px;
}

.ecommerce-logo-strip .web-logo-square img {
  max-height: 44px;
}

.smm-logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.smm-logo-box {
  display: grid;
  place-items: center;
  min-height: 98px;
  aspect-ratio: 1.45;
  padding: 16px;
  border: 1px solid oklch(0.985 0.006 260 / 0.34);
  border-radius: 18px;
  background: oklch(0.985 0.006 260 / 0.88);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.82);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease);
}

.smm-logo-box:hover {
  transform: translateY(-3px);
  border-color: oklch(0.985 0.006 260 / 0.58);
}

.smm-logo-strip img {
  display: block;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.smm-logo-wide img {
  max-width: 94%;
  max-height: 46px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(0.985 0.006 260 / 0.16);
  color: oklch(0.985 0.006 260);
  border: 1px solid oklch(0.985 0.006 260 / 0.22);
  font-weight: 900;
}

.service-card.tall .service-icon {
  background: oklch(0.985 0.006 260 / 0.16);
}

.service-card h3 {
  color: oklch(0.985 0.006 260);
  text-shadow: 0 1px 22px oklch(0.2 0.08 260 / 0.26);
}

.service-card p,
.project-card p,
.process-list p,
.benefit-stack span,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card p {
  color: oklch(0.94 0.025 260);
}

.service-card.tall p {
  color: oklch(0.94 0.025 260);
}

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

.portfolio-work-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 0%, oklch(0.72 0.1 260 / 0.16), transparent 38%),
    oklch(0.985 0.006 260 / 0.9);
  box-shadow: 0 18px 48px oklch(0.28 0.06 260 / 0.07);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}

.work-card-links {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.work-card-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(0.985 0.006 260 / 0.74);
  border-radius: 999px;
  background: oklch(0.985 0.006 260 / 0.92);
  color: var(--blue);
  box-shadow: 0 16px 36px oklch(0.24 0.08 260 / 0.16);
  transition: transform 360ms var(--ease), background-color 360ms var(--ease), color 360ms var(--ease), border-color 360ms var(--ease);
}

.work-card-link:hover,
.work-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: oklch(0.58 0.16 260 / 0.62);
  background: var(--blue);
  color: oklch(0.985 0.006 260);
}

.work-card-link:focus-visible {
  outline: 3px solid oklch(0.7 0.14 260 / 0.42);
  outline-offset: 3px;
}

.work-card-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-work-card:hover {
  transform: translateY(-8px);
  border-color: oklch(0.61 0.12 260 / 0.48);
  box-shadow: 0 28px 78px oklch(0.28 0.1 260 / 0.15);
}

.portfolio-work-card-wide {
  grid-column: span 2;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.work-logo-panel {
  min-height: 230px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid oklch(0.9 0.018 260);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, oklch(0.96 0.025 260), transparent 52%),
    oklch(0.972 0.008 260);
}

.work-logo-panel-dark {
  background:
    radial-gradient(circle at 15% 8%, oklch(0.36 0.09 260 / 0.42), transparent 48%),
    linear-gradient(145deg, oklch(0.16 0.018 260), oklch(0.24 0.026 260));
}

.work-logo-panel-app {
  background:
    radial-gradient(circle at 80% 0%, oklch(0.72 0.13 260 / 0.24), transparent 42%),
    linear-gradient(145deg, oklch(0.985 0.006 260), oklch(0.9 0.04 260));
}

.work-logo-panel img {
  width: auto;
  max-width: min(100%, 280px);
  max-height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px oklch(0.18 0.08 260 / 0.16));
}

.work-logo-panel-dark img {
  max-width: min(100%, 250px);
  max-height: 150px;
}

.work-logo-panel-app img {
  max-width: 150px;
  max-height: 150px;
}

.work-card-copy {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 18px 10px 8px;
}

.portfolio-work-card-wide .work-card-copy {
  padding: clamp(20px, 3vw, 34px) 10px;
}

.work-card-copy p {
  margin: 0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.work-card-copy h3 {
  max-width: 18ch;
  margin: 0;
}

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

.work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid oklch(0.88 0.018 260);
  border-radius: 999px;
  background: oklch(0.965 0.01 260);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-row {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 16px;
}

.project-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.985 0.006 260 / 0.88);
  box-shadow: 0 18px 48px oklch(0.28 0.06 260 / 0.07);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}

.project-featured {
  min-height: 560px;
}

.project-card > div:last-child {
  padding: 12px 10px 8px;
}

.project-preview {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 22px;
  background: var(--panel);
}

.commerce-preview {
  background:
    linear-gradient(180deg, transparent 42%, oklch(0.18 0.04 260 / 0.68)),
    oklch(0.93 0.012 260);
}

.app-preview {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(155deg, oklch(0.985 0.006 260), oklch(0.9 0.04 260));
}

.project-preview > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.project-card:hover .project-preview > img {
  transform: scale(1.05);
}

.progressly-shot {
  object-fit: contain !important;
  filter: drop-shadow(0 28px 48px oklch(0.24 0.08 260 / 0.2));
}

.project-logo-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(220px, calc(100% - 36px));
  min-height: 74px;
  padding: 12px 18px;
  border: 1px solid oklch(0.93 0.018 260);
  border-radius: 20px;
  background: oklch(0.985 0.006 260 / 0.9);
  box-shadow: 0 22px 54px oklch(0.18 0.08 260 / 0.2);
}

.project-logo-chip img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.app-chip {
  width: 84px;
  min-height: 84px;
  padding: 12px;
}

.social-preview {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 76% 4%, oklch(0.74 0.12 260 / 0.28), transparent 42%),
    linear-gradient(160deg, oklch(0.98 0.006 260), oklch(0.86 0.045 260));
}

.social-preview span {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 12px;
  border-radius: 20px;
  background: oklch(0.985 0.006 260 / 0.86);
  box-shadow: 0 16px 36px oklch(0.28 0.08 260 / 0.12);
}

.social-preview img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.social-post-card {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-align: center;
}

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

.project-facts li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.process-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(16px, 4vw, 56px);
  align-items: start;
  padding: clamp(22px, 4vw, 42px) 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--blue);
  font-size: clamp(1.9rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.process-list h3,
.process-list p {
  max-width: 720px;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.84fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.benefit-stack {
  display: grid;
  gap: 12px;
}

.benefit-stack div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: oklch(0.985 0.006 260 / 0.88);
}

.benefit-stack strong,
.benefit-stack span {
  display: block;
}

.benefit-stack strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.final-cta {
  margin-block: clamp(60px, 8vw, 118px);
  padding: clamp(38px, 7vw, 92px);
  border-radius: clamp(28px, 5vw, 56px);
  color: oklch(0.985 0.006 260);
  background:
    radial-gradient(circle at 82% 18%, oklch(0.78 0.15 260 / 0.3), transparent 34%),
    linear-gradient(145deg, var(--blue-deep), var(--blue));
  box-shadow: var(--shadow);
}

.final-cta .eyebrow,
.final-cta p {
  color: oklch(0.91 0.04 260);
}

.final-cta h2 {
  max-width: 11ch;
}

.final-cta .button {
  margin-top: 22px;
  background: oklch(0.985 0.006 260);
  color: var(--blue);
  box-shadow: none;
}

.project-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transform: translateY(16px);
  transition: max-height 720ms var(--ease), opacity 480ms var(--ease), transform 480ms var(--ease), margin-top 480ms var(--ease);
}

.project-contact-panel.is-open {
  max-height: 1040px;
  opacity: 1;
  margin-top: 34px;
  transform: translateY(0);
}

.form-kicker {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3.2vw, 34px) clamp(18px, 3vw, 28px) clamp(44px, 5vw, 72px);
  border: 1px solid oklch(0.985 0.006 260 / 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, oklch(0.985 0.006 260 / 0.22), transparent 48%),
    oklch(0.18 0.08 260 / 0.32);
}

.form-kicker span {
  width: fit-content;
  justify-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: oklch(0.985 0.006 260 / 0.15);
  color: oklch(0.91 0.04 260);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-kicker strong {
  display: block;
  color: oklch(0.985 0.006 260);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-align: center;
}

.project-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid oklch(0.985 0.006 260 / 0.22);
  border-radius: 30px;
  background:
    linear-gradient(180deg, oklch(0.985 0.006 260 / 0.18), oklch(0.985 0.006 260 / 0.08)),
    oklch(0.2 0.08 260 / 0.28);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.18), 0 28px 80px oklch(0.16 0.08 260 / 0.18);
}

.project-form label {
  display: grid;
  gap: 8px;
}

.project-form span,
.contact-label {
  color: oklch(0.91 0.04 260);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-form textarea,
.project-form input {
  width: 100%;
  border: 1px solid oklch(0.985 0.006 260 / 0.44);
  border-radius: 20px;
  padding: 17px 18px;
  background: oklch(0.985 0.006 260 / 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
  resize: vertical;
}

.project-form textarea:focus,
.project-form input:focus {
  border-color: oklch(0.92 0.07 260);
  box-shadow: 0 0 0 4px oklch(0.985 0.006 260 / 0.2), 0 18px 42px oklch(0.14 0.06 260 / 0.16);
}

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

.project-form .button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.82;
  pointer-events: none;
}

.project-status {
  min-height: 24px;
  margin: 0;
  color: oklch(0.91 0.04 260);
  font-weight: 800;
  line-height: 1.5;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid oklch(0.985 0.006 260 / 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, oklch(0.88 0.08 260 / 0.18), transparent 46%),
    oklch(0.985 0.006 260 / 0.12);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.16);
}

.contact-card a,
.contact-text {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid oklch(0.985 0.006 260 / 0.14);
  color: oklch(0.985 0.006 260);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: opacity 260ms var(--ease);
}

.contact-text {
  margin: 0;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
}

.contact-card a:hover {
  opacity: 0.72;
}

.contact-card a span,
.contact-text span {
  color: oklch(0.91 0.04 260);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(28px, 5vw, 48px) 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 40px;
}

.footer-brand {
  display: grid;
  gap: 12px;
  max-width: 32rem;
}

.footer-logo {
  display: block;
  width: clamp(116px, 12vw, 150px);
  height: auto;
}

.footer-brand p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.footer-contacts {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
}

.footer-email {
  color: var(--ink);
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-social a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms var(--ease);
}

.footer-social a:hover {
  color: var(--blue);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer-company {
  margin: 0;
  line-height: 1.55;
  max-width: 44rem;
  overflow-wrap: anywhere;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.legal-links a,
.legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 220ms var(--ease);
}

.legal-links a:hover,
.legal-links button:hover {
  color: var(--blue);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 3vw, 26px);
  transform: translateX(-50%);
  width: min(960px, calc(100% - 28px));
  z-index: 1100;
  background: oklch(0.985 0.006 260 / 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 44px oklch(0.31 0.08 260 / 0.16);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px);
}

.cookie-banner-text {
  min-width: min(100%, 22rem);
  flex: 1 1 22rem;
}

.cookie-banner-text strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-policy-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 20px;
}

@media (max-width: 560px) {
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1 1 auto;
  }
}

.policy-modal[hidden] {
  display: none;
}

.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 120px);
  margin-block: clamp(70px, 10vw, 140px);
  padding: clamp(28px, 6vw, 78px);
  border: 1px solid oklch(0.89 0.026 255);
  border-radius: clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at 8% 18%, oklch(0.83 0.09 255 / 0.42), transparent 34%),
    radial-gradient(circle at 88% 10%, oklch(0.94 0.04 250 / 0.78), transparent 36%),
    linear-gradient(145deg, oklch(0.985 0.006 250), oklch(0.93 0.035 250));
  box-shadow: 0 30px 100px oklch(0.25 0.07 260 / 0.12);
}

.lead-magnet[hidden] {
  display: none;
}

.lead-magnet-copy {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.lead-badge {
  width: fit-content;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid oklch(0.78 0.055 260);
  border-radius: 999px;
  background: oklch(0.985 0.006 260 / 0.7);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lead-magnet-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: oklch(0.18 0.045 260);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.lead-description {
  max-width: 66ch;
  margin: 0;
  color: oklch(0.38 0.04 260);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.72;
}

.lead-checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lead-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: oklch(0.27 0.04 260);
  font-weight: 800;
  line-height: 1.45;
}

.lead-checklist span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #004aad;
  color: oklch(0.985 0.006 260);
  font-size: 0.86rem;
  font-weight: 900;
}

.lead-note {
  max-width: 58ch;
  margin: 0;
  color: oklch(0.44 0.036 260);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.6;
}

.lead-form-card {
  padding: clamp(22px, 3.2vw, 38px);
  border: 1px solid oklch(0.92 0.014 260);
  border-radius: clamp(26px, 4vw, 40px);
  background: oklch(0.995 0.004 260 / 0.94);
  box-shadow: 0 28px 80px oklch(0.22 0.08 260 / 0.15);
}

.lead-form-card > p {
  margin: 0;
  color: oklch(0.36 0.04 260);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.65;
}

.lead-form-card h2 {
  max-width: 14ch;
  margin: 0 0 12px;
  color: oklch(0.18 0.045 260);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.guide-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.guide-form label {
  display: grid;
  gap: 8px;
}

.guide-form label > span,
.guide-code-box label > span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-form input {
  width: 100%;
  min-height: 56px;
  border: 1px solid oklch(0.86 0.02 260);
  border-radius: 18px;
  padding: 0 17px;
  background: oklch(0.995 0.005 260);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.guide-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px oklch(0.58 0.15 260 / 0.14);
}

.guide-consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.guide-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.guide-consent span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.guide-submit {
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  background: #004aad;
  color: oklch(0.985 0.006 260);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 22px 58px oklch(0.38 0.16 260 / 0.28);
}

.guide-submit[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.82;
}

.guide-microcopy {
  margin: 0;
  color: oklch(0.48 0.036 260);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
}

.guide-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.guide-download-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.guide-confirmation {
  min-height: calc(100svh - 120px);
  display: grid;
  place-items: center;
  padding-block: clamp(76px, 12vw, 150px);
  background:
    radial-gradient(circle at 12% 8%, oklch(0.86 0.08 255 / 0.45), transparent 32%),
    radial-gradient(circle at 88% 12%, oklch(0.95 0.035 250 / 0.8), transparent 36%);
}

.guide-confirmation[hidden] {
  display: none;
}

.guide-confirmation-card {
  width: min(780px, 100%);
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(30px, 6vw, 70px);
  border: 1px solid oklch(0.91 0.016 260);
  border-radius: clamp(30px, 5vw, 54px);
  background: oklch(0.995 0.004 260 / 0.96);
  box-shadow: 0 34px 110px oklch(0.22 0.08 260 / 0.16);
  text-align: center;
}

.guide-confirmation-card h2 {
  max-width: 12ch;
  margin: 0;
  color: oklch(0.18 0.045 260);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.guide-confirmation-card p {
  max-width: 62ch;
  margin: 0;
  color: oklch(0.35 0.04 260);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.guide-download-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: #004aad;
  color: oklch(0.985 0.006 260);
  font-weight: 900;
  box-shadow: 0 22px 58px oklch(0.38 0.16 260 / 0.28);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.guide-download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 72px oklch(0.38 0.16 260 / 0.34);
}

.guide-download-button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.82;
  pointer-events: none;
}

.guide-confirmation-card small {
  max-width: 58ch;
  color: oklch(0.48 0.036 260);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.55;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.policy-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.12 0.05 260 / 0.68);
  backdrop-filter: blur(14px);
}

.policy-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(82vh, 860px);
  overflow: auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid oklch(0.88 0.025 260);
  border-radius: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, oklch(0.78 0.1 260 / 0.18), transparent 34%),
    oklch(0.985 0.006 260);
  box-shadow: 0 38px 120px oklch(0.14 0.08 260 / 0.36);
  color: var(--ink);
}

.policy-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 0 0 16px 18px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.985 0.006 260 / 0.92);
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.policy-dialog h2 {
  max-width: none;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.policy-dialog h3 {
  margin: 34px 0 10px;
  color: var(--ink);
}

.policy-dialog p,
.policy-dialog li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-dialog ul {
  padding-left: 1.2rem;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid oklch(0.9 0.12 150 / 0.7);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 18px 42px oklch(0.48 0.16 150 / 0.28);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  background: #1ebe5d;
  box-shadow: 0 24px 62px oklch(0.48 0.16 150 / 0.34);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  will-change: auto;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-18px, 22px, 0) scale(1.06);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav {
    display: none;
  }

  .header-actions {
    min-width: 0;
  }

  .mobile-guide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid oklch(0.82 0.05 260);
    border-radius: 999px;
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .hero,
  .section-intro,
  .benefits {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  h1 {
    max-width: 12ch;
  }

  .trust-strip,
  .services-grid,
  .portfolio-work-grid,
  .project-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .portfolio-work-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-contact-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .service-card.tall,
  .service-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .smm-logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .portfolio-work-card,
  .project-featured {
    min-height: 460px;
  }

  .lead-magnet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 24px;
    padding: 10px;
  }

  .brand {
    justify-content: center;
  }

  .brand-logo {
    width: 118px;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-guide-cta {
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .section-shell,
  .trust-strip,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions {
    display: grid;
  }

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

  .device-frame {
    border-radius: 26px;
    transform: none;
  }

  .pro-dashboard {
    min-height: 360px;
    padding: 14px;
  }

  .dashboard-metrics strong {
    font-size: 2rem;
  }

  .chart-bars {
    height: 94px;
    gap: 6px;
  }

  .content-list div {
    grid-template-columns: 32px 1fr auto;
  }

  .content-thumb {
    width: 32px;
    height: 32px;
  }

  .trust-strip span {
    padding-block: 16px;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 34px 18px;
    border-radius: 30px;
  }

  .project-contact-panel.is-open {
    max-height: 1480px;
    margin-top: 24px;
  }

  .project-form .button {
    width: 100%;
  }

  .form-kicker,
  .project-form,
  .contact-card {
    border-radius: 24px;
  }

  .form-kicker {
    min-height: 170px;
  }

  .project-form textarea,
  .project-form input {
    font-size: 0.98rem;
    padding: 15px 16px;
  }

  .smm-logo-strip {
    grid-template-columns: 1fr;
  }

  .web-logo-strip {
    grid-template-columns: 1fr;
  }

  .portfolio-work-card,
  .portfolio-work-card-wide {
    min-height: auto;
    padding: 12px;
  }

  .work-logo-panel {
    min-height: 180px;
    padding: 18px;
  }

  .work-card-copy,
  .portfolio-work-card-wide .work-card-copy {
    padding: 16px 6px 6px;
  }

  .legal-links {
    display: grid;
    justify-content: flex-start;
    white-space: normal;
    gap: 10px;
  }

  .lead-magnet {
    padding: 26px 16px;
    border-radius: 30px;
  }

  .lead-magnet-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .lead-form-card {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .guide-submit {
    min-height: 58px;
  }

  .legal-copy {
    text-align: left;
  }

  .policy-modal {
    padding: 10px;
  }

  .policy-dialog {
    max-height: 88vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ===== v2: conversione, FAQ, brand reali, case, sticky CTA, polish ===== */

.studio-stack { display: grid; gap: clamp(0.55rem, 1.4vw, 0.85rem); margin: clamp(1rem, 2.4vw, 1.6rem) 0; }
.studio-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid color-mix(in oklab, currentColor 12%, transparent); }
.studio-line span { font-weight: 700; }
.studio-line em { font-style: normal; opacity: 0.7; font-size: 0.85em; text-align: right; }
.studio-foot { display: grid; gap: 0.2rem; }
.studio-foot span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; }
.studio-foot strong { font-size: 0.95rem; }

.faq-list { display: grid; gap: clamp(0.5rem, 1.4vw, 0.9rem); max-width: 60rem; }
.faq-item { border: 1px solid color-mix(in oklab, currentColor 14%, transparent); border-radius: 14px; padding: clamp(0.9rem, 2vw, 1.3rem) clamp(1rem, 2.4vw, 1.5rem); background: color-mix(in oklab, currentColor 3%, transparent); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.12rem); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 600; opacity: 0.55; transition: transform 220ms cubic-bezier(0.22,1,0.36,1); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0.7rem 0 0; max-width: 70ch; line-height: 1.65; opacity: 0.82; }
.faq-cta { margin-top: clamp(1rem, 3vw, 1.8rem); display: grid; gap: 0.9rem; justify-items: start; }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(0.9rem, 2.2vw, 1.4rem); }
.case-card { display: grid; gap: 0.55rem; align-content: start; padding: clamp(1.2rem, 2.8vw, 1.8rem); border: 1px solid color-mix(in oklab, currentColor 13%, transparent); border-radius: 18px; }
.case-card h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.case-card p { margin: 0; line-height: 1.6; opacity: 0.85; max-width: 60ch; }
.case-card a { margin-top: 0.4rem; font-weight: 700; color: #004aad; text-decoration: none; width: max-content; }
.case-card a:hover { text-decoration: underline; }

:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid #004aad; outline-offset: 2px; border-radius: 8px; }
.section-intro h2 { line-height: 1.12; letter-spacing: -0.01em; }
.button { transition: transform 200ms cubic-bezier(0.22,1,0.36,1), background-color 200ms ease, color 200ms ease; }
.button:hover { transform: translateY(-2px); }

.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    background: color-mix(in oklab, #ffffff 92%, #004aad 4%);
    border-top: 1px solid color-mix(in oklab, #004aad 18%, transparent);
  }
  .mcta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.1rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; }
  .mcta-primary { background: #004aad; color: #fdfdff; }
  .mcta-wa { background: color-mix(in oklab, #004aad 10%, transparent); color: #004aad; }
  .site-footer, .legal-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .whatsapp-float { bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* ===== v3: hero card, sales form, guide CTAs, mobile ===== */

.hero-microtrust {
  margin: 14px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.studio-lead {
  margin: clamp(0.9rem, 2.4vw, 1.4rem) 0 clamp(0.6rem, 1.6vw, 1rem);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.studio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(1rem, 2.6vw, 1.5rem);
  padding: 15px 20px;
  border-radius: 16px;
  background: var(--blue);
  color: oklch(0.985 0.006 260);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 38px oklch(0.38 0.16 260 / 0.26);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.studio-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px oklch(0.38 0.16 260 / 0.32);
}

.studio-cta svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.kicker-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kicker-list li {
  position: relative;
  padding-left: 26px;
  color: oklch(0.93 0.03 260);
  font-size: 0.92rem;
  line-height: 1.45;
}

.kicker-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: oklch(0.92 0.12 150 / 0.6);
  box-shadow: inset 0 0 0 2px oklch(0.985 0.006 260 / 0.5);
}

.kicker-note {
  margin: 6px 0 0;
  color: oklch(0.86 0.03 260);
  font-size: 0.82rem;
  font-style: italic;
}

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

.project-form label:has([required]) > span::after {
  content: " *";
  color: oklch(0.86 0.13 28);
}

.form-microcopy {
  margin: 2px 0 0;
  color: oklch(0.88 0.03 260);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-guide-cross {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid oklch(0.985 0.006 260 / 0.18);
}

.form-guide-cross p {
  margin: 0;
  color: oklch(0.93 0.03 260);
  font-weight: 700;
  font-size: 0.92rem;
}

.button-ghost {
  border: 1px solid oklch(0.985 0.006 260 / 0.5);
  background: transparent;
  color: oklch(0.985 0.006 260);
}

.button-ghost:hover {
  background: oklch(0.985 0.006 260 / 0.12);
}

/* pannello con piu contenuto: evita il clipping */
.project-contact-panel.is-open {
  max-height: 2000px;
}

@media (max-width: 900px) {
  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .project-contact-panel.is-open {
    max-height: 2800px;
  }
}

@media (max-width: 640px) {
  .project-form .form-row {
    grid-template-columns: 1fr;
  }

  .studio-cta {
    padding: 14px 16px;
  }

  .form-guide-cross {
    flex-direction: column;
    align-items: stretch;
  }

  .form-guide-cross .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-cta { transition: none; }
  .studio-cta:hover { transform: none; }
}

/* ===== v4: offerta anteprima 24h (sezione blu scura) ===== */

.scarcity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 18px 0 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: oklch(0.92 0.12 150 / 0.22);
  border: 1px solid oklch(0.85 0.12 150 / 0.5);
  color: oklch(0.93 0.09 150);
  font-weight: 800;
  font-size: 0.84rem;
}

.preview-steps {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 22px);
}

.preview-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid oklch(0.985 0.006 260 / 0.2);
  border-radius: 18px;
  background: oklch(0.985 0.006 260 / 0.08);
}

.preview-steps span {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(0.985 0.006 260 / 0.16);
  color: oklch(0.985 0.006 260);
  font-weight: 900;
  font-size: 0.9rem;
}

.preview-steps strong {
  display: block;
  color: oklch(0.985 0.006 260);
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.preview-steps small {
  color: oklch(0.9 0.04 260);
  font-size: 0.83rem;
  line-height: 1.4;
}

.preview-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid oklch(0.985 0.006 260 / 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, oklch(0.985 0.006 260 / 0.16), oklch(0.985 0.006 260 / 0.06)),
    oklch(0.2 0.08 260 / 0.3);
  box-shadow: inset 0 1px 0 oklch(0.985 0.006 260 / 0.18), 0 28px 80px oklch(0.16 0.08 260 / 0.2);
}

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

.preview-form label {
  display: grid;
  gap: 8px;
}

.preview-form label > span {
  color: oklch(0.91 0.04 260);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-form label:has([required]) > span::after {
  content: " *";
  color: oklch(0.86 0.13 28);
}

.preview-form input,
.preview-form textarea {
  width: 100%;
  border: 1px solid oklch(0.985 0.006 260 / 0.44);
  border-radius: 16px;
  padding: 16px 18px;
  background: oklch(0.985 0.006 260 / 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
  resize: vertical;
}

.preview-form input:focus,
.preview-form textarea:focus {
  border-color: oklch(0.92 0.07 260);
  box-shadow: 0 0 0 4px oklch(0.985 0.006 260 / 0.22);
}

.preview-form .button {
  width: fit-content;
  margin-top: 4px;
}

.preview-form .button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.82;
  pointer-events: none;
}

.form-microcopy-dark {
  color: oklch(0.88 0.03 260);
}

.preview-status {
  min-height: 22px;
  margin: 0;
  color: oklch(0.95 0.05 150);
  font-weight: 800;
  line-height: 1.5;
}

.alt-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
}

.alt-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: oklch(0.9 0.05 260);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 200ms var(--ease);
}

.alt-link:hover {
  color: oklch(0.985 0.006 260);
}

@media (max-width: 900px) {
  .preview-steps {
    grid-template-columns: 1fr;
  }
  .preview-form .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .preview-form .form-row {
    grid-template-columns: 1fr;
  }
  .alt-paths {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alt-link { transition: none; }
}

/* ===== v5: rifinitura premium anteprima ===== */

.scarcity-badge {
  position: relative;
  padding-left: 30px;
}

.scarcity-badge::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: oklch(0.78 0.17 150);
  box-shadow: 0 0 0 0 oklch(0.78 0.17 150 / 0.55);
  animation: scarcityPulse 2.4s ease-out infinite;
}

@keyframes scarcityPulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.17 150 / 0.55); }
  70% { box-shadow: 0 0 0 10px oklch(0.78 0.17 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.17 150 / 0); }
}

.preview-steps {
  counter-reset: step;
}

.preview-steps li {
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.preview-steps li:hover {
  transform: translateY(-3px);
  border-color: oklch(0.985 0.006 260 / 0.4);
  background: oklch(0.985 0.006 260 / 0.12);
}

.preview-steps span {
  background: linear-gradient(150deg, oklch(0.7 0.16 260), oklch(0.55 0.18 260));
  box-shadow: 0 8px 20px oklch(0.38 0.16 260 / 0.4);
}

.preview-form {
  position: relative;
  border-radius: 30px;
  padding: clamp(24px, 3.6vw, 40px);
}

.preview-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, oklch(0.95 0.04 260 / 0.55), oklch(0.7 0.12 260 / 0.12) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.preview-form > * {
  position: relative;
}

.preview-form input,
.preview-form textarea {
  border-radius: 14px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.preview-form input::placeholder,
.preview-form textarea::placeholder {
  color: oklch(0.62 0.03 260);
}

.preview-form input:focus,
.preview-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px oklch(0.55 0.18 260 / 0.25);
}

.preview-form .button[type="submit"] {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.preview-optional {
  display: grid;
  gap: 16px;
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px dashed oklch(0.985 0.006 260 / 0.26);
}

.preview-optional-head {
  margin: 0;
  color: oklch(0.88 0.04 260);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-form label > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: oklch(0.78 0.03 260);
}

@media (max-width: 640px) {
  .preview-form .button[type="submit"] {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scarcity-badge::before { animation: none; }
  .preview-steps li { transition: none; }
  .preview-steps li:hover { transform: none; }
  .preview-form input,
  .preview-form textarea { transition: none; }
}
