.hero {
    padding: 44px 0 40px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.hero__content h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.4rem, 5.2vw, 4.3rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.hero__lead {
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: 1.08rem;
    max-width: 760px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__facts {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-text);
}

.hero__facts li {
    position: relative;
    padding-left: 28px;
}

.hero__facts li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-success);
    font-weight: 800;
}

.hero__visual {
    position: relative;
    padding: 22px;
    min-height: 520px;
    display: grid;
    place-items: center;
    align-self: start;
}

.hero__visual img {
    width: 100%;
    height: auto;
}

.hero__badge {
    position: absolute;
    top: 28px;
    right: 24px;
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.hero__badge strong {
    font-size: 1.25rem;
}

.hero__badge--accent {
    top: auto;
    bottom: 24px;
    left: 24px;
    right: auto;
    background: #243a56;
    color: #fff;
}

.stats {
    padding: 22px 0 12px;
}

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

.stats__item {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(228, 213, 198, 0.9);
    box-shadow: var(--shadow-card);
}

.stats__item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    color: var(--color-accent);
}

.cards--services {
    grid-template-columns: repeat(4, 1fr);
}

.service-card,
.advantage-card,
.review-card {
    padding: 24px;
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
}

.service-card h3,
.advantage-card h3 {
    margin: 0 0 10px;
}

.service-card p,
.advantage-card p,
.review-card p {
    margin: 0;
    color: var(--color-muted);
}

.contacts {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 28px;
    align-items: start;
}

.contacts__info {
    align-self: start;
}

.contacts__form {
    padding: 30px;
    align-self: start;
}

.lead-form {
    display: grid;
    gap: 18px;
}

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

.portfolio-slider {
    position: relative;
    padding: 28px 28px 22px;
    overflow: hidden;
}

.portfolio-slide {
    display: none;
}

.portfolio-slide.is-active {
    display: block;
}

.comparison-frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,237,229,0.88));
}

.comparison-frame__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #efe5da;
}

.comparison-frame__item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.comparison-frame__label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 31, 36, 0.82);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
}

.comparison-frame__label--after {
    background: rgba(28, 127, 69, 0.9);
}

.portfolio-slide__caption {
    padding: 18px 6px 4px;
}

.portfolio-slide__caption h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.portfolio-slide__caption p {
    margin: 0;
    color: var(--color-muted);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    font-size: 2rem;
    line-height: 1;
}

.slider-arrow--prev {
    left: 12px;
}

.slider-arrow--next {
    right: 12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(35, 59, 87, 0.2);
}

.slider-dot.is-active {
    background: var(--color-primary);
}

.steps__grid {
    grid-template-columns: repeat(4, 1fr);
}

.fabrics-hero {
    padding-bottom: 20px;
}

.section__head--compact {
    max-width: 860px;
}

.fabrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.fabric-card {
    overflow: hidden;
}

.fabric-card__image-wrap {
    padding: 18px 18px 0;
}

.fabric-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(228, 213, 198, 0.85);
    background: #fff;
}

.fabric-card__body {
    padding: 18px 20px 22px;
}

.fabric-card__body h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.fabric-card__body p {
    margin: 0;
    color: var(--color-muted);
}

.fabrics-note {
    padding: 24px;
}

.fabrics-note h2 {
    margin-top: 0;
}

.fabrics-note ol {
    margin: 0 0 20px;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.reviews-grid--manual {
    margin-bottom: 22px;
}

.review-card__rating {
    margin-bottom: 12px;
    color: #c48423;
    letter-spacing: 0.18em;
    font-size: 1rem;
}

.review-card__source {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(35, 59, 87, 0.08);
    color: var(--color-accent);
    font-size: 0.84rem;
    font-weight: 700;
}

.review-card__source--accent {
    background: rgba(184, 93, 40, 0.12);
    color: var(--color-primary-dark);
}

.external-reviews-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.external-reviews {
    padding: 24px;
}

.external-reviews__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.external-reviews__head h3 {
    margin: 0 0 8px;
}

.external-reviews__head p,
.external-reviews--placeholder p {
    margin: 0;
    color: var(--color-muted);
}

.external-reviews__embed {
    overflow: hidden;
}

.material-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.material-nav__chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-accent);
    font-weight: 700;
}

.fabric-material {
    scroll-margin-top: 96px;
}

.fabric-material__grid {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.fabric-material__head {
    position: sticky;
    top: 100px;
    padding: 24px;
    text-align: right;
}

.fabric-material__head h2 {
    margin: 12px 0 10px;
}

.fabric-material__head p {
    margin: 0;
    color: var(--color-muted);
}

.fabric-material__meta {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    color: var(--color-accent);
    font-weight: 700;
}

.fabric-models-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fabric-model {
    overflow: hidden;
}

.fabric-model__stage {
    position: relative;
    background: #f2e9de;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.fabric-model__slide {
    display: none;
    height: 100%;
    margin: 0;
}

.fabric-model__slide.is-active {
    display: block;
}

.fabric-model__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow--compact {
    top: auto;
    bottom: 14px;
    transform: none;
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
}

.fabric-model .slider-arrow--prev {
    left: 14px;
}

.fabric-model .slider-arrow--next {
    right: 14px;
}

.fabric-model__body {
    padding: 18px 18px 20px;
}

.fabric-model__body h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.fabric-model__material {
    margin: 0 0 14px;
    color: var(--color-muted);
}

.fabric-model__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
}

