/* ====================================================================
   FORMAPRO HOME - Homepage-only styles
   ==================================================================== */

/* === HERO === */
.forma-hero {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  overflow: hidden; background-color: var(--c-gray);
}
.forma-hero-bg {
  position: absolute; inset: 0; z-index: 1;
}
.forma-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 85% center; display: block;
}

.forma-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 48px 32px;
}
.forma-hero-content {
  max-width: 560px;
}
.forma-hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: #f0f7f4; color: var(--c-green); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.05em; margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}
.forma-hero-title {
  font-family: 'Inter', sans-serif; font-size: 3rem; font-weight: 800;
  line-height: 1.12; letter-spacing: -0.03em; color: var(--c-dark);
  margin: 0 0 16px;
}
.forma-hero-subtitle {
  font-family: 'Inter', sans-serif; font-size: 1.1rem; line-height: 1.65;
  color: var(--c-muted); margin: 0 0 32px;
}
.forma-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .forma-hero { min-height: 70vh; align-items: flex-end; }
  .forma-hero-bg img { object-position: center top; }
  .forma-hero-inner { padding: 40px 20px; }
  .forma-hero-content { max-width: 100%; text-align: center; }
  .forma-hero-title { font-size: 1.8rem; }
  .forma-hero-actions { justify-content: center; }
}

/* === TRUST BADGES === */
.forma-trust {
  padding: 80px 32px; background: var(--c-gray);
}
.forma-trust-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.forma-trust-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.forma-trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.forma-trust-icon {
  width: 56px; height: 56px; background: #f0f7f4; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 1.5rem; overflow: hidden;
}
.forma-trust-icon img {
  width: 100%; height: 100%; object-fit: contain;
}
.forma-badge-num {
  font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 800;
  color: var(--c-green); letter-spacing: -0.02em;
}
.forma-trust-title {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700;
  color: var(--c-dark); margin: 0 0 8px;
}
.forma-trust-desc {
  font-size: 0.875rem; color: var(--c-muted); line-height: 1.6; margin: 0;
}

/* === BRANDS === */
.forma-brands { padding: 64px 32px; background: var(--c-white); text-align: center; overflow: hidden; }
.forma-brands-label {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--c-muted); margin-bottom: 40px;
  text-transform: uppercase;
}
.forma-brands-row {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 60px;
  flex-wrap: wrap;
}
.forma-brands-row img {
  height: 64px; width: auto; opacity: 0.55; filter: grayscale(1);
  transition: opacity 0.4s, filter 0.4s, transform 0.4s;
  animation: brandFadeIn 1s ease forwards;
}
.forma-brands-row img:hover {
  opacity: 1; filter: grayscale(0); transform: scale(1.08);
}
.forma-brands-row img:nth-child(1) { animation-delay: 0.1s; }
.forma-brands-row img:nth-child(2) { animation-delay: 0.3s; }
.forma-brands-row img:nth-child(3) { animation-delay: 0.5s; }

@keyframes brandFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 0.55; transform: translateY(0); }
}

@media (max-width: 768px) {
  .forma-brands { padding: 40px 20px; }
  .forma-brands-row { gap: 36px; }
  .forma-brands-row img { height: 48px; }
}

/* === SECTION HEADER === */
.forma-section-header { text-align: center; margin-bottom: 48px; }
.forma-section-label {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--c-green); text-transform: uppercase;
  margin-bottom: 12px;
}
.forma-section-title {
  font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--c-dark); letter-spacing: -0.02em; margin: 0 auto 12px;
}
.forma-section-subtitle {
  font-size: 1rem; color: var(--c-muted); max-width: 520px; margin: 0 auto;
}

/* === CATEGORIES === */
.forma-categories { padding: 80px 32px; background: var(--c-white); }
.forma-cat-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.forma-cat-card {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
  background: var(--c-white);
}
.forma-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.forma-cat-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  background: var(--c-gray2);
}
.forma-cat-body { padding: 20px 24px; text-align: left; }
.forma-cat-title {
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--c-dark); margin: 0 0 8px;
}
.forma-cat-desc {
  font-size: 0.875rem; color: var(--c-muted); line-height: 1.6; margin: 0 0 16px;
}
.forma-cat-link {
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--c-green); text-decoration: none; transition: color 0.2s;
}
.forma-cat-link:hover { color: var(--c-green-l); }

/* === CALLOUT === */
.forma-callout {
  position: relative; padding: 100px 32px; text-align: center;
  background: var(--c-dark);
  overflow: hidden;
}
.forma-callout-bg {
  position: absolute; inset: 0; z-index: 0;
}
.forma-callout-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.forma-callout-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(15,23,42,0.78), rgba(15,23,42,0.85));
}
.forma-callout-inner {
  position: relative; z-index: 2; max-width: 600px; margin: 0 auto;
}
.forma-callout-title {
  font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700;
  color: #fff !important; margin: 0 auto 16px;
}
.forma-callout-text {
  font-size: 1.05rem; color: rgba(255,255,255,0.8) !important; line-height: 1.7;
  margin: 0 auto 32px;
}

/* === CTA BANNER === */
.forma-cta {
  padding: 80px 32px; background: var(--c-gray); text-align: center;
}
.forma-cta-title {
  font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--c-dark); margin: 0 auto 12px; max-width: 500px;
}
.forma-cta-text {
  font-size: 1rem; color: var(--c-muted); max-width: 480px; margin: 0 auto 28px;
}

