@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  /* Cloud Dancer (Pantone 2026) + эспрессо, махагон, травяной зелёный */
  --bg: #f1ede6;
  --bg-deep: #e5ded2;
  --surface: #fbf9f5;
  --surface-2: #ede7dd;
  --ink: #251c17;
  --muted: rgba(37, 28, 23, 0.68);
  --line: rgba(37, 28, 23, 0.12);
  --line-strong: rgba(37, 28, 23, 0.28);
  --espresso: #2e231d;
  --espresso-2: #47372d;
  --sage: #5b6850;
  --sage-soft: #7c8870;
  --brass: #8e4b35;
  --brass-soft: #c98b6b;
  --shadow: 0 18px 40px rgba(46, 35, 29, 0.1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 1.15rem;
  --page-pad: clamp(1rem, 3vw, 1.5rem);
  --content-max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(142, 75, 53, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(91, 104, 80, 0.07), transparent 50%),
    linear-gradient(180deg, #f6f3ee 0%, var(--bg) 40%, var(--bg) 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a[href^="tel:"] {
  white-space: nowrap;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

::selection {
  background: color-mix(in srgb, var(--sage) 70%, var(--brass));
  color: #f7f3eb;
}

input::selection,
textarea::selection {
  background: var(--sage);
  color: #f7f3eb;
}

input::-moz-selection,
textarea::-moz-selection {
  background: var(--sage);
  color: #f7f3eb;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

.content-width {
  /* keep the same max width as other pages (partneram / kontakty) */
  max-width: var(--content-max);
}

.prose {
  max-width: none;
}

.display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.35rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ink);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  font-size: 0.9rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--espresso);
  color: #f6f1ea;
}

.btn-primary:hover {
  background: var(--espresso-2);
}

.btn-brass {
  background: var(--brass);
  color: #fbf6ef;
}

.btn-brass:hover {
  background: color-mix(in srgb, var(--brass) 82%, black);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--surface-2);
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.55rem 0;
  font-size: 1.05rem;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 1.25rem 0 2rem;
}

.hero-full {
  position: relative;
  width: 100%;
  min-height: min(94vh, 920px);
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #f7f2ea;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #12100e;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 38% 52%;
  transform: scale(1.04);
  filter: saturate(1.02) contrast(1.04);
  animation: hero-media-in 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-media-in {
  from {
    opacity: 0.55;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 7, 6, 0.78) 0%, rgba(8, 7, 6, 0.52) 34%, rgba(8, 7, 6, 0.18) 58%, rgba(8, 7, 6, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.22) 0%, rgba(8, 7, 6, 0.08) 38%, rgba(8, 7, 6, 0.72) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 3.75rem;
  animation: hero-copy-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}

.hero-full .hero-kicker {
  color: color-mix(in srgb, var(--brass-soft) 88%, white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-full h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.5vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.9;
  color: #fffaf3;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.4);
}

.hero-full .hero-product {
  margin: 0.95rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.95rem);
  font-weight: 600;
  color: #efe6d6;
  letter-spacing: -0.02em;
}

.hero-full .hero-lead {
  margin: 1rem 0 0;
  max-width: 32rem;
  color: rgba(247, 242, 234, 0.88);
  font-size: 1.05rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero-full .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.55rem;
}

.btn-ghost-light {
  background: transparent;
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.45);
}

.btn-ghost-light:hover {
  background: rgba(255, 250, 243, 0.1);
  border-color: rgba(255, 250, 243, 0.75);
  color: #fff;
}

.hero-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.15rem;
  padding: 0.35rem 0.15rem;
  color: rgba(247, 242, 234, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 250, 243, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.hero-catalog-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 250, 243, 0.85);
  gap: 0.5rem;
}

.hero-catalog-link span {
  font-size: 1.05em;
  line-height: 1;
}

.page-home .site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(14, 12, 9, 0.82) 0%, rgba(14, 12, 9, 0.55) 70%, rgba(14, 12, 9, 0) 100%);
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: #f7f2ea;
}

