/*
Theme Name: hautausvertailu
Theme URI: https://hautaushinta.fi
Description: Hautaustoimistojen vertailu ja kilpailutus Suomessa
Version: 1.0
Author: hautaushinta.fi
*/

/* ── TOKENS ── */
:root {
  --n: #1a3a2a;
  --nd: #0f2318;
  --s: #c8a882;
  --ow: #faf9f7;
  --bg: #f4f1ec;
  --tx: #2d3030;
  --so: #6b7280;
  --bo: #e0dbd4;
  --w: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--tx);
  background: var(--w);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--n); }

h1, h2, h3, h4 {
  font-family: Georgia, serif;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.25;
}

p, ul, ol { margin-top: 0; }
ul, ol { padding-left: 0; list-style: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--n);
  color: var(--ow) !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  line-height: normal;
}
.btn:hover { background: var(--nd); transform: translateY(-1px); }
.btn-lg { padding: 20px 48px; font-size: 15px; }
.btn-accent { background: var(--s); color: var(--n) !important; }
.btn-accent:hover { background: #b89470; color: var(--n) !important; }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--ow) !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--n);
  color: var(--n) !important;
}
.btn-outline:hover { background: var(--n); color: var(--ow) !important; }

/* ── LAYOUT ── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 72px 24px; }
.sec-sm { padding: 48px 24px; }

/* ── HEADER ── */
.site-header {
  background: var(--w);
  border-bottom: 1px solid var(--bo);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header-in {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--n) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo span { color: var(--s); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--so) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--n) !important; }

/* ── FOOTER ── */
.site-footer {
  background: var(--n);
  color: rgba(250,249,247,0.6);
  padding: 48px 24px 32px;
}
.site-footer-in {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s);
  margin: 0 0 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-family: sans-serif;
  font-size: 13px;
  color: rgba(250,249,247,0.6) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ow) !important; }
.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
  font-size: 12px;
}
.footer-logo {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ow) !important;
  text-decoration: none !important;
}

/* ── LABEL ── */
.lbl {
  display: inline-block;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--s);
  margin-bottom: 12px;
}
.lbl-dark { color: var(--n); }

/* ── UTILS ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.note {
  background: rgba(200,168,130,0.12);
  border-left: 3px solid var(--s);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-family: sans-serif;
  font-size: 14px;
  color: var(--tx);
  line-height: 1.65;
  margin: 20px 0 0;
}
.note a { color: var(--n); font-weight: 600; }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .sec { padding: 48px 16px; }
  .sec-sm { padding: 36px 16px; }
}
