:root {
  --bg: #f3efe8;
  --bg-soft: #ece6dc;
  --surface: #ffffff;
  --surface-strong: #1c1b1a;
  --surface-deep: #111110;
  --text: #201d1a;
  --text-soft: #645d56;
  --line: rgba(32, 29, 26, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #b54d2e;
  --accent-dark: #8f3218;
  --gold: #c8a56a;
  --sand: #d8c6ae;
  --shadow: 0 30px 70px rgba(29, 22, 18, 0.12);
  --radius: 26px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f2eb 0%, #efe7db 100%);
  line-height: 1.55;
}

body.body--modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: 110px;
}

.section--light {
  background: transparent;
}

.section--dark {
  color: #f8f3ea;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 106, 0.14), transparent 26%),
    linear-gradient(180deg, #191715 0%, #10100f 100%);
}

.section--accent {
  color: #fff4ea;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(135deg, #7f2713, #ba4b27 52%, #8b2e17);
}

.section--showroom {
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at top left, rgba(181, 77, 46, 0.14), transparent 30%),
    linear-gradient(180deg, #f6f0e8, #efe4d8);
}

.section-offset {
  padding-top: calc(var(--header-height) + 48px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(18, 17, 16, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 170px 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.site-header__brand {
  width: 160px;
}

.site-nav,
.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a,
.site-header__contacts a {
  color: rgba(255, 248, 239, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.site-header__contacts {
  gap: 14px;
}

.site-header__menu {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header__menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff6eb;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #fff7ee;
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 0.1)),
    url("./fon.jpg") center/cover no-repeat;
  transform: scale(1.03);
}

.hero__overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 165, 106, 0.26), transparent 18%),
    linear-gradient(180deg, rgba(9, 8, 8, 0.88), rgba(9, 8, 8, 0.52) 38%, rgba(9, 8, 8, 0.92));
}

.hero__inner,
.site-header__inner {
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: grid;
  gap: 44px;
  padding: 60px 0 56px;
}

.hero__content {
  max-width: 860px;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 244, 230, 0.72);
}

.eyebrow--dark {
  color: var(--accent-dark);
}

h1,
.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4.8vw, 54px);
  text-transform: uppercase;
}

.hero__lead,
.section-heading p:last-child,
.showroom-final__content > p,
.about-copy > p {
  font-size: 20px;
  color: rgba(255, 245, 233, 0.84);
}

.hero__lead {
  max-width: 640px;
}

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

.section-actions--projects {
  margin-top: 40px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  isolation: isolate;
}

.button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -140%;
  width: 42%;
  height: 140%;
  transform: rotate(24deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.58) 50%,
    rgba(255, 255, 255, 0.12) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  animation: button-shine 3.6s ease-in-out infinite;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent), #d86a42);
  box-shadow: 0 16px 34px rgba(181, 77, 46, 0.28);
}

.button--secondary {
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.button--ghost {
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.button--small {
  min-height: 46px;
  padding: 0 18px;
}

.button--full {
  width: 100%;
}

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

.benefit-card,
.client-card,
.manager-card,
.stock-category,
.stock-panel,
.reason-card,
.stone-group,
.processing-card,
.quarry-card,
.exclusive-card,
.quiz,
.video-card,
.showroom-final,
.project-card,
.about-facts article {
  border-radius: var(--radius);
}

.benefit-card {
  min-height: 188px;
  padding: 28px;
  background: rgba(255, 248, 239, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.benefit-card h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 1.18;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading--wide {
  max-width: 980px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
}

.section--light .section-heading p:last-child,
.section--showroom .showroom-final__content > p,
.section--light .stock-panel p,
.section--light .manager-card__body > p:last-of-type {
  color: var(--text-soft);
}

.clients-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

#clients .container {
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), rgba(246, 241, 235, 0.96) 48%, rgba(239, 233, 225, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 238, 232, 0.94));
  border: 1px solid rgba(190, 173, 151, 0.18);
  box-shadow: 0 26px 60px rgba(44, 34, 24, 0.12);
}

#clients .section-heading {
  margin-bottom: 34px;
}

#clients .section-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #221d19;
}

#clients .section-heading h2 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(32px, 4.9vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

