*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #eae6da; --sand: #d6cfbb; --stone: #b5652d;
  --brown: #8a481f; --dark: #14110c; --text: #1a150f;
  --muted: #746c5c; --white: #fff;
  --mono: 'IBM Plex Mono', monospace;
}
html { scroll-behavior: smooth; }

/* Фон первого экрана. srcset на фон в CSS не действует, поэтому размер
   выбираем медиазапросом, а формат — через image-set: браузер с WebP
   возьмёт лёгкую версию, старый — обычный JPEG.
   На телефоне это 75 КБ вместо 346 КБ. */
:root {
  --hero-bg: image-set(
    url('/images/naturalnyy-kamen-izdeliya-tabigi-tas-480.webp') type('image/webp'),
    url('/images/naturalnyy-kamen-izdeliya-tabigi-tas-480.jpg') type('image/jpeg')
  );
}
@media (min-width: 601px) and (max-width: 900px) {
  :root {
    --hero-bg: image-set(
      url('/images/naturalnyy-kamen-izdeliya-tabigi-tas-800.webp') type('image/webp'),
      url('/images/naturalnyy-kamen-izdeliya-tabigi-tas-800.jpg') type('image/jpeg')
    );
  }
}
@media (min-width: 901px) {
  :root {
    --hero-bg: image-set(
      url('/images/naturalnyy-kamen-izdeliya-tabigi-tas.webp') type('image/webp'),
      url('/images/naturalnyy-kamen-izdeliya-tabigi-tas.jpg') type('image/jpeg')
    );
  }
}

body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); }
h1, h2, h3, .cat-title, .prod-header h3, .about-strip h2, .contact h2 {
  font-family: 'Archivo', sans-serif; letter-spacing: -0.01em; font-weight: 700;
}

/* SIGNATURE: quarry spec-plate tag */
.spec-plate {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3px;
  color: var(--stone); border: 1px solid rgba(181,101,45,0.4);
  padding: 7px 12px; text-transform: none;
}
.spec-plate b { color: inherit; font-weight: 600; }
.spec-plate .sep { opacity: 0.4; }

/* NAV */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(20,17,12,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(181,101,45,0.25);
}
.logo { font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.logo span { color: var(--stone); }
body > nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
body > nav ul a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; transition: color 0.2s; }
body > nav ul a:hover { color: var(--stone); }
.nav-cta { background: var(--stone); color: var(--white) !important; padding: 10px 22px; border-radius: 2px; transition: background 0.2s !important; }
.nav-cta:hover { background: #d9803f !important; }
.nav-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25D366; color: #fff !important;
  padding: 10px 18px; border-radius: 2px;
  font-weight: 600; font-size: 13px;
  transition: background 0.2s !important;
}
.nav-wa:hover { background: #1ebe5d !important; color: #fff !important; }
.nav-wa svg { flex-shrink: 0; }
.burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; border: none; background: none;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(20,17,12,0.98); backdrop-filter: blur(12px);
  padding: 20px 24px 28px; border-bottom: 1px solid rgba(181,101,45,0.25);
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .m-wa { color: #25D366 !important; font-weight: 700; border-bottom: none !important; margin-top: 8px; }
@media (max-width: 768px) {
  .burger { display: flex; }
}

/* HERO (rendered by #gallery section below) */
.btn-primary { background: var(--stone); color: var(--white); padding: 16px 36px; border-radius: 2px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: #d9803f; }
.btn-secondary { border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); padding: 16px 36px; border-radius: 2px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.stat-num { font-family: 'Archivo', sans-serif; font-size: 34px; font-weight: 700; color: var(--white); text-align: center; }
.stat-label { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; margin-top: 4px; text-align: center; }

/* SECTIONS */
section { padding: 100px 80px; }
.section-tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 14px; font-family: var(--mono); }
.section-title { font-size: clamp(28px, 3.5vw, 44px); color: var(--dark); line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 560px; }

/* CATEGORIES */
.categories { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.cat-card {
  border-radius: 2px; overflow: hidden; position: relative;
  height: 320px; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(44,31,15,0.18); }
.cat-card:first-child { grid-row: span 2; height: auto; min-height: 660px; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,0.96) 0%, rgba(15,12,8,0.72) 42%, rgba(15,12,8,0.15) 75%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
}
.cat-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 8px; }
.cat-title { font-size: 26px; color: var(--white); margin-bottom: 8px; }
.cat-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 20px; font-family: 'Inter', sans-serif; }
.cat-link { display: inline-flex; align-items: center; gap: 8px; color: var(--stone); font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: 0.5px; }
.cat-link:hover { color: var(--white); }

