﻿:root {
  --bg: #e8ebe6;
  --surface: #f9f9f6;
  --panel: #ffffff;
  --panel-soft: #eef2ec;
  --text: #1e2621;
  --muted: #506055;
  --accent: #285a46;
  --accent-strong: #1f4939;
  --line: #d2d8d2;
  --shadow: 0 14px 30px rgba(22, 33, 27, 0.14);
  --sidebar-width: 300px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, #f3f6f1 0%, #e8ebe6 42%, #e4e7e2 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

a {
  color: var(--accent);
}

a:hover,
a:focus-visible {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.site-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  z-index: 40;
  background: linear-gradient(165deg, #13231b 0%, #203629 48%, #294738 100%);
  color: #f4f8f4;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
}

.sidebar-inner {
  height: 100%;
  overflow-y: auto;
  padding: 1.3rem 1.1rem 1.6rem;
  text-align: center;
}

.brand-lockup {
  margin: 0.35rem 0 0.9rem;
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-link {
  display: inline-block;
  color: #cde3d7;
  text-decoration: none;
  font-size: 2rem;
}

.social-link:hover,
.social-link:focus-visible {
  color: #ffffff;
}

.sidebar-contact {
  margin: 1rem 0 1.2rem;
  color: #e0ebe4;
  font-size: 0.95rem;
}

.sidebar-contact a {
  color: #ffffff;
}

.contact-icon {
  width: 30px;
}

.sidebar-link {
  display: block;
  text-decoration: none;
  color: #eff6f1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
  padding: 0.68rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-image {
  width: 100%;
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-header {
  display: none;
}

.page-overlay {
  display: none;
}

.page-main {
  margin-left: var(--sidebar-width);
  padding: 1.2rem;
  max-width: 1280px;
}

.mobile-spacer {
  display: none;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  padding: 1rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7f2 58%, #e8efe8 100%);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  min-height: 260px;
}

.hero-logo {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0.35rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 700;
}

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

.cta {
  display: inline-block;
  text-decoration: none;
  padding: 0.66rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
}

.cta:hover,
.cta:focus-visible {
  color: #ffffff;
  background: var(--accent-strong);
}

.cta-muted {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.cta-muted:hover,
.cta-muted:focus-visible {
  color: var(--text);
  background: #f2f4f1;
}

.quick-links {
  padding: 0.7rem;
}

.btn-group {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btn-group button {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  padding: 0.72rem 0.5rem;
  cursor: pointer;
}

.btn-group button:hover,
.btn-group button:focus-visible {
  background: #dde5dd;
}

.section-block {
  padding: 1.1rem;
}

.lead {
  margin-top: 0;
  color: var(--muted);
}

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

.catalog-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fcfdfb;
}

.vendor-logo {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.mattress-image {
  width: 60%;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.promo-image {
  border-radius: 12px;
  border: 1px solid var(--line);
}

.about-panel {
  background: linear-gradient(160deg, #20362a 0%, #274534 100%);
  border-color: transparent;
  color: #edf5ef;
}

.about-panel a {
  color: #ffffff;
}

.owner {
  margin-top: 0;
  font-weight: 700;
}

.about-contact {
  margin-top: 1rem;
}

.about-contact .contact-icon {
  width: 38px;
}

.contact-form {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.text-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  background: #ffffff;
}

.primary-button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  background: #1d2922;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #111814;
}

.map-embed {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.site-footer {
  margin: 0 0 1rem;
  background: #142019;
  color: #ffffff;
  text-align: center;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid #2d3c34;
}

.site-footer a {
  color: #d8eee0;
}

.mobile-only {
  display: none;
}

@media (max-width: 992px) {
  .site-sidebar {
    display: none;
    width: min(84vw, 320px);
  }

  .site-sidebar.open {
    display: block;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.95rem;
    background: rgba(20, 32, 25, 0.95);
    color: #ffffff;
    backdrop-filter: blur(5px);
  }

  .mobile-title {
    font-family: "Sora", "Trebuchet MS", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .menu-toggle {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
  }

  .page-overlay.active {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 42;
    background: rgba(0, 0, 0, 0.5);
  }

  .page-main {
    margin-left: 0;
    padding: 0.75rem;
  }

  .mobile-spacer {
    display: block;
    height: 58px;
  }

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

  .catalog-grid {
    grid-template-columns: 1fr;
  }

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

  .hide-mobile {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}
