/* E1.4 · Portada orientada a descubrir, entender y cotizar */
.home-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.home-section + .home-section,
.home-section + .wrap,
.wrap + .home-section {
  padding-top: 0;
}

.home-section-heading {
  display: grid;
  gap: .55rem;
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.home-section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.home-benefits,
.home-needs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-benefit,
.home-need {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.home-benefit {
  padding: 1.35rem;
}

.home-benefit span,
.home-process .step span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, var(--white));
  color: var(--action);
  font-size: .75rem;
  font-weight: 850;
}

.home-benefit h3 {
  margin: 1rem 0 .45rem;
  font-size: 1.08rem;
}

.home-benefit p,
.home-need p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

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

.home-need {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 132px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-need:hover {
  border-color: var(--action);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-need-index {
  color: var(--action);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.home-need strong {
  display: block;
  margin-bottom: .3rem;
  font-size: 1.12rem;
}

.home-need-arrow {
  color: var(--action);
  font-size: 1.35rem;
}

.home-process .steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-process .step {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}

.home-process .step h3 {
  font-size: 1rem;
}

.home-process .step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

.home-business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(125deg, var(--surface-strong), var(--white));
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.home-business h2 {
  margin: .15rem 0 .65rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.home-business p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.home-business-actions {
  display: grid;
  gap: .65rem;
  min-width: min(100%, 250px);
}

.home-business-actions .button {
  width: 100%;
  text-align: center;
}

.home-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.home-faq-list details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 1rem 1.1rem;
}

.home-faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.home-faq-list details p {
  margin: .8rem 0 0;
  color: var(--muted);
}

.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}

.home-before-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.home-before-order-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.home-before-order-card > span {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, var(--white));
  color: var(--action);
  font-size: .75rem;
  font-weight: 850;
}

.home-before-order-card h3 {
  margin: .1rem 0 .35rem;
  font-size: 1.02rem;
  line-height: 1.3;
}

.home-before-order-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dark .home-benefit,
.dark .home-need,
.dark .home-process .step,
.dark .home-before-order-card,
.dark .home-faq-list details {
  background: var(--surface);
}

.dark .home-business {
  background: linear-gradient(125deg, var(--surface-strong), var(--surface));
}

@media (max-width: 900px) {
  .home-benefits,
  .home-process .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-before-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-benefits,
  .home-needs,
  .home-process .steps,
  .home-before-order-grid,
  .home-faq-list,
  .home-business {
    grid-template-columns: 1fr;
  }

  .home-need {
    grid-template-columns: auto 1fr;
  }

  .home-need-arrow {
    display: none;
  }

  .home-business .button,
  .home-business-actions {
    width: 100%;
  }
}

