/**
 * Homepage-only styles for Discounters.by (Elementor front page).
 * Section hooks use disc-home-* classes — never Elementor element IDs.
 * Restored to match pre-rebuild Elementor structure.
 */

:root {
  --disc-navy: #161616;
  --disc-navy-2: #2a2a2a;
  --disc-red: #c4342c;
  --disc-red-hover: #a32a23;
  --disc-ink: #232323;
  --disc-muted: #757575;
  --disc-warm: #f2f1ed;
  --disc-gray: #f6f6f6;
  --disc-soft-blue: #ededed;
  --disc-line: #e6e6e6;
  --disc-white: #ffffff;
  --disc-radius: 28px;
  --disc-radius-sm: 18px;
  --disc-shadow: 0 18px 50px rgba(22, 22, 22, 0.1);
  --disc-container: 1360px;
  --disc-pad-x: clamp(16px, 3vw, 40px);
  --disc-section-y: clamp(40px, 6vw, 80px);
  --disc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --disc-pattern: url("../img/disc-pattern.webp");
}

/* Align home sections with header/footer container (1360). */
.home .elementor-9439 > .e-con.e-parent,
.home .elementor > .e-con.e-parent[class*="disc-home-"] {
  --content-width: min(100%, var(--disc-container));
}

.home .disc-home-hero,
.home .disc-home-benefits,
.home .disc-home-categories,
.home .disc-home-solutions,
.home .disc-home-measure,
.home .disc-home-process,
.home .disc-home-projects,
.home .disc-home-about,
.home .disc-home-reviews,
.home .disc-home-faq {
  width: 100%;
}

.home .disc-home-hero-grid,
.home .disc-home-hero-visual,
.home .disc-home-hero-proof,
.home .disc-home-benefits-grid,
.home .disc-home-category-grid,
.home .disc-home-measure-card,
.home .disc-home-process-grid,
.home .disc-home-about-grid,
.home .disc-home-about-stats,
.home .disc-home-faq-grid {
  --display: grid !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  align-items: stretch;
  box-sizing: border-box;
}

.home .disc-home-hero-grid > .e-con,
.home .disc-home-hero-visual > .e-con,
.home .disc-home-hero-proof > .e-con,
.home .disc-home-benefits-grid > .elementor-element,
.home .disc-home-category-grid > .e-con,
.home .disc-home-measure-card > .e-con,
.home .disc-home-process-grid > .e-con,
.home .disc-home-about-grid > .e-con,
.home .disc-home-about-stats > .e-con,
.home .disc-home-faq-grid > .e-con,
.home .disc-home-faq-grid > .elementor-widget {
  width: 100% !important;
  max-width: none !important;
  --width: 100% !important;
  min-width: 0;
  flex: none !important;
  align-self: stretch;
  padding: 0;
    margin: 0;
}

