:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-alt: #f0ece3;
  --text: #1f2937;
  --muted: #64748b;
  --line: #ded6c8;
  --brand: #7b4f24;
  --brand-dark: #593916;
  --accent: #d7b98e;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
  --radius: 22px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123,79,36,0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; }
.site-title { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; }
.primary-nav ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 1.1rem; flex-wrap: wrap; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--muted); font-weight: 600; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--brand); }
.hero {
  padding: 4rem 0 2rem;
  background:
    radial-gradient(circle at top right, rgba(215,185,142,0.4), transparent 30%),
    linear-gradient(135deg, #201911 0%, #4f341a 45%, #7b4f24 100%);
  color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 2rem; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .77rem; font-weight: 800; margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.05; margin: 0 0 1rem; }
.hero-copy { font-size: 1.1rem; max-width: 56ch; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.35rem; border-radius: 999px;
  background: var(--accent); color: #2b1b0d; font-weight: 800;
  box-shadow: var(--shadow);
}
.button:hover { transform: translateY(-1px); }
.button-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.hero-card, .feature-card, .content-card, .logo-card, .cta-card, .page-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.4rem; color: var(--text); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quick-card {
  padding: 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8f4ee);
  border: 1px solid #eadfce;
}
.quick-card strong { display: block; margin-bottom: .35rem; color: var(--brand-dark); }
.quick-card span { color: var(--muted); font-size: .95rem; }
.section { padding: 4rem 0; }
.section-muted { background: var(--surface-alt); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem;
}
.section-head h2, .section-head h1 { margin: .25rem 0 0; font-size: clamp(1.8rem, 3.5vw, 2.7rem); line-height: 1.12; }
.section-head p { max-width: 60ch; color: var(--muted); margin: 0; }
.text-link { font-weight: 700; color: var(--brand); }
.feature-grid, .card-grid, .logo-grid { display: grid; gap: 1.25rem; }
.feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature-card, .content-card, .logo-card { padding: 1.4rem; }
.feature-card h3, .content-card h2, .content-card h3, .logo-card h3 { margin-top: 0; }
.meta { color: var(--muted); font-size: .92rem; font-weight: 600; }
.cta-section { padding-top: 0; }
.cta-card {
  padding: 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: linear-gradient(180deg, #fff, #f5efe5);
}
.page-section { min-height: 55vh; }
.content-wrap { max-width: 900px; }
.page-content { padding: 2rem; }
.page-content h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.pagination-wrap { margin-top: 1.5rem; }
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 1rem; background: #f2ede3; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 1.5rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .5rem; }

@media (max-width: 960px) {
  .hero-grid, .feature-grid, .card-grid, .logo-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head, .cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .primary-nav ul { gap: .7rem; }
  .header-inner { min-height: auto; padding: .9rem 0; align-items: flex-start; flex-direction: column; }
  .quick-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .hero { padding-top: 2.7rem; }
}
