.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 116px);
  background: linear-gradient(118deg, #fff 0%, #fffaf5 58%, #fff2dd 100%);
}

.home-hero::before {
  position: absolute;
  top: 12%;
  left: -120px;
  width: 260px;
  height: 260px;
  border: 45px solid rgba(190, 39, 94, 0.04);
  border-radius: 50%;
  content: "";
}

.home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.home-hero__content h1,
.home-hero__secondary-title {
  max-width: 720px;
  margin-bottom: 24px;
}

.home-hero__secondary-title {
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  letter-spacing: -0.04em;
}

.home-hero__content > p {
  max-width: 620px;
  margin-bottom: 10px;
  color: var(--color-text-secondary);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-hero__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 650;
}

.home-hero__assurance span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-hero__assurance b {
  color: var(--color-primary);
  font-size: 0.72rem;
}

.home-hero__visual {
  position: relative;
}

.home-hero__image-frame {
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(190, 39, 94, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 65px rgba(70, 39, 49, 0.12);
  transform: rotate(1deg);
}

.home-hero__image-frame img {
  width: 100%;
  border-radius: 21px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-hero__badge {
  position: absolute;
  bottom: -42px;
  left: clamp(12px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: calc(100% - 24px);
  padding: 14px 17px;
  border: 1px solid rgba(190, 39, 94, 0.1);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.055);
}

.home-hero__badge > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-secondary-light);
  font-size: 0.92rem;
}

.home-hero__badge p {
  display: grid;
  min-width: 0;
  margin: 0;
  line-height: 1.3;
}

.home-hero__badge strong {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.home-hero__badge small {
  color: var(--color-text-secondary);
  font-size: 0.74rem;
  white-space: nowrap;
}

.home-usp {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.home-usp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-usp article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 24px;
  border-right: 1px solid var(--color-border);
}

.home-usp article:first-child {
  padding-left: 0;
}

.home-usp article:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-usp__icon {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.home-usp h2 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.home-usp p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.55;
}

.home-category-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.home-category-card > a {
  display: block;
  overflow: hidden;
}

.home-category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home-category-card:hover img {
  transform: scale(1.012);
}

.home-category-card > div {
  position: relative;
  padding: 24px;
}

.home-category-card > div > span {
  position: absolute;
  top: 24px;
  right: 22px;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-category-card h3 {
  padding-right: 28px;
  margin-bottom: 8px;
}

.home-category-card h3 a {
  color: var(--color-text);
}

.home-category-card p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-size: 0.88rem;
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 108px);
}

.home-about__visual {
  position: relative;
}

.home-about__visual > img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-about__caption {
  position: absolute;
  right: -24px;
  bottom: -28px;
  display: grid;
  padding: 20px 24px;
  border-radius: 16px;
  color: #fff;
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.home-about__caption span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.home-about__content h2 {
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 18px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--color-text-secondary);
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-secondary-light);
  content: "✓";
  font-size: 0.76rem;
  font-weight: 800;
}

.home-about__content .button {
  margin-top: 28px;
}

.home-section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.home-process__grid li {
  position: relative;
  padding: 32px 30px 30px;
  border-top: 3px solid var(--color-border);
  background: #fff;
}

.home-process__grid li::before {
  position: absolute;
  top: -8px;
  left: 30px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.home-process__grid li:first-child {
  border-radius: 18px 0 0 18px;
}

.home-process__grid li:last-child {
  border-radius: 0 18px 18px 0;
}

.home-process__grid li + li {
  border-left: 1px solid var(--color-border);
}

.home-process__grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--color-primary);
  font-size: 2.1rem;
  font-weight: 750;
}

.home-process__grid h3 {
  margin-bottom: 10px;
}

.home-process__grid p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-size: 0.88rem;
}

