/* 24laen.ee shared styles (cluster pages). Homepage has its own inline copy — keep in sync on redesigns. */
:root {
  --navy: #0b1e3a;
  --blue: #1259c3;
  --blue-dark: #0d47a1;
  --accent: #e8483f;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1c2434;
  --muted: #5b6474;
  --line: #e4e9f2;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(11,30,58,0.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--blue); }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.logo span { color: var(--blue); }
nav ul { list-style: none; display: flex; gap: 26px; }
nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
nav a:hover, nav a.active { color: var(--blue); }
@media (max-width: 720px) { nav { display: none; } }

.ad-ribbon {
  background: var(--navy); color: #cfd9ea;
  font-size: 0.78rem; text-align: center;
  padding: 7px 14px; line-height: 1.45;
}

.breadcrumbs { font-size: 0.82rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span { color: var(--navy); font-weight: 600; }

.hero { padding: 40px 0 30px; }
.hero h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  font-weight: 800; letter-spacing: -1px; color: var(--navy);
  margin-bottom: 14px; line-height: 1.2; max-width: 840px;
}
.hero p.lead { color: var(--muted); font-size: 1.06rem; max-width: 700px; }

section { padding: 36px 0; }
.section-title { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; color: var(--navy); letter-spacing: -0.5px; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 24px; max-width: 640px; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; margin: 30px 0 12px; }
.prose h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.prose p { color: #3a4354; font-size: 0.97rem; margin-bottom: 13px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: #3a4354; font-size: 0.97rem; }
.prose li { margin-bottom: 6px; }
.prose a { font-weight: 600; }

.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.offer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; position: relative;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.offer:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(11,30,58,0.12); }
.offer .o-ad {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px;
}
.offer .o-logo { height: 46px; display: flex; align-items: center; }
.offer .o-logo img { max-height: 42px; width: auto; max-width: 150px; object-fit: contain; }
.offer .o-name { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.offer .o-type { font-size: 0.78rem; font-weight: 600; color: var(--blue); background: #eaf1fd; border-radius: 999px; padding: 3px 10px; width: fit-content; }
.offer table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.offer td { padding: 5px 0; color: var(--muted); }
.offer td:last-child { text-align: right; font-weight: 600; color: var(--text); }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-red { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(232,72,63,0.3); }
.btn-red:hover { background: #d43a31; transform: translateY(-2px); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.offer .btn { width: 100%; text-align: center; margin-top: auto; }

.legal-warning {
  margin-top: 26px; background: #fff8e6; border: 1px solid #f0dfae; border-radius: 12px;
  padding: 16px 20px; font-size: 0.83rem; color: #6b5b1e; line-height: 1.55;
}
.legal-warning b { color: #4d420f; }

.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.type-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.type-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.type-card h3::before { content: '●'; color: var(--blue); font-size: 0.7em; margin-right: 8px; vertical-align: 1px; }
.type-card p { font-size: 0.92rem; color: var(--muted); }
.type-card .more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 0.9rem; }

.faq-list { max-width: 780px; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; padding: 0 20px; box-shadow: var(--shadow);
}
details summary {
  cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0;
  list-style: none; position: relative; padding-right: 30px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--blue); font-weight: 400;
}
details[open] summary::after { content: '–'; }
details p { color: var(--muted); font-size: 0.93rem; padding-bottom: 16px; }

.responsible {
  background: var(--card); border-left: 5px solid #f0b429; border-radius: 12px;
  box-shadow: var(--shadow); padding: 24px 28px; max-width: 880px;
}
.responsible h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.responsible p { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.responsible p:last-child { margin-bottom: 0; }

footer { background: var(--navy); color: #b9c5d8; padding: 36px 0; margin-top: 30px; }
footer .f-brand { font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
footer p { font-size: 0.85rem; margin-bottom: 6px; }
footer a { color: #dbe6f5; }
footer .f-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0; font-size: 0.88rem; }
footer .f-legal { font-size: 0.75rem; opacity: 0.75; margin-top: 14px; line-height: 1.5; }
