/* Eskitme Dunyasi — тёплый, книжный стиль, бордо/бежевый */
:root {
  --bg: #faf8f5;
  --dark: #2c1810;
  --accent: #8b3a3a;
  --accent-light: #a85c5c;
  --muted: #6b5344;
  --card: #fff;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--dark); line-height: 1.7; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: #f0e6dc;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--accent-light); }
.cookie-ok { background: var(--accent); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 700px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250,248,245,0.95);
  border-bottom: 1px solid rgba(44,24,16,0.08);
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { font-family: var(--font-serif); font-size: 1.35rem; color: var(--dark); text-decoration: none; font-weight: 700; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.hero-section {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,24,16,0.3) 0%, var(--bg) 85%); }
.hero-text { position: relative; z-index: 1; max-width: 600px; }
.hero-text h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; line-height: 1.2; color: var(--dark); }
.hero-text p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.button { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); text-decoration: none; font-family: var(--font-body); font-weight: 600; transition: opacity 0.2s; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { opacity: 0.9; }
.button.secondary { border: 2px solid var(--accent); color: var(--accent); }
.button.secondary:hover { background: var(--accent); color: #fff; }

.section { padding: 4rem 0; }
.section h2 { font-family: var(--font-serif); text-align: center; margin-bottom: 2rem; font-size: 1.75rem; }
.section.dark { background: var(--dark); color: #f0e6dc; }
.section.dark h2 { color: #fff; }
.section.dark p { color: #c4b5a5; margin-bottom: 1rem; text-align: center; }
.section.dark .button.secondary { border-color: #f0e6dc; color: #f0e6dc; }
.section.dark .button.secondary:hover { background: #f0e6dc; color: var(--dark); }
.section.dark .narrow { text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s; }
.card:hover { transform: translateY(-4px); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-family: var(--font-serif); padding: 1.25rem 1.5rem 0; font-size: 1.1rem; }
.card p { padding: 0.5rem 1.5rem 1.5rem; color: var(--muted); font-size: 0.95rem; }

.site-footer { padding: 2.5rem 1.5rem; border-top: 1px solid rgba(44,24,16,0.1); background: rgba(44,24,16,0.03); }
.site-footer .container { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.foot-left { color: var(--muted); font-size: 0.9rem; max-width: 280px; }
.foot-right { display: flex; flex-direction: column; gap: 0.4rem; }
.foot-right a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.foot-right a:hover { color: var(--accent); }
.footer-label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(139,58,58,0.15); color: var(--muted); transition: background 0.2s, color 0.2s, transform 0.2s; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { max-width: 1100px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(44,24,16,0.1); color: var(--muted); font-size: 0.85rem; text-align: center; }
@media (max-width: 768px) { .site-footer .container { grid-template-columns: 1fr; } }

/* Page */
.page-head { padding: 5rem 2rem 2rem; text-align: center; }
.page-head h1 { font-family: var(--font-serif); margin-bottom: 0.5rem; }
.page-head p { color: var(--muted); }
.content-section { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
.content-section h2 { font-family: var(--font-serif); margin: 1.5rem 0 0.5rem; font-size: 1.2rem; }
.content-section p { color: var(--muted); margin-bottom: 1rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 2rem; }
.form label { display: block; margin-bottom: 0.25rem; font-weight: 500; }
.form input, .form textarea { width: 100%; padding: 0.75rem; border: 1px solid rgba(44,24,16,0.2); border-radius: var(--radius); font-family: var(--font-body); margin-bottom: 1rem; }
.map-box { border-radius: var(--radius); overflow: hidden; height: 350px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.faq-item { border-bottom: 1px solid rgba(44,24,16,0.1); }
.faq-item button { width: 100%; padding: 1rem 0; text-align: left; background: none; border: none; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-item .answer { display: none; padding: 0 0 1rem; color: var(--muted); }
.faq-item.open .answer { display: block; }
.thank-box { text-align: center; padding: 4rem 2rem; }
.thank-box h1 { font-family: var(--font-serif); margin-bottom: 0.5rem; }
.thank-box p { color: var(--muted); margin-bottom: 1rem; }
.err-box { text-align: center; padding: 4rem 2rem; }
.err-box h1 { font-family: var(--font-serif); font-size: 4rem; margin-bottom: 0.5rem; }
.legal-box h2 { font-family: var(--font-serif); margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 1rem; border-bottom: 1px solid rgba(44,24,16,0.1); }
  .contact-layout { grid-template-columns: 1fr; }
}
