/* ==========================================================================
   Soknockk — Homepage (reference-design.png)
   Phase 1 Visual Refinement
   ========================================================================== */

/* Hero */
.sk-hero {
  position: relative;
  height: 560px;
  min-height: 560px;
  max-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

.sk-hero__media {
  position: absolute;
  inset: 0;
}

.sk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  image-rendering: auto;
}

/* Soft left-to-right readability overlay — natural fade, no hard seam */
.sk-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 18, 0.48) 0%,
    rgba(18, 18, 18, 0.36) 12%,
    rgba(18, 18, 18, 0.24) 24%,
    rgba(18, 18, 18, 0.14) 36%,
    rgba(18, 18, 18, 0.07) 48%,
    rgba(18, 18, 18, 0.03) 60%,
    rgba(18, 18, 18, 0) 74%
  );
}

.sk-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 56px;
  min-width: 0;
  max-width: 100%;
}

.sk-hero__title,
.sk-hero__subtitle {
  max-width: min(560px, 100%);
  overflow-wrap: anywhere;
}

.sk-hero__title {
  max-width: 560px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.sk-hero__subtitle {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  font-weight: 500;
}

/* Features row */
.sk-features {
  border-bottom: 1px solid var(--sk-border);
  background: var(--sk-white);
}

.sk-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 20px;
  padding: 26px 0;
}

.sk-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
}

.sk-feature__icon {
  grid-row: 1 / span 2;
  color: var(--sk-green);
  display: inline-flex;
  margin-top: 1px;
}

.sk-feature__icon svg {
  width: 24px;
  height: 24px;
}

.sk-feature__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sk-black);
  line-height: 1.25;
}

.sk-feature__text {
  font-size: 12px;
  color: var(--sk-gray-600);
  line-height: 1.4;
}

/* Categories */
.sk-categories {
  padding: 48px 0 28px;
}

.sk-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sk-cat-card {
  background: var(--sk-white);
}

.sk-cat-card__media {
  display: block;
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 5 / 3.5;
}

.sk-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.3s ease;
}

.sk-cat-card:hover .sk-cat-card__media img {
  transform: scale(1.03);
}

.sk-cat-card__body {
  padding: 12px 0 4px;
}

.sk-cat-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.25;
}

.sk-cat-card__title a:hover {
  color: var(--sk-green);
}

.sk-cat-card__desc {
  font-size: 12px;
  color: var(--sk-gray-600);
  margin-bottom: 8px;
  line-height: 1.45;
  min-height: 0;
}

/* Why choose */
.sk-why {
  padding: 36px 0 48px;
}

.sk-why__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.sk-why__intro {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sk-gray-600);
  max-width: 440px;
}

.sk-why__list {
  display: grid;
  gap: 12px;
}

.sk-why__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sk-black);
}

.sk-why__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(59, 143, 58, 0.12);
  color: var(--sk-green);
  flex-shrink: 0;
}

.sk-why__check svg {
  width: 14px;
  height: 14px;
}

.sk-why__media {
  overflow: hidden;
  background: var(--sk-gray-100);
  aspect-ratio: 4 / 3;
}

.sk-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Trusted */
.sk-trusted {
  padding: 20px 0 36px;
  border-top: 1px solid var(--sk-border);
  background: var(--sk-white);
}

.sk-trusted__title {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sk-gray-500);
  margin-bottom: 8px;
}

.sk-trusted__note {
  text-align: center;
  font-size: 12px;
  color: var(--sk-gray-500);
  margin: 0 0 18px;
}

.sk-trusted__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 36px;
}

.sk-trusted__logo {
  min-width: 100px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #b5b5b5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 12px;
  background: transparent;
  opacity: 0.85;
}

/* Newsletter */
.sk-newsletter {
  background: var(--sk-charcoal);
  color: #fff;
  padding: 22px 0;
}

.sk-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sk-newsletter__copy {
  max-width: 420px;
}

.sk-newsletter__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sk-newsletter__sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #b5b5b5;
}

.sk-newsletter__form {
  display: flex;
  width: min(100%, 480px);
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: var(--sk-radius);
  overflow: hidden;
}

.sk-newsletter__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  min-height: 44px;
  padding: 0 14px;
  color: var(--sk-black);
  outline: none;
  font-size: 13px;
}

.sk-newsletter__form .sk-btn {
  flex: 0 0 auto;
  border-radius: 0;
  min-height: 44px;
  padding: 0 22px;
}

/* Homepage responsive — Phase 4 */
@media (max-width: 1199px) {
  .sk-hero {
    height: 460px;
    min-height: 460px;
  }

  .sk-hero__title {
    font-size: 38px;
  }

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

  .sk-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sk-why__grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .sk-hero {
    height: 420px;
    min-height: 420px;
    max-height: none;
  }

  .sk-hero__media img {
    object-position: 68% center;
  }

  .sk-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.55) 0%,
      rgba(18, 18, 18, 0.35) 45%,
      rgba(18, 18, 18, 0.2) 100%
    );
  }

  .sk-hero__title {
    font-size: 30px;
    max-width: 100%;
  }

  .sk-hero__subtitle {
    font-size: 14px;
    max-width: 100%;
  }

  .sk-hero__content {
    padding: 36px 0;
  }

  .sk-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding: 22px 0;
  }

  .sk-feature {
    grid-template-columns: 28px 1fr;
    column-gap: 10px;
  }

  .sk-feature__title {
    font-size: 13px;
  }

  .sk-feature__text {
    font-size: 12px;
  }

  .sk-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sk-categories {
    padding: 32px 0 16px;
  }

  .sk-why__grid {
    grid-template-columns: 1fr;
  }

  .sk-why__media {
    order: 2;
  }

  .sk-why__copy {
    order: 1;
  }

  .sk-trusted__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
  }

  .sk-trusted__logo {
    width: 100%;
    max-width: 160px;
  }

  .sk-newsletter__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 16px;
  }

  .sk-newsletter__form {
    width: 100%;
    flex-direction: column;
  }

  .sk-newsletter__form input[type="email"],
  .sk-newsletter__form .sk-btn {
    width: 100%;
  }
}