.page-home .site-header.is-scrolled {
  background: rgba(18, 16, 12, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 250, 243, 0.12);
}

.page-home .site-header .logo,
.page-home .site-header .nav-desktop a,
.page-home .site-header .header-phone {
  color: #f7f2ea;
}

.page-home .site-header .nav-desktop a:hover,
.page-home .site-header .nav-desktop a.is-active {
  color: #fff;
}

.page-home .site-header .menu-toggle span {
  background: #f7f2ea;
}

.page-home .site-header .btn-primary {
  background: var(--brass);
  color: #17140f;
}

.page-home main {
  margin-top: 0;
}

.page-home .hero-full {
  margin-top: -4.35rem;
  padding-top: 4.35rem;
}

.hero-board {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 0.4rem);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-2) 88%, white), var(--surface)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brass), var(--sage));
}

.hero-copy {
  padding: 0.35rem 0.25rem 0;
}

.hero-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.hero-product {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 600;
  color: var(--sage-soft);
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.hero-sample {
  position: relative;
  border-radius: 0.95rem;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  min-height: 11rem;
}

.hero-sample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero-sample-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.75rem;
  background: linear-gradient(transparent, rgba(23, 20, 15, 0.78));
  color: #f4efe6;
  font-size: 0.76rem;
  line-height: 1.25;
}

.hero-sample-label strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.calc-panel .calc-note,
.weight-calc .calc-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--sage) 10%, var(--surface));
  border: 1px solid var(--line);
}

.calc-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-result strong,
.weight-out {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.weight-calc {
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.weight-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.weight-materials button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.weight-materials button.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
}

.weight-result .weight-out {
  margin: 0.2rem 0 0.35rem;
}

/* Sections */
.section {
  padding: 3.4rem 0;
}

.section-band {
  background: color-mix(in srgb, var(--bg-deep) 55%, transparent);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
}

.section-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 2px;
}

/* Collection / model cards — same family as bg */
.collection-grid,
.model-grid {
  display: grid;
  gap: 1.25rem;
}

.collection-card,
.model-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.collection-card:hover,
.model-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.collection-card-media,
.model-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f8f5f0;
}

.collection-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.model-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection-card:hover .collection-card-media img,
.model-card:hover .model-card-media img {
  transform: scale(1.04);
}

.collection-card-body,
.model-card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.collection-card-body .count,
.model-card-body .meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-soft);
}

.collection-card-body h3,
.model-card-body h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.collection-card-body p,
.model-card-body p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Benefits */
.benefit-grid {
  display: grid;
  gap: 1rem;
}

.benefit-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.benefit-card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0.08em;
}

.benefit-card h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.benefit-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Partner teaser */
.partner-strip {
  display: grid;
  gap: 1.35rem;
  padding: 1.65rem 1.75rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: linear-gradient(135deg, var(--espresso-2), var(--espresso));
  color: #f2ebe0;
  border: 1px solid color-mix(in srgb, var(--espresso) 80%, black);
  overflow: visible;
}

.partner-strip-copy {
  min-width: 0;
}

.partner-strip h2 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.partner-strip p {
  margin: 0.75rem 0 0;
  color: rgba(242, 235, 224, 0.88);
  max-width: 40rem;
  line-height: 1.55;
}

.partner-strip .btn-brass {
  margin-top: 0.3rem;
  width: fit-content;
  align-self: end;
  justify-self: start;
}

/* CTA */
.cta-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

.cta-band p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Inner pages */
.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  max-width: 18ch;
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero-model {
  padding: 1.5rem 0 0.35rem;
}

.page-hero-model h1 {
  max-width: none;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
}

.page-hero-model .model-lead {
  margin-top: 0.65rem;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.section-model {
  padding-bottom: 2.5rem;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* Model page */
.model-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.model-gallery {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.model-gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #efe8dc;
  cursor: zoom-in;
}

.model-gallery-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  background: #efe8dc;
}

.model-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.55rem;
}

.model-thumbs button {
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  background: #efe8dc;
  padding: 0;
}

