/* ============================================================
   Bostadsvideo24 — Landningssida
   Implementerad från Claude Design: "Bostadsvideo24 Landningssida 1c"
   ============================================================ */

/* ---------- Typsnitt (lokalt, variabelt 200–800) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Designvariabler ---------- */
:root {
  --bg: #f6f4ef;
  --bg-card: #fdfcf9;
  --ink: #1c1e18;
  --muted: #4a4c44;
  --faint: #8a887e;
  --hairline: #d9d6cc;
  --footer-muted: #b8b6ac;
  --accent: oklch(0.48 0.1 155);
  --accent-deep: oklch(0.42 0.1 155);
  --accent-pale: oklch(0.85 0.06 155);
  --accent-paler: oklch(0.92 0.03 155);
  --accent-palest: oklch(0.94 0.02 155);
  --accent-glow: oklch(0.75 0.09 155);
  --border: 1.5px solid var(--ink);
  --radius: 12px;
}

/* ---------- Bas ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; height: auto; }

.page { max-width: 1280px; margin: 0 auto; background: var(--bg); }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px; border-bottom: var(--border); gap: 16px; flex-wrap: wrap;
}
.logo { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.btn-nav {
  background: var(--accent); color: var(--bg);
  padding: 11px 22px; border-radius: 8px; font-weight: 600;
}
.nav-banner {
  background: var(--ink); color: var(--bg);
  padding: 9px 18px; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--accent);
}
.nav-banner:hover {
  opacity: 1; transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--accent);
}
@media (max-width: 1180px) {
  .nav-banner { order: 1; flex-basis: 100%; text-align: center; white-space: normal; }
}

/* ---------- Knappar & chips ---------- */
.btn-primary {
  align-self: flex-start; background: var(--ink); color: var(--bg);
  padding: 16px 36px; border-radius: 8px; font-weight: 700; font-size: 17px;
  transition: background .18s ease;
}
.btn-primary:hover { background: var(--accent); opacity: 1; }
.chip {
  border: 1px solid var(--ink); border-radius: 99px;
  padding: 6px 13px; font-size: 12.5px; font-weight: 600;
}

/* ---------- Hero ---------- */
.hero { padding: 60px 56px 64px; border-bottom: var(--border); }
.hero-inner { display: flex; flex-direction: column; gap: 26px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.hero h1 {
  margin: 0; font-size: 64px; line-height: 1.0; letter-spacing: -0.035em;
  font-weight: 600; max-width: 17ch; text-wrap: pretty;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.badge-24h {
  flex: none; width: 150px; height: 150px; border-radius: 99px;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 17px; font-weight: 700; line-height: 1.25;
  box-shadow: 0 0 32px oklch(0.48 0.1 155 / 0.45), 0 10px 24px rgba(28, 30, 24, 0.18);
  animation: badgeSway 6s ease-in-out infinite;
}
@keyframes badgeSway {
  0% { transform: rotate(-6deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-6deg); }
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-proof {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--hairline); padding-top: 18px;
}
.logo-strip { display: flex; align-items: center; gap: 12px; }
.logo-ph {
  width: 70px; height: 24px; border-radius: 4px;
  background: repeating-linear-gradient(45deg, #e8e5dc 0 8px, #ddd9ce 8px 16px);
}
.ph-note { font-size: 12px; color: var(--faint); font-family: ui-monospace, monospace; }
.proof-link { font-size: 15px; font-weight: 700; color: var(--accent-deep); }
.hero-media { display: flex; flex-direction: column; gap: 14px; }
.media-stack { display: flex; flex-direction: column; gap: 6px; }
.media-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint);
}
.media-img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: var(--border); }
.media-frame {
  border-radius: var(--radius); overflow: hidden; border: var(--border);
  background: var(--ink); position: relative; padding-top: 56.25%;
}
.media-frame iframe {
  position: absolute; top: 50%; left: 0; width: 100%; height: 133.34%;
  transform: translateY(-50%); border: 0;
}
.media-frame--vertical { padding-top: 177.78%; }
.media-frame--vertical iframe {
  top: 0; height: 100%; transform: none;
}