#clients .clients-layout {
  grid-template-columns: minmax(0, 1.62fr) 250px;
  gap: 18px;
  align-items: start;
}

#clients .clients-main {
  display: grid;
  align-content: start;
  gap: 18px;
}

#clients .clients-main .section-heading {
  margin-bottom: 0;
}

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

#clients .clients-grid {
  gap: 12px;
}

.client-card,
.manager-card,
.stock-category,
.stock-panel,
.stone-group,
.quarry-card,
.quiz,
.showroom-final,
.video-card,
.about-facts article,
.modal__dialog {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 29, 26, 0.08);
  box-shadow: var(--shadow);
}

.client-card,
.stock-category,
.stone-group,
.reason-card,
.about-facts article {
  padding: 26px;
}

#clients .client-card {
  min-height: 100%;
  padding: 14px 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 240, 235, 0.96));
  border: 1px solid rgba(190, 173, 151, 0.16);
  box-shadow: none;
}

#clients .client-card::before {
  content: none;
}

#clients .client-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#clients .client-card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  flex: 0 0 42px;
  object-fit: contain;
}

#clients .client-card h3 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.05;
}

#clients .client-card .check-list li {
  margin-bottom: 8px;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(34, 29, 25, 0.86);
}

#clients .client-card .check-list li::before {
  top: 8px;
  width: 6px;
  height: 6px;
  background: #b46f34;
}

.client-card h3,
.manager-card h3,
.stock-panel h3,
.reason-card h3,
.stone-group h3,
.video-card p,
.showroom-final__content h2,
.about-facts strong {
  margin-bottom: 14px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list--compact li {
  margin-bottom: 10px;
}

.manager-card {
  overflow: hidden;
}

#clients .manager-card {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(52, 48, 44, 0.96), rgba(18, 17, 16, 0.98)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 38%);
  color: #fff9f2;
  border: 1px solid rgba(187, 152, 108, 0.22);
  box-shadow: 0 28px 46px rgba(15, 12, 10, 0.22);
}

.manager-card__photo {
  aspect-ratio: 1.1;
}

#clients .manager-card__photo {
  aspect-ratio: 1 / 0.94;
}

.manager-card__photo img,
.showroom-final__media img,
.stock-category img,
.processing-card img,
.stone-card img,
.exclusive-card__gallery img,
.project-card::before {
  height: 100%;
  object-fit: cover;
}

.manager-card__body {
  padding: 26px;
}

#clients .manager-card__body {
  padding: 14px 14px 16px;
}

#clients .manager-card__body .eyebrow,
#clients .manager-card__body .check-list {
  display: none;
}

#clients .manager-card__body h3 {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  color: rgba(255, 244, 230, 0.78);
}

#clients .manager-card .lead-form {
  gap: 8px;
}

#clients .manager-card .lead-form h4 {
  margin: 0 0 4px;
  font-size: 0;
}

#clients .manager-card .lead-form h4::before {
  content: "Оставьте контакты, и мы свяжемся с вами по вашей задаче";
  display: block;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: rgba(255, 244, 230, 0.68);
}

#clients .manager-card .lead-form span {
  display: none;
}

#clients .manager-card .lead-form input {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #fff9f2;
}

#clients .manager-card .button--primary {
  width: 100%;
  min-height: 44px;
  background: linear-gradient(180deg, #b96a32, #a25a29);
  box-shadow: 0 14px 26px rgba(119, 62, 26, 0.34);
}

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

.lead-form h4 {
  margin: 4px 0 0;
  font-size: 22px;
}

.lead-form--inline,
.lead-form--price {
  align-items: end;
}

.lead-form label,
.quiz-fields label {
  display: grid;
  gap: 8px;
}

.lead-form span,
.quiz-fields span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.lead-form input,
.lead-form textarea,
.quiz-fields input,
.quiz-fields select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 29, 26, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  color: var(--accent-dark);
}

.section--light .button--ghost,
.section--showroom .button--ghost {
  color: var(--text);
  background: rgba(32, 29, 26, 0.05);
  border-color: rgba(32, 29, 26, 0.12);
}

