/*
Theme Name: BuzzMeUp V2
Theme URI: https://buzzmeup.se
Author: Buzz Me Up Services AB
Description: Professional custom WordPress theme for BuzzMeUp nanny and cleaning services. Features job listings, worker profiles, Stripe payments, and multilanguage support (SV/EN/FIL/DE/ES).
Version: 1.4.8
Text Domain: buzzmeup
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   DESIGN TOKENS — sharp professional agency
   ============================================================ */
:root {
  --ink:            #0B1220;
  --ink-muted:      #1E293B;
  --primary:        #1546C0;
  --primary-dark:   #0F3494;
  --primary-light:  #2A5BD6;
  --accent:         #D4A017;
  --accent-dark:    #B8880F;
  --dark:           var(--ink);
  --dark-muted:     var(--ink-muted);
  --gray:           #5B6575;
  --gray-light:     #D8DEE8;
  --bg-light:       #F3F5F8;
  --bg-blue:        #E8EEF6;
  --surface:        #F3F5F8;
  --surface-2:      #E8EEF6;
  --line:           rgba(11, 18, 32, 0.12);
  --white:          #ffffff;
  --green:          #0F9F6E;
  --red:            #DC2626;

  --shadow-sm:      0 1px 0 var(--line);
  --shadow-md:      0 1px 0 var(--line);
  --shadow-lg:      0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-colored: 0 4px 16px rgba(21, 70, 192, 0.18);

  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  6px;
  --radius-xl:  8px;
  --radius-full: 4px; /* sharp — no pills */

  --transition: .28s cubic-bezier(.22,1,.36,1);
  --transition-fast: .15s ease;
  --font-display: 'Syne', 'IBM Plex Sans', sans-serif;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  min-height: 100%;
  background-color: var(--surface);
  background-image: linear-gradient(165deg, #F3F5F8 0%, #E8EEF6 45%, #F3F5F8 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
}
body { font-family: var(--font); color: var(--ink); background: transparent; line-height: 1.65; overflow-x: hidden; padding-top: var(--header-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10000;
  background: var(--ink); color: var(--white); padding: 10px 14px;
  border: 1px solid var(--line); font-size: .875rem; font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 12px; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, .logo-name, .section-title { font-family: var(--font-display); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.7; }

.text-gradient {
  background: linear-gradient(135deg, var(--dark), var(--gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header   { text-align: center; margin-bottom: 56px; }
.section-tag      { display: inline-block; color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: transparent; padding: 0 0 8px; border-radius: 0; margin-bottom: 10px; border-bottom: 2px solid var(--accent); }
.section-title    { color: var(--dark); margin-bottom: 12px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-md);
  font-weight: 600; font-size: .92rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: var(--white); font-weight: 700; border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: var(--shadow-colored); }
.btn-secondary { background: var(--accent); color: var(--ink); font-weight: 700; border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline  { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }
.btn-outline-primary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-primary:hover { background: var(--ink); color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), background var(--transition);
  overflow: visible;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.98); }
.flags-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.flags-bg::before, .flags-bg::after { content: ''; position: absolute; top: -10px; bottom: -10px; width: 50%; z-index: -1; pointer-events: none; background-size: 200% 100%, cover; background-repeat: repeat-x, no-repeat; animation: flutter3d 6s infinite ease-in-out alternate; opacity: 0.15; }
.flags-bg::before { left: 0; transform-origin: left center; background-image: linear-gradient(110deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.4) 25%, rgba(0,0,0,0.4) 50%, rgba(255,255,255,0.4) 75%, rgba(0,0,0,0.4) 100%), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' preserveAspectRatio='none'%3E%3Crect width='16' height='10' fill='%23006aa7'/%3E%3Cpath d='M5 0v10M0 4h16' stroke='%23fecc00' stroke-width='2'/%3E%3C/svg%3E"); box-shadow: inset -10px 0 20px rgba(255,255,255,0.5); }
.flags-bg::after { right: 0; transform-origin: right center; animation-direction: alternate-reverse; background-image: linear-gradient(110deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.4) 25%, rgba(0,0,0,0.4) 50%, rgba(255,255,255,0.4) 75%, rgba(0,0,0,0.4) 100%), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Crect width='1200' height='300' fill='%230038A8'/%3E%3Crect width='1200' height='300' y='300' fill='%23CE1126'/%3E%3Cpolygon points='0,0 600,300 0,600' fill='%23FFFFFF'/%3E%3Ccircle cx='180' cy='300' r='40' fill='%23FCD116'/%3E%3Ccircle cx='80' cy='127' r='15' fill='%23FCD116'/%3E%3Ccircle cx='80' cy='473' r='15' fill='%23FCD116'/%3E%3Ccircle cx='360' cy='300' r='15' fill='%23FCD116'/%3E%3C/svg%3E"); }
@keyframes flutter3d { 0% { transform: perspective(800px) rotateX(3deg) rotateY(-2deg) scale(1.05); background-position: 0% center, center; } 100% { transform: perspective(800px) rotateX(-3deg) rotateY(2deg) scale(1.03); background-position: 100% center, center; } }
.header-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  height: 100%;
  gap: 12px;
  overflow: visible;
}

.site-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; flex: 0 0 auto; position: relative; z-index: 2; }
.site-logo img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: contain; }
.logo-name    { font-size: 1rem; font-weight: 800; color: var(--dark); line-height: 1; }
.logo-tagline { font-size: .65rem; color: var(--gray); font-weight: 500; letter-spacing: .05em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  justify-content: flex-start;
  overflow: visible;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 8px 10px;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--dark-muted);
  font-size: .84rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--dark); background: var(--bg-light); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 10px 14px; color: var(--dark); font-size: .88rem; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--transition-fast); }
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.08); border-radius: var(--radius-full); padding: 4px; }
.lang-btn { padding: 5px 10px; border-radius: var(--radius-full); border: none; background: transparent; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600; cursor: pointer; transition: all var(--transition-fast); letter-spacing: .05em; }
.lang-btn.active  { background: var(--accent); color: var(--dark); }
.lang-btn:hover:not(.active) { color: var(--white); background: rgba(255,255,255,.12); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; position: relative; z-index: 2; }

