/* Shared image utilities across preview themes */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.hero-visual .floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  font-size: 0.88rem;
  max-width: 240px;
}

.hero-visual .floating-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.category-card .card-img {
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.category-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .card-img img {
  transform: scale(1.06);
}

.trust-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border, #e2e8f0);
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.trust-strip p {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0.55;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  margin-top: 2rem;
}

.split-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.split-banner .split-copy {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  border-radius: 14px;
  padding: 1.35rem;
  position: relative;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.65rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
}

.testimonial-author span {
  font-size: 0.78rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .split-banner,
  .testimonial-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    grid-template-columns: 1fr !important;
  }

  .hero-visual .floating-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pillar-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(125, 153, 233, 0.4));
  background: var(--surface, rgba(16, 25, 51, 0.6));
}

.pillar-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.pillar-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.pillar-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #27d1c9);
  margin-bottom: 0.4rem;
}

.pillar-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.pillar-body p {
  color: var(--muted, #b8c6ec);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  flex: 1;
}

.pillar-body ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted, #b8c6ec);
  font-size: 0.88rem;
}

.pillar-body ul li {
  margin-bottom: 0.3rem;
}

.pillar-body .btn {
  align-self: flex-start;
  margin-top: auto;
}