.section--accent .lead-form span,
.section--dark .lead-form span {
  color: rgba(255, 244, 230, 0.78);
}

.section--accent .form-status,
.section--dark .form-status {
  color: rgba(255, 244, 230, 0.82);
}

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

.project-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  color: #fff8ef;
  background: #1c1b1a;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76)),
    var(--project-image) center/cover no-repeat;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.project-card__meta span,
.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.project-card__body h3 {
  max-width: 320px;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.06;
}

.stock-categories,
.price-reasons,
.processing-grid,
.quarries-grid,
.exclusive-grid {
  display: grid;
  gap: 20px;
}

.stock-categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stock-category {
  overflow: hidden;
  padding: 0;
}

.stock-category img {
  aspect-ratio: 1.2;
  height: auto;
  object-fit: contain;
}

.stock-category h3,
.stock-category p {
  padding: 0 24px;
}

.stock-category h3 {
  margin-top: 22px;
}

.stock-category p {
  padding-bottom: 24px;
  color: var(--text-soft);
}

.stock-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  padding: 28px;
  margin-top: 26px;
}

.lead-form--inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
}

.price-reasons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.reason-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.reason-card span {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 245, 234, 0.72);
}

.lead-form--price {
  display: flex;
  gap: 14px;
}

.lead-form--price label {
  min-width: min(360px, 100%);
}

#best-price .lead-form--price .button {
  min-width: 190px;
  white-space: nowrap;
}

.copy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.copy-points div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(181, 77, 46, 0.08);
  border: 1px solid rgba(181, 77, 46, 0.12);
  font-weight: 700;
}

.stone-groups {
  display: grid;
  gap: 20px;
}

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

.stone-groups--catalog,
.stone-groups--structured {
  display: grid;
  gap: 24px;
}

.stone-group--catalog .stone-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.stone-card--catalog {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(32, 29, 26, 0.08);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.stone-card--catalog:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(17, 17, 16, 0.14);
}

.stone-card--catalog img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.stone-card span {
  display: block;
  padding-top: 10px;
  font-weight: 700;
}

.stone-card--catalog span {
  display: block;
  padding: 16px 18px 20px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  border-top: 1px solid rgba(32, 29, 26, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.98));
}

#granite-types .stone-groups--catalog,
#granite-types .stone-groups--legacy {
  display: none;
}

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

.processing-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(70, 61, 54, 0.28), rgba(23, 21, 20, 0.94)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(135deg, #51463c, #2b2623 58%, #171514);
  border: 1px solid rgba(196, 164, 120, 0.38);
  box-shadow:
    0 24px 48px rgba(6, 6, 6, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.processing-card__media {
  padding: 0;
  border: 0;
  background: transparent;
}

.processing-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(16, 15, 14, 0)),
    radial-gradient(circle at top, rgba(245, 230, 210, 0.2), transparent 62%);
  border-bottom: 1px solid rgba(196, 164, 120, 0.16);
  transition: transform 0.25s ease;
}

.processing-card__media:hover img {
  transform: scale(1.03);
}

.processing-card div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 24px;
  background:
    linear-gradient(180deg, rgba(33, 30, 28, 0.82), rgba(20, 18, 17, 0.96)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 42%);
}

.processing-card h3 {
  margin-bottom: 0;
  color: #fff8ef;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.processing-card p {
  color: rgba(255, 244, 230, 0.72);
  opacity: 1;
  font-size: 15px;
  line-height: 1.45;
}

.modal__dialog--viewer {
  width: min(1040px, calc(100% - 24px));
  padding: 18px;
  background: rgba(20, 18, 17, 0.96);
  border: 1px solid rgba(196, 164, 120, 0.24);
}

.processing-viewer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.processing-viewer__stage {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(52, 45, 40, 0.82), rgba(18, 16, 15, 0.96)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 42%);
  border: 1px solid rgba(196, 164, 120, 0.18);
}

.processing-viewer__stage img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: rgba(14, 13, 12, 0.5);
}

.processing-viewer__caption {
  padding: 20px 22px 24px;
}

.processing-viewer__caption h2 {
  margin-bottom: 0;
  color: #fff8ef;
}