/* ABOUT STRIP */
.about-strip { background: var(--dark); color: var(--white); padding: 60px 80px; }
.about-strip-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.about-strip h2 { font-size: 32px; line-height: 1.2; }
.about-strip h2 em { color: var(--stone); font-style: normal; }
.about-strip p { color: rgba(255,255,255,0.7); line-height: 1.8; font-size: 16px; font-family: 'Inter', sans-serif; }
.about-features { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.feature-chip { display: flex; align-items: center; gap: 10px; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); flex-shrink: 0; }
.feature-chip span { font-size: 14px; color: rgba(255,255,255,0.8); font-family: 'Inter', sans-serif; }

/* PRODUCTS DETAIL */
.products { background: var(--cream); }
.prod-section { margin-bottom: 80px; }
.prod-section:last-child { margin-bottom: 0; }
.prod-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding-bottom: 20px; padding-left: 16px; border-bottom: 2px solid var(--sand); border-left: 3px solid var(--stone); }
.prod-header h3 { font-size: 26px; color: var(--dark); }
.prod-header p { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.3px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { border-radius: 2px; overflow: hidden; background: var(--white); border: 1px solid var(--sand); transition: transform 0.25s, box-shadow 0.25s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(44,31,15,0.1); }
.prod-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.prod-card-body { padding: 18px 20px; }
.prod-card-name { font-weight: 600; color: var(--dark); font-size: 16px; margin-bottom: 4px; }
.prod-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.prod-card-price { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--brown); }
.prod-card-price span { font-size: 12px; font-weight: 400; color: var(--muted); }

