:root {
  --navy: #014AA5;
  --navy-2: #013a80;
  --gold: #F9B101;
  --gold-soft: #F7C550;
  --cream: #F7F4EC;
  --ink: #1A2233;
  --slate: #55617A;
  --slate-light: #8A93A8;
  --line: #E4DFD3;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--navy); }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-lead { color: var(--slate); font-size: 16px; max-width: 620px; margin: 0 0 36px; line-height: 1.5; }
.section-lead-light { color: rgba(255,255,255,0.72); }

.section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: white; }
.section-navy h2 { color: white; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; transition: height 220ms ease; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; transition: width 220ms ease, height 220ms ease; }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.brand-ab { color: var(--slate-light); font-weight: 600; margin-left: 3px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--slate); transition: color 150ms ease; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nav-dropdown { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.nav-dropdown-caret { font-size: 10px; margin-left: 3px; opacity: 0.6; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -14px; margin-top: 0;
  background: white; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(1,74,165,0.28);
  padding: 8px; min-width: 190px; z-index: 40;
}
.nav-dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: #EFF4FC; color: var(--navy); }
@media (min-width: 901px) {
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang-btn { border: none; background: transparent; padding: 7px 10px; font-size: 12px; font-weight: 700; color: var(--slate); cursor: pointer; font-family: inherit; }
.lang-btn.active { background: var(--gold); color: var(--navy); }
.phone-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--navy); color: white;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.header-cta { padding: 10px 18px; font-size: 13.5px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: none; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; background: linear-gradient(180deg, #FCFAF5 0%, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; }
.hero-sub { font-size: 17px; color: var(--slate); max-width: 480px; margin: 18px 0 30px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-quickform { display: flex; gap: 10px; flex-wrap: wrap; max-width: 500px; margin-bottom: 8px; }
.hero-quickform input {
  flex: 1; min-width: 140px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: white;
}
.hero-quickform input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,168,37,0.22); }
.hero-quickform .btn { flex-shrink: 0; padding: 13px 20px; }
@media (max-width: 500px) {
  .hero-quickform { flex-direction: column; }
  .hero-quickform .btn { width: 100%; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; font-family: inherit; transition: transform 140ms ease, box-shadow 140ms ease; }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(244,168,37,0.6); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-full { width: 100%; }

.trust-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; }
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-size: 22px; font-weight: 800; color: var(--navy); }
.trust-label { font-size: 12.5px; color: var(--slate-light); margin-top: 2px; }

.hero-route { position: relative; }
.route-card {
  background: var(--navy); border-radius: 22px; padding: 34px 28px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 30px 60px -24px rgba(13,30,56,0.45);
}
.route-stop { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.route-dot { width: 12px; height: 12px; border-radius: 50%; }
.route-dot-from { background: var(--gold); }
.route-dot-to { background: white; }
.route-city { font-family: "JetBrains Mono", monospace; font-size: 12px; color: white; letter-spacing: 0.02em; }
.route-line { flex: 1; position: relative; height: 24px; margin: 0 6px; display: flex; align-items: center; }
.route-path { width: 100%; height: 100%; }
.route-truck {
  position: absolute; left: 0; font-size: 20px;
  animation: bf-drive 2.6s ease-in-out infinite;
}
@keyframes bf-drive {
  0% { left: 0%; transform: translateX(0) scaleX(-1); }
  48% { left: calc(100% - 22px); transform: translateX(0) scaleX(-1); }
  50% { transform: translateX(0) scaleX(1); }
  98% { left: 0%; transform: translateX(0) scaleX(1); }
  100% { left: 0%; transform: translateX(0) scaleX(-1); }
}
.route-stamp {
  position: absolute; bottom: -18px; right: 12px;
  background: white; border: 2px solid var(--gold);
  color: var(--navy); font-weight: 800; font-size: 11px;
  letter-spacing: 0.03em; padding: 8px 14px; border-radius: 999px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.25);
}
@media (prefers-reduced-motion: reduce) {
  .route-truck { animation: none; left: 50%; }
}

/* ---------- USP grid ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.usp-card { padding: 4px 0; }
.usp-icon { font-size: 28px; }
.usp-title { font-weight: 700; font-size: 16px; margin: 12px 0 6px; color: var(--navy); }
.usp-desc { font-size: 14px; color: var(--slate); line-height: 1.5; margin: 0; }

/* ---------- Services list ---------- */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.service-row { display: flex; gap: 16px; align-items: flex-start; }
.service-icon { font-size: 22px; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: white; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.service-title { font-weight: 700; font-size: 15px; margin: 0 0 3px; color: var(--navy); }
.service-desc { font-size: 13.5px; color: var(--slate); margin: 0; line-height: 1.5; }

/* ---------- Process ---------- */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-line { position: absolute; top: 19px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-soft) 0 8px, transparent 8px 16px); }
.process-step { position: relative; text-align: left; }
.process-dot { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 15px; margin-bottom: 16px; position: relative; z-index: 1; }
.process-title { font-weight: 700; font-size: 15.5px; margin: 0 0 6px; color: var(--navy); }
.process-desc { font-size: 13.5px; color: var(--slate); margin: 0; line-height: 1.5; }

