 :root {
  --gcw-home-brand: var(--gcw-color-brand);
  --gcw-home-brand-hover: var(--gcw-color-brand-hover);
  --gcw-home-text: var(--gcw-color-heading);
  --gcw-home-muted: var(--gcw-color-muted);
  --gcw-home-line: #dfeae7;
  --gcw-home-shell-line: #e2ebe8;
  --gcw-home-bg: var(--gcw-color-bg);
  --gcw-home-tint-bg: var(--gcw-color-tint-bg);
}

.gcw-homepage {
  background: var(--gcw-home-bg);
  color: var(--gcw-home-text);
  padding: 0 0 6px;
  margin: 0;
}

.gcw-home-container {
  width: min(var(--gcw-container-marketing), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.gcw-home-shell {
  padding: 6px 0;
}

.gcw-home-shell__inner {
  border: 1px solid var(--gcw-home-shell-line);
  background: #fff;
  border-radius: var(--gcw-radius-xl);
  padding: 24px 24px 26px;
  box-shadow: var(--gcw-shadow-card);
}

.gcw-home-shell--tinted .gcw-home-shell__inner {
  border-color: #d9ece9;
  background: var(--gcw-home-tint-bg);
}

.gcw-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.gcw-home-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #cfe9e5;
  border-radius: 999px;
  background: #f8fcfb;
  color: var(--gcw-home-brand);
  font-size: 13px;
  font-weight: 600;
}

.gcw-home-hero__title {
  margin: 18px 0 0;
  font-size: var(--gcw-h1-size);
  line-height: var(--gcw-h1-line);
  letter-spacing: var(--gcw-h1-track);
  font-weight: var(--gcw-h1-weight);
  color: var(--gcw-home-text);
}

.gcw-home-hero__desc {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: var(--gcw-body-line-relaxed);
  color: var(--gcw-home-muted);
}

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

.gcw-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 208px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: 0.2s ease;
}

.gcw-home-btn--primary {
  background: var(--gcw-home-brand);
  border: 1px solid var(--gcw-home-brand);
  color: #fff !important;
}

.gcw-home-btn--primary:hover {
  background: var(--gcw-home-brand-hover);
  border-color: var(--gcw-home-brand-hover);
  color: #fff !important;
}

.gcw-home-btn--secondary,
.gcw-home-btn--light,
.gcw-home-section__link {
  background: #fff;
  border: 1px solid var(--gcw-home-brand);
  color: var(--gcw-home-brand) !important;
}

.gcw-home-btn--secondary:hover,
.gcw-home-btn--light:hover,
.gcw-home-section__link:hover {
  background: var(--gcw-home-brand);
  color: #fff !important;
  border-color: var(--gcw-home-brand);
}

.gcw-home-hero__media {
  overflow: hidden;
  border: 1px solid #d7ebe7;
  border-radius: var(--gcw-radius-xl);
  background: #fff;
  box-shadow: var(--gcw-shadow-soft);
}

.gcw-home-hero__media img,
.gcw-home-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #edf4f2 0%, #e7f1ee 22%, #d6e4df 46%, #ece6df 100%);
}

.gcw-home-trust-inline {
  margin-top: 24px;
  border: 1px solid var(--gcw-home-line);
  border-radius: var(--gcw-radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.025);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px 18px;
}

.gcw-home-trust-inline__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gcw-home-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e6efed;
  border-radius: 20px;
  background: #fbfdfc;
  min-width: 0;
}

.gcw-home-trust__text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #1f2937;
}

.gcw-home-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gcw-radius-sm);
  background: #f7fcfb;
  border: 1px solid #cfe9e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gcw-home-icon--lg {
  width: 52px;
  height: 52px;
  border-radius: var(--gcw-radius-md);
}

.gcw-home-icon-img {
  width: var(--gcw-icon-md);
  height: var(--gcw-icon-md);
  display: block;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

.gcw-home-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.gcw-home-section__head--stacked {
  display: block;
}

.gcw-home-section__title {
  margin: 0;
  font-size: var(--gcw-h2-size);
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--gcw-home-text);
}