.home .disc-home-section-heading {
  width: 100% !important;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.home .disc-home-categories .disc-home-section-heading,
.home .disc-home-projects .disc-home-section-heading,
.home .disc-home-reviews .disc-home-section-heading {
  --display: flex !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px !important;
}

.home .disc-home-categories .disc-home-section-heading > .e-con,
.home .disc-home-projects .disc-home-section-heading > .e-con,
.home .disc-home-reviews .disc-home-section-heading > .e-con {
  flex: 1 1 16rem;
  width: auto !important;
  max-width: 48rem;
  --width: auto !important;
}

/* Buttons */
.home .disc-home-button-primary .elementor-button {
  background: var(--disc-red) !important;
  color: #fff !important;
  border: 0 !important;
  min-height: 48px;
  border-radius: 14px !important;
  font-weight: 300 !important;
  box-shadow: 0 12px 28px rgba(196, 52, 44, 0.28);
  transition: background 0.2s var(--disc-ease), transform 0.2s var(--disc-ease);
}

.home .disc-home-button-primary .elementor-button:hover {
  background: var(--disc-red-hover) !important;
  transform: translateY(-1px);
}

.home .disc-home-button-secondary .elementor-button {
  background: transparent !important;
  color: var(--disc-navy) !important;
  border: 1px solid var(--disc-line) !important;
  min-height: 48px;
  border-radius: 14px !important;
  font-weight: 300 !important;
  box-shadow: none !important;
}

.home .disc-home-button-secondary .elementor-button:hover {
  border-color: var(--disc-navy) !important;
}

.home .disc-home-eyebrow .elementor-heading-title {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: var(--disc-red) !important;
}

/* Hero */
.home .disc-home-hero {
  position: relative;
  background-color: #161616 !important;
  background-image: url("../../../../uploads/2016/08/disc-home-hero-slider.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.home.home .elementor-9439 .elementor-element.elementor-element-499f0f2:not(.elementor-motion-effects-element-type-background),
.home.home .elementor-9439 .elementor-element.elementor-element-499f0f2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("../../../../uploads/2016/08/disc-home-hero-slider.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Soften Elementor overlay so the slider photo stays visible */
.home .disc-home-hero::before {
  background: linear-gradient(105deg, rgba(19, 19, 19, 0.68) 0%, rgba(22, 22, 22, 0.42) 55%, rgba(22, 22, 22, 0.22) 100%) !important;
  opacity: 1 !important;
}

.home .disc-home-hero-content .elementor-heading-title,
.home .disc-home-hero-lead .elementor-widget-container,
.home .disc-home-hero-lead,
.home .disc-home-hero .disc-home-eyebrow .elementor-heading-title {
  color: #fff !important;
}

.home .disc-home-hero-lead .elementor-widget-container {
  color: rgba(255, 255, 255, 0.86) !important;
}

.home .disc-home-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: start;
}

.home .disc-home-hero-content .elementor-heading-title {
  color: var(--disc-navy);
  letter-spacing: -0.02em;
}

.home .disc-home-hero-lead .elementor-widget-container {
  max-width: 38rem;
  color: var(--disc-muted);
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.65;
}

.home .disc-home-hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px !important;
}

.home .disc-home-hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.home .disc-home-hero-proof .elementor-heading-title {
  margin: 0 0 4px;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.home .disc-home-hero-proof .elementor-widget-text-editor,
.home .disc-home-hero-proof .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  font-weight: 300;
}

.home .disc-home-hero-visual {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px !important;
}

.home .disc-home-hero-main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.home .disc-home-hero-side {
  grid-column: 2;
  grid-row: 1;
}

.home .disc-home-hero-offer {
  grid-column: 2;
  grid-row: 2;
}

.home .disc-home-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--disc-radius);
  background: var(--disc-navy);
}

.home .disc-home-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .disc-home-hero-main img {
  min-height: 420px;
  aspect-ratio: 3 / 4;
}

.home .disc-home-hero-side img {
  min-height: 180px;
  aspect-ratio: 4 / 3;
}

.home .disc-home-measure-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: 70%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--disc-shadow);
}

.home .disc-home-measure-note .elementor-heading-title {
  margin: 0 0 4px;
  color: var(--disc-navy);
  font-size: 16px !important;
}

.home .disc-home-measure-note .elementor-widget-text-editor {
  color: var(--disc-muted);
  font-size: 13px;
}

.home .disc-home-hero-offer {
  padding: 18px 18px 16px !important;
  border-radius: var(--disc-radius);
  background: var(--disc-navy);
}

.home .disc-home-hero-offer .elementor-heading-title {
  color: #fff !important;
}

.home .disc-home-hero-offer .disc-home-eyebrow .elementor-heading-title {
  color: var(--disc-red) !important;
}

.home .disc-home-hero-offer .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.75);
}

.home .disc-home-hero-offer .disc-home-button-secondary .elementor-button {
  background: #fff !important;
  color: var(--disc-navy) !important;
  border: 0 !important;
}

/* Benefits */
.home .disc-home-benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
}

.home .disc-home-benefits .elementor-icon-box-wrapper {
  padding: 18px 16px;
  border: 1px solid var(--disc-line);
  border-radius: var(--disc-radius-sm);
  background: #fff;
  height: 100%;
  align-items: center !important;
}

.home .disc-home-benefits .elementor-icon-box-title {
  color: var(--disc-navy);
  font-weight: 300;
}

.home .disc-home-benefits .elementor-icon-box-description {
  color: var(--disc-muted);
}