/* ---------- Sektioner ---------- */
.section { padding: 72px 56px; border-bottom: var(--border); }
.section-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.section-label { font-size: 15px; font-weight: 700; color: var(--accent); }
.section h2 {
  margin: 0; font-size: 40px; line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600; text-wrap: pretty;
}
.section-body { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-text { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
[id] { scroll-margin-top: 20px; }

/* Lösningen (grön sektion) */
.section--solution { background: var(--accent); color: var(--bg); }
.section--solution .section-label { color: var(--accent-pale); }
.section--solution .section-text { color: var(--accent-paler); }

/* Ljus kortbakgrund */
.section--card-bg { background: var(--bg-card); }

/* ---------- Kitet ---------- */
.kit-body { display: flex; flex-direction: column; gap: 32px; }
.kit-body h2 { max-width: 20ch; }
.kit-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.kit-col { display: flex; flex-direction: column; gap: 28px; }
.kit-note { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Siffermur ---------- */
.stats-head { margin-bottom: 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* ---------- Om oss ---------- */
.about-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.about-hero-copy .section-label { margin-bottom: 18px; }
.about-hero-copy h1 { font-size: 52px; max-width: 15ch; margin-bottom: 28px; }
.about-hero-copy .about-kicker { margin-top: 12px; }
/* Porträttet är taget mot vit studiobakgrund och skulle utan kant flyta ihop
   med sidans krämvita botten. Kanten är samma ink-linje som övriga bildramar. */
.byline-img {
  display: block; width: 88px; height: 88px;
  border-radius: var(--radius); border: var(--border); object-fit: cover;
}
.about-lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 56ch; margin: 0 0 20px; text-wrap: pretty; }
.about-kicker { font-size: 24px; line-height: 1.45; font-weight: 700; color: var(--ink); margin: 30px 0 0; letter-spacing: -0.01em; }
.byline { margin-top: 34px; padding-left: 16px; border-left: 3px solid var(--accent); display: flex; align-items: center; gap: 16px; }
.byline .name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.byline .role { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-top: 4px; font-weight: 700; }

.section--dark { background: var(--ink); border-bottom: none; }
.section--dark h2 { color: var(--bg); }
.section--dark .section-label { color: var(--accent-glow); }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 44px; }
.about-col .tag {
  display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-glow); font-weight: 700;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.about-col h3 { font-size: 21px; font-weight: 700; margin: 0 0 12px; color: var(--bg); }
.about-col p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--footer-muted); }

.about-row { display: grid; grid-template-columns: 260px 1fr; gap: 44px; padding: 28px 0; border-top: var(--border); align-items: baseline; }
.about-row:last-child { border-bottom: var(--border); }
.about-row h3 { font-size: 21px; font-weight: 700; margin: 0; text-wrap: balance; }
.about-row p { margin: 0; font-size: 16px; line-height: 1.68; color: var(--muted); max-width: 60ch; text-wrap: pretty; }

@media (max-width: 900px) {
  .about-hero-copy h1 { font-size: 40px; }
  .about-cols { grid-template-columns: 1fr; gap: 36px; }
  .about-row { grid-template-columns: 1fr; gap: 8px; }
}

.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--accent-deep); }

.stats-source { margin: 20px 0 0; font-size: 13px; line-height: 1.6; color: var(--faint); }
.stats-source a { color: inherit; text-underline-offset: 3px; }
.stats-source a:hover { color: var(--accent-deep); }
.stat-card {
  border: var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 6px; background: var(--bg-card);
}
.stat-value { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-deep); }
.stat-value--text { font-size: 20px; line-height: 1.25; letter-spacing: 0; }
.stat-desc { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Process ---------- */
.steps h2 { margin-bottom: 32px; }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 24px 0; border-top: var(--border); align-items: baseline;
}
.step-num { font-size: 34px; font-weight: 700; color: var(--accent); }
.step h3 { margin: 0 0 4px; font-size: 21px; font-weight: 700; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 32px; }
.faq-item { padding: 24px 0; border-top: var(--border); }
.faq-item h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; text-wrap: balance; }
.faq-item p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.faq-item ul { margin: 0 0 12px; padding-left: 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.faq-item li { margin-bottom: 5px; }
.faq-item strong { color: var(--ink); font-weight: 700; }
.faq-item > :last-child { margin-bottom: 0; }

.cta-lead { margin: 0 0 30px; font-size: 17px; line-height: 1.65; color: var(--footer-muted); max-width: 52ch; text-wrap: pretty; }
.cta-fallback { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--footer-muted); }
.cta-fallback a { color: inherit; text-underline-offset: 3px; }
.cta-fallback a:hover { color: var(--accent-glow); }