.gcw-home-section__desc {
  max-width: 860px;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: var(--gcw-body-line);
  color: var(--gcw-home-muted);
}

.gcw-home-section__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 208px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
}

.gcw-home-tax-grid__list {
  display: grid;
  gap: 18px;
}

.gcw-home-tax-grid__list--materials,
.gcw-home-tax-grid__list--shapes {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gcw-home-tax-card {
  overflow: hidden;
  border: 1px solid var(--gcw-home-line);
  background: #fff;
  border-radius: var(--gcw-radius-xl);
  box-shadow: var(--gcw-shadow-soft);
  transition: 0.18s ease;
}

.gcw-home-tax-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  border-color: rgba(0, 150, 136, 0.35);
}

.gcw-home-tax-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gcw-home-tax-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

.gcw-home-tax-card__thumb img,
.gcw-home-tax-card__thumb .gcw-home-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gcw-home-tax-card__title {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid #eef0ed;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--gcw-home-text);
}

.gcw-home-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gcw-home-why-card {
  padding: 20px;
  border: 1px solid var(--gcw-home-line);
  border-radius: var(--gcw-radius-xl);
  background: #fff;
  box-shadow: var(--gcw-shadow-soft);
}

.gcw-home-why-card__title,
.gcw-home-custom-card__title {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 700;
  color: var(--gcw-home-text);
}

.gcw-home-why-card__text,
.gcw-home-custom-card__text,
.gcw-home-custom__desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--gcw-home-muted);
}

.gcw-home-custom__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.gcw-home-custom__grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gcw-home-custom-card {
  padding: 20px;
  border: 1px solid var(--gcw-home-line);
  border-radius: var(--gcw-radius-xl);
  background: #fbfdfc;
  box-shadow: var(--gcw-shadow-soft);
}

.gcw-home-products__frame {
  padding: 14px;
  border: 1px solid var(--gcw-home-line);
  border-radius: var(--gcw-radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.gcw-home-products__slider {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gcw-home-products__slider .swiper-wrapper {
  align-items: stretch;
}

.gcw-home-products__slider .swiper-slide {
  display: flex;
  height: auto;
}

.gcw-home-product-slide {
  display: flex;
  width: 100%;
  min-width: 0;
}

.gcw-home-product-slide > * {
  width: 100%;
}

.gcw-home-products .gcw-archive-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--gcw-radius-lg);
  border: 1px solid var(--gcw-home-line);
  box-shadow: var(--gcw-shadow-soft);
  background: #fff;
}

.gcw-home-products .gcw-archive-card {
  width: 100%;
}

.gcw-home-products .gcw-archive-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gcw-home-products .gcw-archive-card__image-wrap {
  border-radius: 0;
}

.gcw-home-products .gcw-archive-card__body {
  padding: 16px;
}

.gcw-home-products .gcw-archive-card__title {
  min-height: 74px;
  font-size: 16px;
  line-height: 1.5;
}

.gcw-home-products .gcw-archive-card__price {
  margin-top: 0;
}

.gcw-home-products .gcw-archive-card__footer {
  display: block;
}

.gcw-home-products .gcw-archive-card__button {
  border-radius: 999px;
}

.gcw-home-products__controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gcw-home-products__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gcw-home-products__dot {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  flex: 0 0 8px;
  width: 8px !important;
  min-width: 8px !important;
  max-width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  opacity: 1;
  line-height: 0 !important;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  transform: none !important;
  background: #c7d8d5;
  cursor: pointer;
}

.gcw-home-products__dot.is-active,
.gcw-home-products__pagination .swiper-pagination-bullet-active {
  background: var(--gcw-home-brand);
}

.gcw-home-products__dot:focus-visible {
  outline: 2px solid rgba(0, 150, 136, 0.28);
  outline-offset: 3px;
}

.gcw-home-products__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gcw-home-products__prev,
.gcw-home-products__next {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #cfe9e5;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: 0.2s ease;
}

.gcw-home-products__prev:hover,
.gcw-home-products__next:hover {
  border-color: var(--gcw-home-brand);
  background: #f4fbfa;
}

.gcw-home-products__prev:disabled,
.gcw-home-products__next:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.gcw-home-products__prev::before,
.gcw-home-products__next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--gcw-home-brand);
  border-right: 2px solid var(--gcw-home-brand);
}

