:root {
  --bordeaux: #1a1014;
  --bordeaux-2: #241720;
  --gold: #c9a24b;
  --gold-light: #e8d9b0;
  --cream: #f5f1e8;
  --cream-2: #ece4d0;
  --ink: #221a15;
  --ink-soft: #6b6355;
  --border-soft: #d8cfb8;
  --radius: 4px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Атрибут hidden должен скрывать всегда — иначе его перебивают классы вроде .btn { display: inline-block } */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.5em; color: var(--bordeaux); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { max-width: 62ch; color: var(--ink-soft); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--bordeaux);
}
.btn-gold:hover { background: #b58f3f; }
.btn-outline {
  background: transparent;
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}
.btn-outline:hover { background: var(--bordeaux); color: var(--gold-light); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bordeaux);
  border-bottom: 1px solid #362530;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  color: #b3a385;
  font-size: 0.92rem;
}
.main-nav a:hover { color: var(--gold-light); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-light);
  border-radius: 1px;
}

/* Hero */
.hero {
  background: var(--bordeaux);
  padding: 90px 0 70px;
}
.hero-inner { max-width: 680px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero h1 { color: var(--gold-light); }
.hero-lead { color: #b3a385; font-size: 1.05rem; margin: 20px 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats { background: var(--cream-2); border-bottom: 1px solid var(--border-soft); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 1.7rem; color: var(--bordeaux); }
.stat-label { font-size: 0.82rem; color: var(--ink-soft); }

/* Services */
.services { padding: 80px 0; }
.services h2 { max-width: 30ch; margin-bottom: 40px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 28px;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bordeaux);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card p { font-size: 0.95rem; }
.card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* Story */
.story { background: var(--bordeaux-2); padding: 80px 0; }
.story-inner { max-width: 680px; margin: 0 auto; text-align: left; }
.story-eyebrow { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 8px; }
.story h2 { color: var(--gold-light); }
.story p { color: #b3a385; }

/* Catalog */
.catalog { padding: 80px 0; }
.catalog-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.catalog-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.catalog-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
  color: var(--ink);
}
.catalog-visual { display: flex; justify-content: center; }
.catalog-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--bordeaux);
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.catalog-badge-mark { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-light); letter-spacing: 3px; }
.catalog-badge-word { font-size: 1.5rem; color: var(--gold); }

/* Contact */
.contact { background: var(--cream-2); padding: 80px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-details { margin-top: 28px; padding: 0; }
.contact-details div { margin-bottom: 14px; }
.contact-details dt { font-size: 0.78rem; color: var(--ink-soft); }
.contact-details dd { margin: 0; font-size: 1rem; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 28px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
}
.phone-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
}
.phone-prefix { padding: 10px 0 10px 12px; font-size: 0.95rem; color: var(--ink-soft); }
.phone-field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px 10px 4px;
  min-width: 0;
}
.phone-field input:focus { outline: none; }
.phone-field:focus-within { border-color: var(--gold); }
.form-error {
  font-size: 0.78rem;
  color: #a32d2d;
  min-height: 1em;
}
.form-row .optional { color: #9a917f; }
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent-label input { margin: 3px 0 0; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--bordeaux); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--bordeaux); min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--bordeaux); padding: 28px 0; }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--gold-light); font-family: var(--font-display); }
.footer-note { color: #7a6f5c; font-size: 0.82rem; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .catalog-inner, .contact-inner { grid-template-columns: 1fr; }
  .catalog-visual { order: -1; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bordeaux);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #362530;
    display: none;
  }
  .main-nav.open { display: flex; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  /* Галочка согласия: нажимается вся строка вместе с текстом, высота не меньше 44 px */
  .consent-label { min-height: 44px; padding: 8px 0; align-items: center; }
  .consent-label input { width: 22px; height: 22px; margin: 0; }
}