/* German labels are longer; compact desktop nav a bit more for DE */
html[lang^="de"] .main-nav { gap: 1px; }
html[lang^="de"] .nav-link {
  padding: 8px 8px;
  font-size: .8rem;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: var(--header-h); bottom: 0; left: 0; right: 0; background: var(--white); z-index: 999; padding: 24px; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-nav-link { padding: 14px 16px; color: var(--dark); font-size: 1rem; font-weight: 500; border-radius: var(--radius-md); cursor: pointer; border-bottom: 1px solid var(--gray-light); transition: all var(--transition-fast); }
.mobile-nav-link:hover { background: var(--bg-light); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: transparent;
}
.hero::after { display: none; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  padding: 48px 0 64px;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.hero-content--center { margin: 0; text-align: left; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 18px;
}
.hero-brand span { display: block; font-size: .42em; font-weight: 600; letter-spacing: .16em; color: var(--gray); margin-top: 8px; }
.hero-badge { display: none; }
.hero h1 { color: var(--ink); margin-bottom: 16px; font-size: clamp(1.7rem, 3.6vw, 2.55rem); font-weight: 700; }
.hero h1 .text-gradient { color: var(--ink); background: none; -webkit-text-fill-color: unset; }
.hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 28px;
}
.hero-sub { font-size: 1.05rem; color: var(--gray); margin-bottom: 0; line-height: 1.7; max-width: 42ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.hero-visual {
  position: relative;
  min-height: min(62vh, 560px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.08) 0%, rgba(11,18,32,.28) 100%),
    url('assets/images/nanny-hero.png') center / cover no-repeat;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 48px; }
  .hero-visual { min-height: 280px; order: -1; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--bg-light); padding: 32px 0 70px; color: var(--dark); position: relative; overflow: hidden; border-bottom: 1px solid var(--gray-light); }