/* ---------- Types grid ---------- */
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blogteaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .blogteaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blogteaser-grid { grid-template-columns: 1fr; } }
.type-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.type-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(13,30,56,0.25); }
.type-title { font-weight: 700; font-size: 16px; color: var(--navy); margin: 0 0 8px; }
.type-desc { font-size: 13.5px; color: var(--slate); line-height: 1.5; margin: 0 0 16px; min-height: 78px; }
.type-cta { font-weight: 700; font-size: 13px; color: var(--gold-soft); }

/* ---------- Price cards (homepage "Vad kostar din flytt?") ---------- */
.pricecards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pricecard { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.pricecard:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(13,30,56,0.25); }
.pricecard-icon { font-size: 22px; display: block; margin-bottom: 10px; }
.pricecard-size { font-weight: 700; font-size: 15px; color: var(--navy); margin: 0 0 14px; }
.pricecard-from { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--slate); margin: 0 0 2px; text-transform: uppercase; }
.pricecard-price { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0; }
.pricecard-afterrut { font-size: 12px; color: var(--slate); margin: 0 0 10px; }
.pricecard-full { font-size: 13px; color: var(--slate); margin: 0 0 16px; }
.pricecard-full s { opacity: 0.7; }
.pricecards-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; font-size: 13.5px; color: var(--slate); }
.pricecards-check { color: var(--navy); font-weight: 600; }
.pricecards-check::before { content: "✓ "; color: var(--gold-soft); }
.pricecards-seeall { font-weight: 700; color: var(--gold-soft); }
.pricecards-note { font-size: 12.5px; color: var(--slate); margin: 8px 0 0; }
@media (max-width: 1000px) { .pricecards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pricecards-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Areas ---------- */
.areas-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { border: 1px solid rgba(255,255,255,0.25); color: white; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.area-chip-link { transition: background 150ms ease, border-color 150ms ease; }
.area-chip-link:hover { background: rgba(255,255,255,0.12); border-color: var(--gold); }

/* ---------- Reviews ---------- */
.reviews-marquee {
  overflow: hidden; position: relative; margin: 0 -24px; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
}
.reviews-track { display: flex; gap: 22px; width: max-content; padding: 0 24px; animation: reviews-scroll 42s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-slip {
  background: white; border: 1px dashed var(--line); border-radius: 14px;
  padding: 22px 20px; position: relative; flex: 0 0 340px;
}
.review-stars { color: var(--gold); letter-spacing: 2px; margin: 0 0 10px; font-size: 14px; }
.review-text { font-size: 14px; color: var(--ink); line-height: 1.55; margin: 0 0 14px; }
.review-name { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--slate-light); margin: 0; }
@media (prefers-reduced-motion: reduce) { .reviews-track { animation: none; } }

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: white;
}
.contact-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,168,37,0.22); }
.form-status { text-align: center; font-size: 14px; font-weight: 600; margin: 4px 0 0; min-height: 20px; }
.form-status.ok { color: #166534; }
.form-status.err { color: #B91C1C; }
.response-time { text-align: center; font-size: 12.5px; font-weight: 700; color: #166534; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-brand { color: white; font-weight: 800; margin: 0 0 4px; font-size: 14px; }
.footer-copy { font-size: 12.5px; margin: 0; }
.footer-contact, .footer-social { display: flex; gap: 18px; font-size: 13px; }
.footer-contact a:hover, .footer-social a:hover { color: white; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    animation: navSlideDown 220ms cubic-bezier(0.16,1,0.3,1) both;
  }
  .main-nav.open a {
    padding: 12px 0; border-bottom: 1px solid var(--line);
    opacity: 0; animation: navItemIn 260ms ease both;
  }
  .main-nav.open a:last-child { border-bottom: none; }
  .main-nav.open .nav-dropdown { padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; animation: navItemIn 260ms ease both; }
  .main-nav.open .nav-dropdown > a { padding: 0; border: none; }
  .main-nav.open .nav-dropdown-menu { display: block; position: static; box-shadow: none; border: none; padding: 10px 0 0 14px; margin: 0; min-width: 0; }
  .main-nav.open .nav-dropdown-menu a { padding: 8px 0; border: none; font-weight: 500; color: var(--slate); }
  .main-nav.open a:nth-child(1) { animation-delay: 40ms; }
  .main-nav.open a:nth-child(2) { animation-delay: 75ms; }
  .main-nav.open a:nth-child(3) { animation-delay: 110ms; }
  .main-nav.open a:nth-child(4) { animation-delay: 145ms; }
  .main-nav.open a:nth-child(5) { animation-delay: 180ms; }
  .main-nav.open a:nth-child(6) { animation-delay: 215ms; }
  .main-nav.open a:nth-child(7) { animation-delay: 250ms; }
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes navItemIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-route { order: -1; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process-line { display: none; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .review-slip { flex-basis: 300px; }
  .phone-pill span { display: none; }
  .header-inner { gap: 12px; }
  .brand-ab { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .usp-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .review-slip { flex-basis: 260px; }
  .reviews-marquee { margin: 0 -18px; }
  .process-track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .phone-pill { padding: 9px 12px; }
  .lang-btn { padding: 6px 8px; font-size: 11px; }
  .header-inner { gap: 8px; }
  .brand-name { font-size: 13px; }
  .header-actions { gap: 10px; }
  .header-cta { display: none; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 0; }
.breadcrumb .wrap { font-size: 12.5px; color: var(--slate-light); }
.breadcrumb a { color: var(--slate); font-weight: 600; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .crumb-sep { margin: 0 2px; color: var(--slate-light); }
.breadcrumb span:not(.crumb-sep) { color: var(--navy); font-weight: 600; }
/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--gold);
  z-index: 100; width: 0%; box-shadow: 0 0 8px rgba(249,177,1,0.6);
}

/* ---------- Logo entrance ---------- */
.brand-logo { animation: logoIn 700ms cubic-bezier(0.16,1,0.3,1) both; }
@keyframes logoIn { from { opacity: 0; transform: translateX(-10px) scale(0.92); } to { opacity: 1; transform: translateX(0) scale(1); } }

/* ---------- Traveling truck route divider (between sections) ---------- */
.route-divider { background: var(--navy); padding: 26px 0; overflow: hidden; position: relative; }
.route-divider-track {
  position: relative; height: 2px; margin: 0 24px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 10px, transparent 10px 22px);
}
.route-divider-truck {
  position: absolute; top: 50%; left: -6%; transform: translateY(-50%) scaleX(-1);
  font-size: 22px; animation: driveAcross 9s linear infinite;
}
@keyframes driveAcross {
  0% { left: -6%; }
  100% { left: 106%; }
}
@media (prefers-reduced-motion: reduce) {
  .route-divider-truck { animation: none; left: 50%; }
  .brand-logo { animation: none; opacity: 1; transform: none; }
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ---------- Price calculator widget ---------- */
.bfc-card {
  background: white; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px; box-shadow: 0 20px 50px -24px rgba(13,30,56,0.2);
}
.bfc-title { font-size: 19px; font-weight: 800; margin: 0 0 4px; color: var(--navy); }
.bfc-subtitle { font-size: 13px; color: var(--slate); margin: 0 0 20px; }
.bfc-label { font-size: 12px; font-weight: 700; color: var(--slate); margin: 18px 0 8px; display: block; }
.bfc-service-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bfc-chip {
  flex: 1; min-width: 130px; padding: 11px 12px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--cream);
  font-size: 13px; font-weight: 600; color: var(--slate);
  cursor: pointer; text-align: center; user-select: none; transition: all 150ms ease;
}
.bfc-chip.active { border-color: var(--gold); background: #FFF7E6; color: var(--navy); }
.bfc-volume-row { display: flex; align-items: center; gap: 14px; }
.bfc-volume-row input[type="range"] { flex: 1; accent-color: var(--gold); height: 6px; }
.bfc-volume-value { font-weight: 800; font-size: 18px; color: var(--navy); min-width: 66px; text-align: right; }
.bfc-hint { font-size: 11.5px; color: var(--slate-light); margin: 6px 0 0; }
.bfc-checkbox-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; user-select: none; }
.bfc-checkbox-row input { width: 18px; height: 18px; accent-color: var(--gold); }
.bfc-checkbox-row span { font-size: 13px; color: var(--ink); }
.bfc-price-box {
  margin-top: 18px; padding: 20px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; text-align: center;
}
.bfc-price-label { font-size: 12px; color: rgba(255,255,255,0.65); margin: 0 0 4px; }
.bfc-price-main { font-size: 32px; font-weight: 800; color: var(--gold); line-height: 1.1; margin: 0; }
.bfc-price-sub { font-size: 12px; color: rgba(255,255,255,0.65); margin: 4px 0 0; }
.bfc-inputs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.bfc-full-input { margin-top: 10px; width: 100%; }
.bfc-inputs-grid input, .bfc-full-input {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13.5px; font-family: inherit; color: var(--ink); width: 100%;
}
.bfc-inputs-grid input:focus, .bfc-full-input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,168,37,0.22);
}
.bfc-submit {
  width: 100%; margin-top: 16px; padding: 14px; border: none; border-radius: 12px;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: 15px;
  cursor: pointer; font-family: inherit; transition: transform 120ms ease, opacity 120ms ease;
}
.bfc-submit:active { transform: scale(0.98); }
.bfc-submit:disabled { opacity: 0.6; cursor: default; }
.bfc-note { font-size: 11.5px; color: var(--slate-light); text-align: center; margin: 10px 0 0; }

@media (max-width: 560px) {
  .bfc-inputs-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: white;
}
.faq-item summary {
  font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold); font-weight: 400; margin-left: 12px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 12px 0 0; }

/* ---------- Instagram strip ---------- */
.insta-strip { background: var(--cream); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.insta-inner p { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.btn-insta { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--navy); color: white; border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  display: none;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner.visible { display: block; animation: cookieSlideUp 380ms cubic-bezier(0.16,1,0.3,1) both; }
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner.visible { animation: none; }
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1160px; margin: 0 auto; }
.cookie-inner p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.85); max-width: 640px; line-height: 1.5; }
.cookie-inner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.cookie-actions .btn-ghost { color: white; border-color: rgba(255,255,255,0.35); }
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--navy);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.35);
}
.mobile-bar-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px; border-radius: 12px; font-weight: 700; font-size: 14px;
}
.mobile-bar-call { background: rgba(255,255,255,0.12); color: white; }
.mobile-bar-price { background: var(--gold); color: var(--navy); }
@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Exit-intent popup (desktop only) ---------- */
.exit-intent-overlay {
  display: none; position: fixed; inset: 0; background: rgba(13,30,56,0.6); z-index: 70;
  align-items: center; justify-content: center; padding: 20px;
}
.exit-intent-overlay.visible { display: flex; }
.exit-intent-card {
  background: white; border-radius: 20px; padding: 34px 28px 26px; max-width: 380px; width: 100%;
  position: relative; text-align: center; animation: exitIntentIn 280ms cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4);
}
@keyframes exitIntentIn { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.exit-intent-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 16px; color: var(--slate-light); cursor: pointer; width: 28px; height: 28px; }
.exit-intent-title { font-size: 21px; font-weight: 800; color: var(--navy); margin: 6px 0 8px; }
.exit-intent-lead { font-size: 14px; color: var(--slate); margin: 0 0 18px; line-height: 1.5; }
.exit-intent-card input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.exit-intent-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,168,37,0.22); }
@media (max-width: 900px) {
  .exit-intent-overlay { display: none !important; }
}