/* === TESTIMONIALS === */
.forma-testimonials {
  padding: 80px 32px; background: var(--c-gray); overflow: hidden;
}
.forma-testimonials-track {
  max-width: 1280px; margin: 0 auto; overflow: hidden; position: relative;
}
.forma-testimonials-track::before,
.forma-testimonials-track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.forma-testimonials-track::before { left: 0; background: linear-gradient(to right, var(--c-gray), transparent); }
.forma-testimonials-track::after { right: 0; background: linear-gradient(to left, var(--c-gray), transparent); }
.forma-testimonials-slide {
  display: flex; gap: 24px; width: max-content;
  animation: scrollTestimonials 40s linear infinite;
}
.forma-testimonials-slide:hover { animation-play-state: paused; }
@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.forma-testimonial-card {
  flex: 0 0 360px; max-width: 360px;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.forma-testimonial-quote {
  font-size: 0.9rem; line-height: 1.7; color: var(--c-text); font-style: italic;
  margin: 0 0 16px; font-family: 'Inter', sans-serif;
}
.forma-testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--c-dark); }
.forma-testimonial-role { font-size: 0.78rem; color: var(--c-muted); }
.forma-testimonial-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 10px; }

/* === STATS === */
.forma-stats {
  padding: 80px 32px; background: var(--c-gray);
}
.forma-stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.forma-stat-card { text-align: center; padding: 32px 16px; }
.forma-stat-number {
  font-family: 'Inter', sans-serif; font-size: 3rem; font-weight: 800;
  color: var(--c-green); letter-spacing: -0.03em; line-height: 1;
  margin: 0 0 8px;
}
.forma-stat-label {
  font-size: 0.9rem; color: var(--c-muted); font-weight: 500;
}

/* === DELIVERY GUARANTEE === */
.forma-delivery {
  position: relative; min-height: 500px; display: flex; align-items: center;
  overflow: hidden; background: var(--c-gray);
}
.forma-delivery-bg {
  position: absolute; inset: 0; z-index: 1;
}
.forma-delivery-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center right; display: block;
}
.forma-delivery-inner {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 80px 32px;
  width: 100%;
}
.forma-delivery-content { max-width: 520px; }
.forma-delivery-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px; background: #f0f7f4; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--c-green);
  margin-bottom: 20px;
}
.forma-delivery-badge::before { content: '\2713'; font-weight: 700; }
.forma-delivery-title {
  font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--c-dark); margin: 0 0 16px;
}
.forma-delivery-text {
  font-size: 1rem; color: var(--c-muted); line-height: 1.7; margin: 0 0 24px;
}
.forma-delivery-list { list-style: none; padding: 0; margin: 0 0 28px; }
.forma-delivery-list li {
  padding: 6px 0; font-size: 0.95rem; color: var(--c-text);
  display: flex; align-items: center; gap: 10px;
}
.forma-delivery-list li::before {
  content: '\2713'; color: var(--c-green); font-weight: 700; font-size: 1.1rem;
}

@media (max-width: 768px) {
  .forma-delivery-inner { padding: 48px 20px; }
  .forma-delivery-bg img { object-position: center top; }
  .forma-delivery { min-height: auto; align-items: flex-start; }
  .forma-delivery-content { max-width: 100%; text-align: center; }
  .forma-delivery-title { font-size: 1.5rem; }
  .forma-delivery-list { text-align: left; display: inline-block; }
}

/* === RESPONSIVE (Homepage) === */
@media (max-width: 1024px) {
  .forma-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .forma-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .forma-hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .forma-hero { min-height: 70vh; align-items: flex-end; }
  .forma-hero-bg img { object-position: center top; }
  .forma-hero-inner { padding: 40px 20px; }
  .forma-hero-content { max-width: 100%; text-align: center; }
  .forma-hero-title { font-size: 1.8rem; }
  .forma-hero-actions { justify-content: center; }
  .forma-trust { padding: 52px 20px; }
  .forma-trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .forma-categories { padding: 52px 20px; }
  .forma-cat-grid { grid-template-columns: 1fr; }
  .forma-callout { padding: 60px 20px; }
  .forma-callout-title { font-size: 1.5rem !important; }
  .forma-stats { padding: 52px 20px; }
  .forma-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .forma-stat-number { font-size: 2.2rem; }
  .forma-testimonials { padding: 52px 20px; }
  .forma-testimonial-card { flex: 0 0 300px; max-width: 300px; }
  .forma-delivery { padding: 60px 20px; }
  .forma-cta { padding: 52px 20px; }
  .forma-brands { padding: 40px 20px; }
  .forma-brands-row { gap: 36px; }
  .forma-brands-row img { height: 48px; }
}

@media (max-width: 544px) {
  .forma-hero-title { font-size: 1.7rem; }
  .forma-trust-grid { grid-template-columns: 1fr; }
  .forma-section-title { font-size: 1.5rem; }
  .forma-callout-title { font-size: 1.5rem; }
  .forma-cta-title { font-size: 1.5rem; }
  .forma-hero-actions { flex-direction: column; align-items: center; }
  .forma-hero-actions .forma-btn { width: 100%; justify-content: center; }
}