.page-hero h1 { color: var(--dark); margin-bottom: 12px; }
.page-hero p  { color: var(--gray); font-size: 1.1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--white); border-radius: var(--radius-md); box-shadow: none; padding: 28px; transition: border-color var(--transition); border: 1px solid var(--line); }
.card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.card-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.card-icon.blue   { background: var(--surface-2); border: 1px solid var(--line); color: var(--primary); }
.card-icon.yellow { background: rgba(212,160,23,.12); border: 1px solid var(--line); color: var(--accent-dark); }
.card-icon.green  { background: rgba(15,159,110,.1); border: 1px solid var(--line); color: var(--green); }
.card-icon.purple { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.card h3 { margin-bottom: 8px; color: var(--ink); font-family: var(--font-display); }
.service-card { text-align: left; cursor: pointer; display: block; }
.service-card .card-icon { margin: 0 0 16px; width: 48px; height: 48px; font-size: 1.2rem; }
.service-row {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row:hover .service-row__title { color: var(--primary); }
.service-row__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.service-row__desc { color: var(--gray); font-size: .95rem; }
.service-row__cta { color: var(--primary); font-weight: 600; font-size: .88rem; white-space: nowrap; align-self: center; }

/* Trust banner */
.trust-banner { background: var(--white); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); padding: 64px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.trust-num   { font-size: 2.5rem; font-weight: 800; color: var(--dark); }
.trust-label { font-size: .9rem; color: var(--gray); margin-top: 4px; }

/* CTA banner */
.cta-banner { background: var(--white); border-top: 1px solid var(--gray-light); padding: 80px 0; text-align: center; color: var(--dark); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,0,0,.04), transparent 70%); }
.cta-banner h2 { color: var(--dark); margin-bottom: 12px; position: relative; }
.cta-banner p  { margin-bottom: 32px; font-size: 1.1rem; color: var(--gray); position: relative; }
.cta-banner .btn { position: relative; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px; max-width: 540px; margin: 0 auto; }
.form-title { text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-light); border-radius: var(--radius-md); font-size: .95rem; color: var(--dark); background: var(--bg-light); transition: all var(--transition-fast); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(30,58,138,.08); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius-md); font-size: 1rem; font-weight: 700; cursor: pointer; transition: all var(--transition); margin-top: 8px; }
.form-submit:hover { background: var(--primary-dark); transform: none; box-shadow: var(--shadow-colored); }
.form-submit.accent { background: var(--accent); color: var(--dark); }
.form-submit.accent:hover { background: var(--accent-dark); }
.form-link { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--gray); }
.form-link a { color: var(--primary); font-weight: 600; cursor: pointer; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.role-option { padding: 16px; border: 2px solid var(--gray-light); border-radius: var(--radius-md); text-align: center; cursor: pointer; transition: all var(--transition-fast); }
.role-option:hover { border-color: var(--primary-light); }
.role-option.selected { border-color: var(--dark); background: var(--white); box-shadow: 0 0 0 2px var(--dark); }
.role-icon  { font-size: 2rem; margin-bottom: 8px; }
.role-title { font-weight: 700; color: var(--dark); font-size: .9rem; }
.role-desc  { font-size: .78rem; color: var(--gray); margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card { border-radius: var(--radius-lg); padding: 40px 32px; border: 2px solid var(--gray-light); background: var(--white); transition: all var(--transition); position: relative; }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.04); box-shadow: var(--shadow-lg); }
.pricing-featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-sm); white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; }
.pricing-name   { font-size: .88rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.pricing-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.pricing-cur    { font-size: 1.2rem; font-weight: 700; color: var(--gray); }
.pricing-price  { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pricing-period { font-size: .85rem; color: var(--gray); }
.pricing-features { margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--bg-light); }
.pricing-features li i { color: var(--green); }
.pricing-btn { width: 100%; padding: 13px; border: 1px solid var(--primary); border-radius: var(--radius-md); font-weight: 700; font-size: .95rem; cursor: pointer; transition: all var(--transition); background: transparent; color: var(--primary); }
.pricing-btn:hover, .pricing-card.featured .pricing-btn { background: var(--primary); color: var(--white); }

/* ============================================================
   WORKER / JOB CARDS
   ============================================================ */
.worker-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: all var(--transition); }
.worker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.worker-card-head { background: var(--bg-light); border-bottom: 1px solid var(--gray-light); padding: 32px; text-align: center; }
.worker-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--white); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; border: 1px solid var(--gray-light); }
.worker-name { color: var(--dark); font-weight: 700; font-size: 1.1rem; }
.worker-role { color: var(--gray); font-size: .82rem; }
.worker-body { padding: 24px; }
.worker-tag  { display: inline-block; background: var(--bg-light); color: var(--dark); border: 1px solid var(--gray-light); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); margin: 2px; }
.worker-tags { margin-bottom: 16px; }
.worker-rating { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gray); }
.worker-rating i { color: var(--dark); }

