/* ============================================
   Landing Page Sections - savage.design
   ============================================ */

/* ---- Wrapper ---- */
.landing-sections {
  position: relative;
  z-index: 21;
  margin-top: 100vh;
  background-color: var(--color-black);
  border-top: 1px solid rgba(255, 208, 0, 0.15);
}

/* ---- Shared Section Base ---- */
.landing-section {
  padding: 8rem 2rem;
}

.landing-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section__heading {
  font-family: var(--font-primary);
  font-size: var(--h2-size);
  color: var(--color-white);
  margin-bottom: 1rem;
  text-align: center;
}

.landing-section__subheading {
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
  max-width: 700px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.landing-section__link {
  display: block;
  margin-top: 3rem;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  font-weight: 300;
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.landing-section__link:hover {
  opacity: 0.7;
}

/* ============================================
   Value Proposition
   ============================================ */

.landing-value {
  text-align: center;
  padding-top: 10rem;
}

.landing-value .landing-section__heading {
  font-size: clamp(2rem, 5vw, var(--h2-size));
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.15;
}

.landing-value .line-wrapper {
  overflow: hidden;
  display: block;
}

.landing-value .line-wrapper span {
  display: inline-block;
}

.differentiator-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.differentiator-badge {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
}

.differentiator-badge--accent {
  color: var(--color-black);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============================================
   Services Overview
   ============================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-family: var(--font-primary);
  font-size: var(--h5-size);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================
   Featured Portfolio
   ============================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.portfolio-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card__category {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.portfolio-card__title {
  font-family: var(--font-primary);
  font-size: var(--h4-size);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-card__title {
  color: var(--color-accent);
}

.portfolio-card__desc {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================
   Google Reviews
   ============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.review-card__star {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.review-card__star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.review-card__text {
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__name {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 700;
  color: var(--color-white);
}

.review-card__source {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.reviews-action {
  text-align: center;
  margin-top: 3rem;
}

.reviews-action a {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.reviews-action a:hover {
  color: var(--color-accent);
}

/* ============================================
   How We Work (Process Timeline)
   ============================================ */

.process-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.process-line {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform-origin: left center;
}

.process-step {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 60px;
}

.process-step__number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-black);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-accent);
  z-index: 1;
}

.process-step__title {
  font-family: var(--font-primary);
  font-size: var(--h5-size);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================
   Stats
   ============================================ */

.stats-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 2rem;
}

.stat-item {
  flex: 1;
}

.stat-number-wrapper {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Partnership CTA
   ============================================ */

.landing-partners {
  background-color: var(--color-accent);
  border-top: none;
}

.landing-partners .landing-section__heading {
  color: var(--color-black);
  text-align: left;
}

.landing-partners__text {
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.7);
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.partnership-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.partnership-highlights li {
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  font-weight: 300;
  color: var(--color-black);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.partnership-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--color-black);
}

.landing-partners .sec-button {
  color: var(--color-black);
  border-color: var(--color-black);
  opacity: 1;
}

.landing-partners .sec-button:hover {
  opacity: 0.7;
}

/* ============================================
   Final CTA
   ============================================ */

.landing-cta {
  text-align: center;
  padding: 10rem 2rem;
}

.landing-cta .landing-section__heading {
  font-size: clamp(2rem, 5vw, var(--h2-size));
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.15;
}

.landing-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 2rem;
}

.landing-cta__email {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.landing-cta__email a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-cta__email a:hover {
  color: var(--color-accent);
}

/* ============================================
   Responsive — Tablet (800-1279px)
   ============================================ */

@media (max-width: 1279px) {
  .landing-section {
    padding: 6rem 1.5rem;
  }

  .landing-value {
    padding-top: 8rem;
  }

  .differentiator-badges {
    gap: 1rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step__text {
    font-size: 12px;
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 calc(50% - 1rem);
    margin-bottom: 2rem;
  }

  .landing-cta {
    padding: 8rem 1.5rem;
  }
}

/* ============================================
   Responsive — Mobile (≤799px)
   ============================================ */

@media (max-width: 799px) {
  .landing-section {
    padding: 4rem 1rem;
  }

  .landing-value {
    padding-top: 6rem;
  }

  .differentiator-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .differentiator-badge {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Process timeline — vertical on mobile */
  .process-timeline {
    flex-direction: column;
    gap: 0;
    padding-left: 32px;
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-line-fill {
    transform-origin: top center;
  }

  .process-step {
    padding-top: 0;
    padding-left: 2.5rem;
    padding-bottom: 2.5rem;
    text-align: left;
  }

  .process-step__number {
    left: -32px;
    top: 0;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .stats-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 calc(50% - 1rem);
    margin-bottom: 2rem;
  }

  .landing-cta {
    padding: 6rem 1rem;
  }

  .landing-cta__buttons {
    flex-direction: column;
    gap: 16px;
  }
}
