/* Home page layout (hero styles unchanged — see styles.css .hero) */

.home-section {
  position: relative;
}

.home-section.plans {
  padding: 4.5rem 0 4rem;
}

.home-section.features {
  padding: 4.5rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.home-section.why-us {
  margin-top: 0;
  padding: 4.5rem 0 3rem;
}

.home-section.compare {
  padding: 3rem 0;
  background: var(--bg-soft);
}

.home-section.company-resources {
  padding: 4.5rem 0 5rem;
}

.home-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.home-plans-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.home-plans-note a {
  color: var(--primary);
  font-weight: 700;
}

/* Hosting product range */
.home-hosting-range {
  padding: 4.5rem 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.home-hosting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.home-hosting-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.home-hosting-card:hover {
  border-color: rgba(5, 153, 128, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.home-hosting-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .home-hosting-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hosting-card--wide {
    grid-column: span 2;
  }
}

.home-hosting-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary-soft);
  border-radius: 14px;
  margin-bottom: 0.25rem;
}

.home-hosting-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-hosting-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.home-hosting-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.home-hosting-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.35rem;
}

/* Why us blocks */
.home-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.home-block:last-child {
  margin-bottom: 0;
}

.home-block .why-email,
.home-block .why-dev {
  margin-bottom: 0;
}

.home-block .why-tabs-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.home-block .why-tabs-wrap--dev {
  margin-top: 1.5rem;
}

.home-block--email {
  background: linear-gradient(145deg, var(--bg-white), var(--bg-soft));
}

.home-block--dev {
  background: var(--bg-white);
}

@media (max-width: 768px) {
  .home-hosting-grid {
    grid-template-columns: 1fr;
  }

  .home-hosting-card--wide {
    grid-column: auto;
  }

  .home-block {
    padding: 1.25rem;
  }

  .home-section.plans,
  .home-section.features,
  .home-section.why-us,
  .home-section.company-resources {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
