:root {
  --primary: #1b4332;
  --accent: #d4a373;
  --bg: #ffffff;
  --text: #1a1a1a;
  --border: #e0e0e0;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.7;
}

/* ── HEADER / NAV ── */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-header a { color: #fff; text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.brand-link { font-size: 1.2rem; font-weight: bold; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

.nav-links li a:hover,
.nav-links li a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  background: #222;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p { margin: 0; flex: 1; font-size: 0.9rem; }
.cookie-banner a { color: var(--accent); }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover, .btn-secondary:hover { opacity: 0.85; }

/* ── HERO ── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.hero-content h1 { font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.hero-tagline { font-size: 1.1rem; color: var(--accent); font-style: italic; margin-bottom: 1rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-figure { text-align: center; }
.hero-figure img { max-width: 100%; height: auto; }
.hero-figure figcaption { font-size: 0.85rem; color: #666; margin-top: 0.5rem; }

/* ── FACT PANELS ── */
.fact-panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.fact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fafafa;
}

.fact-panel h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
}

.fact-panel dl { margin: 0; }
.fact-panel dt { font-weight: bold; font-size: 0.9rem; margin-top: 0.5rem; }
.fact-panel dd { margin: 0 0 0.25rem 0; font-size: 0.9rem; color: #444; }

/* ── TABLES ── */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

caption {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: left;
}

th {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

tr:nth-child(even) td { background: #f5f5f5; }
tr:hover td { background: #eef; }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  background: #fafafa;
  transition: box-shadow 0.2s;
}

.service-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.service-card img { max-width: 100px; height: auto; margin-bottom: 0.75rem; }
.service-card h3 { color: var(--primary); font-size: 1rem; margin: 0.5rem 0; }
.service-card a { color: var(--accent); font-weight: bold; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fafafa;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.review-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card blockquote {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
}

.review-card blockquote footer {
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: #555;
}

/* ── CHECKLIST ── */
.checklist { padding-left: 1.5rem; }
.checklist li { margin-bottom: 0.5rem; }

/* ── PROCESS STEPS ── */
.process-steps { padding-left: 0; list-style: none; counter-reset: steps; }
.process-steps li {
  counter-increment: steps;
  border-left: 3px solid var(--accent);
  padding: 1rem 1rem 1rem 1.5rem;
  margin-bottom: 1rem;
  background: #fafafa;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.process-steps li h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

/* ── PAGE TOC ── */
.page-toc {
  background: #f0f4f8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  display: inline-block;
  min-width: 200px;
}

.page-toc h2 { font-size: 1rem; color: var(--primary); margin-top: 0; }
.page-toc ol { margin: 0; padding-left: 1.2rem; }
.page-toc li { margin-bottom: 0.25rem; font-size: 0.9rem; }
.page-toc a { color: var(--accent); }

/* ── BREADCRUMB ── */
.breadcrumb { margin: 1rem 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb li::after { content: " /"; color: #999; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--accent); }

/* ── RELATED LINKS ── */
.related-links {
  background: #f0f4f8;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.related-links h3 { color: var(--primary); margin-top: 0; font-size: 1rem; }
.related-links ul { margin: 0; padding-left: 1.2rem; }
.related-links li { margin-bottom: 0.3rem; font-size: 0.9rem; }
.related-links a { color: var(--accent); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: bold; margin-bottom: 0.3rem; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-checkbox input { width: auto; margin-top: 0.2rem; }
.form-checkbox label { font-weight: normal; }

.form-error {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  color: #c00;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer h3, .site-footer h4 { color: var(--accent); margin-top: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.3rem; font-size: 0.9rem; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-contact address { font-style: normal; font-size: 0.9rem; }
.footer-contact p { margin: 0.25rem 0; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; font-size: 0.8rem; color: #bbb; text-align: center; }

/* ── DETAILS / FAQ ── */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: bold;
  color: var(--primary);
  background: #f5f5f5;
  border-radius: var(--radius);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details[open] summary { border-radius: var(--radius) var(--radius) 0 0; }

details > *:not(summary) {
  padding: 0.75rem 1rem;
}

/* ── DL STYLES ── */
dl { margin: 1rem 0; }
dt { font-weight: bold; color: var(--primary); margin-top: 0.75rem; }
dd { margin: 0.2rem 0 0.5rem 1rem; color: #444; }

/* ── SECTIONS ── */
section { margin-bottom: 2.5rem; }
section h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

/* ── FIGURES ── */
figure { margin: 1.5rem 0; text-align: center; }
figure img { max-width: 100%; height: auto; border-radius: var(--radius); }
figcaption { font-size: 0.85rem; color: #666; margin-top: 0.4rem; font-style: italic; }

/* ── BLOCKQUOTE ── */
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  background: #f9f9f9;
  font-style: italic;
}

/* ── MAIN ── */
main.container { padding-top: 2rem; padding-bottom: 3rem; }

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