.home .disc-home-benefits .elementor-icon {
  color: var(--disc-red);
}

/* Categories — Klimatmaster-style light cards */
.home .disc-home-categories {
  background: var(--disc-white);
}

.home .disc-home-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
}

.home .disc-home-category-card,
.home .disc-home-category-card--large,
.home .disc-home-category-card--tall,
.home .disc-home-category-card--blue,
.home .disc-home-category-card--dark {
  position: relative;
  display: flex !important;
  flex-direction: column;
  grid-column: span 1;
  grid-row: span 1;
  min-height: 0;
  overflow: hidden;
  padding: 20px 20px 22px !important;
  border-radius: var(--disc-radius);
  background: var(--disc-gray);
  box-shadow: none;
}

.home .disc-home-category-card::after {
  content: none;
}

.home .disc-home-category-card .elementor-widget-image {
  position: relative !important;
  inset: auto !important;
  order: 1;
  width: 100% !important;
  height: auto !important;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #e0e0e0;
}

.home .disc-home-category-card .elementor-widget-image a,
.home .disc-home-category-card .elementor-widget-image img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home .disc-home-category-card img {
  object-fit: cover;
  transition: transform 0.45s var(--disc-ease);
}

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

/* Flatten copy so button can overlay the image via flex order */
.home .disc-home-category-copy {
  display: contents !important;
  position: static !important;
  padding: 0 !important;
}

.home .disc-home-category-copy .disc-home-button-secondary {
  order: 2;
  align-self: flex-start;
  width: auto !important;
  max-width: none !important;
  margin: -96px 0 8px 14px;
  z-index: 3;
  position: relative;
}

.home .disc-home-category-copy .disc-home-button-secondary .elementor-button {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 92px;
  height: 92px;
  min-height: 0 !important;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.52) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--disc-navy) !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.15;
}

.home .disc-home-category-copy .disc-home-button-secondary .elementor-button-content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.home .disc-home-category-copy .disc-home-button-secondary .elementor-button-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0 !important;
  line-height: 0;
}

.home .disc-home-category-copy .disc-home-button-secondary .elementor-button-text::before {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--disc-navy);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.home .disc-home-category-copy .disc-home-button-secondary .elementor-button-text::after {
  content: "Подробнее";
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--disc-navy);
}

.home .disc-home-category-copy .elementor-widget-heading {
  order: 3;
  width: 100% !important;
  margin: 18px 0 0;
  padding: 0 4px;
}

.home .disc-home-category-copy .elementor-heading-title,
.home .disc-home-category-copy .elementor-heading-title a {
  color: var(--disc-navy) !important;
  text-decoration: none;
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.25;
}

.home .disc-home-category-copy .elementor-widget-text-editor {
  order: 4;
  width: 100% !important;
  margin: 14px 0 0;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(22, 22, 22, 0.1);
  color: var(--disc-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.home .disc-home-category-copy .elementor-widget-text-editor p {
  margin: 0;
}

.home .disc-home-category-copy .elementor-widget-text-editor p::before {
  content: "/ ";
}

/* Solutions / products */
.home .disc-home-solutions {
  background: var(--disc-gray);
}

.home .disc-home-solutions .elementor-tab-title {
  border: 0 !important;
  background: transparent !important;
  border-radius: 999px !important;
  padding: 0.55rem 1rem !important;
  color: var(--disc-muted) !important;
  font-weight: 300 !important;
}

.home .disc-home-solutions .elementor-tab-title.elementor-active {
  background: var(--disc-navy) !important;
  color: #fff !important;
}

.home .disc-home-solutions .elementor-tabs-content-wrapper {
  border: 0 !important;
  padding-top: 1.25rem !important;
}

.home .disc-home-solutions ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .disc-home-solutions ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--disc-line);
  border-radius: var(--disc-radius-sm);
}

.home .disc-home-solutions ul.products li.product img {
  border-radius: 12px;
}

/* Measure */
.home .disc-home-measure-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: center;
}

.home .disc-home-measure-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--disc-radius);
}

.home .disc-home-measure-float {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--disc-shadow);
}

.home .disc-home-measure-photo {
  position: relative;
}

/* Process */
.home .disc-home-process {
  background: var(--disc-gray);
}

