/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf7f2;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #8b5a2b; text-decoration: none; transition: color 0.2s; }
a:hover { color: #5c3a1a; }
a:focus-visible { outline: 2px solid #8b5a2b; outline-offset: 2px; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: #1a1a1a; }

/* ===== TYPOGRAPHY SCALE ===== */
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; margin-bottom: 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.01em; margin-bottom: 0.5em; margin-top: 1.5em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; margin-top: 1.2em; }
p { margin-bottom: 1em; max-width: 65ch; }
small { font-size: 0.85rem; letter-spacing: 0.01em; }

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== HEADER ===== */
header {
  background: #1a1a1a;
  padding: 0.75rem 0;
  position: sticky; top: 0; z-index: 100;
}
header .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 700; color: #faf7f2; letter-spacing: -0.01em;
}
.logo a { color: #faf7f2; }
.logo a:hover { color: #d4a76a; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em;
  color: #ccc; padding: 0.4rem 0.7rem; border-radius: 4px; text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a.active { color: #faf7f2; background: rgba(255,255,255,0.08); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden; min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background: #2c1810;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.85) 0%, rgba(44,24,16,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; padding: 3rem 1.25rem; max-width: 720px;
}
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4rem); color: #faf7f2; margin-bottom: 0.4em;
  letter-spacing: -0.02em;
}
.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: #e0d5c5; margin: 0 auto 1.5em;
  max-width: 55ch;
}
.btn {
  display: inline-block; font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 4px; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary { background: #d4a76a; color: #1a1a1a; }
.btn-primary:hover { background: #c49450; color: #1a1a1a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #faf7f2; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #d4a76a; color: #d4a76a; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section-alt { background: #f0ebe3; }
.section-dark { background: #2c1810; color: #e0d5c5; }
.section-dark h2 { color: #faf7f2; }
.section-dark a { color: #d4a76a; }
.section-dark a:hover { color: #e8c48a; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { margin: 0 auto; color: #666; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== CARDS ===== */
.card {
  background: #faf7f2; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; margin-top: 0; }
.card-body p { font-size: 0.95rem; color: #555; }
.card-tag {
  display: inline-block; font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8b5a2b; margin-bottom: 0.5rem;
}

/* ===== CONTENT PAGE ===== */
.content-page { padding: 3rem 0; }
.content-page article { max-width: 720px; margin: 0 auto; }
.content-page h1 { font-family: 'Playfair Display', Georgia, serif; }
.content-page .meta { color: #888; font-size: 0.9rem; margin-bottom: 2rem; }
.content-page img { border-radius: 8px; margin: 1.5rem 0; width: 100%; }
.content-page blockquote {
  border-left: 3px solid #d4a76a; padding: 0.75rem 1.25rem; margin: 1.5rem 0;
  background: #f0ebe3; border-radius: 0 4px 4px 0; font-style: italic; color: #444;
}

/* ===== ABOUT ===== */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-layout img { border-radius: 8px; width: 100%; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8b5a2b; margin-bottom: 0.3rem; }
.contact-info p { color: #444; }
.contact-info .item { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; color: #333; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #d4c9b8; border-radius: 4px;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 1rem; background: #faf7f2;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #8b5a2b; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .consent { font-size: 0.85rem; color: #666; margin-top: 0.3rem; }
.form-group .consent a { color: #8b5a2b; text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a; color: #999; padding: 3rem 0 1.5rem;
}
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
footer h4 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #ccc; margin-bottom: 0.75rem; }
footer p, footer a { font-size: 0.9rem; color: #999; }
footer a:hover { color: #d4a76a; }
footer .footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; color: #faf7f2; margin-bottom: 0.5rem; }
footer .footer-links { list-style: none; padding: 0; }
footer .footer-links li { margin-bottom: 0.4rem; }
footer .footer-bottom { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 1.5rem; margin-top: 1.5rem; text-align: center; font-size: 0.85rem; }

/* ===== 404 ===== */
.page-404 { text-align: center; padding: 6rem 1.25rem; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-404 h1 { font-size: clamp(4rem, 10vw, 7rem); font-family: 'Playfair Display', Georgia, serif; color: #d4a76a; margin-bottom: 0.2em; }
.page-404 p { font-size: 1.2rem; color: #666; margin-bottom: 2rem; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid #e0d5c5; padding: 1.25rem 0; }
.faq-item:first-child { border-top: 1px solid #e0d5c5; }
.faq-question { font-weight: 600; font-size: 1.1rem; cursor: default; color: #2c1810; }
.faq-answer { margin-top: 0.5rem; color: #555; }

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: #fff3e0; border: 1px solid #e0c090; border-radius: 4px;
  padding: 0.75rem 1rem; font-size: 0.85rem; color: #7a5a2a; margin: 1.5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .about-layout, .contacts-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
}
@media (max-width: 640px) {
  header .container { flex-direction: column; align-items: stretch; }
  nav { justify-content: center; }
  nav a { font-size: 0.75rem; padding: 0.3rem 0.5rem; }
  .section { padding: 2.5rem 0; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-content p { font-size: 1rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.8rem; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