.job-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; border-left: 4px solid var(--primary); transition: all var(--transition); margin-bottom: 16px; }
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.job-badge { background: var(--bg-blue); color: var(--primary); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); }
.job-meta { display: flex; gap: 20px; margin-top: 16px; font-size: .82rem; color: var(--gray); }
.job-meta span { display: flex; align-items: center; gap: 5px; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.dash-sidebar { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px; height: fit-content; }
.dash-user { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--gray-light); margin-bottom: 16px; }
.dash-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-blue); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--gray); cursor: pointer; transition: all var(--transition-fast); }
.dash-nav-item:hover, .dash-nav-item.active { background: var(--bg-blue); color: var(--primary); }
.dash-content { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.dash-stat { background: var(--bg-light); border-radius: var(--radius-md); padding: 20px; border-left: 4px solid var(--primary); }
.dash-stat-num   { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.dash-stat-label { font-size: .82rem; color: var(--gray); }
.dash-stats--worker-2 { grid-template-columns: repeat(2, 1fr); }
.dash-portal-hint { font-size: 0.88rem; color: var(--gray); line-height: 1.55; margin: 0 0 24px; max-width: 52ch; }

.portal-section { padding-bottom: 56px; }
.portal-dash-layout { align-items: start; }
.portal-page-head .section-tag { margin-bottom: 10px; }
.clients-layout,
.workers-profile-layout { align-items: start; }
.bmu-portal-nav { display: flex; flex-direction: column; gap: 4px; }
.bmu-portal-nav__group { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 10px; margin-bottom: 4px; border-radius: var(--radius-sm); }
.bmu-portal-nav__group--active { background: var(--bg-blue); }
.bmu-portal-nav__group .dash-nav-item { margin: 0 6px; }
.bmu-portal-nav__footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-light); display: flex; flex-direction: column; gap: 4px; }
.bmu-portal-nav__muted { color: var(--gray) !important; font-size: 0.88rem; text-decoration: none; }
.bmu-portal-nav__logout { color: var(--red) !important; font-size: 0.9rem; text-decoration: none; }
.bmu-portal-sidebar .dash-nav-item.active { font-weight: 600; }