.home .disc-home-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px !important;
}

.home .disc-home-card {
  padding: 1.25rem 1.2rem;
  border: 0;
  border-radius: var(--disc-radius-sm);
  background: #fff;
  height: 100%;
}

.home .disc-home-process-grid > .e-con.disc-home-card,
.home .disc-home-process .disc-home-card {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 32px 28px 28px !important;
  margin: 0 !important;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(22, 22, 22, 0.06);
}

.home .disc-home-process-num {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.home .disc-home-process-num .elementor-heading-title {
  margin: 0 !important;
  color: var(--disc-red) !important;
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home .disc-home-process .disc-home-card .elementor-widget-heading:not(.disc-home-process-num),
.home .disc-home-process .disc-home-card > .elementor-widget-heading:nth-of-type(2) {
  margin: 0 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.home .disc-home-process .disc-home-card .elementor-heading-title {
  margin: 0;
  color: var(--disc-navy) !important;
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif) !important;
  font-size: clamp(18px, 1.5vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.3;
}

.home .disc-home-process .disc-home-card > .elementor-widget-heading:not(.disc-home-process-num) .elementor-heading-title::after,
.home .disc-home-process .disc-home-card .elementor-widget-heading:nth-child(2) .elementor-heading-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 12px;
  background: var(--disc-red);
  border-radius: 2px;
}

.home .disc-home-process .disc-home-card .elementor-widget-text-editor {
  margin-top: 14px !important;
  padding: 0 !important;
  color: var(--disc-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.home .disc-home-process .disc-home-card .elementor-widget-text-editor p {
  margin: 0;
}

/* About */
.home .disc-home-about {
  background: var(--disc-warm) !important;
}

.home .disc-home-about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: center;
}

.home .disc-home-about-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
}

.home .disc-home-about-stats .disc-home-card {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 168px;
  padding: 32px 28px 28px !important;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.home .disc-home-about-stats .disc-home-card .elementor-heading-title {
  margin: 0;
  color: var(--disc-navy);
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif) !important;
  font-size: clamp(36px, 3.6vw, 48px) !important;
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: -0.02em;
}

.home .disc-home-about-stats .disc-home-card .elementor-heading-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 14px;
  background: var(--disc-red);
  border-radius: 2px;
}

.home .disc-home-about-stats .disc-home-card .elementor-widget-text-editor {
  margin-top: 14px;
  color: #8f8f8f;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
}

.home .disc-home-about-stats .disc-home-card .elementor-widget-text-editor p {
  margin: 0;
}

/* FAQ */
.home .disc-home-faq {
  background: var(--disc-gray);
}

.home .disc-home-faq-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: start;
}

.home .disc-home-faq .elementor-accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--disc-line) !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.home .disc-home-faq .elementor-tab-title {
  border: 0 !important;
  padding: 0.95rem 1.1rem !important;
  color: var(--disc-navy) !important;
  font-weight: 300 !important;
}

.home .disc-home-faq .elementor-tab-content {
  border: 0 !important;
  padding: 0 1.1rem 1rem !important;
  color: var(--disc-muted);
}

/* Projects / reviews */
.home .disc-home-projects img,
.home .disc-home-reviews img {
  border-radius: 0;
}

/* ========== Projects mosaic ========== */
.home .disc-home-projects {
  --dp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  background-color: #161616 !important;
  background-image: none !important;
  isolation: isolate;
  overflow: hidden;
}

.home .disc-home-projects::after,
.home .disc-home-projects::before {
  content: none !important;
  display: none !important;
}

.home .disc-home-projects > .e-con-inner,
.home .disc-home-projects > .elementor-element {
  position: relative;
  z-index: 1;
}

.home .disc-home-projects .disc-home-eyebrow .elementor-heading-title {
  color: #c4342c !important;
}

.home .disc-home-projects .disc-home-section-heading .elementor-heading-title {
  color: #fff !important;
}

.home .disc-home-projects .disc-home-button-secondary .elementor-button {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.home .disc-home-projects .disc-home-button-secondary .elementor-button:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.home .disc-projects {
  width: 100%;
}

.home .disc-projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.5rem;
}

