/* ── holmberg & friends — gemensam stilmall ── */

/* Grid-regel (gäller hela sajten, beslut 2026-10-20):
   Högst tre kolumner. Ett grid bryter från tre kolumner direkt till en,
   aldrig via två och aldrig två plus en: grid-template-columns: repeat(3, 1fr)
   och under 760 px grid-template-columns: 1fr. Använd inte auto-fit/minmax
   för kortrader, det ger två plus en på mellanbredder. */

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

:root {
  --accent: #FFA047;
  --hf-orange: #FFA047;
  --hf-orange-soft: rgba(255,160,71,0.55);
  --accent-hover: rgba(255,160,71,0.85);
  --text: #1a1a1a;
  --text-secondary: #555;
  --bg: #ffffff;
  --border: #e5e5e5;
  --font-head: 'Crimson Pro', Georgia, serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Knappar ────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

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

.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--text); }

/* ── Sektioner ──────────────────── */
section { padding: 80px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.accent-italic {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
}
.lead + .lead {
  margin-top: 16px;
}

/* ── Hero ────────────────────────── */
.hero {
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

/* ── Stats / Fakta-rad (legacy → hf-fact uttryck) ─── */
.stats {
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #141210;
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: #5F5E5A;
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Formulär-kanon (.hf-form) ──── */
.hf-form {
  background: #f7f6f3;
  border: 1px solid rgba(20,18,16,0.14);
  border-radius: 0 10px 0 10px;
  padding: 2rem;
}

.hf-form-header {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.hf-form-row { margin-bottom: 0.8rem; }

.hf-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hf-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5F5E5A;
  margin-bottom: 5px;
}

.hf-form label .hf-form-hint {
  font-weight: 400;
  color: #b0ada6;
  text-transform: none;
  letter-spacing: 0;
}

.hf-form input[type="text"],
.hf-form input[type="email"],
.hf-form textarea,
.hf-form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(20,18,16,0.14);
  border-radius: 0 10px 0 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hf-form textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

.hf-form select { cursor: pointer; }

.hf-form input:focus,
.hf-form textarea:focus,
.hf-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,160,71,0.18);
}

.hf-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 16px;
  cursor: pointer;
}

.hf-form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.hf-form-check span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hf-form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 0 10px 0 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.hf-form-submit:hover { opacity: 0.88; }
.hf-form-submit:disabled { opacity: 0.25; cursor: not-allowed; }

.hf-form-help {
  font-size: 12px;
  color: #5F5E5A;
  text-align: center;
  margin-top: 8px;
}

.hf-form-ok {
  display: none;
  text-align: center;
  padding: 1.5rem;
}

.hf-form-ok p {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.hf-form-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 8px;
  display: none;
}

/* ── Redaktionella siffror (.hf-fact) ── */
.hf-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hf-fact {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.hf-fact-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #141210;
  line-height: 1;
  display: block;
}

.hf-fact-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: #5F5E5A;
  margin-top: 6px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hf-form-row-2col { grid-template-columns: 1fr; }
  .hf-fact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Dagkort ────────────────────── */
.dag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.dag-kort {
  border-top: 3px solid var(--accent);
  padding: 28px 24px;
  background: #fafaf8;
  border-radius: 0 0 8px 8px;
}

.dag-kort h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dag-kort .dag-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.dag-kort p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Kursfoton ──────────────────── */
.kurs-foton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.kurs-foton img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* ── Utbildarna ─────────────────── */
.utbildarna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.utbildarna-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

/* ── Frågor ──────────────────────── */
.fragor-lista {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fraga-kort {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  background: #fafaf8;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

/* ── Citat ────────────────────────── */
.citat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.citat-kort {
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  background: #fafaf8;
  border-radius: 0 8px 8px 0;
}

.citat-kort blockquote {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.citat-kort cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ── Kundloggor ──────────────────── */
.loggor {
  display: flex;
  gap: 56px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 48px 0;
  border-bottom: 0.5px solid #e5e5e5;
}

.loggor-rad img {
  height: 48px;
  opacity: 0.7;
  filter: grayscale(1);
  object-fit: contain;
}

/* ── Logos (kampanjstil) ────────── */
.logos { padding: 3rem 0; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; }
.logos .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.logos-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #bbb; margin-bottom: 2rem; }
.logos-grid { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.logos-grid img { height: 28px; width: auto; filter: grayscale(100%); opacity: 0.55; }

/* ── Bokning ─────────────────────── */
.bokning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bokning-kort {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bokning-kort .datum {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}

.bokning-kort .meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bokning-kort .pris {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}

.bokning-kort .btn { margin-top: 12px; text-align: center; }

.platser-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 160, 71, 0.1);
  padding: 3px 10px;
  border-radius: 3px;
}

/* ── Footer ──────────────────────── */
footer {
  padding: 40px 0;
  border-top: 0.5px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: #999;
}

/* ── Responsive ──────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-grid,
  .utbildarna-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-img { height: 280px; }
  .utbildarna-img { height: 280px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dag-grid,
  .kurs-foton,
  .bokning-grid { grid-template-columns: 1fr; }

  .citat-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
}