.model-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.model-panel {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.model-panel + .model-panel {
  margin-top: 0;
}

.model-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.model-panel p,
.model-panel li {
  color: var(--muted);
}

.model-panel ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.coat-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.coat-item {
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.coat-item strong {
  display: block;
  font-size: 0.95rem;
}

.coat-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.chip {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  background: var(--surface);
  transition: border-color 0.15s;
}

.chip:hover {
  border-color: var(--ink);
}

/* Content */
.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.feature-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
  grid-template-columns: 1fr;
}

.feature-grid-3,
.feature-grid-4 {
  grid-template-columns: 1fr;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ART-beton landing — texture only in top hero */
.art-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f3ece2;
  padding: 3rem 0 3.85rem;
  margin-bottom: 0;
  min-height: min(42vh, 28rem);
  display: flex;
  align-items: center;
  text-align: center;
}

.art-hero > .container-wide {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../media/art-beton/mikrotsement-s-treschinami-zoloto-ral-9005-2.jpg")
    center center / cover no-repeat;
  pointer-events: none;
}

.art-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.38) 0%, rgba(10, 9, 8, 0.32) 45%, rgba(10, 9, 8, 0.58) 100%),
    linear-gradient(90deg, rgba(10, 9, 8, 0.42) 0%, rgba(10, 9, 8, 0.22) 50%, rgba(10, 9, 8, 0.42) 100%);
  pointer-events: none;
}

.art-hero > .container-wide {
  position: relative;
  z-index: 2;
}

.art-hero .eyebrow {
  color: color-mix(in srgb, var(--brass-soft) 82%, #fff);
}

.art-hero h1 {
  color: #fff8ef;
  max-width: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.art-hero .art-hero-lead,
.page-hero.art-hero .art-hero-lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: #fff8ef;
  font-size: 1.05rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.art-hero .cta-actions {
  justify-content: center;
}

.page-art-beton .art-hero + .section {
  padding-top: 2.4rem;
}

@media (max-width: 719px) {
  .art-hero {
    min-height: 16rem;
    text-align: left;
  }

  .art-hero > .container-wide {
    align-items: flex-start;
  }

  .art-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .art-hero .cta-actions {
    justify-content: flex-start;
  }

  .art-hero::after {
    background:
      linear-gradient(180deg, rgba(10, 9, 8, 0.4) 0%, rgba(10, 9, 8, 0.35) 50%, rgba(10, 9, 8, 0.62) 100%);
  }
}

.prose-split {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: 1fr;
}

.guarantee-block {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.prose-split h2 {
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
}

.prose-split ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.prose-split li + li {
  margin-top: 0.4rem;
}

.process-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.process-list li + li {
  margin-top: 0.55rem;
}

.process-list strong {
  color: var(--ink);
}

.muted-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.guarantee-block h2 {
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
}

.guarantee-aside {
  text-align: left;
  padding: 0;
}

.guarantee-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.guarantee-label {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 600;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.panel-photos {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.panel-photos figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.panel-photos figcaption {
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.projects-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.projects-grid-preview {
  grid-template-columns: 1fr;
}

.project-slot {
  margin: 0;
  min-height: 12rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
}

.project-slot.is-empty {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 80%, transparent), var(--surface));
  border-style: dashed;
  color: var(--muted);
}

.project-slot span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.project-slot p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.project-slot img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.project-card {
  position: relative;
  padding: 0;
  display: block;
  text-decoration: none;
  border-style: solid;
}

.project-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(23, 20, 15, 0.72));
  color: #f4efe6;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.project-block {
  margin-bottom: 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.project-block:last-of-type {
  border-bottom: 0;
}

.project-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 1.25rem;
}

.project-toc a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage);
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 35%, transparent);
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.media-gallery-video {
  grid-template-columns: 1fr;
}

.media-tile {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
}

.media-tile > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.media-tile img,
.media-tile video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.media-tile-video {
  grid-column: 1 / -1;
  cursor: default;
}

