/* aura124.ru — красно-белая витрина «Аура дома», бренд #CB1919 */
:root {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #fff5f5;
  --border: rgba(203, 25, 25, 0.16);
  --text: #1a0a0a;
  --muted: #6b3a3a;
  --accent: #cb1919;
  --accent-2: #e42323;
  --accent-glow: rgba(203, 25, 25, 0.18);
  --success: #2f7a4f;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --shadow: 0 14px 40px rgba(203, 25, 25, 0.08);
  --max: 1120px;
  --hero-warm: linear-gradient(180deg, #ffffff 0%, #fff5f5 48%, #ffffff 100%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.bg-warm {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(203, 25, 25, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(232, 90, 74, 0.07), transparent 50%),
    var(--bg);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid var(--accent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  width: min(200px, 46vw);
  height: auto;
}

.nav-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin-left: auto;
  font-size: 0.95rem;
}
.nav-pages a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
}
.nav-pages a:hover,
.nav-pages a.is-active { color: var(--accent); }

.header-cta { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.header-meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-overlay { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero — one composition */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 4rem;
  overflow: hidden;
}
.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-warm);
}
.hero__plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 40%, rgba(203, 25, 25, 0.12), transparent 60%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}
.hero__brand {
  margin: 0 0 1.25rem;
}
.hero__brand img {
  width: min(340px, 88vw);
  filter: drop-shadow(0 12px 30px rgba(203, 25, 25, 0.15));
  animation: softPulse 4.5s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 32rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}
.section__sub {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.feature-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.feature-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.prose {
  max-width: 40rem;
}
.prose p { margin: 0 0 1rem; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}
.split__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.split__panel dl { margin: 0; }
.split__panel dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 1rem;
}
.split__panel dt:first-child { margin-top: 0; }
.split__panel dd { margin: 0.25rem 0 0; font-weight: 600; font-size: 1.05rem; }

.link-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.link-grid a {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.link-grid a:hover { border-color: var(--accent); color: var(--accent); }
.link-grid a span {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #cb1919, #a81414);
  color: #fff;
  box-shadow: 0 20px 50px var(--accent-glow);
}
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; font-family: var(--font-display); }
.cta-band p { margin: 0 0 1.25rem; opacity: 0.92; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.catalog {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .catalog { grid-template-columns: repeat(3, 1fr); }
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.catalog-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.catalog-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #fff5f5;
}
.catalog-card__body {
  padding: 0.9rem 1rem 1.1rem;
}
.catalog-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.catalog-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.soon {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
}
@media (min-width: 800px) {
  .soon { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.soon h2 { color: #fff; margin: 0 0 0.4rem; font-family: var(--font-display); }
.soon p { margin: 0; opacity: 0.95; }
.soon .btn--primary {
  background: #fff;
  color: var(--accent);
  justify-self: start;
}

.legal-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52rem;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 1.25rem 0 0;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--text); }

.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq p { margin: 0.6rem 0 0; color: var(--muted); }

.page-hero {
  padding: 2rem 0 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0.4rem 0 0.75rem;
  line-height: 1.15;
}
.page-hero .lead { margin: 0; color: var(--muted); max-width: 36rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 6rem;
  margin-top: 2rem;
  background: var(--surface-2);
}
.site-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer p, .site-footer a { color: var(--text); margin: 0.2rem 0; }
.site-footer__copy {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.mobile-bar .btn { flex: 1; }

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: -1; }
  .nav-pages {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(18rem, 86vw);
    background: var(--surface);
    flex-direction: column;
    padding: 4.5rem 1.25rem 1.5rem;
    gap: 0.75rem;
    margin: 0;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    z-index: 60;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-pages,
  .nav-pages.is-open { transform: none; }
  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .nav-drawer__title { margin: 0; font-weight: 700; }
  .nav-drawer__close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
  }
  .nav-pages__body { display: flex; flex-direction: column; gap: 0.75rem; }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 16, 0.35);
    border: 0;
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .header-cta .btn--ghost,
  .header-meta { display: none; }
  .mobile-bar { display: flex; }
  .hero { min-height: 78vh; align-items: center; padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
