:root {
  --ink: #f8f4ec;
  --muted: #c8cec5;
  --soft: #8c978b;
  --bg: #050707;
  --panel: rgba(9, 14, 13, 0.82);
  --panel-strong: rgba(13, 19, 17, 0.96);
  --line: rgba(248, 244, 236, 0.18);
  --acid: #9cff1a;
  --acid-2: #d6ff62;
  --red: #e52e24;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Barlow", Arial, sans-serif;
  background:
    radial-gradient(circle at 82% 8%, rgba(156, 255, 26, 0.075), transparent 34rem),
    radial-gradient(circle at 8% 2%, rgba(156, 255, 26, 0.09), transparent 30rem),
    linear-gradient(180deg, #030404 0%, var(--bg) 58%, #070a09 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #061001;
  background: var(--acid);
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  width: min(var(--max), calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 7, 7, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.brand span {
  font-size: 1.28rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #061001;
  background: linear-gradient(180deg, var(--acid-2), var(--acid));
  box-shadow: 0 14px 35px rgba(156, 255, 26, 0.23);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(248, 244, 236, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.button-xl {
  min-height: 58px;
  padding: 0 24px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px max(24px, calc((100vw - var(--max)) / 2)) 88px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 46px);
  z-index: -3;
  width: min(var(--max), calc(100% - 32px));
  background-image: url("./assets/hero-ecosystem-bg.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: min(820px, 64vw) auto;
  transform: translateX(-50%);
  mask-image:
    linear-gradient(90deg, transparent 0%, black 15%, black 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 13%, black 82%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, black 15%, black 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 13%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 4, 4, 0.96) 0%, rgba(3, 4, 4, 0.82) 46%, rgba(3, 4, 4, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 7, 7, 1) 0%, rgba(5, 7, 7, 0.2) 44%, rgba(5, 7, 7, 0.86) 100%);
}

.hero-content {
  width: min(790px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--acid-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11.4ch;
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(3.15rem, 6.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-text {
  max-width: 66ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.62;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(690px, 100%);
  margin-top: 26px;
}

.hero-proof article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 7, 7, 0.58);
  backdrop-filter: blur(10px);
}

.hero-proof strong {
  display: block;
  color: var(--acid);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.manifesto,
.ecosystem,
.audiences,
.process,
.final-cta,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.manifesto {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: end;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(156, 255, 26, 0.18), transparent 36%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.manifesto p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.manifesto strong {
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.02;
}

.section-heading {
  max-width: 820px;
  margin: clamp(76px, 9vw, 122px) 0 28px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p,
.final-cta p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 20%, rgba(156, 255, 26, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(18, 25, 23, 0.98), rgba(5, 7, 7, 0.98));
  box-shadow: var(--shadow);
}

.mosaic-wide {
  grid-column: span 2;
}

.mosaic-tall {
  grid-row: span 2;
}

.mosaic-domotics {
  grid-column: 3;
  grid-row: 3 / span 2;
}

.mosaic-security {
  grid-column: 4;
  grid-row: 3;
}

.mosaic-installations {
  grid-column: 1 / span 2;
  grid-row: 4;
}

.mosaic-gaming {
  grid-column: 4;
  grid-row: 4;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.mosaic-computers img {
  object-position: center 72%;
}

.mosaic-installations img {
  object-position: center 24%;
}

.mosaic-domotics img {
  object-position: center;
}

.mosaic-gaming img {
  object-position: center;
}

.mosaic-security img {
  object-position: center 24%;
}

.mosaic-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78));
}

.mosaic-card > div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.mosaic-card span {
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(5, 7, 7, 0.74);
  font-weight: 900;
  line-height: 1.1;
  backdrop-filter: blur(10px);
}

.mosaic-card small {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.mosaic-empty {
  display: grid;
  align-items: end;
  min-height: 0;
}

.mosaic-compact {
  min-height: 0;
}

.mosaic-compact::before {
  opacity: 0.34;
  background-size: auto, 26px 26px;
}

.mosaic-compact span {
  font-size: 0.98rem;
}

.mosaic-compact small {
  max-width: 24ch;
}

.mosaic-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(135deg, rgba(156, 255, 26, 0.16), transparent 35%),
    linear-gradient(45deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 49% 51%, transparent 52% 100%);
  background-size: auto, 34px 34px;
}

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

.audience-grid article,
.process-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.audience-grid span,
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 46px;
  padding: 0 14px;
  border-radius: 999px;
  color: #061001;
  background: var(--acid);
  font-weight: 900;
}

.audience-grid h3,
.process-grid h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.05;
}

.audience-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-top: clamp(76px, 9vw, 122px);
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(156, 255, 26, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(156, 255, 26, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(18, 25, 23, 0.97), rgba(9, 12, 12, 0.98));
  box-shadow: var(--shadow);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-row span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-row:hover strong,
.contact-row:focus-visible strong {
  color: var(--acid);
}

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

body.modal-open {
  overflow: hidden;
}

.diagnostico-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.diagnostico-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.diagnostico-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(156, 255, 26, 0.12), transparent 28rem),
    rgba(2, 4, 4, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.diagnostico-form {
  position: relative;
  width: min(920px, 100%);
  max-height: min(860px, calc(100svh - 32px));
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(156, 255, 26, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(156, 255, 26, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(14, 20, 18, 0.98), rgba(5, 7, 7, 0.98));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.diagnostico-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
}

.diagnostico-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.diagnostico-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.diagnostico-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.diagnostico-copy {
  max-width: 720px;
  padding-right: 52px;
}

.diagnostico-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 0.98;
}

.diagnostico-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}

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

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field span,
.consent span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(248, 244, 236, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 128px;
  padding: 14px;
  resize: vertical;
}

.field select {
  cursor: pointer;
  appearance: auto;
  color-scheme: dark;
  background-color: rgba(14, 20, 18, 0.96);
}

.field select option {
  color: #f8f4ec;
  background: #111715;
}

.field select option:checked,
.field select option:hover {
  color: #07100b;
  background: #9cff1a;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(200, 206, 197, 0.62);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(156, 255, 26, 0.72);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 4px rgba(156, 255, 26, 0.1);
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
}

.consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--acid);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-weight: 800;
  line-height: 1.45;
}

.form-status.is-loading {
  color: var(--acid-2);
}

.form-status.is-success {
  color: var(--acid);
}

.form-status.is-error {
  color: #ff7168;
}

.diagnostico-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 14px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--acid);
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 68px;
  }

  .manifesto,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .audience-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .process-grid article {
    min-height: 0;
  }

  .audience-grid span,
  .process-grid span {
    margin-bottom: 26px;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(156, 255, 26, 0.065), transparent 22rem),
      linear-gradient(180deg, #030404 0%, var(--bg) 58%, #070a09 100%);
  }

  body::before {
    opacity: 0.1;
    background-size: 42px 42px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 16px;
  }

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

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

  .nav-toggle {
    display: block;
    order: 3;
    width: 42px;
    height: 42px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    opacity: 0;
    background: rgba(5, 7, 7, 0.94);
    pointer-events: none;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    max-height: 320px;
    padding: 12px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 4, 4, 0.88) 0%, rgba(3, 4, 4, 0.76) 36%, rgba(3, 4, 4, 0.96) 100%),
      linear-gradient(90deg, rgba(3, 4, 4, 0.98), rgba(3, 4, 4, 0.58));
  }

  .hero-bg {
    left: 50%;
    top: 70px;
    bottom: auto;
    width: min(460px, calc(100% - 18px));
    height: 315px;
    background-position: center top;
    background-size: min(520px, 118vw) auto;
    opacity: 0.32;
    mask-image:
      linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%),
      linear-gradient(180deg, transparent 0%, black 12%, black 62%, transparent 100%);
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%),
      linear-gradient(180deg, transparent 0%, black 12%, black 62%, transparent 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 11.6ch;
    font-size: clamp(2.58rem, 11.8vw, 3.85rem);
    line-height: 0.94;
  }

  .eyebrow {
    max-width: 30ch;
    margin-bottom: 10px;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.54;
  }

  .hero-actions,
  .hero-proof,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-xl {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-proof article {
    min-height: 0;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .hero-proof strong {
    font-size: 1.24rem;
  }

  .hero-proof span {
    margin-top: 5px;
    font-size: 0.86rem;
  }

  .manifesto,
  .ecosystem,
  .audiences,
  .process,
  .final-cta,
  .site-footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .manifesto {
    margin-top: 8px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .manifesto p {
    font-size: 1.02rem;
    line-height: 1.52;
  }

  .manifesto strong {
    font-size: clamp(1.36rem, 7vw, 2rem);
    line-height: 1.06;
  }

  .section-heading {
    margin: 58px 0 20px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2rem, 9.5vw, 3.1rem);
    line-height: 1;
  }

  .section-heading p,
  .final-cta p {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.56;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(210px, 62vw, 255px);
    gap: 10px;
  }

  .mosaic-card {
    border-radius: 14px;
  }

  .mosaic-card > div {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .mosaic-card span {
    padding: 7px 10px;
    font-size: 0.96rem;
  }

  .mosaic-card small {
    font-size: 0.84rem;
  }

  .mosaic-wide,
  .mosaic-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-domotics,
  .mosaic-security,
  .mosaic-installations,
  .mosaic-gaming {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-empty {
    min-height: 185px;
  }

  .mosaic-compact {
    min-height: 150px;
  }

  .audience-grid,
  .process-grid {
    gap: 10px;
  }

  .audience-grid article,
  .process-grid article {
    padding: 20px;
    border-radius: 16px;
  }

  .audience-grid span,
  .process-grid span {
    height: 42px;
    min-width: 42px;
    margin-bottom: 20px;
  }

  .audience-grid h3,
  .process-grid h3 {
    font-size: 1.26rem;
  }

  .final-cta {
    margin-top: 58px;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .contact-row {
    padding: 15px;
    border-radius: 14px;
  }

  .diagnostico-modal {
    align-items: end;
    padding: 10px;
  }

  .diagnostico-form {
    width: 100%;
    max-height: calc(100svh - 20px);
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .diagnostico-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .diagnostico-copy {
    padding-right: 48px;
  }

  .diagnostico-copy h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .diagnostico-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .field input,
  .field select {
    min-height: 50px;
  }

  .field textarea {
    min-height: 120px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 26px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2.36rem, 12vw, 3.18rem);
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .mosaic {
    grid-auto-rows: 218px;
  }

  .brand span {
    display: none;
  }

  .hero-bg {
    top: 76px;
    width: calc(100% - 12px);
    height: 292px;
    background-size: 122vw auto;
    opacity: 0.28;
  }

  .button {
    min-height: 50px;
  }

  .site-footer nav {
    justify-content: center;
    width: 100%;
  }
}