/* Monument special */
.monument-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.monument-img { border-radius: 2px; overflow: hidden; box-shadow: 0 20px 60px rgba(44,31,15,0.15); }
.monument-img img { width: 100%; display: block; }
.monument-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-model { background: var(--white); border: 1px solid var(--sand); border-radius: 2px; padding: 20px 14px; text-align: center; cursor: pointer; transition: all 0.2s; }
.mini-model:hover { border-color: var(--stone); background: var(--cream); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(44,31,15,0.1); }
.mini-model-num { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--stone); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.mini-model-name { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.mini-model-price { display: none; }

/* PRICING */
.pricing { background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-family: var(--mono); }
.price-table th { text-align: left; padding: 14px 20px; background: var(--dark); color: var(--white); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.price-table th:first-child { border-radius: 0; }
.price-table th:last-child { border-radius: 0; text-align: right; }
.price-table td { padding: 16px 20px; border-bottom: 1px solid var(--sand); font-size: 13px; vertical-align: middle; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--cream); }
.price-table .cat-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--stone); background: var(--cream); }
.price-table .name-cell { font-weight: 600; color: var(--dark); font-family: 'Inter', sans-serif; font-size: 14px; }
.price-table .price-cell { font-weight: 600; color: var(--brown); font-size: 14px; text-align: right; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 2px; font-size: 11px; font-weight: 600; font-family: var(--mono); }
.badge-popular { background: #fef3e2; color: #b45309; }
.badge-premium { background: #f0fdf4; color: #15803d; }

/* WHY */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.why-card { text-align: left; border-top: 2px solid var(--stone); padding-top: 18px; }
.why-title { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.why-text { font-size: 14px; color: var(--muted); line-height: 1.6; font-family: 'Inter', sans-serif; }

/* CONTACT */
.contact { background: var(--dark); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact h2 { font-size: 38px; margin-bottom: 20px; }
.contact h2 em { color: var(--stone); font-style: normal; }
.contact-left p { color: rgba(255,255,255,0.65); line-height: 1.8; font-size: 16px; margin-bottom: 36px; font-family: 'Inter', sans-serif; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; }
.contact-label { font-family: var(--mono); font-size: 11px; color: var(--stone); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.contact-value { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 2px; font-family: 'Inter', sans-serif; }
.contact-value a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(181,101,45,0.5); transition: color 0.2s, border-color 0.2s; }
.contact-value a:hover { color: var(--stone); border-bottom-color: var(--stone); }
.contact-value--big { font-size: 22px; font-weight: 700; letter-spacing: 0.3px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--mono); font-size: 11px; color: var(--stone); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select { background: rgba(255,255,255,0.07); border: 1px solid rgba(181,101,45,0.3); color: var(--white); padding: 12px 14px; border-radius: 2px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--stone); }
.form-field select option { background: var(--dark); }
.form-field textarea { resize: vertical; min-height: 90px; }
.btn-submit { background: var(--stone); color: var(--white); padding: 15px; border-radius: 2px; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: #d9803f; }
.form-field input.is-invalid, .form-field textarea.is-invalid { border-color: #e05a4a; }
.form-error { font-size: 12px; color: #ef8377; font-family: 'Inter', sans-serif; }
picture { display: contents; }
[hidden] { display: none !important; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fallback { border: 1px solid rgba(181,101,45,0.45); background: rgba(181,101,45,0.09); border-radius: 3px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.form-fallback-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.form-fallback-text { font-size: 14px; color: rgba(255,255,255,0.75); font-family: 'Inter', sans-serif; }
.form-fallback-btn { display: block; text-align: center; padding: 13px 16px; border-radius: 2px; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; text-decoration: none; cursor: pointer; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); color: #fff; transition: background 0.2s, border-color 0.2s; }
.form-fallback-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.5); }
.form-fallback-btn--wa { background: #25D366; border-color: #25D366; color: #fff; }
.form-fallback-btn--wa:hover { background: #1fb457; border-color: #1fb457; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 14px 28px; border-radius: 2px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background 0.2s; letter-spacing: 0.3px;
  margin-top: 8px;
}
.whatsapp-btn:hover { background: #1ebe5d; }
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366; color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.whatsapp-float-tooltip {
  position: fixed; bottom: 36px; right: 98px; z-index: 999;
  background: var(--dark); color: #fff;
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover ~ .whatsapp-float-tooltip { opacity: 1; }

/* FOOTER */
footer { background: #0d0b07; color: rgba(255,255,255,0.4); padding: 32px 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; font-family: var(--mono); border-top: 1px solid rgba(181,101,45,0.15); }
footer .logo { font-size: 16px; color: rgba(255,255,255,0.7); }
footer .logo span { color: var(--stone); }
footer a:not(.logo) { color: rgba(255,255,255,0.62); text-decoration: none; border-bottom: 1px solid rgba(181,101,45,0.35); transition: color 0.2s; }
footer a:not(.logo):hover { color: var(--stone); }
/* отступ справа/снизу — чтобы плавающая кнопка WhatsApp не перекрывала контакты */
.footer-contacts { display: flex; flex-direction: column; gap: 6px; text-align: right; line-height: 1.6; padding-right: 76px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  body > nav { padding: 16px 32px; }
  section { padding: 70px 40px; }
  .about-strip { padding: 48px 40px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:first-child { grid-row: span 1; min-height: 320px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  #slabs .prod-grid { grid-template-columns: 1fr 1fr; }
  .monument-showcase { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  #gallery > div { grid-template-columns: 1fr; }
  footer { padding: 24px 40px; }
}
@media (max-width: 768px) {
  /* NAV */
  body > nav { padding: 14px 20px; }
  body > nav ul { display: none; }
  .logo { font-size: 20px; }

  /* SECTIONS */
  section { padding: 52px 20px; }
  .about-strip { padding: 40px 20px; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-strip h2 { font-size: 26px; }
  .about-features { gap: 14px; }

  /* SECTION TEXT */
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }

  /* GALLERY (first screen) */
  #gallery { padding: 72px 20px 48px !important; }
  #gallery > div { grid-template-columns: 1fr !important; gap: 28px !important; }
  #gallery .section-title { font-size: 26px; }
  #gallery > div > div:first-child > p:first-of-type { font-size: 14px; }
  #gallery > div:last-child { gap: 28px !important; flex-wrap: wrap; }

  /* GALLERY BUTTONS — full width stacked */
  #gallery .btn-primary,
  #gallery .btn-secondary {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-right: 0 !important;
    padding: 15px 20px;
    box-sizing: border-box;
  }
  #gallery .btn-secondary {
    border: 1.5px solid rgba(196,168,130,0.6) !important;
    color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.07) !important;
    backdrop-filter: blur(4px);
    margin-top: 4px;
  }
  /* STATS ROW */
  #gallery > div:last-child { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px 24px !important; margin-top: 40px !important; }

  /* CATEGORIES */
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-card { height: 280px !important; min-height: unset !important; border-radius: 2px; }
  .cat-title { font-size: 20px; }
  .cat-desc { font-size: 13px; }
  .cat-overlay { padding: 20px; }
  .cat-overlay .spec-plate { display: none; }
  .cat-desc { -webkit-line-clamp: 2; line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

  /* PRODUCTS */
  .prod-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  #slabs .prod-grid { grid-template-columns: 1fr 1fr !important; }
  .prod-card img { height: 150px !important; }
  .prod-card-body { padding: 12px 14px; }
  .prod-card-name { font-size: 13px; }
  .prod-card-desc { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .prod-card-price { font-size: 13px; }
  .prod-header { gap: 14px; margin-bottom: 24px; padding-left: 12px; }
  .prod-header h3 { font-size: 20px; }
  .prod-section { margin-bottom: 56px !important; }

  /* MONUMENTS */
  .monument-showcase { grid-template-columns: 1fr; gap: 24px; }
  .monument-models { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mini-model { padding: 12px 6px; }
  .mini-model-name { font-size: 11px; }

  /* PRICE TABLE */
  .price-table { font-size: 12px; }
  .price-table th, .price-table td { padding: 10px 12px; }
  .price-table th:nth-child(2),
  .price-table th:nth-child(3),
  .price-table td:nth-child(2),
  .price-table td:nth-child(3) { display: none; }
  .price-table .name-cell { font-size: 13px; }

  /* MONUMENT DETAIL PRICES MOBILE */
  .granite-prices > div:last-of-type { grid-template-columns: 1fr !important; gap: 32px !important; }
  .mon-tab { padding: 10px 16px !important; font-size: 13px !important; }
  #prices-alatagun .price-table th, #prices-alatagun .price-table td,
  #prices-kurtinskiy .price-table th, #prices-kurtinskiy .price-table td { display: table-cell !important; padding: 10px 12px; }
  #prices-alatagun .price-table, #prices-kurtinskiy .price-table { font-size: 13px; }

  /* WHY */
  .why { padding: 52px 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
  .why-card { padding-top: 14px; }
  .why-title { font-size: 15px; margin-bottom: 6px; }
  .why-text { font-size: 13px; }

  /* CONTACT */
  .contact { padding: 52px 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-btn { width: 100%; justify-content: center; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; } /* prevent iOS zoom */

  /* FOOTER */
  footer { flex-direction: column; gap: 14px; text-align: center; padding: 24px 20px 76px; font-size: 12px; }
  .footer-contacts { text-align: center; align-items: center; padding-right: 0; }

  /* FLOAT BUTTON */
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  .whatsapp-float-tooltip { display: none; }
  /* prevent float overlapping form inputs — hide when contact is active */
  .contact { padding-bottom: 80px; }

  /* HERO STATS */
  .hero-stats { gap: 28px; flex-wrap: wrap; justify-content: center; }
  .stat-num { font-size: 28px; }
}

@media (max-width: 420px) {
  .prod-grid { grid-template-columns: 1fr 1fr !important; }
  .monument-models { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { height: 260px !important; }
  .hero-stats { gap: 20px; }
  #gallery > div:last-child { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================
   СТРАНИЦЫ РАЗДЕЛОВ  (хлебные крошки, шапка страницы, блоки)
   ============================================================ */

/* --- хлебные крошки --- */
.crumbs-wrap { background: var(--cream); padding: 96px 80px 0; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.crumbs a:hover { color: var(--stone); border-bottom-color: var(--stone); }
.crumbs [aria-current] { color: var(--text); }
.crumbs-sep { color: rgba(116,108,92,0.45); }

/* --- шапка страницы --- */
.page-head { background: var(--cream); padding: 28px 80px 56px; }
.page-head h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; color: var(--text); margin-bottom: 16px; max-width: 900px; }
.page-head .lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 720px; font-family: 'Inter', sans-serif; }
.page-head .price-badge { display: inline-block; margin-top: 22px; background: var(--dark); color: #fff; font-family: var(--mono); font-size: 15px; font-weight: 600; padding: 10px 20px; border-radius: 2px; letter-spacing: 0.3px; }
.page-head .price-badge small { font-weight: 400; opacity: 0.7; font-size: 13px; }

/* --- секция контента --- */
.page-section { padding: 56px 80px; }
.page-section:nth-of-type(even) { background: var(--white); }
.page-section h2 { font-size: clamp(22px, 2.8vw, 32px); color: var(--text); margin-bottom: 20px; line-height: 1.2; }
.page-section h3 { font-size: 19px; color: var(--text); margin: 28px 0 12px; }
.page-section p { font-size: 16px; line-height: 1.75; color: var(--muted); font-family: 'Inter', sans-serif; max-width: 760px; margin-bottom: 14px; }
.page-section ul.dashed { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 22px; max-width: 760px; }
.page-section ul.dashed li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.65; color: var(--muted); font-family: 'Inter', sans-serif; }
.page-section ul.dashed li::before { content: '—'; position: absolute; left: 0; color: var(--stone); }
.page-section ul.dashed li b { color: var(--text); font-weight: 600; }

/* --- таблица характеристик --- */
.spec-table { width: 100%; max-width: 760px; border-collapse: collapse; margin: 20px 0 8px; font-family: 'Inter', sans-serif; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--sand); font-size: 15px; }
.spec-table th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { color: var(--text); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- главное фото страницы --- */
.page-hero-img { border-radius: 2px; overflow: hidden; border: 1px solid rgba(181,101,45,0.25); box-shadow: 0 24px 60px rgba(20,17,12,0.16); max-width: 900px; }
.page-hero-img img { width: 100%; height: auto; display: block; }
figure.stone-figure { margin: 0 0 28px; max-width: 900px; }
figure.stone-figure figcaption { font-size: 14px; line-height: 1.6; color: var(--muted); padding: 12px 2px 0; font-family: 'Inter', sans-serif; border-top: 1px solid var(--sand); margin-top: 12px; }
figure.stone-figure figcaption b { color: var(--text); font-weight: 600; }

/* --- галерея --- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.gal-item { border: 1px solid var(--sand); border-radius: 2px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.gal-item img { width: 100%; height: 260px; object-fit: cover; display: block; }
.gal-item figcaption { padding: 14px 16px; font-size: 14px; line-height: 1.55; color: var(--muted); font-family: 'Inter', sans-serif; }
.gal-item figcaption b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 15px; }

/* --- карточки-ссылки на разделы --- */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.link-card { display: block; border: 1px solid var(--sand); border-radius: 2px; padding: 24px; text-decoration: none; background: var(--white); transition: border-color 0.2s, transform 0.2s; }
.link-card:hover { border-color: var(--stone); transform: translateY(-2px); }
.link-card .lc-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 8px; }
.link-card .lc-desc { font-size: 14px; line-height: 1.6; color: var(--muted); font-family: 'Inter', sans-serif; }
.link-card .lc-price { font-family: var(--mono); font-size: 14px; color: var(--stone); font-weight: 600; margin-top: 12px; }

/* --- блок призыва к действию --- */
.page-cta { background: var(--dark); padding: 56px 80px; }
.page-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.page-cta p { color: rgba(255,255,255,0.68); font-size: 16px; line-height: 1.7; max-width: 640px; margin-bottom: 26px; font-family: 'Inter', sans-serif; }
.page-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.page-cta .wa-btn { display: inline-flex; align-items: center; gap: 9px; background: #25D366; color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 2px; font-weight: 600; font-size: 15px; font-family: 'Inter', sans-serif; }
.page-cta .wa-btn:hover { background: #1fb457; }
.page-cta .tel-btn { display: inline-flex; align-items: center; background: transparent; color: #fff; text-decoration: none; padding: 14px 24px; border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; font-weight: 600; font-size: 15px; font-family: 'Inter', sans-serif; }
.page-cta .tel-btn:hover { border-color: var(--stone); color: var(--stone); }

/* --- подвальное меню --- */
.footer-nav { display: flex; flex-direction: column; gap: 5px; font-size: 12px; line-height: 1.5; }
.footer-nav a { border-bottom-color: transparent !important; }
.footer-nav a:hover { border-bottom-color: rgba(181,101,45,0.35) !important; }

/* --- страница 404 --- */
.nf-wrap { background: var(--cream); padding: 140px 80px 100px; min-height: 60vh; }
.nf-wrap h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }

@media (max-width: 1024px) {
  .crumbs-wrap { padding: 88px 40px 0; }
  .page-head { padding: 24px 40px 44px; }
  .page-section, .page-cta { padding: 44px 40px; }
  .nf-wrap { padding: 120px 40px 80px; }
  .gal-grid, .link-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .crumbs-wrap { padding: 80px 20px 0; }
  .crumbs { font-size: 11px; }
  .page-head { padding: 20px 20px 36px; }
  .page-section, .page-cta { padding: 36px 20px; }
  .nf-wrap { padding: 110px 20px 70px; }
  .gal-grid, .link-cards { grid-template-columns: 1fr; gap: 14px; }
  .gal-item img { height: 220px; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 14px; }
  .footer-nav { align-items: center; text-align: center; }
}
