/* home.css — CGE Photography Home
   Sistema de 8px: 0.5rem=8, 1rem=16, 1.5rem=24, 2rem=32, 2.5rem=40, 5rem=80
*/

/* ── Hero ─────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 5rem 1rem 4rem;
}

.home-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.home-hero__h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.home-hero__gradient {
  background: linear-gradient(90deg, #facc15 0%, #fb923c 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections genéricas ───────────────────────────── */
.home-section {
  margin-top: 5rem;
}

.home-section__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.home-section__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.home-section__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* ── Beneficios ───────────────────────────────────── */
.home-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-benefit {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, #0f172a 0, #020617 60%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease;
}

.home-benefit:hover {
  border-color: #374151;
}

.home-benefit__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.home-benefit__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.home-benefit__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Packs grid ───────────────────────────────────── */
.home-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.home-pack {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-pack:hover {
  border-color: #374151;
  transform: translateY(-2px);
}

.home-pack__preview {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.home-pack__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-pack:hover .home-pack__preview img {
  transform: scale(1.05);
}

.home-pack__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.home-pack__category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.home-pack__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.home-pack__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.home-pack__price {
  margin-top: 0.25rem;
}

.home-pack__cta {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* ── Badge / pill ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge--free {
  background: rgba(34, 197, 94, 0.12);
  color: var(--free);
  border-color: rgba(34, 197, 94, 0.25);
}

/* ── Cómo funciona ────────────────────────────────── */
.home-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.home-step__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.home-step__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Testimonios ──────────────────────────────────── */
.home-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-testimonial {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #020617;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-testimonial__quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.home-testimonial__quote::before {
  content: "\201C";
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.65rem;
  color: var(--accent);
  margin-right: 0.15rem;
  opacity: 0.6;
}

.home-testimonial__author {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
}

.home-testimonial__name {
  font-weight: 600;
  color: var(--text);
}

/* ── CTA final ────────────────────────────────────── */
.home-cta-final {
  margin-top: 5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #0f172a 0, #020617 60%);
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.home-cta-final__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.home-cta-final__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
  margin: 0;
}

.home-cta-final__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Divider ──────────────────────────────────────── */
.home-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  opacity: 0.5;
}

/* ── Ver todos ────────────────────────────────────── */
.home-view-all {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .home-hero {
    padding: 3rem 0 2.5rem;
  }

  .home-section {
    margin-top: 3.5rem;
  }

  .home-cta-final {
    padding: 2.5rem 1.25rem;
    margin-top: 3.5rem;
  }

  .home-divider {
    margin-top: 3.5rem;
  }
}