.home .disc-projects__filter {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--disc-font-body, "Onest-Light", Helvetica, Arial, Lucida, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--dp-ease), color 0.2s var(--dp-ease), border-color 0.2s var(--dp-ease);
}

.home .disc-projects__filter:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.home .disc-projects__filter.is-active {
  background: #c4342c;
  border-color: #c4342c;
  color: #fff;
}

.home .disc-projects__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.home .disc-projects__card {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #161616;
}

.home .disc-projects__card--lg {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 580px;
}

.home .disc-projects__card.is-hidden {
  display: none;
}

.home .disc-projects__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  color: #fff;
  text-decoration: none;
}

.home .disc-projects__img,
.home .disc-projects__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--dp-ease);
}

.home .disc-projects__placeholder {
  background: linear-gradient(135deg, #2a2a2a, #161616);
}

/* Lighter shade — photos stay readable */
.home .disc-projects__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.08) 40%, rgba(19, 19, 19, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.35s var(--dp-ease);
}

/* Glass «Подробнее» */
.home .disc-projects__cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 92px;
  height: 92px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(19, 19, 19, 0.18);
  transition: transform 0.3s var(--dp-ease), background 0.3s var(--dp-ease);
}

.home .disc-projects__cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--disc-navy, #161616);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.home .disc-projects__cta-label {
  font-family: var(--disc-font-display, "Onest-Medium", Helvetica, Arial, Lucida, sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--disc-navy, #161616);
  line-height: 1.15;
  text-align: center;
}

.home .disc-projects__copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 1.15rem 1.25rem;
  pointer-events: none;
}

.home .disc-projects__cat {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(19, 19, 19, 0.35);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.home .disc-projects__title {
  margin: 0;
  max-width: 90%;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(19, 19, 19, 0.4);
  backdrop-filter: blur(8px);
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif);
  font-size: clamp(16px, 1vw + 12px, 22px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.home .disc-projects__more {
  display: none;
}

.home .disc-projects__card:hover .disc-projects__img,
.home .disc-projects__card:focus-within .disc-projects__img {
  transform: scale(1.04);
}

.home .disc-projects__card:hover .disc-projects__shade,
.home .disc-projects__card:focus-within .disc-projects__shade {
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.12) 35%, rgba(19, 19, 19, 0.55) 100%);
}

.home .disc-projects__card:hover .disc-projects__cta,
.home .disc-projects__card:focus-within .disc-projects__cta {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
}

/* Hide old isotope portfolio leftovers if shortcode still present */
.home .disc-home-projects #filters,
.home .disc-home-projects .portfolio-entries {
  display: none !important;
}

