@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&display=swap");

/* Harbor — холодный камень, индиго, медь */
:root {
  --bg: #e9eef5;
  --bg-soft: #dce6f2;
  --surface: #f7f9fc;
  --chip: #e2eaf4;
  --ink: #152033;
  --fg: #152033;
  --muted: #5a6780;
  --line: #c8d4e4;
  --border: #c8d4e4;
  --primary: #2c4d9a;
  --accent: #2c4d9a;
  --accent-deep: #1e3878;
  --accent-soft: rgba(44, 77, 154, 0.12);
  --secondary: #c46b2b;
  --card: #f7f9fc;
  --media-bg: #d3dce8;
  --header: #f7f9fc;
  --header-bg: #f7f9fc;
  --header-text: #152033;
  --forest: #121a2b;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 16px 40px rgba(18, 26, 43, 0.08);
  --shadow-lift: 0 24px 50px rgba(18, 26, 43, 0.14);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space-section: clamp(48px, 7vw, 88px);
  --space-section-sm: clamp(20px, 3vw, 36px);
  --container: 1220px;
  --gutter: 20px;
  --block-gutter: 48px;
  --block-width: min(var(--container), calc(100% - 2 * var(--block-gutter)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--bg);
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(44, 77, 154, 0.1), transparent 55%),
    radial-gradient(700px 360px at 0% 12%, rgba(196, 107, 43, 0.06), transparent 50%),
    var(--bg);
  overflow-x: clip;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
.hero-visual img,
.hero-bg-photo,
.product-card-media img,
.product-gallery-main img,
[data-gallery-main],
.about-photo img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual img,
.hero-bg-photo {
  position: absolute;
  inset: 0;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-deep); }
button, input, textarea, select { font: inherit; }