@media (max-width: 900px) {
  .clients-layout,
  .workers-profile-layout { grid-template-columns: 1fr !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000000; color: #a1a1aa; border-top: 1px solid #18181b; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; }
.footer-brand p { font-size: .9rem; margin-top: 16px; color: #a1a1aa; }
.footer-col h4 { color: #ffffff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.footer-link { display: block; color: #a1a1aa; font-size: .9rem; margin-bottom: 10px; cursor: pointer; transition: color var(--transition-fast); }
.footer-link:hover { color: #ffffff; }
.footer-contact { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .9rem; color: #a1a1aa; }
.footer-contact i { color: #ffffff; width: 16px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.about-contact-links a { color: inherit; text-decoration: none; }
.about-contact-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #27272a; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: #71717a; }
.footer-logos { display: flex; align-items: center; gap: 12px; }
.footer-logos img { width: 40px; height: 40px; object-fit: contain; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); padding: 4px; }

/* RUT callout */
.rut-callout { background: var(--bg-light); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--gray-light); }

/* Alert */
.alert { padding: 16px 20px; border-radius: var(--radius-md); margin-bottom: 20px; font-size: .9rem; }
.alert-info    { background: var(--bg-blue); border-left: 4px solid var(--primary-light); color: var(--primary-dark); }
.alert-success { background: #ECFDF5; border-left: 4px solid var(--green); color: #065F46; }

/* Stripe button */
.stripe-btn { background: #635BFF; color: var(--white); border: none; border-radius: var(--radius-md); padding: 14px 28px; font-size: 1rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all var(--transition); }
.stripe-btn:hover { background: #5651E5; transform: none; box-shadow: 0 4px 16px rgba(99,91,255,.35); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1181px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .header-actions { gap: 8px; overflow: visible; }
  .lang-switcher { display: none; }
  .grid-2, .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .dash-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-card { padding: 28px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .role-selector { grid-template-columns: 1fr; }
}

.lang-picker { position: relative; display: inline-block; overflow: visible; z-index: 10050; }
.lang-picker-btn {display:flex;align-items:center;gap:6px;background:var(--white);border:1px solid var(--gray-light);color:var(--dark);padding:6px 12px;border-radius:20px;cursor:pointer;font-weight:600;font-size:.85rem;height:34px;transition:background .2s;font-family:var(--font);}
.scrolled .lang-picker-btn {border-color:var(--gray-light);}
.lang-picker-btn:hover {background:var(--bg-light);}
.scrolled .lang-picker-btn:hover {background:var(--bg-light);}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
  min-width: 188px;
  max-height: min(55vh, 260px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: none;
  flex-direction: column;
  padding: 8px;
  gap: 2px;
  z-index: 10060;
  border: 1px solid var(--gray-light);
}
.lang-dropdown.show { display: flex; }
.lang-dropdown-item {display:flex;align-items:center;gap:10px;padding:10px 12px;border:none;background:transparent;cursor:pointer;font-family:var(--font);font-size:.9rem;font-weight:500;color:var(--dark);text-align:left;border-radius:6px;flex:0 0 auto;}
.lang-dropdown-item:hover, .lang-dropdown-item.active {background:var(--bg-light);color:var(--primary);}

/* Mobilmeny: språkknappar ska synas på vit bakgrund och gå att nå via scroll */
.mobile-menu .lang-btn {
  background: var(--bg-light) !important;
  color: var(--dark) !important;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}
.mobile-menu .mobile-lang-row {
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 1px solid var(--gray-light);
}

/* AI Section Extra */
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 991px) {
  .ai-layout { grid-template-columns: 1fr; gap: 40px; }
}

.hero-mini { padding-top: 60px; padding-bottom: 60px; background: var(--bg-light); text-align: center; }
.hero-mini.blue { background: var(--bg-blue); }
.hero-mini.yellow { background: #fefce8; }
.hero-mini.green { background: #f0fdf4; }
.hero-mini.purple { background: #faf5ff; }

.preview-bar { display: none !important; }
[data-lang] [data-i18n] { transition: opacity 0.25s ease; }
.lang-changing [data-i18n] { opacity: 0; }

/* Nanny landing (page-nanny.php) — translucent hero so global brand art shows through */
.nanny-landing-hero {
  border-bottom: none;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.72) 0%, rgba(76, 29, 149, 0.66) 52%, rgba(91, 33, 182, 0.7) 100%) !important;
}

/* Blue marketing heroes (hemstädning, boka städning, etc.) */
.page-hero--brand-blue {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(37, 99, 235, 0.72) 100%) !important;
}
.rut-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  text-align: center;
}
.rut-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.rut-hero__mark {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 14vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 0.92;
  color: #fff;
  margin: 0 0 14px;
  display: inline-block;
  padding: 0 0 10px;
  border-bottom: 4px solid var(--accent);
}
.rut-hero__pct {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.rut-hero__title {
  color: #fff !important;
  font-size: clamp(1.65rem, 4vw, 2.55rem) !important;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 14px !important;
}
.rut-hero__sub {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(1rem, 2.2vw, 1.15rem) !important;
  line-height: 1.65;
  max-width: 38rem;
  margin: 0 auto !important;
}
.book-cleaning-hero {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(37, 99, 235, 0.72) 100%) !important;
}
.section--brand-blue-tint {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.68) 0%, rgba(37, 99, 235, 0.7) 100%) !important;
}
.nanny-landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.nanny-landing-hero-figure {
  margin: 0;
  position: relative;
}
.nanny-landing-hero-figure img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 640px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: block;
}
.nanny-landing-hero-figure figcaption {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 42ch;
}
@media (max-width: 960px) {
  .nanny-landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nanny-landing-hero-figure {
    order: -1;
  }
  .nanny-landing-hero-figure figcaption {
    max-width: none;
  }
}

/* Kill floating bee if cached HTML still injects it */
.bmu-logo-floater { display: none !important; }

/* ============================================================
   AI SECTION + LEGAL + COOKIE (v1.4)
   ============================================================ */
.ai-section {
  background: linear-gradient(145deg, var(--ink) 0%, #152038 55%, var(--ink-muted) 100%);
  position: relative;
  overflow: hidden;
}
.ai-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.ai-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
}
.ai-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.ai-feature i { color: var(--accent); margin-top: 3px; width: 18px; }
.legal-page { max-width: 720px; }
.legal-page h2 { margin: 32px 0 12px; font-size: 1.25rem; }
.legal-page p, .legal-page li { color: var(--gray); line-height: 1.75; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 16px; }
.cookie-banner {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  transform: translateX(-50%);
  z-index: 2147483000;
  width: min(720px, calc(100vw - 24px));
  max-width: 720px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.22);
  padding: 20px 22px;
  display: none;
  box-sizing: border-box;
}
.cookie-banner.is-open { display: block !important; }
.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.cookie-banner__text { font-size: .9rem; color: var(--gray); margin-bottom: 14px; line-height: 1.55; }
.cookie-banner__cats { display: grid; gap: 8px; margin-bottom: 16px; }
.cookie-banner__cat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .88rem; color: var(--ink); padding: 8px 0; border-top: 1px solid var(--line);
}
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.error-404 { text-align: center; padding: 80px 0; }
.error-404 h1 { margin-bottom: 12px; }
.error-404 p { color: var(--gray); margin-bottom: 28px; }
@media (max-width: 900px) {
  .ai-layout { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row__cta { grid-column: 2; }
  .cookie-banner {
    left: 50% !important;
    bottom: 10px !important;
    width: calc(100vw - 20px);
    padding: 16px;
  }
}
