/*
Theme Name: Marcia Städ Service
Description: Skräddarsytt tema för Marcia Städ Service, Haninge. Premium, ljust, koboltblå accent.
Version: 1.0.0
Author: Marcia Städ Service
Text Domain: marcia
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #10141a;
  --ink-soft: #49505e;
  --ink-faint: #6b7280;
  --line: #e6e8e4;
  --accent: #1554e6;
  --accent-deep: #0f3fb8;
  --accent-soft: #edf2fe;
  --accent-soft-2: #dfe9fd;
  --dark: #0b1120;
  --dark-2: #101830;
  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-sm: 0 1px 2px rgba(16, 27, 51, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(16, 27, 51, 0.14);
  --shadow-lg: 0 24px 60px -20px rgba(16, 27, 51, 0.22);
  --container: 1200px;
}

/* ==========================================================================
   Fonts (Satoshi, självhostad, licens: Fontshare Free)
   ========================================================================== */
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* ==========================================================================
   Reset & bas
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; padding: 0; color: inherit; }
::selection { background: var(--accent-soft-2); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 22px; height: 22px; flex: none; }
.icon svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Typografi
   ========================================================================== */
.display-xl {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.display-lg {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.display-md {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.lead { font-size: 1.1875rem; color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9375rem; }

/* ==========================================================================
   Knappar
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1.0125rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .icon { transform: translateX(3px); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .icon { transform: translateX(3px); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, background-color 250ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.site-logo img { height: 52px; width: auto; }
@media (min-width: 1024px) {
  .header-inner { height: 84px; }
  .site-logo img { height: 66px; }
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease;
}
.main-nav > a:hover, .nav-drop > button:hover { background: var(--accent-soft); color: var(--accent-deep); }
.main-nav > a[aria-current="page"] { color: var(--accent-deep); font-weight: 700; }
.nav-drop { position: relative; }
.nav-drop > button .icon { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.nav-drop > button .icon svg { transform: rotate(90deg); }
.nav-drop.open > button .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.nav-drop.open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: background-color 150ms ease;
}
.nav-menu a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav-menu .icon { width: 18px; height: 18px; color: var(--accent); }
.header-cta { display: inline-flex; }
.header-cta .btn { padding: 12px 24px; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-x { display: none; }

/* Mobilmeny */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 49;
  background: var(--bg);
  padding: 24px;
  overflow-y: auto;
}
body.menu-open .mobile-menu { display: block; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle .icon-list { display: none; }
body.menu-open .nav-toggle .icon-x { display: block; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
}
body.menu-open .mobile-menu a { animation: menuIn 350ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 40ms); }
.mobile-menu a.sub { font-size: 1.05rem; font-weight: 500; padding-left: 18px; color: var(--ink-soft); }
.mobile-menu .btn { margin-top: 24px; width: 100%; opacity: 0; }
body.menu-open .mobile-menu .btn { animation: menuIn 350ms var(--ease-out) forwards; animation-delay: 360ms; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Sektioner
   ========================================================================== */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 65ch; margin-bottom: 48px; }
.section-head .display-lg { margin-bottom: 16px; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 48px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { max-width: 44ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: var(--accent-soft);
  border-radius: var(--r-card);
  z-index: -1;
}
@media (max-width: 900px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::before { inset: 16px -16px -16px 16px; }
}

/* Statremsa */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.stat .lbl { color: var(--ink-soft); font-size: 0.9375rem; font-weight: 500; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ==========================================================================
   Tjänstegrid (bento)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  border-radius: var(--r-card);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 700ms var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 12, 24, 0.78) 0%, rgba(7, 12, 24, 0.18) 55%, rgba(7, 12, 24, 0.05) 100%);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover img { transform: scale(1.04); }
}
.service-card .card-body { padding: 26px; }
.service-card h3 { font-size: 1.375rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.service-card p { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); max-width: 42ch; margin-bottom: 12px; }
.service-card .link-arrow { color: #fff; font-size: 0.9375rem; }
.service-card.span-3 { grid-column: span 3; }
.service-card.span-2 { grid-column: span 2; }
.service-card.tall { grid-row: span 2; min-height: 100%; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.span-3, .service-card.span-2 { grid-column: auto; }
  .service-card.tall { grid-row: auto; min-height: 300px; }
}

/* Fler tjänster */
.more-services {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.more-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  font-weight: 700;
  transition: border-color 200ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.more-service .icon { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .more-service:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
}
@media (max-width: 900px) { .more-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-services { grid-template-columns: 1fr; } }

/* ==========================================================================
   RUT-band
   ========================================================================== */
.rut-band {
  background: var(--accent-soft);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.rut-band .rut-figure {
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.rut-band .rut-figure small {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-top: 8px;
}
.rut-band h2 { margin-bottom: 14px; }
.rut-band p { color: var(--ink-soft); max-width: 58ch; }
.rut-band .link-arrow { margin-top: 20px; }
@media (max-width: 767px) { .rut-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   Omdömen (scroll-snap)
   ========================================================================== */
.quotes-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  margin: 0 -24px;
  scrollbar-width: none;
}
.quotes-rail::-webkit-scrollbar { display: none; }
.quote-card {
  flex: 0 0 min(400px, 82vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.quote-card .q-stars { display: flex; gap: 3px; color: var(--accent); }
.quote-card .q-stars .icon { width: 16px; height: 16px; }
.quote-card blockquote { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.55; }
.quote-card cite { font-style: normal; color: var(--ink-soft); font-size: 0.9375rem; font-weight: 700; margin-top: auto; }
.quotes-nav { display: flex; gap: 10px; margin-top: 4px; }
.quotes-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out);
}
.quotes-nav button:hover { border-color: var(--ink); }
.quotes-nav button:active { transform: scale(0.94); }
.quotes-nav .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Split-sektion (bild + text)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split-media img {
  width: 100%;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.split-copy .checks { margin: 24px 0 28px; display: grid; gap: 12px; }
.split-copy .checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.split-copy .checks .icon { color: var(--accent); margin-top: 2px; width: 20px; height: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA-band (mörkt) + Footer
   ========================================================================== */
.cta-band {
  position: relative;
  isolation: isolate;
  border-radius: 0;
  padding: clamp(80px, 10vw, 140px) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 13, 28, 0.82), rgba(8, 13, 28, 0.82));
}
.cta-band h2 { margin-bottom: 16px; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin: 0 auto 36px; }
.cta-band .hero-actions { justify-content: center; }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand img { height: 60px; width: auto; filter: invert(1) brightness(1.6); margin-bottom: 18px; }
.footer-brand p { font-size: 0.9375rem; max-width: 34ch; }
.site-footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.site-footer li { margin-bottom: 10px; font-size: 0.9375rem; }
.site-footer a { transition: color 150ms ease; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-soft-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Undersidor: sidhero
   ========================================================================== */
.page-hero { padding: 40px 0 72px; }
.page-hero .hero-media img { aspect-ratio: 4 / 3; }
.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-weight: 700;
  margin-bottom: 28px;
}
.price-chip strong { font-size: 1.25rem; font-weight: 900; }

/* Vad ingår-grupper */
.include-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.include-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px;
}
.include-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.include-card h3 .icon { color: var(--accent); }
.include-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 0.9875rem;
}
.include-card .icon-check { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; flex: none; }

/* Tillval */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.9875rem;
}
.chip .icon { width: 16px; height: 16px; color: var(--accent); }

/* Prissektion */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-card .p-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 14px; }
.price-card .p-value { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -0.03em; }
.price-card .p-value small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.price-card .p-note { color: var(--ink-soft); font-size: 0.9375rem; margin-top: 10px; }
.price-card .p-alt { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; font-weight: 500; color: var(--ink-soft); }
.price-card .p-alt strong { color: var(--ink); font-weight: 900; font-size: 1.2rem; }

/* Pristabell (hemstädning m.fl.) */
.tier-table { max-width: 640px; }
.tier-table .tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 500;
}
.tier-table .tier-row:nth-child(odd) { background: var(--surface); }
.tier-table .tier-row strong { font-weight: 900; font-size: 1.0625rem; }
.tier-table .tier-head {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 10px;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 700;
}

