.commercial-hero {
  position: relative;
  overflow: hidden;
}

.site-header {
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.commercial-hero::before {
  content: "";
  position: absolute;
  inset: 36px clamp(18px, 4vw, 56px);
  z-index: -1;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 20%, rgb(184 92 122 / 14%), transparent 30%),
    linear-gradient(135deg, rgb(255 255 255 / 72%), rgb(255 241 234 / 62%));
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(72px, 6.8vw, 92px);
  min-width: 72px;
  line-height: 0;
}

.brand-logo img {
  width: 100%;
  max-height: 60px;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-brand-logo {
  display: none;
}

.hero-home .hero-content {
  max-width: 800px;
}

.hero-home h1 {
  max-width: 920px;
}

.home-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 850;
}

.home-proof-row strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.home-hero-card {
  position: relative;
}

.home-hero-card::after {
  content: "CercaWeb";
  position: absolute;
  right: 22px;
  top: 22px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  padding: 8px 11px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-card-list {
  padding: 0;
  margin: 18px 0 18px;
  list-style: none;
  color: var(--muted);
  line-height: 1.65;
}

.home-card-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.home-card-list li:last-child {
  border-bottom: 0;
}

.home-card-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary-dark);
  font-weight: 950;
}

.home-feature-grid,
.home-demo-grid,
.sales-script-grid {
  display: grid;
  gap: 18px;
}

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

.home-feature-grid article,
.sales-script-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 36px rgb(86 48 68 / 8%);
}

.home-feature-grid span,
.sales-script-grid strong,
.pack-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  padding: 8px 11px;
  font-weight: 950;
}

.home-feature-grid h3,
.sales-script-grid h3 {
  margin: 16px 0 8px;
}

.home-feature-grid p,
.sales-script-grid p,
.home-pricing-grid .pricing-card > p:not(.price):not(.pack-kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.home-demo-section {
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.home-demo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.home-demo-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.home-demo-card .demo-visual {
  height: 100%;
  min-height: 310px;
}

.home-demo-card .demo-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-demo-card .button {
  margin-top: auto;
}

.demo-checklist {
  padding: 0;
  margin: 10px 0 18px;
  list-style: none;
  color: var(--muted);
  line-height: 1.7;
}

.demo-checklist li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary-dark);
  font-weight: 950;
}

.home-pricing-section .section-heading,
.sales-script-section .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-pricing-grid .pricing-card,
.maintenance-card {
  display: flex;
  flex-direction: column;
}

.home-pricing-grid .text-link {
  margin-top: auto;
}

.pack-meta {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
}

.pack-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 82%, var(--primary) 18%);
  color: var(--primary-dark);
  padding: 8px 11px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.pricing-footnote {
  max-width: 980px;
  margin: 22px auto 0;
  border: 1px dashed color-mix(in srgb, var(--primary) 36%, var(--line));
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-soft) 12%);
  color: var(--muted);
  padding: 16px 18px;
  line-height: 1.65;
  text-align: center;
}

.pack-fit {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}

.pack-fit strong {
  color: var(--ink);
}

.maintenance-area {
  max-width: 980px;
  margin: 24px auto 0;
}

.maintenance-strip {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 18px 22px;
  text-align: center;
  line-height: 1.55;
}

.maintenance-strip strong {
  color: var(--primary-dark);
}

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

.maintenance-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 36px rgb(86 48 68 / 8%);
}

.maintenance-card h3 {
  margin: 14px 0 0;
}

.maintenance-card ul {
  margin-bottom: 0;
}

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

.home-final-cta {
  max-width: none;
  background:
    radial-gradient(circle at 20% 15%, rgb(244 177 131 / 34%), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), #2f2530);
  color: white;
}

.home-final-cta p,
.home-final-cta .eyebrow {
  color: rgb(255 255 255 / 82%);
}

.home-final-cta .hero-actions {
  justify-content: center;
}

.home-final-cta .button.secondary {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 28%);
  color: white;
}

@media (max-width: 980px) {
  .home-feature-grid,
  .home-demo-grid,
  .sales-script-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-demo-card {
    grid-template-columns: 1fr;
  }

  .home-demo-card .demo-visual {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .commercial-hero::before {
    inset: 12px;
  }

  .site-header {
    align-items: flex-start;
    min-height: 62px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .brand-logo {
    width: 68px;
    min-width: 68px;
  }

  .brand-logo img {
    max-height: 52px;
  }

  .home-feature-grid,
  .home-demo-grid,
  .sales-script-grid,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-row span {
    width: 100%;
  }

  .home-demo-card {
    border-radius: 22px;
  }
}