.processing-viewer__nav {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(196, 164, 120, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(249, 219, 184, 0.92), rgba(194, 144, 95, 0.94));
  color: #271d14;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.processing-card p,
.exclusive-card p,
.stock-panel p,
.stone-group p,
.quarry-card p {
  color: inherit;
  opacity: 0.82;
}

.quarries-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quarry-card {
  overflow: hidden;
  padding: 0;
}

.quarry-card__landscape {
  height: 190px;
  background-position: center;
  background-size: cover;
}

.quarry-card__stone {
  width: calc(100% - 36px);
  margin: -42px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(17, 17, 16, 0.18);
}

.quarry-card h3 {
  padding: 20px 18px 24px;
  text-align: center;
}

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

#exclusive .section-heading,
#exclusive .section-heading--wide {
  max-width: 100%;
}

.exclusive-card {
  position: relative;
  padding: 24px;
  background: rgba(255, 250, 245, 0.94);
  color: var(--text);
}

.exclusive-card__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.exclusive-card__gallery img {
  aspect-ratio: 1;
  border-radius: 18px;
}

.exclusive-card__gallery-stack {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(54, 48, 42, 0.08), rgba(23, 21, 19, 0.16));
}

.exclusive-card__gallery-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  animation: exclusive-gallery-fade 16s infinite ease-in-out;
}

.exclusive-card__gallery-stack img:nth-child(1) {
  animation-delay: 0s;
}

.exclusive-card__gallery-stack img:nth-child(2) {
  animation-delay: 4s;
}

.exclusive-card__gallery-stack img:nth-child(3) {
  animation-delay: 8s;
}

.exclusive-card__gallery-stack img:nth-child(4) {
  animation-delay: 12s;
}

.exclusive-card__gallery-stack--three img {
  animation-duration: 12s;
}

.exclusive-card__gallery-stack--three img:nth-child(1) {
  animation-delay: 0s;
}

.exclusive-card__gallery-stack--three img:nth-child(2) {
  animation-delay: 4s;
}

.exclusive-card__gallery-stack--three img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes exclusive-gallery-fade {
  0%,
  100% {
    opacity: 0;
  }

  6%,
  25% {
    opacity: 1;
  }

  31% {
    opacity: 0;
  }
}

@keyframes button-shine {
  0% {
    left: -140%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  24% {
    left: 140%;
    opacity: 1;
  }

  25%,
  100% {
    left: 140%;
    opacity: 0;
  }
}

.exclusive-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #fff7ee;
  background: linear-gradient(135deg, #a51414, #d34d39);
}

.quiz-layout,
.about-layout,
.showroom-final {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.quiz-intro {
  position: sticky;
  top: 118px;
}

.quiz {
  padding: 28px;
}

.quiz__progress {
  margin-bottom: 28px;
}

.quiz__progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(32, 29, 26, 0.08);
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz__progress-bar span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), #d86a42);
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step h3 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.08;
}

.quiz-step__lead {
  color: var(--text-soft);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quiz-options label {
  position: relative;
}

.quiz-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.quiz-options span {
  display: block;
  min-height: 96px;
  padding: 22px;
  border: 1px solid rgba(32, 29, 26, 0.1);
  border-radius: 22px;
  background: #fff;
  font-weight: 700;
}

.quiz-options input:checked + span {
  border-color: rgba(181, 77, 46, 0.42);
  box-shadow: 0 18px 34px rgba(181, 77, 46, 0.12);
  background: rgba(181, 77, 46, 0.06);
}

.quiz-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quiz-fields__full {
  grid-column: 1 / -1;
}

.quiz__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.is-hidden {
  display: none;
}

.about-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-facts article {
  min-height: 230px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(28, 27, 26, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.96), rgba(244, 239, 232, 0.93)),
    linear-gradient(180deg, #fffdf9, #f2ece4);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 22px 44px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(255, 244, 227, 0.16);
}

.about-facts__headline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(32, 29, 26, 0.12);
}

.about-facts strong {
  display: block;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #171717;
}

.about-facts__headline span {
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.9);
}

.about-facts article p {
  margin-bottom: 0;
  color: rgba(32, 29, 26, 0.84);
}