@media (max-width: 1024px) {
  .home .disc-projects__card,
  .home .disc-projects__card--lg {
    grid-column: span 6;
    grid-row: span 1;
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .home .disc-projects__card,
  .home .disc-projects__card--lg {
    grid-column: span 12;
    min-height: 240px;
  }

  .home .disc-projects__cta {
    width: 80px;
    height: 80px;
    left: 12px;
    bottom: 12px;
  }
}

/* Adaptive */
@media (max-width: 1024px) {
  .home .disc-home-hero-grid,
  .home .disc-home-measure-card,
  .home .disc-home-about-grid,
  .home .disc-home-faq-grid {
    grid-template-columns: 1fr;
	padding: 0;
    margin: 0;
  
  }

  .home .disc-home-hero-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .home .disc-home-hero-main {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .home .disc-home-hero-side,
  .home .disc-home-hero-offer {
    grid-column: auto;
    grid-row: auto;
  }

  .home .disc-home-hero-main img {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .home .disc-home-benefits-grid,
  .home .disc-home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .disc-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
  }

  .home .disc-home-category-card,
  .home .disc-home-category-card--large,
  .home .disc-home-category-card--tall,
  .home .disc-home-category-card--blue,
  .home .disc-home-category-card--dark {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
    padding: 16px 16px 18px !important;
  }

  .home .disc-home-category-copy .disc-home-button-secondary {
    margin: -84px 0 6px 10px;
  }

  .home .disc-home-category-copy .disc-home-button-secondary .elementor-button {
    width: 80px;
    height: 80px;
  }

  .home .disc-home-solutions ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home .disc-home-hero-proof,
  .home .disc-home-hero-visual,
  .home .disc-home-benefits-grid,
  .home .disc-home-category-grid,
  .home .disc-home-process-grid,
  .home .disc-home-about-stats,
  .home .disc-home-solutions ul.products {
    grid-template-columns: 1fr;
	padding: 0;
    margin: 0;
  }

  .home .disc-home-hero-main {
    grid-column: 1;
  }

  .home .disc-home-button-primary .elementor-button,
  .home .disc-home-button-secondary .elementor-button {
    width: 100%;
    justify-content: center;
  }

  .home .disc-home-hero-actions {
    width: 100%;
  }

  .home .disc-home-hero-actions .elementor-widget-button {
    width: 100%;
  }
}

/* ========== Reviews carousel ========== */
.home .disc-home-reviews,
.page-id-9439 .disc-home-reviews {
  background: #f5f3ee !important;
}

.home .disc-reviews,
.page-id-9439 .disc-reviews {
  width: 100%;
}

.home .disc-reviews__viewport,
.page-id-9439 .disc-reviews__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.home .disc-reviews__track,
.page-id-9439 .disc-reviews__track {
  display: flex;
  gap: 18px;
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home .disc-reviews__card,
.page-id-9439 .disc-reviews__card {
  flex: 0 0 calc(50% - 9px);
  min-height: 280px;
  padding: 2rem 1.75rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-top: 3px solid #c4342c;
  box-shadow: 0 18px 48px rgba(22, 22, 22, 0.08);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.home .disc-reviews__quote,
.page-id-9439 .disc-reviews__quote {
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif);
  font-size: 64px;
  line-height: .7;
  color: #c4342c;
  font-weight: 500;
  margin-bottom: .4rem;
}

.home .disc-reviews__text,
.page-id-9439 .disc-reviews__text {
  color: #161616;
  font-size: clamp(16px, .3vw + 15px, 19px);
  line-height: 1.55;
  font-weight: 500;
  flex: 1 1 auto;
  font-size:14px;
}

.home .disc-reviews__text p,
.page-id-9439 .disc-reviews__text p {
  margin: 0 0 .75rem;
}

.home .disc-reviews__text p:last-child,
.page-id-9439 .disc-reviews__text p:last-child {
  margin-bottom: 0;
}

.home .disc-reviews__author,
.page-id-9439 .disc-reviews__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e6e6;
}

.home .disc-reviews__avatar img,
.page-id-9439 .disc-reviews__avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.home .disc-reviews__name,
.page-id-9439 .disc-reviews__name {
  font-family: var(--disc-font-heading, "Onest-Regular", Helvetica, Arial, Lucida, sans-serif);
  font-weight: 500;
  font-size: 10px;
  color: #161616;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.home .disc-reviews__role,
.page-id-9439 .disc-reviews__role {
  font-size: 13px;
  color: #757575;
  margin-top: 2px;
}

.home .disc-reviews__controls,
.page-id-9439 .disc-reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 1.5rem;
}

.home .disc-reviews__btn,
.page-id-9439 .disc-reviews__btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 22, 22, 0.18);
  background: #fff;
  color: #161616;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.home .disc-reviews__btn:hover,
.page-id-9439 .disc-reviews__btn:hover {
  background: #161616;
  border-color: #161616;
  color: #fff;
}

.home .disc-reviews__dots,
.page-id-9439 .disc-reviews__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.home .disc-reviews__dots button,
.page-id-9439 .disc-reviews__dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(22, 22, 22, 0.18);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}

.home .disc-reviews__dots button.is-active,
.page-id-9439 .disc-reviews__dots button.is-active {
  width: 44px;
  background: #c4342c;
}

@media (max-width: 767px) {
  .home .disc-reviews__card,
  .page-id-9439 .disc-reviews__card {
    flex-basis: 100%;
    min-height: 0;
    padding: 1.5rem 1.25rem;
  }
}


.woocommerce div.product .woocommerce-tabs ul.tabs li a {

  text-transform: none!important;

}

@media (max-width: 768px) {
 body .elementor-kit-18234 h1 {
    font-size: 32px;
  }
}