.media-tile-video video {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: clamp(280px, 52vw, 560px);
  max-height: min(72vh, 640px);
  object-fit: contain;
  background: #111;
}

.media-gallery-video .media-tile-video video {
  min-height: clamp(320px, 56vw, 620px);
  max-height: min(78vh, 720px);
}

.media-tile figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

@media (min-width: 720px) {
  .media-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .media-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.audience-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.audience-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.audience-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.audience-card p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contacts / forms */
.contacts-grid {
  display: grid;
  gap: 2rem;
}

.contact-list dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-list dd {
  margin: 0.2rem 0 1rem;
  font-size: 1.1rem;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.4rem;
  background: var(--surface);
}

.form-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.form-card .hint {
  margin: 0.45rem 0 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.calc-lead-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--sage) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--sage) 28%, var(--line));
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

.calc-lead-banner[hidden] {
  display: none;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: var(--surface-2);
  font: inherit;
  color: var(--ink);
}

/* Keep native steppers; typing still works */
input[type="number"] {
  appearance: auto;
  -moz-appearance: number-input;
  padding-right: 0.45rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  height: 1.55em;
  margin-left: 0.25rem;
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid color-mix(in srgb, var(--brass) 50%, transparent);
  border-color: var(--brass);
  background: #efe8dc;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.form-status.ok {
  color: var(--sage);
}

.form-status.err {
  color: #8a1f1f;
}

/* Lightbox — large stage + zoom/pan */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: rgba(23, 20, 15, 0.9);
  backdrop-filter: blur(4px);
}

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

.lightbox-x {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.45);
  background: rgba(23, 20, 15, 0.8);
  color: #f4efe6;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lightbox-x:hover {
  background: rgba(23, 20, 15, 0.95);
  border-color: rgba(244, 239, 230, 0.85);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  width: min(1280px, 98vw);
  height: min(92vh, 980px);
  max-height: 94vh;
}

.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: rgba(10, 8, 6, 0.55);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 0.75rem;
  overflow: hidden;
}

.lightbox-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}

.lightbox-viewport.is-zoomed {
  cursor: grab;
}

.lightbox-viewport.is-zoomed.is-panning {
  cursor: grabbing;
}

.lightbox-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: calc(100% - 5.5rem);
  max-height: calc(100% - 1.5rem);
  object-fit: contain;
  margin: 0;
  border-radius: 0.35rem;
  transform: translate(calc(-50% + var(--lb-x, 0px)), calc(-50% + var(--lb-y, 0px))) scale(var(--lb-scale, 1));
  transform-origin: center center;
  transition: transform 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-viewport.is-panning img,
.lightbox-viewport.is-zooming img {
  transition: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.4);
  background: rgba(23, 20, 15, 0.72);
  color: #f4efe6;
  font-size: 1.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lightbox-nav:hover {
  background: rgba(23, 20, 15, 0.92);
  border-color: rgba(244, 239, 230, 0.7);
}

.lightbox-nav.is-hidden {
  display: none;
}

.lightbox-prev {
  left: 0.55rem;
}

.lightbox-next {
  right: 0.55rem;
}

.lightbox-zoom {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(23, 20, 15, 0.72);
  border: 1px solid rgba(244, 239, 230, 0.28);
}

.lightbox-zoom button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f4efe6;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-zoom button:hover {
  background: rgba(244, 239, 230, 0.12);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex: 0 0 auto;
  margin-top: 0.65rem;
  min-height: 2.2rem;
  color: rgba(244, 239, 230, 0.88);
  font-size: 0.92rem;
}

.lightbox-counter {
  opacity: 0.7;
  white-space: nowrap;
}