.home-stats {
  padding-block: 66px 36px;
  color: #fff;
  background: var(--color-footer);
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stats__grid div {
  display: grid;
  gap: 4px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.home-stats__grid div:last-child {
  border-right: 0;
}

.home-stats strong {
  color: var(--color-secondary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.home-stats span {
  color: rgba(255, 255, 255, 0.78);
}

.home-stats__note {
  margin: 30px 16px 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .home-usp__grid,
  .home-process__grid,
  .home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-usp article:nth-child(2) {
    border-right: 0;
  }

  .home-usp article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .home-process__grid li:nth-child(3) {
    border-left: 0;
  }

  .home-process__grid li:first-child,
  .home-process__grid li:last-child {
    border-radius: 0;
  }

  .home-stats__grid div:nth-child(2) {
    border-right: 0;
  }

  .home-stats__grid div:nth-child(-n + 2) {
    margin-bottom: 34px;
  }
}

@media (max-width: 991.98px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: 760px;
  }

  .home-hero__visual {
    width: min(100%, 760px);
  }

  .home-about__grid {
    grid-template-columns: 1fr;
  }

  .home-about__visual {
    width: min(100%, 780px);
  }

  .home-about__caption {
    right: 18px;
  }
}

@media (max-width: 767.98px) {
  .home-hero__badge {
    bottom: -36px;
    gap: 12px;
    padding: 11px 14px;
  }

  .home-hero__badge > span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 0.84rem;
  }

  .home-hero__badge strong {
    font-size: 0.84rem;
  }

  .home-hero__badge small {
    font-size: 0.7rem;
  }

  .home-usp__grid,
  .home-process__grid,
  .home-stats__grid {
    grid-template-columns: 1fr;
  }

  .home-usp article,
  .home-usp article:first-child,
  .home-usp article:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .home-usp article:last-child {
    border-bottom: 0;
  }

  .home-section-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .home-section-top .section-heading {
    margin-bottom: 0;
  }

  .home-process__grid li,
  .home-process__grid li + li {
    border-top: 0;
    border-left: 3px solid var(--color-border);
  }

  .home-process__grid li::before {
    top: 37px;
    left: -8px;
  }

  .home-process__grid span {
    margin-bottom: 20px;
  }

  .home-stats__grid div,
  .home-stats__grid div:nth-child(2) {
    margin-bottom: 0;
    padding-block: 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-stats__grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__badge {
    position: relative;
    bottom: auto;
    left: auto;
    width: fit-content;
    max-width: calc(100% - 16px);
    margin: -18px 8px 0;
  }

  .home-hero__badge small {
    white-space: normal;
  }

  .home-about__caption {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -16px 14px 0;
  }
}

/* Home showcase hero — kept independent from the existing Home sections. */
.home-hero--showcase {
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 58px;
  background:
    radial-gradient(circle at 8% 24%, rgba(245, 178, 87, 0.13), transparent 24%),
    linear-gradient(115deg, #faf8f8 0%, #fff9f5 53%, #f9f4f5 100%);
}

.home-hero--showcase::before {
  z-index: -1;
  top: -130px;
  left: 34%;
  width: 380px;
  height: 380px;
  border: 0;
  background: rgba(190, 39, 94, 0.045);
}

.home-hero--showcase::after {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: 38px;
  width: 260px;
  height: 260px;
  border: 48px solid rgba(245, 178, 87, 0.08);
  border-radius: 50%;
  content: "";
}

.home-hero--showcase .home-hero__grid {
  min-height: 580px;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(34px, 4.4vw, 68px);
  padding-block: 42px 74px;
}

.home-hero--showcase .home-hero__content {
  position: relative;
  z-index: 2;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.home-hero__eyebrow::before {
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.home-hero--showcase .home-hero__content h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 3.25vw, 3.65rem);
  letter-spacing: -0.045em;
  line-height: 1.17;
}

.home-hero--showcase .home-hero__content h1 > span {
  display: block;
}

.home-hero__title-accent {
  color: #be275e;
  font-size: 0.82em;
  white-space: nowrap;
}

.home-hero--showcase .home-hero__content > p {
  max-width: 590px;
  margin-bottom: 0;
  color: #5f5b5d;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.home-hero--showcase .home-hero__actions {
  gap: 14px;
  margin-top: 32px;
}

.home-hero--showcase .home-hero__actions .button {
  min-height: 52px;
  padding-inline: 25px;
  font-size: 0.82rem;
  letter-spacing: 0.035em;
}

.home-hero--showcase .home-hero__actions .button--primary:hover {
  color: #fff;
  background: #98204b;
}

.home-hero--showcase .home-hero__actions .button--secondary {
  border-color: rgba(190, 39, 94, 0.42);
  color: #be275e;
  background: transparent;
}

.home-hero--showcase .home-hero__actions .button--secondary:hover {
  border-color: #be275e;
  color: #98204b;
  background: rgba(190, 39, 94, 0.06);
}

.home-hero--showcase .home-hero__visual {
  min-height: 470px;
  overflow: visible;
  border-radius: 30px 12px 30px 12px;
}

.home-hero--showcase .home-hero__visual::before {
  position: absolute;
  z-index: -1;
  top: 13%;
  left: -33px;
  width: 76px;
  height: 74%;
  border-radius: 70% 28% 62% 34%;
  background: linear-gradient(180deg, rgba(190, 39, 94, 0.82), rgba(245, 178, 87, 0.68));
  content: "";
  transform: rotate(7deg);
}

.home-hero--showcase .home-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border-radius: inherit;
  object-fit: cover;
  box-shadow: 0 22px 52px rgba(66, 39, 48, 0.12);
}

.home-hero-features {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: -50px;
  overflow: hidden;
  border: 1px solid rgba(190, 39, 94, 0.075);
  border-radius: 16px;
  background: rgba(255, 254, 253, 0.97);
  box-shadow: 0 14px 36px rgba(56, 42, 46, 0.07);
}

.home-hero-feature {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 20px;
}

.home-hero-feature + .home-hero-feature {
  border-left: 1px solid rgba(190, 39, 94, 0.09);
}

.home-hero-feature__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--color-primary);
  background: linear-gradient(145deg, #fbedf2, #fff2dd);
}

.home-hero-feature__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.home-hero-feature h2 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.home-hero-feature p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (max-width: 1199.98px) {
  .home-hero--showcase .home-hero__grid {
    min-height: 520px;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    gap: 30px;
    padding-bottom: 70px;
  }

  .home-hero--showcase .home-hero__content h1 {
    font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  }

  .home-hero--showcase .home-hero__visual,
  .home-hero--showcase .home-hero__visual img {
    min-height: 420px;
  }

  .home-hero-feature {
    display: grid;
    gap: 10px;
    padding: 20px 16px;
  }
}

@media (max-width: 767.98px) {
  .home-hero--showcase {
    padding-bottom: 42px;
  }

  .home-hero--showcase .home-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px 76px;
  }

  .home-hero--showcase .home-hero__content h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.75rem);
  }

  .home-hero__title-accent {
    font-size: 1em;
    white-space: normal;
  }

  .home-hero--showcase .home-hero__visual {
    width: 100%;
    min-height: 300px;
  }

  .home-hero--showcase .home-hero__visual img {
    min-height: 300px;
    max-height: 430px;
    aspect-ratio: 4 / 3;
  }

  .home-hero--showcase .home-hero__visual::before {
    top: -20px;
    left: 8%;
    width: 72%;
    height: 50px;
    border-radius: 70% 30% 65% 35%;
  }

  .home-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -46px;
  }

  .home-hero-feature,
  .home-hero-feature + .home-hero-feature {
    border: 0;
    border-bottom: 1px solid rgba(190, 39, 94, 0.09);
  }

  .home-hero-feature:nth-child(even) {
    border-left: 1px solid rgba(190, 39, 94, 0.09);
  }

  .home-hero-feature:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 42px 1fr;
    align-items: center;
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .home-hero--showcase .home-hero__actions {
    gap: 10px;
  }

  .home-hero--showcase .home-hero__actions .button {
    width: 100%;
  }

  .home-hero--showcase .home-hero__visual,
  .home-hero--showcase .home-hero__visual img {
    min-height: 260px;
  }

  .home-hero-feature {
    padding: 17px 13px;
  }

  .home-hero-feature h2 {
    font-size: 0.87rem;
  }

  .home-hero-feature p {
    font-size: 0.71rem;
  }
}