/* ==========================================================================
   Kalkylator
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.calc-form { display: grid; gap: 28px; }
.field label { display: block; font-weight: 700; margin-bottom: 10px; }
.field .hint { font-size: 0.875rem; color: var(--ink-faint); margin-top: 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-2);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2310141a'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 53.66 90.34L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}
.seg {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 4px;
}
.seg button {
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  color: var(--ink-soft);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.seg button:active { transform: scale(0.97); }
.seg button.on { background: var(--accent); color: #fff; }
.calc-summary {
  position: sticky;
  top: 100px;
  background: var(--dark);
  color: #fff;
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.calc-summary h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 22px; color: #fff; }
.calc-summary .sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.9875rem;
  color: rgba(255, 255, 255, 0.75);
}
.calc-summary .sum-row b { color: #fff; font-weight: 700; }
.calc-summary .sum-total {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 16px;
  padding-top: 22px;
}
.calc-summary .sum-total .lbl { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.calc-summary .sum-price {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: opacity 200ms ease;
}
.calc-summary .sum-price small { font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); letter-spacing: 0; }
.calc-summary .sum-note { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-top: 10px; min-height: 1.2em; }
.calc-summary .sum-empty { color: rgba(255, 255, 255, 0.65); font-size: 0.9875rem; padding: 8px 0 4px; }
.calc-summary .btn { width: 100%; margin-top: 26px; }
.calc-summary .sum-rut {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
}

/* ==========================================================================
   Bokningsformulär
   ========================================================================== */