.lightbox-close {
  border: 1px solid rgba(244, 239, 230, 0.35);
  color: #f4efe6;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

@media (max-width: 719px) {
  .lightbox {
    padding: 0.35rem;
  }

  .lightbox-inner {
    width: 100%;
    height: min(90vh, 100%);
    max-height: 92vh;
  }

  .lightbox-stage img {
    max-width: calc(100% - 4.5rem);
    max-height: calc(100% - 1.25rem);
  }

  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .lightbox-prev {
    left: 0.3rem;
  }

  .lightbox-next {
    right: 0.3rem;
  }

  .lightbox-x {
    top: 0.45rem;
    right: 0.45rem;
    width: 2.6rem;
    height: 2.6rem;
  }

  .lightbox-zoom button {
    width: 2.2rem;
    height: 2.2rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  background: var(--espresso);
  color: #ddd3c7;
}

.footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  padding: 2rem 0 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #f2ebe0;
}

.footer-text {
  margin: 0.7rem 0 0;
  max-width: 18rem;
  font-size: 0.9rem;
  color: rgba(217, 210, 196, 0.72);
}

.footer-col h3 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.footer-col ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.footer-col li {
  margin: 0.35rem 0;
}

.footer-col a {
  color: rgba(217, 210, 196, 0.8);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #f2ebe0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.25rem;
  font-size: 0.78rem;
  color: rgba(217, 210, 196, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom a {
  color: rgba(217, 210, 196, 0.55);
}

.footer-bottom a:hover {
  color: #f2ebe0;
}

@media (min-width: 720px) {
  .hero-board {
    padding: 2rem;
  }

  .hero-sample {
    min-height: 14rem;
  }

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

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

  .panel-photos,
  .feature-grid,
  .audience-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .guarantee-block {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .guarantee-aside {
    text-align: center;
    padding: 0.5rem 1.25rem;
  }

  .projects-grid-preview {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

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

@media (min-width: 980px) {
  .hero-board {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  }

  .hero-samples {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr auto;
  }

  .hero-sample:first-child {
    grid-row: span 2;
  }

  .hero-sample {
    min-height: 0;
    height: 100%;
  }

  .hero-sample img {
    aspect-ratio: auto;
    height: 100%;
  }

  .collection-grid,
  .model-grid,
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .panel-photos {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .cta-band,
  .partner-strip,
  .contacts-grid {
    grid-template-columns: 1.25fr auto;
  }

  .model-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 2rem;
  }

  .model-gallery {
    position: sticky;
    top: 5.2rem;
  }

  .model-gallery-main img {
    aspect-ratio: 3 / 4;
    max-height: min(72vh, 640px);
    width: 100%;
    object-fit: contain;
  }

  .partner-strip {
    align-items: center;
    column-gap: 2rem;
  }

  .partner-strip .btn-brass {
    justify-self: end;
    align-self: center;
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 719px) {
  .section {
    padding: 2.4rem 0;
  }

  .page-hero {
    padding: 1.5rem 0 1.75rem;
  }

  .page-hero h1,
  .hero-full h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-media img {
    object-position: 28% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.35) 0%, rgba(8, 7, 6, 0.2) 40%, rgba(8, 7, 6, 0.82) 100%),
      linear-gradient(105deg, rgba(8, 7, 6, 0.72) 0%, rgba(8, 7, 6, 0.4) 55%, rgba(8, 7, 6, 0.35) 100%);
  }

  .model-gallery-main img {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .model-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-inner {
    min-height: 3.85rem;
  }

  .partner-strip,
  .cta-band {
    padding: 1.25rem;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .calc-result {
    margin-top: 0.35rem;
  }
}

@media (min-width: 720px) and (max-width: 979px) {
  .model-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .model-gallery-main img {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Partners landing */
.partner-hero {
  padding: 2.2rem 0 2.6rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--line);
}

.partner-hero-inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.partner-hero h1 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  max-width: 20ch;
}

.partner-hero-lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.partner-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-stats li {
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.partner-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--brass);
  line-height: 1.1;
}

.partner-stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.use-grid {
  display: grid;
  gap: 1rem;
}

.use-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.use-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.use-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.use-card:hover .use-card-media img {
  transform: scale(1.04);
}

.use-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.1rem 1.15rem;
}

.use-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.use-card-body p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.use-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.use-card-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}

.partner-steps-title {
  margin: 2.6rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.partner-steps {
  list-style: none;
  counter-reset: step;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.partner-steps li {
  counter-increment: step;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.partner-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  line-height: 1;
}

.partner-steps b {
  display: block;
  margin-top: 0.6rem;
}

.partner-steps span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

textarea {
  resize: vertical;
  max-width: 100%;
}

[data-copy-text] {
  position: relative;
}

[data-copied]::after {
  content: attr(data-copy-hint);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%);
  padding: 0.4rem 0.7rem;
  border-radius: 0.6rem;
  background: var(--espresso);
  color: #f6f1ea;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.partner-lead-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.partner-lead-info h2 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.1;
}

.partner-lead-text {
  margin: 0.9rem 0 0;
  max-width: 30rem;
  color: var(--muted);
}

.partner-contact {
  margin: 1.6rem 0 0;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.partner-contact > div {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0;
}

.partner-contact > div + div {
  border-top: 1px solid var(--line);
}

.partner-contact dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.partner-contact dd {
  margin: 0;
  line-height: 1.45;
}

.partner-contact dd a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.partner-contact .partner-phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.partner-contact-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partner-contact .messenger-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.partner-contact a.messenger-pill:hover {
  background: var(--surface-2);
  border-color: var(--ink);
}

@media (min-width: 720px) {
  .partner-contact > div {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }
}

@media (min-width: 980px) {
  .partner-lead-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }
}

.sticky-cta {
  display: none;
}

@media (max-width: 719px) {
  .page-partners .sticky-cta {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
  }

  .page-partners .sticky-cta .btn {
    justify-content: center;
  }

  .page-partners .site-footer {
    padding-bottom: 5rem;
  }
}

@media (min-width: 720px) {
  .partner-stats,
  .use-grid,
  .partner-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .partner-hero {
    padding: 3rem 0 3.4rem;
  }

  .partner-hero-inner {
    grid-template-columns: 1.35fr 1fr;
  }

  .benefit-grid.is-4,
  .use-grid,
  .partner-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Согласие в формах ---------- */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.consent-check input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.12rem 0 0;
  padding: 0;
  accent-color: var(--espresso);
}

.consent-check span {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.consent-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Подвал: юридические ссылки ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer-link-btn:hover {
  color: var(--ink);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1.1rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(46, 35, 29, 0.18);
}

.cookie-banner[hidden],
.cookie-options[hidden],
.cookie-banner [hidden] {
  display: none;
}

.cookie-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.cookie-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.8rem;
  background: var(--surface-2);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}

.cookie-option input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.1rem 0 0;
  padding: 0;
  accent-color: var(--espresso);
}

.cookie-option span {
  display: block;
  margin: 0;
  font-size: inherit;
}

.cookie-option b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.cookie-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

.cookie-more {
  padding: 0.4rem 0.3rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-more:hover {
  color: var(--ink);
}

@media (max-width: 719px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .page-partners .cookie-banner {
    bottom: 5rem;
  }
}

/* ---------- Обратный звонок ---------- */
.callback {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.callback[hidden] {
  display: none;
}

.callback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 28, 23, 0.48);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.callback-card {
  position: relative;
  width: min(25rem, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.6rem 1.5rem 1.3rem;
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(37, 28, 23, 0.28);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.callback.is-open .callback-backdrop,
.callback.is-open .callback-card {
  opacity: 1;
}

.callback.is-open .callback-card {
  transform: none;
}

.callback-x {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.callback-x:hover {
  background: var(--bg-deep);
}

.callback-card .eyebrow {
  margin: 0;
}

.callback-card h2 {
  margin: 0.3rem 2rem 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.15;
}

.callback-lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.callback-submit {
  width: 100%;
  margin-top: 1rem;
}

.callback-hours {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 719px) {
  .callback {
    place-items: end stretch;
    padding: 0;
  }

  .callback-card {
    width: 100%;
    border-radius: 1.4rem 1.4rem 0 0;
    padding-bottom: calc(1.3rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .callback-backdrop,
  .callback-card {
    transition: none;
  }
}
