/* Макадамия — общий каркас статической версии (шапка, подвал, временные страницы).
   Палитра брендбука v1.0: Noir #1C1814, Gold #B8965A, Mint #B8DCC8, Paper #F7F6FA. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F7F6FA; color: #1C1814; font-family: 'Manrope', -apple-system, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { display: block; overflow-x: hidden; }
img { max-width: 100%; }

/* ── шапка ── */
#mcd-site-header { position: sticky; top: 0; z-index: 100; background: rgba(28,24,20,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(184,150,90,.22); }
#mcd-site-header .sh-inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
#mcd-site-header .sh-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #F0EEF3; margin-right: auto; }
#mcd-site-header .sh-word { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; line-height: 1; letter-spacing: .01em; display: flex; flex-direction: column; }
#mcd-site-header .sh-word small { font-family: 'Manrope', sans-serif; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: #D4B584; margin-top: 5px; }
#mcd-site-header .sh-nav { display: flex; align-items: center; gap: 22px; }
#mcd-site-header .sh-nav a { color: #D9D5DE; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
#mcd-site-header .sh-nav a:hover, #mcd-site-header .sh-nav a.on { color: #D4B584; }
#mcd-site-header .sh-nav a.sh-phone { color: #F0EEF3; font-weight: 600; }
#mcd-site-header .sh-nav a.sh-book { background: #B8DCC8; color: #1C1814; padding: 11px 20px; border-radius: 50px; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
#mcd-site-header .sh-nav a.sh-book:hover { background: #D4B584; color: #1C1814; }
#mcd-site-header #sh-burger { display: none; }
#mcd-site-header .sh-burger { display: none; cursor: pointer; width: 30px; height: 22px; flex-direction: column; justify-content: space-between; }
#mcd-site-header .sh-burger span { display: block; height: 2px; background: #D4B584; border-radius: 2px; }
@media (max-width: 980px) {
  #mcd-site-header .sh-burger { display: flex; }
  #mcd-site-header .sh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #1C1814; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 22px; border-bottom: 1px solid rgba(184,150,90,.3); }
  #mcd-site-header .sh-nav a { padding: 13px 0; font-size: 15px; width: 100%; border-bottom: 1px solid rgba(240,238,243,.07); }
  #mcd-site-header .sh-nav a.sh-book { margin-top: 14px; text-align: center; border-bottom: none; padding: 15px 20px; }
  #mcd-site-header #sh-burger:checked ~ .sh-nav { display: flex; }
}

/* ── подвал ── */
#mcd-site-footer { background: #1C1814; color: #B5B0A8; font-size: 14px; line-height: 1.65; border-top: 1px solid rgba(184,150,90,.25); }
#mcd-site-footer a { color: #E6E2EA; text-decoration: none; border-bottom: 1px solid rgba(184,150,90,.35); }
#mcd-site-footer a:hover { color: #D4B584; }
#mcd-site-footer .sf-inner { max-width: 1180px; margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
#mcd-site-footer .sf-brand { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: #F0EEF3; margin-bottom: 10px; }
#mcd-site-footer .sf-h { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #D4B584; font-weight: 600; margin-bottom: 12px; }
#mcd-site-footer .sf-big { font-family: 'Cormorant Garamond', serif; font-size: 24px; border: none; }
#mcd-site-footer p { margin: 0 0 10px; }
#mcd-site-footer .sf-legal { max-width: 1180px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid rgba(240,238,243,.08); font-size: 12px; color: #7A756F; }
#mcd-site-footer .sf-warn { color: #A8A39B; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
@media (max-width: 760px) { #mcd-site-footer .sf-inner { grid-template-columns: 1fr; gap: 26px; } }

/* ── временные страницы ── */
.mcd-stub { background: #F7F6FA; padding: 70px 24px; }
.mcd-stub-dark { background: #1C1814; color: #F0EEF3; position: relative; overflow: hidden; padding: 64px 24px 80px; }
.mcd-stub-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 8% 0%, rgba(184,150,90,.20), transparent 55%), radial-gradient(ellipse at 96% 100%, rgba(184,220,200,.12), transparent 55%); }
.mcd-stub .st-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.mcd-stub .st-crumbs { display: inline-block; font-size: 12px; color: #8A847C; letter-spacing: .04em; margin-bottom: 26px; }
.mcd-stub .st-crumbs a { color: #B5B0A8; text-decoration: none; }
.mcd-stub .st-kicker { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #D4B584; font-weight: 500; }
.mcd-stub .st-kicker::before { content: ''; width: 36px; height: 1px; background: #D4B584; }
.mcd-stub h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.12; margin: 20px 0 20px; color: #F0EEF3; }
.mcd-stub h1 em { color: #B8DCC8; font-style: italic; font-weight: 400; }
.mcd-stub .st-lead { font-size: 17.5px; line-height: 1.6; color: #B5B0A8; max-width: 660px; margin: 0 0 30px; }
.mcd-stub .st-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 34px; border-top: 1px solid rgba(184,150,90,.22); padding-top: 22px; }
.mcd-stub .st-facts div { padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(184,150,90,.18); margin-bottom: 12px; }
.mcd-stub .st-facts div:last-child { border-right: none; }
.mcd-stub .st-facts span { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #D4B584; margin-bottom: 6px; }
.mcd-stub .st-facts b { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 22px; color: #F0EEF3; }
.mcd-stub .st-facts b a { color: inherit; text-decoration: none; }
.mcd-stub .st-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mcd-stub .st-btn { background: #B8DCC8; color: #1C1814; padding: 16px 30px; border-radius: 50px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.mcd-stub .st-btn:hover { background: #D4B584; }
.mcd-stub .st-btn2 { color: #D4B584; border: 1px solid rgba(212,181,132,.55); padding: 15px 24px; border-radius: 50px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mcd-stub .st-btn2:hover { background: #D4B584; color: #1C1814; }
.mcd-stub .st-phone { color: #F0EEF3; font-weight: 600; text-decoration: none; padding: 15px 10px; }
.mcd-stub .st-note { margin: 34px 0 0; font-size: 13px; line-height: 1.6; color: #8A857F; max-width: 760px; }
.mcd-stub .st-note-light { color: #6C6862; }
.mcd-stub .st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mcd-stub .st-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #E7E3EC; border-radius: 10px; padding: 24px 22px; text-decoration: none; color: #1C1814; transition: border-color .2s, transform .2s; }
.mcd-stub .st-card:hover { border-color: #B8965A; transform: translateY(-2px); }
.mcd-stub .st-card b { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 24px; line-height: 1.15; }
.mcd-stub .st-card span { font-size: 14px; color: #6C6862; line-height: 1.5; }
.mcd-stub .st-card i { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9A7B42; font-weight: 600; margin-top: auto; padding-top: 8px; }
@media (max-width: 680px) {
  .mcd-stub .st-btn, .mcd-stub .st-btn2 { width: 100%; text-align: center; }
  .mcd-stub .st-facts div { border-right: none; padding-right: 0; margin-right: 26px; }
}

/* фото, которое ещё не загружено на новый хостинг */
img.mcd-noimg { background: linear-gradient(135deg, #2A2520, #1C1814); }

/* меню сайта: у шапки есть backdrop-filter, поэтому выпадающее мобильное меню
   считает высоту от шапки, а не от экрана — задаём высоту явно */
@media (max-width: 1000px) {
  .mcd-nav-mobile { bottom: auto !important; height: calc(100vh - 68px); height: calc(100dvh - 68px); }
}