.fabric-model__counter {
    font-weight: 700;
    color: var(--color-accent);
}

.fabric-model__sample-name {
    color: var(--color-muted);
    text-align: right;
    word-break: break-word;
}

.hero__visual--plain {
    padding: 0;
    min-height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero__visual--plain img {
    display: block;
    width: 100%;
    height: auto;
}

.fabrics-hero {
    padding: 26px 0 12px;
}

.fabrics-hero__head {
    margin-bottom: 0;
}

.fabrics-hero .section__head h1 {
    margin-bottom: 10px;
}

.fabrics-hero .section__head p {
    max-width: 920px;
    margin-bottom: 0;
}

.fabrics-hero .material-nav {
    margin-top: 18px;
}

.fabric-material:first-of-type {
    padding-top: 20px;
}

.fabric-material__head {
    background: rgba(255, 255, 255, 0.94);
}

.step-card {
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(8, 21, 39, 0.16);
}

.reviews-section--wide .section__head {
    margin-bottom: 22px;
}

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

.external-reviews--wide {
    padding: 28px;
}

.external-reviews--wide .external-reviews__head {
    margin-bottom: 20px;
}

.external-reviews__embed--wide {
    min-height: 280px;
}

.external-reviews--placeholder-wide {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.reviews-section--wide {
    width: min(100% - 32px, 1320px);
    margin-inline: auto;
}

.fabrics-hero {
    padding: 20px 0 6px;
    background: transparent;
}

.fabrics-hero__inner {
    display: grid;
    gap: 18px;
}

.fabrics-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.material-nav--fabrics {
    margin-top: 0;
    margin-bottom: 6px;
}

.material-nav__chip {
    min-height: 46px;
    padding: 0 20px;
    font-size: 0.98rem;
    box-shadow: 0 10px 22px rgba(27, 32, 38, 0.04);
}

.fabric-material {
    padding: 52px 0;
}

.fabric-material:first-of-type {
    padding-top: 18px;
}

.fabric-material__grid {
    gap: 28px;
}

.fabric-material__head {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.fabric-material__head h2 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.05;
}

.fabric-material__head p {
    font-size: 1.02rem;
    line-height: 1.7;
}

.fabric-models-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 24px;
}

.fabric-model {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 34px rgba(27, 32, 38, 0.08);
}

.fabric-model__stage {
    position: relative;
    min-height: 320px;
    aspect-ratio: auto;
    overflow: hidden;
    background: linear-gradient(180deg, #efe6db 0%, #eadfce 100%);
}

.fabric-model__slide {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease;
}

.fabric-model__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.fabric-model__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fabric-model__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px 22px 24px;
}

.fabric-model__body h3 {
    font-size: 1.16rem;
    line-height: 1.25;
}

.fabric-model__material {
    font-size: 0.98rem;
}

.fabric-model__footer {
    margin-top: auto;
    align-items: flex-end;
}

.fabric-model__sample-name {
    max-width: 58%;
    font-size: 0.92rem;
    line-height: 1.35;
}

.steps__grid {
    gap: 20px;
}

.step-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(228, 213, 198, 0.9);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
}

.step-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.step-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.reviews-section__head {
    max-width: 900px;
    margin-bottom: 26px;
}

.reviews-widget-shell {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(27, 32, 38, 0.08);
}

.review-widget-row {
    display: grid;
    gap: 22px;
    padding: 28px 30px;
}

.review-widget-row--separated {
    border-top: 1px solid rgba(228, 213, 198, 0.85);
}

.review-widget-row__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.review-widget-row__head h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.review-widget-row__head p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.external-reviews__embed--wide {
    min-height: 360px;
}

.external-reviews--placeholder-wide {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.external-reviews--placeholder-wide p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.fabric-model__slide img {
    opacity: 0;
    transition: opacity 180ms ease;
}

.fabric-model__slide.is-loaded img {
    opacity: 1;
}

.reviews-board {
    padding: 30px;
    box-shadow: 0 22px 46px rgba(27, 32, 38, 0.08);
}

.reviews-board__top {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.reviews-board__top h2 {
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    line-height: 1.05;
}

.reviews-board__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.review-platform {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 24px;
    border-radius: 24px;
    box-shadow: none;
}

.review-platform__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.review-platform__head h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.external-reviews__embed--platform {
    min-height: 300px;
    flex: 1;
}

.external-reviews--placeholder-platform {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.external-reviews--placeholder-platform p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}