.gcw-home-products__prev::before {
  transform: translate(-35%, -50%) rotate(225deg);
}

.gcw-home-products__next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.gcw-home-guides__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gcw-home-guide-card {
  background: #fff;
  border: 1px solid #e8ece8;
  border-radius: var(--gcw-radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
}

.gcw-home-guide-card:hover,
.gcw-home-guide-card:focus-within {
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
  border-color: #e3e3e3;
  transform: translateY(-2px);
}

.gcw-home-guide-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gcw-home-guide-card__thumb {
  aspect-ratio: 16 / 9;
  background: #f7f7f7;
  overflow: hidden;
}

.gcw-home-guide-card__thumb img,
.gcw-home-guide-card__thumb .gcw-home-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gcw-home-guide-card__title {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 600;
  color: #121212;
}

.gcw-guide-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.gcw-guide-faq-item {
  border: 1px solid #e7e7e7;
  border-radius: var(--gcw-radius-sm);
  background: #fff;
  overflow: hidden;
}

.gcw-guide-faq-question {
  position: relative;
  display: block;
  margin: 0;
  padding: 18px 48px 18px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
  color: #111;
}

.gcw-guide-faq-question::-webkit-details-marker {
  display: none;
}

.gcw-guide-faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #666;
}

.gcw-guide-faq-item[open] .gcw-guide-faq-question::after {
  content: "−";
}

.gcw-guide-faq-answer {
  padding: 0 18px 18px;
  color: #333;
  font-size: 15px;
  line-height: var(--gcw-body-line);
}

.gcw-guide-faq-answer > *:first-child {
  margin-top: 0;
}

.gcw-guide-faq-answer > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .gcw-home-container {
    width: min(1360px, calc(100% - 40px));
  }

  .gcw-home-trust-inline__grid,
  .gcw-home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gcw-home-tax-grid__list--materials,
  .gcw-home-tax-grid__list--shapes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gcw-home-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .gcw-home-container {
    width: min(1360px, calc(100% - 32px));
  }

  .gcw-home-shell__inner {
    padding: 22px 22px 24px;
  }

  .gcw-home-hero__grid,
  .gcw-home-custom__grid {
    grid-template-columns: 1fr;
  }

  .gcw-home-tax-grid__list--materials,
  .gcw-home-tax-grid__list--shapes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gcw-home-container {
    width: min(1360px, calc(100% - 24px));
  }

  .gcw-home-shell {
    padding: 4px 0;
  }

  .gcw-home-shell__inner {
    padding: 18px 16px 20px;
    border-radius: var(--gcw-radius-lg);
  }

  .gcw-home-trust-inline {
    margin-top: 20px;
    padding: 14px;
    border-radius: 20px;
  }

  .gcw-home-trust-inline__grid,
  .gcw-home-why__grid,
  .gcw-home-custom__grid-cards,
  .gcw-home-guides__grid {
    grid-template-columns: 1fr;
  }

  .gcw-home-tax-grid__list--materials,
  .gcw-home-tax-grid__list--shapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gcw-home-section__head {
    display: block;
  }

  .gcw-home-btn,
  .gcw-home-section__link {
    min-width: 0;
    width: auto;
  }

  .gcw-home-section__link {
    margin-top: 12px;
  }

  .gcw-home-products__controls {
    justify-content: flex-end;
  }

  .gcw-home-products__pagination {
    display: none;
  }
}
