:root{
  --bg:#f4efe6;
  --bg2:#efe6da;
  --card:#ffffff;
  --card2:#fbf7f0;
  --text:#1f1a14;
  --muted:#5e5247;
  --line:rgba(31,26,20,.14);

  --accent:#8b6a55;   /* коричневый акцент */
  --accent2:#b08a70;  /* светлее для градиентов */

  --shadow: 0 18px 45px rgba(31,26,20,.14);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #faf6ef, var(--bg));
  color:var(--text);
  line-height:1.5;
}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #faf6ef, var(--bg));
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto; display:block}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(250, 246, 239, .75);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:18px;
}

.logo{display:flex; align-items:center; gap:10px}
.logo__dot{
  width:12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(139,106,85,.14);
}
.logo__text{font-weight:700; letter-spacing:.2px}

.nav{display:flex; gap:18px; color:var(--muted); font-weight:500}
.nav a{padding:10px 10px; border-radius:10px}
.nav a:hover{background: rgba(255,255,255,.06); color:var(--text)}

.burger{
  display:none;
  width:44px; height:44px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius:12px;
  padding:10px;
}
.burger span{
  display:block; height:2px; background: var(--text);
  margin:6px 0; border-radius:3px;
}

.mobile-nav{
  border-top:1px solid var(--line);
  background: rgba(250, 246, 239, .92);
  padding:10px 0 16px;
}
.mobile-nav a{
  display:block;
  padding:12px 20px;
  color:var(--muted);
}
.mobile-nav a:hover{background: rgba(255,255,255,.06); color:var(--text)}

.hero{
  padding:46px 0 22px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:34px;
  align-items:center;
}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card2);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
  margin:0 0 14px;
}
h1{
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.08;
  margin:0 0 14px;
}
.lead{
  color: var(--muted);
  font-size: 16px;
  margin:0 0 20px;
  max-width: 56ch;
}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: var(--card2);
  color: var(--text);
  font-weight: 600;
  cursor:pointer;
}
.btn--primary{
  border:none;
  background: linear-gradient(135deg, rgba(139,106,85,.95), rgba(176,138,112,.95));
  color:#ffffff;
}
.btn--ghost:hover{background: rgba(255,255,255,.07)}
.btn--full{width:100%}
.btn--sm{padding:10px 12px; border-radius:12px; font-weight:600}

.hero__meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.meta-card{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:12px 12px;
  background: var(--card2);
}
.meta-card__title{color: var(--muted); font-size: 12px; margin-bottom:6px}
.meta-card__value{font-weight:700}

.hero__photo{
  border-radius: 26px;
  overflow:hidden;
  border:1px solid var(--line);
  background: var(--card2);
  box-shadow: var(--shadow);
}
.hero__photo img{aspect-ratio: 3/4; object-fit: cover}

.section{padding:54px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(139,106,85,.05), rgba(139,106,85,.00));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
h2{font-size: clamp(22px, 2.4vw, 30px); margin:0 0 12px}
h3{margin:0 0 10px}
p{margin:0 0 12px}
.muted{color: var(--muted)}
.quote{
  padding:14px 16px;
  border-left: 3px solid rgba(139,106,85,.75);
  background: rgba(139,106,85,.08);
  border-radius: 12px;
  color: var(--text);
}

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:start;
}

.card{
  background: var(--card2);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px 18px;
  box-shadow: 0 10px 28px rgba(31,26,20,.12);
}

.list{margin:10px 0 0; padding-left: 18px; color: var(--muted)}
.list li{margin:8px 0}

.small-note{
  margin-top:14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-size: 13px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.chip{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: var(--card2);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.cards-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top: 18px;
}

.timeline{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}
.timeline__item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card2);
}
.timeline__year{
  color: var(--muted);
  font-weight: 700;
}

.booking{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.pricebox{
  margin: 14px 0 14px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:12px 14px;
  background: var(--card2);
}
.pricebox__row{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.pricebox__row:last-child{border-bottom:none}
.pricebox strong{font-size:16px}

.field{margin: 10px 0}
label{display:block; margin-bottom:8px; color: var(--muted); font-weight: 600; font-size: 13px}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(31,26,20,.18);
  background: rgba(255,255,255,.55);
  color: var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color: rgba(139,106,85,.55)}
textarea{resize: vertical}
.hint{margin-top:8px; color: var(--muted); font-size: 12px}

.check{display:flex; gap:10px; align-items:flex-start; margin:12px 0 14px; color: var(--muted); font-size: 12.5px}
.check input{width:18px; height:18px; margin-top:2px}

.result{margin-top:12px}
.result__head{display:flex; align-items:center; justify-content:space-between; gap:10px}
.result__box{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  padding:12px 12px;
  position:relative;
}
.result__box pre{
  margin:0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
}
#copyBtn{
  position:absolute;
  top:10px;
  right:10px;
}
.result__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.schedule-note{padding-bottom: 70px}
details{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
}
summary{cursor:pointer; font-weight:700; color: var(--text)}
details ul{margin-top:10px}

.footer{
  padding: 36px 0 44px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
  align-items:center;
}
.footer__name{font-weight:800}
.footer__muted{color:var(--muted); margin-top:6px}
.footer__links{display:flex; flex-direction:column; gap:8px; color: var(--muted); justify-self:center}
.footer__copy{color: var(--muted); justify-self:end}

@media (max-width: 900px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .hero__photo{max-width: 420px}
  .two-col{grid-template-columns: 1fr}
  .cards-grid{grid-template-columns: 1fr}
  .timeline__item{grid-template-columns: 1fr}
  .booking{grid-template-columns: 1fr}
  .nav{display:none}
  .burger{display:inline-flex}
  .footer__grid{grid-template-columns: 1fr; gap:10px}
  .footer__links{justify-self:start}
  .footer__copy{justify-self:start}
}

/* ====== Stats block (как на референсе) ====== */
.stats{padding-top: 22px}
.stats__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  align-items: start;
}
.stat{
  padding: 22px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.stat__num{
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.95;
  letter-spacing: .2px;
  color: var(--accent);
}
.stat__label{
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
}
@media (max-width: 900px){
  .stats__grid{grid-template-columns: 1fr; gap: 12px}
}

/* Equal height stats cards */
.stats__grid{
  align-items: stretch;
}
.stat{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height: 170px;
}