/* ---------- Chat widget ---------- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 65; }
.chat-bubble {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: white; color: white;
  font-size: 24px; border: none; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(13,30,56,0.5);
  display: flex; align-items: center; justify-content: center; transition: transform 160ms ease;
  padding: 6px; overflow: visible;
  animation: bo-float 3.2s ease-in-out infinite;
}
.chat-bubble img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 50%; overflow: hidden;
  position: relative; z-index: 1; transform-origin: 68% 80%;
  animation: bo-wave 5.5s ease-in-out infinite;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble:hover img { animation-play-state: paused; }
.chat-bubble::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0;
  animation: bo-pulse-ring 3.6s ease-out infinite;
}
@keyframes bo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
/* A short "hi!" wave burst near the end of each cycle — img sits still the rest of the time. */
@keyframes bo-wave {
  0%, 78% { transform: rotate(0deg); }
  82% { transform: rotate(-14deg); }
  86% { transform: rotate(11deg); }
  90% { transform: rotate(-9deg); }
  94% { transform: rotate(6deg); }
  98%, 100% { transform: rotate(0deg); }
}
@keyframes bo-pulse-ring {
  0% { transform: scale(0.85); opacity: 0.55; }
  65% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-bubble, .chat-bubble::before, .chat-bubble img { animation: none; }
}
.chat-teaser {
  position: absolute; bottom: 76px; right: 0; width: 210px;
  background: white; border-radius: 14px 14px 4px 14px; padding: 12px 26px 12px 14px;
  box-shadow: 0 16px 36px -12px rgba(13,30,56,0.4);
  font-size: 12.5px; color: var(--ink); line-height: 1.45; font-weight: 500;
  opacity: 0; transform: translateY(8px) scale(0.94); pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease; cursor: pointer;
}
.chat-teaser.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-teaser-close {
  position: absolute; top: 5px; right: 7px; background: none; border: none;
  font-size: 11px; color: var(--slate-light); cursor: pointer; padding: 3px;
}
.chat-panel {
  display: none; position: absolute; bottom: 76px; right: 0; width: 360px;
  background: var(--cream); border-radius: 22px; box-shadow: 0 28px 70px -18px rgba(1,20,48,0.45);
  overflow: hidden; animation: exitIntentIn 220ms cubic-bezier(0.16,1,0.3,1);
  flex-direction: column; border: 1px solid rgba(1,74,165,0.08);
}
.chat-panel.open { display: flex; }
.chat-panel-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: white; padding: 14px 16px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  position: relative;
}
.chat-panel-header-brand { display: flex; align-items: center; gap: 10px; }
.chat-panel-header-brand img { width: 34px; height: 34px; border-radius: 50%; background: white; object-fit: contain; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.chat-panel-header-brand .chat-panel-sub { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.7); margin-top: 1px; }
.chat-panel-header-brand .chat-panel-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34D399; display: inline-block; box-shadow: 0 0 0 2px rgba(52,211,153,0.25); }
.chat-panel-header button { background: rgba(255,255,255,0.12); border: none; color: white; cursor: pointer; font-size: 14px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 150ms ease; }
.chat-panel-header button:hover { background: rgba(255,255,255,0.22); }
.chat-thread {
  flex: 1; min-height: 240px; max-height: 380px; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.chat-msg { max-width: 84%; border-radius: 16px; padding: 10px 13px; font-size: 13.5px; line-height: 1.55; white-space: pre-line; animation: chatMsgIn 200ms ease both; }
@keyframes chatMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg-bo { background: white; color: var(--ink); align-self: flex-start; box-shadow: 0 3px 10px -4px rgba(1,74,165,0.15); border-bottom-left-radius: 4px; }
.chat-msg-user { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg-manager { background: #ECFDF5; color: #065F46; align-self: flex-start; border: 1px solid #A7F3D0; border-bottom-left-radius: 4px; }
.chat-msg-system { align-self: center; background: transparent; color: var(--slate-light); font-size: 11.5px; text-align: center; padding: 4px 10px; max-width: 100%; }
.chat-msg-feedback { display: flex; gap: 6px; margin-top: 6px; }
.chat-feedback-btn { background: none; border: none; padding: 2px 4px; font-size: 13px; opacity: 0.45; cursor: pointer; transition: opacity 120ms ease, transform 120ms ease; line-height: 1; }
.chat-feedback-btn:hover:not(:disabled) { opacity: 0.85; transform: scale(1.15); }
.chat-feedback-btn:disabled { cursor: default; }
.chat-feedback-btn.chat-feedback-chosen { opacity: 1; }
.chat-quick-replies { display: flex; flex-direction: column; gap: 7px; align-self: flex-start; max-width: 92%; animation: chatMsgIn 250ms ease 80ms both; }
.chat-quick-reply {
  background: white; border: 1.5px solid rgba(1,74,165,0.18); color: var(--navy);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 700;
  font-family: inherit; cursor: pointer; text-align: left; transition: background 150ms ease, transform 120ms ease;
}
.chat-quick-reply:hover { background: #EFF4FC; transform: translateX(2px); }
.chat-msg-typing { padding: 12px 16px; }
.chat-typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: bo-typing-dot 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bo-typing-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.chat-lead-form {
  background: white; border-radius: 16px; padding: 13px; align-self: flex-start;
  max-width: 92%; width: 100%; box-shadow: 0 3px 10px -4px rgba(1,74,165,0.15);
  display: flex; flex-direction: column; gap: 8px; border-bottom-left-radius: 4px;
}
.chat-lead-form input {
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 13.5px; font-family: inherit; color: var(--ink);
}
.chat-lead-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,168,37,0.2); }
.chat-lead-form button {
  background: var(--gold); color: var(--navy); border: none; border-radius: 10px;
  padding: 10px; font-size: 13.5px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.chat-lead-form button:disabled { opacity: 0.6; cursor: default; }
.chat-lead-form .form-status { font-size: 11.5px; margin: 0; }
.chat-cta-link { display: block; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--navy); padding: 10px 16px; border-top: 1px solid var(--line); background: white; }
.chat-photo-preview {
  display: flex; gap: 8px; padding: 0 14px; overflow-x: auto;
}
.chat-photo-preview:empty { display: none; }
.chat-photo-preview:not(:empty) { padding-top: 10px; }
.chat-photo-thumb { position: relative; flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.chat-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.chat-photo-thumb button {
  position: absolute; top: 1px; right: 1px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(13,30,56,0.75); color: white; border: none; font-size: 9px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.chat-msg-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.chat-msg-photos img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.chat-input-row { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--line); background: white; }
.chat-input-row input {
  flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-family: inherit; color: var(--ink); background: var(--cream);
  min-width: 0;
}
.chat-input-row input:focus { outline: none; border-color: var(--gold); background: white; box-shadow: 0 0 0 3px rgba(244,168,37,0.2); }
.chat-input-row button {
  background: var(--gold); color: var(--navy); border: none; border-radius: 50%;
  width: 42px; height: 42px; font-size: 16px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: transform 120ms ease;
}
.chat-photo-btn { background: var(--cream); color: var(--navy); font-size: 18px; }
.chat-input-row button:hover:not(:disabled) { transform: scale(1.06); }
.chat-input-row button:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 640px) {
  .chat-widget { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: 12px; }
  .chat-panel {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: auto; height: 100vh; height: 100dvh;
    border-radius: 0; border: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .chat-panel-header { padding-top: calc(14px + env(safe-area-inset-top, 0px)); border-radius: 0; }
  .chat-thread { max-height: none; }
  .chat-teaser { bottom: 76px; }
}
/* While BO is open full-screen on mobile, the page behind it is locked (via JS adding this
   class to <body>) so the keyboard opening/closing or the address bar hiding can't make the
   background page jump or resize underneath the fixed chat panel. */
body.bf-chat-locked { position: fixed; left: 0; right: 0; overflow: hidden; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, #FCFAF5 0%, #fff 100%); text-align: left; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 42px); }
.page-hero p { color: var(--slate); font-size: 16px; max-width: 560px; margin: 14px 0 0; line-height: 1.55; }

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px -20px rgba(13,30,56,0.2); margin-bottom: 16px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: white; font-weight: 700; font-size: 13px; }
.price-table td.price-cell { font-weight: 700; color: var(--navy); }
.price-table td.price-rut { color: var(--gold-soft); font-weight: 700; }
.price-table tr:last-child td { border-bottom: none; }
.price-note { font-size: 12.5px; color: var(--slate-light); margin: 0 0 40px; }
.includes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 20px 0 48px; }
.includes-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.includes-item .check { color: #16A34A; font-weight: 800; }

/* ---------- Photo placeholders (Om oss) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-placeholder {
  aspect-ratio: 3 / 4; border-radius: 14px; border: 2px dashed var(--line);
  background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--slate-light); font-size: 13px; gap: 6px; text-align: center; padding: 12px;
}
.photo-placeholder span.icon { font-size: 26px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; aspect-ratio: 3/4; }

/* ---------- Story block (Om oss) ---------- */
.story-block { max-width: 720px; }
.story-block p { color: var(--slate); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.contact-info-label { font-size: 12px; color: var(--slate-light); margin: 0 0 2px; }
.contact-info-value { font-size: 14.5px; font-weight: 600; color: var(--navy); margin: 0; }
.map-embed { width: 100%; height: 260px; border: 0; border-radius: var(--radius); filter: grayscale(0.15); }
.map-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none;
}
.map-card-icon { font-size: 26px; }
.map-card-address { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.map-card-link { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: underline; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-list { grid-template-columns: 1fr; }
}

/* ---------- Package cards (Packning / Flytt / Städning) ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 160ms ease, box-shadow 160ms ease;
}
.package-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(13,30,56,0.25); }
.package-photo {
  aspect-ratio: 3/4; background: var(--cream); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--slate-light); gap: 6px; font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.package-photo img { width: 100%; height: 100%; object-fit: cover; }
.package-photo span.icon { font-size: 28px; }
.package-body { padding: 20px; }
.package-title { font-weight: 700; font-size: 16.5px; color: var(--navy); margin: 0 0 8px; }
.package-desc { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 0; }
.package-checklist { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; }
.package-checklist li { font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.package-checklist li::before { content: "✓"; color: #16A34A; font-weight: 800; }
.package-cta { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-soft); }

@media (max-width: 900px) {
  .package-grid { grid-template-columns: 1fr; }
}

/* ---------- Booking calendar widget ---------- */
.booking-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.booking-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.booking-cal-title { font-weight: 700; font-size: 15px; color: var(--navy); text-transform: capitalize; }
.booking-cal-nav { display: flex; gap: 6px; }
.booking-cal-nav button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.booking-cal-nav button:hover { background: var(--cream); }
.booking-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.booking-weekdays span { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--slate-light); padding: 4px 0; }
.booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.booking-day {
  aspect-ratio: 1; border-radius: 9px; border: none; background: transparent;
  font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; font-family: inherit;
}
.booking-day:hover:not(:disabled) { background: var(--cream); }
.booking-day.selected { background: var(--gold); color: var(--navy); }
.booking-day:disabled { color: var(--line); cursor: default; }
.booking-day.empty { visibility: hidden; }
.booking-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.booking-slot {
  padding: 11px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: white;
  font-size: 12.5px; font-weight: 600; color: var(--slate); cursor: pointer; text-align: center; font-family: inherit;
}
.booking-slot.selected { border-color: var(--gold); background: #FFF7E6; color: var(--navy); }
.booking-summary { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: 13px; color: var(--navy); font-weight: 600; }

/* ---------- Scroll-reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms cubic-bezier(0.16,1,0.3,1), transform 650ms cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Button hover lift ---------- */
.btn { transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold:hover { box-shadow: 0 14px 28px -10px rgba(244,168,37,0.55); }
.btn:active { transform: scale(0.97) translateY(0); }
.phone-pill { transition: transform 160ms ease; }
.phone-pill:hover { transform: translateY(-2px); }

/* ---------- Photo hover zoom ---------- */
.package-photo, .photo-grid .photo-placeholder { overflow: hidden; }
.package-photo picture, .photo-grid picture { display: block; width: 100%; height: 100%; }
.package-photo img, .photo-grid img { transition: transform 500ms cubic-bezier(0.16,1,0.3,1); }
.package-card:hover .package-photo img, .photo-grid .photo-placeholder:hover img { transform: scale(1.06); }

/* ---------- FAQ answer fade-in ---------- */
.faq-item[open] p { animation: faqFadeIn 320ms ease both; }
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-item summary::after { transition: transform 200ms ease; display: inline-block; }
.faq-item[open] summary::after { transform: rotate(180deg); }

/* ---------- Calculator price pulse on update ---------- */
.bfc-price-box { transition: transform 200ms ease; }
.bfc-price-box.pulse { animation: pricePulse 380ms ease; }
@keyframes pricePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

/* ---------- Hero route: fade+rise on load ---------- */
.hero-copy > * { animation: heroRise 700ms cubic-bezier(0.16,1,0.3,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 40ms; }
.hero-copy > *:nth-child(2) { animation-delay: 120ms; }
.hero-copy > *:nth-child(3) { animation-delay: 200ms; }
.hero-copy > *:nth-child(4) { animation-delay: 280ms; }
.hero-copy > *:nth-child(5) { animation-delay: 360ms; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-route { animation: heroRise 800ms cubic-bezier(0.16,1,0.3,1) 200ms both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-route { animation: none; opacity: 1; transform: none; }
}

/* ---------- Cleaning card without photo: branded panel instead of a placeholder ---------- */
.package-photo[data-photo-slot] { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.package-photo[data-photo-slot] span.icon { font-size: 64px; }

/* ---------- Area chips on light backgrounds ---------- */
.areas-grid-light .area-chip { color: var(--navy); border-color: var(--line); background: white; }
.areas-grid-light .area-chip-link:hover { background: var(--cream); border-color: var(--gold); }

/* ---------- Footer extra (company info + links) ---------- */
.footer-extra { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 24px; padding-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.footer-extra p { margin: 0; line-height: 1.8; }
.footer-extra a { color: rgba(255,255,255,0.78); }
.footer-extra a:hover { color: white; text-decoration: underline; }

/* ---------- District intro: photo beside text, stacked on phones ---------- */
.area-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 700px) { .area-intro { grid-template-columns: 1fr; } }

/* ---------- Header: keep nav on one line and avoid overlap on tablets/small laptops ---------- */
.main-nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 16px; }
  .phone-pill span { display: none; }
  .phone-pill { padding: 9px 12px; }
  .brand-name { font-size: 14px; }
}

/* The brand name must never wrap — a squeezed flex item wraps text before it overflows,
   which is what caused the logo text to collide with the nav on narrower desktops. */
.brand-name, .brand-ab { white-space: nowrap; }

/* Ukrainian nav labels and the CTA ("Отримати безкоштовну оцінку") are noticeably longer
   than the Swedish/English ones, so the header needs more breathing room in that language. */
@media (min-width: 901px) and (max-width: 1300px) {
  html[lang="uk"] .main-nav { gap: 14px; }
  html[lang="uk"] .header-inner { gap: 12px; }
}
@media (min-width: 901px) and (max-width: 1650px) {
  html[lang="uk"] .header-cta { display: none; }
}

/* ---------- 3D truck showcase (homepage) ---------- */
.truck3d-frame { display: block; width: 100%; height: 460px; border: 0; border-radius: 20px; background: transparent; }
@media (max-width: 640px) {
  .truck3d-frame { height: 320px; }
}

/* ---------- Packing demo videos: centered play button ---------- */
.pack-video-wrap { position: relative; display: inline-block; max-width: 380px; width: 100%; }
.pack-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(1,74,165,0.82); display: flex; align-items: center; justify-content: center;
  padding-left: 4px; box-shadow: 0 10px 28px -8px rgba(1,74,165,0.6);
  transition: transform 160ms ease, background 160ms ease;
}
.pack-video-play:hover { background: rgba(1,74,165,0.95); transform: translate(-50%, -50%) scale(1.07); }
.pack-video-play.is-hidden { display: none; }

/* ---------- Autumn leaves (seasonal, Sept–Nov only, see script.js) ---------- */
.autumn-leaves { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 45; }
.autumn-leaf {
  position: absolute; top: -10vh; left: 0; font-size: var(--size, 20px);
  opacity: 0.85; line-height: 1; will-change: transform;
  animation: leafFall var(--duration, 11s) linear var(--delay, 0s) infinite,
             leafSway var(--sway-duration, 3s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes leafFall { to { transform: translateY(120vh) rotate(340deg); } }
@keyframes leafSway { from { margin-left: -18px; } to { margin-left: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .autumn-leaves { display: none; }
}
/* On narrow phones there's too little empty space — the falling leaves constantly
   drift across text/numbers and make the page feel cluttered. Desktop/tablet keep them. */
@media (max-width: 640px) {
  .autumn-leaves { display: none; }
}

/* ---------- "Meet the team" coming-soon placeholders (Om oss) ---------- */
.team-coming-soon { grid-template-columns: repeat(3, 1fr); }
.team-coming-soon .photo-placeholder { background: var(--cream); position: relative; }
.team-coming-soon .icon { font-size: 34px; opacity: 0.5; }
.coming-soon-badge {
  margin-top: 10px; background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
@media (max-width: 700px) {
  .team-coming-soon { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .team-coming-soon .icon { font-size: 24px; }
  .coming-soon-badge { font-size: 9.5px; padding: 4px 8px; }
}

/* ---------- Calculator: smaller chips for the home-type row (4-5 options) ---------- */
.bfc-chip-sm { min-width: 84px; font-size: 12px; padding: 9px 8px; flex: 1 1 auto; }
@media (max-width: 380px) {
  .bfc-chip-sm { min-width: 70px; font-size: 11px; padding: 8px 6px; }
}

/* ---------- Thank-you modal (shown after any successful lead submission) ---------- */
.thankyou-overlay {
  display: none; position: fixed; inset: 0; background: rgba(13,30,56,0.6); z-index: 80;
  align-items: center; justify-content: center; padding: 20px;
}
.thankyou-overlay.visible { display: flex; }
.thankyou-card {
  background: white; border-radius: 20px; padding: 38px 28px 30px; max-width: 380px; width: 100%;
  position: relative; text-align: center; animation: exitIntentIn 280ms cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4);
}
.thankyou-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 16px; color: var(--slate-light); cursor: pointer; width: 28px; height: 28px; }
.thankyou-icon { font-size: 46px; margin: 0 0 12px; }
.thankyou-title { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.thankyou-lead { font-size: 14.5px; color: var(--slate); margin: 0 0 22px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .thankyou-card { animation: none; }
  .main-nav.open, .main-nav.open a { animation: none; opacity: 1; }
}

/* ---------- Sticky header: slightly shrinks once the page is scrolled ---------- */
.site-header { transition: height 220ms ease; }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .brand-logo { width: 32px; height: 32px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .header-inner, .brand-logo { transition: none; }
}