.video-card {
  position: relative;
  padding: 20px;
  color: #f7f2eb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(14, 14, 15, 0.72);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.video-card__frame {
  overflow: hidden;
  padding: 14px;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f9f6f0, #e9e2d7);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.video-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

.showroom-final {
  padding: 24px;
}

.showroom-final__media img {
  min-height: 100%;
  border-radius: 24px;
}

.showroom-final__content {
  padding: 14px 8px 14px 0;
}

.showroom-address {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-dark);
}

#about {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #1b1c20 0%, #101114 100%);
  background-size: 120px 120px, 120px 120px, auto, auto;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 36%, rgba(0, 0, 0, 0.16) 100%);
}

.about-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px 28px;
  align-items: start;
}

.about-copy {
  padding-top: 14px;
}

#about .section-heading {
  max-width: 560px;
}

#about .section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

#about .section-heading > p:last-child {
  max-width: 520px;
  font-size: 24px;
  line-height: 1.45;
  color: rgba(248, 243, 234, 0.7);
}

#about .eyebrow,
.video-card .eyebrow {
  color: rgba(248, 243, 234, 0.72);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.58);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 30px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 29, 26, 0.08);
  color: var(--text);
  font-size: 28px;
}

.modal__contacts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.modal__contacts a {
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: 160px 1fr auto;
  }

  .site-header__contacts,
  .site-nav {
    display: none;
  }

  .site-header__menu {
    display: block;
  }

  .mobile-menu {
    display: none;
    margin: 0 16px 16px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(18, 17, 16, 0.92);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 12px;
  }

  .mobile-menu a {
    color: #fff8ef;
    font-weight: 700;
  }

  .hero__grid,
  .clients-grid,
  .projects-grid,
  .stock-categories,
  .price-reasons,
  .processing-grid,
  .quarries-grid,
  .copy-points,
  .stone-grid,
  .exclusive-grid,
  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-layout,
  .quiz-layout,
  .about-layout,
  .showroom-final,
  .stock-panel {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-intro {
    position: static;
  }

  .lead-form--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #clients .container {
    padding: 30px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 82px;
    --radius: 22px;
  }

  .section {
    padding: 82px 0;
  }

  .container {
    width: min(100% - 20px, 1240px);
  }

  .hero__inner {
    padding: 34px 0 34px;
  }

  .hero__grid,
  .clients-grid,
  .projects-grid,
  .stock-categories,
  .price-reasons,
  .processing-grid,
  .quarries-grid,
  .copy-points,
  .stone-grid,
  .exclusive-grid,
  .quiz-options,
  .quiz-fields,
  .about-facts,
  .lead-form--inline {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts article {
    min-height: auto;
  }

  .about-facts__headline {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-facts__headline span {
    font-size: 20px;
  }

  #about .section-heading h2 {
    font-size: 36px;
  }

  #about .section-heading > p:last-child {
    font-size: 19px;
  }

  .benefit-card {
    min-height: auto;
  }

  .project-card {
    min-height: 360px;
  }

  .project-card__body h3,
  .quiz-step h3 {
    font-size: 28px;
  }

  .lead-form--price {
    flex-direction: column;
  }

  .lead-form--price label {
    min-width: 100%;
  }

  .quiz__actions {
    flex-direction: column;
  }

  .showroom-final__content {
    padding: 0;
  }

  .modal__dialog,
  .quiz,
  .showroom-final,
  .video-card,
  .manager-card__body,
  .client-card,
  .stock-panel,
  .stone-group,
  .about-facts article,
  .exclusive-card {
    padding: 22px;
  }

  .quarry-card__stone {
    width: calc(100% - 24px);
  }

  #clients .container {
    padding: 22px;
    border-radius: 26px;
  }

  #clients .section-heading h2 {
    font-size: 34px;
  }

  #clients .manager-card__body {
    padding: 16px 16px 20px;
  }

  .processing-card__media img {
    padding: 12px 12px 0;
  }

  .processing-card h3 {
    font-size: 22px;
  }

  .processing-viewer {
    grid-template-columns: 1fr;
  }

  .processing-viewer__stage img {
    max-height: 56vh;
  }

  .processing-viewer__nav {
    width: 100%;
    height: 48px;
  }
}