.header-top-inner,
.header-main-row {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.container, .c-container,
.hero-inner,
.hero-stats-wrap,
.notice-bar,
.article-head,
.article-cover,
.article-layout,
.article-related,
.mid-cta {
  width: var(--block-width);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.section, .c-section { padding: var(--space-section) 0; }
.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 720px;
}
.section-heading p { color: var(--muted); margin: 0; }

h1, h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 12px;
}
h1 { font-size: clamp(38px, 6.4vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3, .h3 { font-size: 1.32rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
}

.btn, .c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary, .btn-accent, .c-button--accent {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(196, 107, 43, 0.24);
}
.btn-primary:hover, .btn-accent:hover { background: #a35620; color: #fff; }
.btn-outline, .btn-secondary, .c-button--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover, .btn-secondary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  color: var(--header-text);
}
.header-top {
  background: var(--forest);
  color: rgba(232, 238, 248, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.header-top-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-shell {
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand img {
  width: 104px;
  height: 54px;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand-wordmark strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; }
.brand-wordmark span { color: var(--accent); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.header-brand-info { display: none; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav > a:hover,
.main-nav > a.is-active { background: var(--bg-soft); color: var(--accent-deep); }
.nav-extra { display: none; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.15;
}
.header-phone small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.header-phone:hover { color: var(--accent-deep); }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}
.nav-toggle-lines {
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: inset 0 4px 0 currentColor;
}
body.nav-open { overflow: hidden; }

.hero--home {
  padding: 28px 0 8px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: stretch;
}
.hero-copy {
  max-width: 560px;
  align-self: center;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy p { color: var(--muted); max-width: 46ch; font-size: 1.08rem; }
.hero-visual {
  position: relative;
  min-height: 520px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--media-bg);
}

.hero-stats-wrap {
  margin: 22px auto 0;
}
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hero-stat {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hero-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #e0a066);
}
.hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.hero-stat-num {
  display: block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink);
}
.hero-stat > span:last-child { color: var(--muted); font-size: 14px; }
.hero-stat.is-accent {
  background: var(--forest);
  border-color: transparent;
}
.hero-stat.is-accent::before {
  background: linear-gradient(90deg, var(--secondary), #f0c08a);
}
.hero-stat.is-accent .hero-stat-num { color: #e8b48a; }
.hero-stat.is-accent strong { color: #fff; }
.hero-stat.is-accent > span:last-child { color: rgba(232, 238, 248, 0.72); }

.notice-bar {
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.notice-item {
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.notice-item strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.28rem;
}
.notice-item p { margin: 0; font-size: 14px; color: var(--muted); }

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--media-bg);
}
.product-card-media img {
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-body p { margin: 0; color: var(--muted); font-size: 13px; }
.product-card-body .h3 {
  font-size: 1.24rem;
  line-height: 1.2;
  min-height: 2.4em;
  margin: 0;
}
.product-card-body .h3 a { text-decoration: none; }
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28em 0.22em;
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink) !important;
}
.product-card-body .product-price { margin-top: auto; padding-top: 12px; }
.product-price .price-from,
.product-price small {
  font-family: var(--font-body);
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag, .pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pill-hit { background: var(--secondary); color: #fff; }
.pill-new { background: var(--accent); color: #fff; }
.pill-recommend { background: var(--ink); color: #fff; }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.product-actions { display: flex; gap: 8px; margin-top: 8px; }
.product-actions .btn { flex: 1; min-width: 0; padding: 0 10px; min-height: 44px; }

.catalog-layout { display: flex; flex-direction: column; gap: 28px; }
.catalog-filters {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto;
  gap: 12px 16px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.catalog-filters strong {
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
}
.catalog-filter-field { min-width: 0; }
.catalog-filters label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px; }
.catalog-filters-reset { min-height: 44px; padding-inline: 18px; }
.catalog-filters select, .input, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 11px 12px;
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-toolbar { display: flex; justify-content: space-between; margin-bottom: 16px; color: var(--muted); font-size: 13px; }

.product-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  cursor: grab;
}
.product-slider-viewport::-webkit-scrollbar { display: none; }
.product-slider-viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.product-slider-viewport img,
.product-slider-viewport a {
  -webkit-user-drag: none;
  user-select: none;
}
.product-slider-track { display: flex; gap: 18px; }
.product-slider-track .product-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.product-slider-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.product-slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: #fff;
  cursor: pointer;
}
.product-slider-btn:hover { background: var(--ink); color: #fff; }

.services-grid, .pay-ways, .split-cards, .adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.split-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.service-card, .pay-way, .split-card, .adv-card, .review-card, .use-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
a.split-card { text-decoration: none; color: inherit; display: block; transition: border-color 0.2s, transform 0.2s; }
a.split-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card h3, .adv-card h3, .split-card h3 { margin-top: 0; }
.use-card { padding: 0; overflow: hidden; }
.use-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.use-card h3, .use-card p { padding-left: 18px; padding-right: 18px; }
.use-card h3 { margin-top: 14px; }
.use-card p { padding-bottom: 18px; color: var(--muted); }

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.photo-mosaic figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.photo-mosaic figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.photo-mosaic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
  background: var(--media-bg);
  transition: transform 0.6s var(--ease);
}
.photo-mosaic figure:hover img { transform: scale(1.04); }
.photo-mosaic figcaption {
  padding: 14px 16px 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.photo-mosaic .is-wide { grid-row: 1 / span 2; }
.photo-mosaic .is-wide img {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 420px;
  height: 100%;
}

.sample-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sample-strip figure { margin: 0; overflow: hidden; background: var(--media-bg); border-radius: var(--radius); }
.sample-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sample-strip figcaption {
  padding: 10px 10px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface);
}

.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.photo-split img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius-lg); }

.adv-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.about-photo { overflow: hidden; aspect-ratio: 4 / 3; background: var(--media-bg); border-radius: var(--radius-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }

.reviews-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.review-card footer { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.pay-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.pay-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.pay-tile.is-wide { grid-row: 1 / span 2; }
.pay-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--media-bg);
}
.pay-tile.is-wide img { height: 100%; min-height: 280px; flex: 1; }
.pay-tile-body { padding: 18px 20px 20px; }
.pay-tile-body h3 { margin: 0 0 8px; }
.pay-tile-body p { margin: 0; color: var(--muted); }
.pay-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}
.pay-split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 24px;
  background: var(--media-bg);
}
.pay-split-copy {
  background: var(--forest);
  color: #e8eef8;
  border-radius: 24px;
  padding: 36px 32px;
}
.pay-split-copy .eyebrow { color: #e8b48a; }
.pay-split-copy h2 { color: #fff; }
.pay-split-copy p { color: rgba(232, 238, 248, 0.78); }
.pay-split-copy .about-list { color: rgba(232, 238, 248, 0.78); }
.pay-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pay-step {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.pay-step img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--media-bg);
}
.pay-step-body { padding: 16px 16px 18px; }
.pay-step-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.pay-step-body h3 { margin: 0 0 6px; font-size: 1.2rem; }
.pay-step-body p { margin: 0; color: var(--muted); font-size: 14px; }
.pay-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pay-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--media-bg);
  box-shadow: var(--shadow);
}
.pay-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pay-gallery figcaption {
  padding: 14px 16px 16px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.mid-cta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.mid-cta h2 { color: var(--ink); }
.mid-cta p { margin: 8px 0 0; color: var(--muted); }

.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-item p { margin: 0 0 14px; color: var(--muted); max-width: 72ch; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: var(--forest);
  color: #e8eef8;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
}
.cta-panel .eyebrow { color: #e8b48a; }
.cta-panel h2 { color: #fff; }
.cta-panel p, .cta-panel .muted { color: rgba(232, 238, 248, 0.78); }
.contact-lines { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.contact-lines a { color: #fff; }
.lead-form { display: grid; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.checkbox-field { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.field-honey { position: absolute; left: -9999px; }
.lead-form-message { margin: 0; font-size: 14px; }
.lead-form-message.is-error { color: #d46a56; }
.lead-form-message.is-success { color: var(--accent); }
.cta-panel .lead-form-message.is-success { color: #e8b48a; }
.cta-panel .input,
.cta-panel .textarea { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.lead-modal-dialog .btn-outline:hover { color: #fff; }

.site-footer {
  margin-top: auto;
  padding: 56px 0 20px;
  background: var(--forest);
  color: #d5deec;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}
.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}
.footer-grid nav,
.footer-contacts { display: grid; gap: 8px; align-content: start; }
.footer-grid a { color: rgba(213, 222, 236, 0.86); text-decoration: none; }
.footer-grid a:hover { color: #e8b48a; }
.footer-brand p { color: rgba(213, 222, 236, 0.7); max-width: 36ch; }
.site-footer .brand-wordmark span { color: #e8b48a; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(213, 222, 236, 0.55);
}

.product-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.product-hero-copy h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  margin: 0 0 14px;
}
.product-hero-copy .product-lead { margin: 0 0 18px; color: var(--muted); max-width: 48ch; }
.product-hero-copy .product-price { margin: 4px 0 18px; font-size: clamp(2.4rem, 4vw, 3.2rem); }
.product-gallery-main { aspect-ratio: 5 / 4; overflow: hidden; background: var(--media-bg); border-radius: var(--radius-lg); }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.product-thumbs button {
  border: 1px solid transparent;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  cursor: pointer;
  background: none;
  border-radius: 12px;
}
.product-thumbs button.is-active { border-color: var(--accent); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0 0 20px; }
.specs dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.specs dd { margin: 0; font-weight: 600; }
.stock-note {
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
}

.page-hero {
  width: 100%;
  margin: 0;
  padding: 48px 0 28px;
  background:
    radial-gradient(700px 240px at 90% 0%, rgba(44, 77, 154, 0.1), transparent 55%),
    var(--bg-soft);
  color: var(--ink);
}
.page-hero .container > * { margin-inline: 0; }
.page-hero .eyebrow { color: var(--accent-deep); }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--muted); max-width: 62ch; margin-inline: 0; }
.page-hero .actions { margin-top: 18px; }

.article-head {
  margin: 28px auto 0;
}
.article-head h1 { font-size: clamp(32px, 4vw, 52px); max-width: 18ch; }
.article-head .article-lead { margin: 0; font-size: 1.15rem; color: var(--muted); }
.article-cover {
  margin: 22px auto 0;
  aspect-ratio: 16 / 8;
  max-height: 460px;
  overflow: hidden;
  background: var(--media-bg);
  border-radius: var(--radius-lg);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout {
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.article-body { max-width: 68ch; }
.article-body > p:first-of-type { font-size: 1.12rem; }
.article-body h2 {
  font-size: 1.6rem;
  margin: 1.8em 0 0.5em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}
.article-body h2:first-of-type { border-top: 0; padding-top: 0; }
.article-body h3 {
  font-size: 1.22rem;
  margin: 1.35em 0 0.4em;
}
.article-body p { margin: 0 0 1em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.2em; }
.article-body li { margin: 0.4em 0; }
.article-body a { color: var(--accent-deep); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.article-lead { font-size: 1.2rem; color: var(--ink); margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 6px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.article-meta span + span::before { content: "·"; margin-right: 8px; opacity: 0.5; }
.article-callout {
  margin: 1.4em 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-callout p { margin: 0; }
.article-figure { margin: 1.6em 0 1.8em; }
.article-figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.article-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.article-aside {
  position: sticky;
  top: 112px;
  z-index: 5;
  align-self: start;
}
.article-aside-card {
  background: var(--forest);
  color: #e8eef8;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
}
.article-aside-card .eyebrow { color: #e8b48a; }
.article-aside-card h3 { color: #fff; }
.article-aside-card ul { margin: 0 0 16px; padding-left: 18px; color: rgba(232, 238, 248, 0.74); font-size: 14px; }
.article-aside-card .btn { width: 100%; margin-top: 8px; }
.article-aside-card .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.article-aside-card .btn-outline:hover { background: #fff; color: var(--forest); }
.article-related { margin: 40px auto 8px; }

.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--media-bg); }
.blog-card-media img,
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-list { display: grid; gap: 40px; }
.blog-list-head { display: grid; gap: 8px; }
.blog-list-head h2 { margin: 0; }
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 0;
}
.blog-featured-media {
  position: relative;
  min-height: 360px;
  background: var(--media-bg);
}
.blog-featured-media img {
  position: absolute;
  inset: 0;
}
.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px 32px;
  max-width: none;
}
.blog-featured-body .eyebrow { color: var(--secondary); }
.blog-featured-body h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 12px;
}
.blog-featured-body p { color: var(--muted); margin: 0; }
.blog-featured-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.blog-featured-more {
  display: inline-flex;
  margin-top: 20px;
  color: var(--secondary);
  font-weight: 800;
}
.blog-featured:hover { color: inherit; }
.blog-featured:hover img,
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-grid, .blog-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.blog-card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .h3 { font-size: 1.22rem; margin: 8px 0 0; }
.blog-card-body p {
  color: var(--muted);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body .meta { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.lead-modal[hidden] { display: none; }
.lead-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(18, 26, 43, 0.52); }
.lead-modal-dialog {
  position: relative;
  width: min(440px, calc(100% - 28px));
  background: var(--surface);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.lead-modal-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; }
body.lead-modal-open { overflow: hidden; }

.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; }
.cookie-consent-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.cookie-consent p { margin: 0; font-size: 14px; }
.cookie-consent a { color: var(--accent-deep); }

.reveal { opacity: 0; transform: translateY(18px); transition: 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.empty-state { padding: 32px; text-align: center; color: var(--muted); }

@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .header-callback, .header-phone { display: none; }
  .header-main-row { min-height: 68px; }
  :root { --gutter: 16px; --block-gutter: 32px; }
  .brand img { width: 80px; height: 42px; }
  .brand-wordmark strong { font-size: 1.05rem; white-space: nowrap; }
  .main-nav {
    position: fixed;
    inset: 108px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
  }
  .main-nav.is-open { display: flex; }
  .nav-extra { display: grid; gap: 8px; padding-top: 8px; }
}

@media (max-width: 980px) {
  :root { --gutter: 16px; --block-gutter: 20px; }
  .header-top { display: none; }
  .main-nav { inset: 72px 12px auto; }
  html { scroll-padding-top: 72px; }
  .catalog-filters { grid-template-columns: 1fr 1fr; }
  .catalog-filters strong { grid-column: 1 / -1; }
  .catalog-filters-reset { grid-column: 1 / -1; }
  .hero-inner, .product-hero, .cta-panel, .footer-grid, .about-grid, .mid-cta, .photo-split, .photo-mosaic, .blog-featured, .pay-mosaic, .pay-split { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .hero-visual { min-height: 320px; }
  .blog-featured-media { min-height: 260px; }
  .blog-featured-body { padding: 28px 24px; }
  .photo-mosaic { grid-template-rows: none; }
  .photo-mosaic .is-wide { grid-row: auto; }
  .photo-mosaic .is-wide img { min-height: 240px; }
  .sample-strip { grid-template-columns: repeat(3, 1fr); }
  .pay-tile.is-wide { grid-row: auto; }
  .pay-tile.is-wide img { min-height: 240px; }
  .pay-steps, .pay-gallery { grid-template-columns: 1fr 1fr; }
  .hero-stats-bar, .notice-bar, .catalog-grid, .services-grid, .pay-ways, .split-cards, .split-cards.cols-4, .adv-grid, .blog-preview-grid, .blog-grid, .reviews-page { grid-template-columns: 1fr 1fr; }
  .mid-cta { flex-direction: column; align-items: flex-start; }
  .product-slider-track .product-card { flex: 0 0 calc((100% - 18px) / 2); }
  .catalog-filters { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --block-gutter: 16px; }
  .hero-stats-bar, .notice-bar, .catalog-grid, .services-grid, .pay-ways, .split-cards, .split-cards.cols-4, .adv-grid, .blog-preview-grid, .blog-grid, .blog-grid--3, .reviews-page, .specs, .sample-strip, .pay-steps, .pay-gallery { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(34px, 11vw, 48px); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 240px; }
  .blog-featured-body { padding: 22px 20px 24px; }
  .product-slider-track { gap: 12px; padding-inline: calc((100% - 84%) / 2); }
  .product-slider-track .product-card { flex: 0 0 84%; scroll-snap-align: center; }
  .nav-toggle-label { display: none; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; }
}
