:root {
  --primary: #2f5d4f;
  --bg: #f3f6f1;
  --ink: #16201b;
  --accent: #d98a3d;
  --paper: #ffffff;
  --line: #d6e0d4;
  --mute: #526b5e;
  --display: 'Bebas Neue', system-ui, sans-serif;
  --body: 'Roboto', system-ui, sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--ink); background: var(--bg);
  line-height: 1.58; -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1140px, 92vw); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1; }
h1 { font-size: clamp(44px, 7vw, 82px); letter-spacing: .02em; }
h2 { font-size: clamp(30px, 4.5vw, 52px); letter-spacing: .02em; margin-bottom: 10px; }
h3 { font-size: 22px; letter-spacing: .04em; margin-bottom: 8px; }
p { color: var(--ink); }

.eyebrow {
  display: inline-block; font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}

.lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--mute); max-width: 48ch; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243,246,241,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand {
  font-family: var(--display); font-size: 28px; letter-spacing: .08em;
  text-decoration: none; color: var(--primary); flex-shrink: 0;
}
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--mute); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--primary); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .15s, background .15s;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); background: #254c3f; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* HERO with sidebar-rail */
.hero { padding: 0; border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: 220px 1fr;
  min-height: 520px;
}

/* RAIL */
.rail {
  border-right: 1px solid var(--line);
  padding: 32px 20px 32px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 0;
}
.rail__label { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.rail__list { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.rail__item {
  padding: 9px 14px; border-radius: 8px; cursor: pointer;
  font-size: 14.5px; color: var(--mute); transition: background .12s, color .12s;
}
.rail__item:hover { background: var(--bg); color: var(--ink); }
.rail__item--active { background: var(--primary); color: #fff; font-weight: 700; }
.rail__cta { margin-top: 24px; }

/* HERO MAIN */
.hero__main {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
}
.hero__main .eyebrow { margin-bottom: 0; }
.hero__main h1 { margin: 0; }
.hero__photo { margin-top: auto; }
.hero__photo img {
  width: 100%; max-height: 320px;
  object-fit: cover; border-radius: var(--r);
  box-shadow: 0 20px 50px -15px rgba(22,32,27,.3);
}

/* CATALOG */
.catalog { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 52ch; margin-bottom: 36px; }
.section-head p { color: var(--mute); margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px; display: flex; flex-direction: column; min-height: 230px;
  position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(47,93,79,.1); transform: translateY(-3px); }
.card__badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 999px;
}
.card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: 10px; }
.card p { color: var(--mute); font-size: 14px; margin-top: 6px; flex: 1; }
.card__price { font-family: var(--display); font-size: 20px; color: var(--ink); margin-top: 14px; }

/* FITTING */
.fitting { background: var(--ink); padding: clamp(48px, 6vw, 80px) 0; }
.fitting h2 { color: #fff; }
.fitting__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.fitting__text .lead { color: rgba(255,255,255,.72); margin-top: 14px; }
.fitting__perks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.fitting__perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.perk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.fitting__cta-block { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.fitting__highlight {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 22px;
}
.fitting__highlight strong { color: #fff; font-size: 16px; display: block; margin-bottom: 8px; }
.fitting__highlight p { color: rgba(255,255,255,.65); font-size: 14px; }

/* INFO */
.info { padding: clamp(48px, 6vw, 80px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.info-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; min-height: 200px; display: flex; flex-direction: column;
}
.info-card__n { font-family: var(--display); font-size: 40px; color: rgba(47,93,79,.18); line-height: 1; margin-bottom: 12px; }
.info-card p { color: var(--mute); font-size: 14px; margin-top: 6px; flex: 1; }

/* CONTACT */
.contact { padding: clamp(48px, 6vw, 80px) 0; }
.contact__inner {
  background: linear-gradient(125deg, var(--primary), #1a4035);
  border-radius: calc(var(--r) + 8px); padding: clamp(30px, 4vw, 54px);
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px; flex-wrap: wrap; color: #fff;
}
.contact__inner h2 { color: #fff; }
.contact__inner p { color: rgba(255,255,255,.82); margin-top: 8px; max-width: 42ch; }
.contact__channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.channel {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14); color: #fff;
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; transition: background .15s;
}
.channel:hover { background: rgba(255,255,255,.24); }
.contact__addr { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 12px; }

/* FOOTER */
.foot { background: var(--ink); color: rgba(255,255,255,.55); padding: 26px 0; }
.foot__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .rail { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); padding: 16px; gap: 8px; }
  .rail__label { width: 100%; }
  .rail__list { flex-direction: row; flex-wrap: wrap; flex: none; gap: 6px; }
  .rail__cta { width: 100%; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .fitting__grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2,1fr); }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact__inner { flex-direction: column; align-items: flex-start; }
}