/* ---------- Wall of love ---------- */
.wall-head { margin-bottom: 40px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.wall-col { display: flex; flex-direction: column; gap: 14px; }
.ph-block {
  border-radius: var(--radius); border: var(--border);
  background: repeating-linear-gradient(45deg, #e8e5dc 0 12px, #ddd9ce 12px 24px);
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.ph-block--45 { aspect-ratio: 4 / 5; }
.ph-block--43 { aspect-ratio: 4 / 3; }
.ph-tag {
  font: 500 11px/1.6 ui-monospace, monospace; color: #6a685e;
  background: var(--bg); padding: 6px 10px; border-radius: 6px; text-align: center;
}
.quote-card {
  border: var(--border); border-radius: var(--radius); padding: 22px;
  background: var(--bg); box-shadow: 4px 4px 0 var(--ink);
}
.quote-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.quote-attr { font-size: 12px; color: var(--faint); font-family: ui-monospace, monospace; }

/* ---------- Priser ---------- */
.pricing-head { margin-bottom: 44px; }
.offer-pill {
  display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 700;
  letter-spacing: 0; background: var(--accent); color: var(--bg);
  padding: 9px 18px; border-radius: 8px;
}
.pricing-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: stretch; }
.price-card {
  border: var(--border); border-radius: 14px; padding: 30px;
  background: var(--bg-card); display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.price-card h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.price-sub { font-size: 13px; color: var(--faint); }
.price-value { font-size: 33px; font-weight: 700; letter-spacing: -0.02em; }
.price-old {
  text-decoration: line-through; opacity: .5; font-size: 0.5em;
  font-weight: 500; margin-right: 8px;
}
.price-period { font-size: 14px; font-weight: 500; color: var(--faint); }
.price-then { margin: -6px 0 0; font-size: 13px; font-weight: 500; color: var(--faint); }
.price-card--featured .price-then { color: var(--accent-pale); }
.price-desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.price-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 9px;
  font-size: 13.5px; line-height: 1.5; color: var(--muted);
}
.price-list li { display: flex; gap: 8px; }
.check { color: var(--accent); font-weight: 700; }
.btn-outline {
  margin-top: auto; text-align: center; border: var(--border); color: var(--ink);
  padding: 13px 20px; border-radius: 8px; font-weight: 700; font-size: 15px;
}
.price-tag {
  position: absolute; top: -12px; left: 30px; background: var(--bg); color: var(--ink);
  font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 99px;
  border: var(--border);
}

/* Utvald prisnivå */
.price-card--featured {
  padding: 34px 30px; background: var(--accent); color: var(--bg);
  box-shadow: 6px 6px 0 var(--ink);
}
.price-card--featured h3 { font-size: 22px; }
.price-card--featured .price-sub,
.price-card--featured .price-period { color: var(--accent-pale); }
.price-card--featured .price-value { font-size: 36px; }
.price-card--featured .price-desc { color: var(--accent-paler); }
.price-card--featured .price-list { color: var(--accent-palest); }
.price-card--featured .check { color: inherit; }
.featured-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 99px; white-space: nowrap;
}
.btn-featured {
  margin-top: auto; text-align: center; background: var(--bg); color: var(--ink);
  padding: 15px 20px; border-radius: 8px; font-weight: 700; font-size: 16px;
}

/* ---------- Pitch ---------- */
.pitch h2 { font-size: 36px; line-height: 1.15; }
.pitch h2 em { font-style: italic; color: var(--accent-deep); }
.pitch .section-body { max-width: 800px; }
.pitch .section-text { font-size: 16px; }

/* ---------- Avslutande CTA ---------- */
.final-cta {
  padding: 84px 56px; background: var(--ink); color: var(--bg); text-align: center;
}
.final-cta-inner {
  max-width: 740px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 22px; align-items: center;
}
.final-cta .section-label { font-size: 14px; color: var(--accent-glow); }
.final-cta h2 {
  margin: 0; font-size: 46px; line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 600; text-wrap: pretty;
}
.btn-cta {
  background: var(--accent); color: var(--bg);
  padding: 17px 42px; border-radius: 8px; font-weight: 700; font-size: 18px;
}
.cta-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px; font-size: 13px; color: var(--footer-muted);
}

/* ---------- Sidfot ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 56px; font-size: 13px; color: var(--faint); border-top: var(--border);
}
.footer .logo { font-size: 13px; color: var(--ink); }
.footer a { color: var(--muted); text-underline-offset: 3px; }
.footer a:hover { color: var(--accent-deep); }

/* ============================================================
   Responsivt
   ============================================================ */
@media (max-width: 1100px) {
  .nav, .hero, .section, .final-cta, .footer { padding-left: 40px; padding-right: 40px; }
  .hero h1 { font-size: 54px; }
  .section h2 { font-size: 36px; }
  .section-grid { grid-template-columns: 180px 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .section-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .price-card--featured { order: -1; }
  .pricing-grid .price-card { margin-top: 18px; }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-grid .media-frame--vertical { max-width: 320px; }
}

@media (max-width: 720px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .hero h1 { font-size: 42px; letter-spacing: -0.03em; }
  .hero-top { gap: 20px; }
  .badge-24h { width: 110px; height: 110px; font-size: 13.5px; }
  .section h2 { font-size: 30px; }
  .final-cta h2 { font-size: 34px; }
  .stat-value { font-size: 38px; }
  .wall-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav, .hero, .section, .final-cta, .footer { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .hero-top { flex-direction: column-reverse; align-items: flex-start; }
  .hero h1 { font-size: 36px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .footer { justify-content: center; text-align: center; }
}

/* ---------- Tillgänglighet ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge-24h { animation: none; }
}