.book-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.book-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.check-pill span::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.check-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.check-pill input:checked + span::before {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23fff'%3E%3Cpath d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-pill input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft-2); }
.form-status { display: none; align-items: center; gap: 10px; font-weight: 700; padding: 14px 18px; border-radius: var(--r-input); }
.form-status.err { display: flex; background: #fdeeee; color: #9c1f1f; }
.form-status.ok { display: flex; background: #e8f6ee; color: #14683a; }
.book-aside { display: grid; gap: 20px; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
}
.aside-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; margin-bottom: 12px; }
.aside-card h3 .icon { color: var(--accent); width: 20px; height: 20px; }
.aside-card p, .aside-card li { color: var(--ink-soft); font-size: 0.9375rem; }
.aside-card li { padding: 4px 0; }
.aside-card a.strong { color: var(--accent-deep); font-weight: 700; }

/* Formulärets succéläge */
.book-success { text-align: center; padding: 40px 20px; display: none; }
.book-success.show { display: block; }
.book-success .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-success .icon-wrap .icon { width: 34px; height: 34px; }
.book-success h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 10px; }
.book-success p { color: var(--ink-soft); max-width: 40ch; margin: 0 auto; }

/* ==========================================================================
   Kontaktsida
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 56px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px;
}
.contact-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 0.9875rem; }
.contact-card a.strong { color: var(--accent-deep); font-weight: 700; font-size: 1.125rem; }
.map-embed { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Sidfot-CTA på undersidor (ljus) */
.subcta {
  background: var(--accent-soft);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.subcta h2 { margin-bottom: 8px; }
.subcta p { color: var(--ink-soft); }

/* 404 */
.error-page { text-align: center; padding: 120px 24px; }
.error-page h1 { font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; margin-bottom: 16px; }
.error-page p { color: var(--ink-soft); margin-bottom: 32px; }

/* Ikonvarianter */
.icon.flip svg { transform: rotate(180deg); }

/* ==========================================================================
   Mobilförfining
   ========================================================================== */
@media (max-width: 640px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .calc-summary { padding: 28px 22px; }
  .price-chip { flex-wrap: wrap; white-space: normal; }
  .display-xl { font-size: clamp(2.3rem, 9vw, 2.9rem); }
  .section-head { margin-bottom: 36px; }
  .quotes-rail .quote-card { padding: 24px; }
  .rut-band { padding: 32px 24px; }
  .subcta { padding: 32px 24px; }
  .subcta .btn { width: 100%; }
}
