/*
Theme Name: Hello Elementor Child - Sefid
Theme URI: https://sefid.se
Description: Modernized Hello Elementor Child theme for Sefid Städ & Flytt Visby with custom Elementor widgets, dark/light mode, and local SEO architecture.
Author: Sefid Team
Author URI: https://sefid.se
Template: hello-elementor
Version: 2.1.0
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   2. BRAND COLOR SYSTEM & DUAL-THEME COLOR TOKENS
   ========================================================================== */

/* --- Light Mode (Default) --- */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-base: #FFFFFF;
  --text-main: #0F172A;
  --text-color: #0F172A;
  --text-muted: #475569;
  --brand-blue: #508FBD;
  --brand-blue-hover: #3B75A2;
  --brand-green: #269235;
  --brand-green-hover: #1E782A;
  --border-color: #E2E8F0;
  --card-shadow: 0 4px 20px -2px rgba(80, 143, 189, 0.08);

  /* Helper Tokens */
  --nav-height-mobile: 64px;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/* --- Dark Mode (Auto System Preference or [data-theme="dark"]) --- */
[data-theme="dark"] {
  --bg-primary: #0e1629;
  --bg-secondary: #0e1629;
  --bg-surface: #1e2a3a;
  --bg-base: #1e2a3a;
  --bg-card: #1e2a3a;
  --text-main: #F8FAFC;
  --text-color: #F8FAFC;
  --text-muted: #94A3B8;
  --brand-blue: #60A5FA;
  --brand-blue-hover: #93C5FD;
  --brand-green: #34D399;
  --brand-green-hover: #6EE7B7;
  --border-color: #334155;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary: #0e1629;
    --bg-secondary: #0e1629;
    --bg-surface: #1e2a3a;
    --bg-base: #1e2a3a;
    --bg-card: #1e2a3a;
    --text-main: #F8FAFC;
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
    --brand-blue: #60A5FA;
    --brand-blue-hover: #93C5FD;
    --brand-green: #34D399;
    --brand-green-hover: #6EE7B7;
    --border-color: #334155;
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  }
}

/* ==========================================================================
   3. GLOBAL BASE STYLES & TYPOGRAPHY
   ========================================================================== */
body {
  background-color: var(--bg-primary) !important;
  color: var(--text-main) !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#page,
.main-contain,
.site-content {
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

p, span, li {
  color: inherit;
}

.text-muted,
.sub-title,
.des {
  color: var(--text-muted);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover,
a:focus {
  color: var(--brand-blue-hover);
  text-decoration: none;
}

[data-theme="dark"] a {
  color: #60A5FA;
}

[data-theme="dark"] a:hover,
[data-theme="dark"] a:focus {
  color: #93C5FD;
}

/* Eradicate parent theme button pink (#c36) defaults */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  border: 1px solid transparent;
  background-color: transparent;
  color: inherit;
}

button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="reset"]:hover,
[type="reset"]:focus {
  background-color: transparent;
  color: inherit;
}

/* Site-wide Universal Focus Outline (Brand Blue & Brand Green – Zero Yellow, Zero Pink) */
:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

:focus-visible,
a:focus-visible,
button:focus-visible,
input:not(.sefid-search-input):not(.drawer-search-input):not(#sefid-header-search-input):focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--brand-blue, #508FBD) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(80, 143, 189, 0.25) !important;
}

[data-theme="dark"] :focus-visible,
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] input:not(.sefid-search-input):not(.drawer-search-input):not(#sefid-header-search-input):focus-visible,
[data-theme="dark"] select:focus-visible,
[data-theme="dark"] textarea:focus-visible,
[data-theme="dark"] [tabindex]:not([tabindex="-1"]):focus-visible {
  outline-color: #60A5FA !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3) !important;
}

/* Green Buttons Focus Ring */
.btn-primary:focus-visible,
.btn-boka:focus-visible,
.btn-accent:focus-visible,
.cta-boka:focus-visible,
.sefid-card-btn-cta:focus-visible,
.sefid-btn-main:focus-visible,
.footer-newsletter-form input[type="submit"]:focus-visible,
.footer-newsletter-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--brand-green, #269235) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(38, 146, 53, 0.28) !important;
}

/* ==========================================================================
   4. BUTTONS & BRAND CTA STYLES
   ========================================================================== */
.btn-primary,
.readon,
.readon.consultant,
.readon.banner-style,
.wp-block-button__link,
button[type="submit"]:not(.theme-toggle-btn):not(.sefid-search-submit):not(#wpadminbar *):not([class*="adminbar"]),
input[type="submit"]:not(#wpadminbar *):not([class*="adminbar"]) {
  background-color: var(--brand-blue) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(80, 143, 189, 0.25) !important;
  transition: var(--transition-smooth) !important;
  text-decoration: none !important;
}

.btn-primary:hover,
.readon:hover,
.wp-block-button__link:hover,
button[type="submit"]:not(.theme-toggle-btn):not(.sefid-search-submit):not(#wpadminbar *):not([class*="adminbar"]):hover,
input[type="submit"]:not(#wpadminbar *):not([class*="adminbar"]):hover {
  background-color: var(--brand-blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(80, 143, 189, 0.35) !important;
}

/* Accent Green CTA Buttons (Boka Nu) */
.btn-accent,
.btn-boka,
.cta-boka,
.readon.btn-boka {
  background-color: var(--brand-green) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(38, 146, 53, 0.28) !important;
}

.btn-accent:hover,
.btn-boka:hover,
.cta-boka:hover,
.readon.btn-boka:hover {
  background-color: var(--brand-green-hover) !important;
  box-shadow: 0 6px 18px rgba(38, 146, 53, 0.38) !important;
}

/* ==========================================================================
   5. HEADER & DESKTOP NAVIGATION
   ========================================================================== */
#rs-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

#rs-header .menu-area {
  background: var(--bg-surface) !important;
}

#rs-header.header-style1 .header-inner.menu-sticky.sticky {
  background: var(--bg-surface) !important;
  box-shadow: var(--card-shadow);
}

#rs-header .navbar ul li a {
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition-smooth);
}

#rs-header .navbar ul li a:hover,
#rs-header .navbar ul li.current-menu-item > a,
#rs-header .navbar ul li.current_page_item > a {
  color: var(--brand-blue) !important;
}

#rs-header .navbar ul.sub-menu {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: var(--radius-md);
}

#rs-header .navbar ul.sub-menu li a {
  color: var(--text-main) !important;
}

#rs-header .navbar ul.sub-menu li a:hover {
  background: var(--bg-secondary) !important;
  color: var(--brand-blue) !important;
}

/* Header Action Area & Theme Switcher */
.header-actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  vertical-align: middle;
}

/* ==========================================================================
   6. THEME SWITCHER TOGGLE (HEADER & MOBILE)
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: var(--transition-smooth);
  position: relative;
  outline: none;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* Light/Dark Icon Visibility */
.theme-toggle-btn .icon-moon {
  display: block;
}
.theme-toggle-btn .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle-btn .icon-moon {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle-btn .icon-sun {
    display: block;
  }
}

/* Header-specific Toggle & Search Alignment */
#rs-header .header-quote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

#rs-header .header-quote .sidebarmenu-search {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

#rs-header .header-quote .sticky_search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.header-theme-toggle {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   7. MOBILE BOTTOM NAVIGATION BAR (< 768px)
   ========================================================================== */
.mobile-bottom-nav-container {
  display: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(var(--nav-height-mobile) + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav-container {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(var(--nav-height-mobile) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.25s ease, border-color 0.25s ease;
  }

  .mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: var(--nav-height-mobile);
    max-width: 500px;
    margin: 0 auto;
    padding: 0 8px;
  }

  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--text-muted) !important;
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    padding: 6px 2px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
  }

  .mobile-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
  }

  .mobile-nav-item:hover,
  .mobile-nav-item.active,
  .mobile-nav-item.current-menu-item {
    color: var(--brand-blue) !important;
  }

  .mobile-nav-item:hover svg,
  .mobile-nav-item.active svg,
  .mobile-nav-item.current-menu-item svg {
    stroke: var(--brand-blue);
    transform: translateY(-2px);
  }

  /* Center Prominent CTA Button (Boka Nu) */
  .mobile-nav-item.mobile-nav-cta {
    flex: 1.15;
    position: relative;
    top: -12px;
  }

  .mobile-nav-item.mobile-nav-cta .mobile-nav-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-hover) 100%);
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(38, 146, 53, 0.42);
    border: 3px solid var(--bg-surface);
    transition: var(--transition-smooth);
  }

  .mobile-nav-item.mobile-nav-cta .mobile-nav-cta-btn svg {
    width: 22px;
    height: 22px;
    stroke: #FFFFFF !important;
    stroke-width: 2.2;
    transform: none !important;
  }

  .mobile-nav-item.mobile-nav-cta .mobile-nav-cta-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-green);
    margin-top: 3px;
  }

  [data-theme="dark"] .mobile-nav-item.mobile-nav-cta .mobile-nav-cta-label {
    color: var(--brand-green);
  }

  .mobile-nav-item.mobile-nav-cta:hover .mobile-nav-cta-btn,
  .mobile-nav-item.mobile-nav-cta:active .mobile-nav-cta-btn {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(38, 146, 53, 0.55);
  }

  /* Theme Switcher in Mobile Nav */
  .mobile-nav-theme-toggle {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    padding: 6px 2px;
  }

  .mobile-nav-theme-toggle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.9;
  }

  .mobile-nav-theme-toggle:hover {
    color: var(--brand-blue);
  }
}

/* ==========================================================================
   8. PRICING & RUT-AVDRAG DISPLAY PATTERN
   ========================================================================== */
.service-price-card,
.pricing-card-wrap,
.cl-pricetable-wrap,
.elementor-widget-price-table .elementor-price-table {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.service-price-card:hover,
.cl-pricetable-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -4px rgba(80, 143, 189, 0.16);
  border-color: var(--brand-blue);
}

/* Base Price (Display ONLY Base Price prominently) */
.price-base {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin: 12px 0 6px 0;
  letter-spacing: -0.02em;
}

/* Subtle Informational Note/Badge below the base price */
.rut-info-note {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  margin-top: 8px;
  margin-bottom: 14px;
  background: rgba(38, 146, 53, 0.08);
  border: 1px solid rgba(38, 146, 53, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
}

.rut-info-note span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-green);
  line-height: 1.3;
}

.rut-info-note a {
  font-size: 0.775rem;
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.rut-info-note a:hover {
  color: var(--brand-green-hover);
  text-decoration: none;
  opacity: 0.85;
}

[data-theme="dark"] .rut-info-note {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
}

[data-theme="dark"] .rut-info-note span,
[data-theme="dark"] .rut-info-note a {
  color: var(--brand-green);
}

/* Clean up any conflicting strike-through or secondary prices */
.price-base s,
.price-base del,
.price-base strike {
  display: none !important;
}


/* ==========================================================================
   10. COMPREHENSIVE DARK MODE OVERRIDES
   ========================================================================== */
[data-theme="dark"] #page,
[data-theme="dark"] .main-contain,
[data-theme="dark"] .site-content,
[data-theme="dark"] .elementor-section,
[data-theme="dark"] .elementor-top-section {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .card,
[data-theme="dark"] .rs-services,
[data-theme="dark"] .service-item,
[data-theme="dark"] .clpricing-table,
[data-theme="dark"] .cl-pricetable-wrap,
[data-theme="dark"] .testimonial-item,
[data-theme="dark"] .rs-addon-accordion .ui-accordion-header,
[data-theme="dark"] .rs-addon-accordion .ui-accordion-content {
  background: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="search"]:not(.sefid-search-input):not(#sefid-header-search-input):not(.drawer-search-input),
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background-color: var(--bg-secondary) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .nav-container.mobile-menu-container {
  background: var(--bg-surface) !important;
}

[data-theme="dark"] .sidenav li a {
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

/* --- Sticky Header Z-Index Layering (Always Above Page Content & Badges) --- */
.menu-sticky.sticky,
#rs-header .menu-sticky.sticky,
#rs-header .header-inner.sticky,
#rs-header.header-style1 .header-inner.menu-sticky.sticky,
#rs-header.header-style1 .header-inner.stuck.sticky,
.sticky-wrapper .header-inner.sticky,
.is-sticky,
.header-sticky {
  z-index: 9999 !important;
}

/* --- Sticky Header Dark Mode Compatibility Overrides --- */
[data-theme="dark"] .menu-sticky.sticky,
[data-theme="dark"] #rs-header .menu-sticky.sticky,
[data-theme="dark"] #rs-header .header-inner.sticky,
[data-theme="dark"] #rs-header.header-style1 .header-inner.menu-sticky.sticky,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky,
[data-theme="dark"] .sticky-wrapper .header-inner.sticky,
[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area,
[data-theme="dark"] #rs-header .header-inner.sticky .menu-area,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky .menu-area,
[data-theme="dark"] .sticky-wrapper .header-inner.sticky .menu-area,
html[data-theme="dark"] body #rs-header .header-inner.menu-sticky.sticky .menu-area,
html[data-theme="dark"] body #rs-header.header-style1 .header-inner.stuck.sticky .menu-area,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area,
html[data-theme="dark"] body #rs-header .header-inner.sticky .menu-area,
body.dark #rs-header .header-inner.menu-sticky.sticky .menu-area,
body.dark #rs-header .menu-sticky.sticky .menu-area,
body.dark-mode #rs-header .header-inner.menu-sticky.sticky .menu-area,
body.dark-mode #rs-header .menu-sticky.sticky .menu-area {
  background: var(--bg-surface) !important;
  background-color: #1E293B !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul li a,
[data-theme="dark"] #rs-header .menu-sticky.sticky .navbar ul li > a,
[data-theme="dark"] .menu-sticky.sticky .navbar ul li > a,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li > a,
[data-theme="dark"] .sticky-wrapper .header-inner.sticky .menu-area .navbar ul li a,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul li a,
html[data-theme="dark"] body #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li > a,
body.dark #rs-header .menu-sticky.sticky .menu-area .navbar ul li a,
body.dark-mode #rs-header .menu-sticky.sticky .menu-area .navbar ul li a {
  color: var(--text-main) !important;
}

[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul li a:hover,
[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current-menu-item > a,
[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current_page_item > a,
[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul > li.current-menu-ancestor > a,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li:hover > a,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li.current-menu-item > a,
[data-theme="dark"] #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li.current_page_item > a,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul li a:hover,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current-menu-item > a,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current_page_item > a,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul > li.current-menu-ancestor > a {
  color: var(--brand-blue) !important;
}

[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu,
[data-theme="dark"] .menu-sticky.sticky .menu-area .navbar ul li .sub-menu,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu {
  background: #1E293B !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu li a,
[data-theme="dark"] .menu-sticky.sticky .menu-area .navbar ul li .sub-menu li a,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu li a {
  color: var(--text-main) !important;
}

[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu li a:hover,
[data-theme="dark"] .menu-sticky.sticky .menu-area .navbar ul li .sub-menu li a:hover,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .menu-area .navbar ul.sub-menu li a:hover {
  background: var(--bg-primary) !important;
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .menu-sticky.sticky .nav-link-container i,
[data-theme="dark"] #rs-header .menu-sticky.sticky .sticky_search i,
[data-theme="dark"] #rs-header .menu-sticky.sticky .menu-cart-area i,
html[data-theme="dark"] body #rs-header .menu-sticky.sticky .nav-link-container i {
  color: var(--text-main) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .menu-sticky.sticky,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky,
  :root:not([data-theme="light"]) #rs-header .header-inner.sticky,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.menu-sticky.sticky,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky,
  :root:not([data-theme="light"]) .sticky-wrapper .header-inner.sticky,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area,
  :root:not([data-theme="light"]) #rs-header .header-inner.sticky .menu-area,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky .menu-area,
  :root:not([data-theme="light"]) .sticky-wrapper .header-inner.sticky .menu-area {
    background: var(--bg-surface) !important;
    background-color: #1E293B !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5) !important;
  }

  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area .navbar ul li a,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .navbar ul li > a,
  :root:not([data-theme="light"]) .menu-sticky.sticky .navbar ul li > a,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li > a,
  :root:not([data-theme="light"]) .sticky-wrapper .header-inner.sticky .menu-area .navbar ul li a {
    color: var(--text-main) !important;
  }

  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area .navbar ul li a:hover,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current-menu-item > a,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area .navbar ul li.current_page_item > a,
  :root:not([data-theme="light"]) #rs-header .menu-sticky.sticky .menu-area .navbar ul > li.current-menu-ancestor > a,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li:hover > a,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li.current-menu-item > a,
  :root:not([data-theme="light"]) #rs-header.header-style1 .header-inner.stuck.sticky .menu-area .navbar ul > li.current_page_item > a {
    color: var(--brand-blue) !important;
  }
}

/* ==========================================================================
   11. LOCAL SEO & VISBY ACCENTS
   ========================================================================== */
.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.local-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-blue);
}

/* ==========================================================================
 *  12. TJÄNSTER (SERVICES) PAGES - SYSTEM TOKENS & CLEAN LAYOUT
 *  ========================================================================== */

/* --- 12.1 Page Header & Banner Removal for Clean Page Layout --- */
.page-template-template-no-title .rs-breadcrumbs,
.page-template-template-no-title-php .rs-breadcrumbs {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.page-template-template-no-title .main-contain #content,
.page-template-template-no-title-php .main-contain #content,
.sefid-clean-content {
  padding-top: 24px !important;
  padding-bottom: 60px !important;
}

.sefid-clean-page-wrapper {
  width: 100%;
}

.sefid-clean-page-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Smooth anchor scrolling & header offset */
html {
  scroll-behavior: smooth;
}

#boka-form,
#vad-ingar {
  scroll-margin-top: 90px;
}

/* --- 12.2 Hero Section --- */
.sefid-service-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 36px 44px;
  text-align: center;
  margin-bottom: 48px;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  transition: var(--transition-smooth);
}

.hero-badge svg {
  flex-shrink: 0;
}

.rut-badge {
  background: rgba(38, 146, 53, 0.12);
  color: var(--brand-green);
  border: 1px solid rgba(38, 146, 53, 0.32);
}

.guarantee-badge {
  background: rgba(80, 143, 189, 0.12);
  color: var(--brand-blue);
  border: 1px solid rgba(80, 143, 189, 0.32);
}

.hero-badge.local-badge {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  margin-bottom: 0;
}

.hero-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 28px auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-btn-primary.btn-boka {
  position: relative !important;
  overflow: hidden !important;
  background-color: var(--brand-green) !important;
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  padding: 14px 30px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 16px rgba(38, 146, 53, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: var(--transition-smooth) !important;
}

.hero-btn-primary.btn-boka span,
.hero-btn-primary.btn-boka svg {
  position: relative;
  z-index: 1;
}

.hero-btn-primary.btn-boka::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: glassShineSweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-primary.btn-boka:hover {
  background-color: var(--brand-green-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(38, 146, 53, 0.42) !important;
}

.hero-btn-secondary.btn-call {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 2px solid var(--border-color);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.hero-btn-secondary.btn-call:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.hero-trust-points {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.trust-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-point svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* --- 12.3 Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

span.section-tag,
.section-header .section-tag,
:not(.elementor-widget):not(.elementor-widget-container).section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: rgba(80, 143, 189, 0.1);
  border: 1px solid rgba(80, 143, 189, 0.22);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- 12.4 Included Services Grid --- */
.sefid-included-services {
  margin-bottom: 56px;
}

.service-rooms-grid,
.rooms-grid,
.room-grid,
.sefid-rooms-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
}

.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible !important;
}

.room-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue) !important;
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16) !important;
}

.room-card-header {
  margin-bottom: 18px;
  overflow: visible !important;
}

/* External Radar Wave Pulse - EXCLUSIVELY on Sefid Rumskort */
.room-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(80, 143, 189, 0.12);
  border: 1px solid rgba(80, 143, 189, 0.28);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

.room-icon-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(80, 143, 189, 0.18);
  border: 1px solid rgba(80, 143, 189, 0.32);
  pointer-events: none;
  z-index: -1;
  box-sizing: border-box;
  animation: radar-wave-external 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.room-icon-wrap::after {
  display: none !important;
}

@keyframes radar-wave-external {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  32% {
    transform: scale(1.58);
    opacity: 0;
  }
  32.01%, 100% {
    transform: scale(1);
    opacity: 0;
  }
}

.room-icon-wrap svg {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  display: block;
  position: relative;
  z-index: 2;
}

.room-icon-wrap i {
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.room-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.room-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.check-list {
  list-style: none !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px !important;
  flex-grow: 1;
}

.check-list li {
  position: relative !important;
  padding-left: 24px !important;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.45;
  list-style-type: none !important;
}

.check-list li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--brand-green) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

.included-services-addon-notice {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.included-services-addon-notice strong {
  color: var(--text-main);
}

/* --- 12.5 Process Steps --- */
.sefid-process-steps {
  margin-bottom: 56px;
}

.steps-grid,
.process-steps-container,
.process-steps-grid,
.steps-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07);
  transition: var(--transition-smooth);
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  height: 100% !important;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue) !important;
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16) !important;
}

.step-badge,
.step-number,
div.step-badge,
p.step-badge,
span.step-badge,
div.step-number,
p.step-number,
span.step-number,
.step-card .step-badge,
.step-card .step-number,
.step-card p.step-badge,
.step-card p.step-number,
.step-card div.step-badge,
.step-card div.step-number {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(80, 143, 189, 0.35) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* --- 12.6 Features / Why Choose Us Grid --- */
.sefid-features-grid {
  margin-bottom: 56px;
}

.features-container,
.trust-grid,
.features-grid,
.trust-badges-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

.feature-item,
.trust-card {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 22px 20px !important;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07) !important;
  transition: var(--transition-smooth) !important;
  box-sizing: border-box !important;
  height: 100% !important;
  position: relative !important;
}

.feature-item:hover,
.trust-card:hover {
  border-color: var(--brand-blue) !important;
  transform: translateY(-4px) !important;
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16) !important;
}

/* Card Children Relative Z-Index (Preserves clarity over spotlight glow) */
.room-card > *,
.step-card > *,
.feature-item > *,
.trust-card > * {
  position: relative;
  z-index: 1;
}

/* Mouse-Tracking Spotlight Glow Pseudo-element (Sefid2 inspired) */
.room-card::before,
.step-card::before,
.feature-item::before,
.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(96, 165, 250, 0.22) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(38, 146, 53, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  margin: 0 !important;
}

.feature-body {
  flex: 1;
}

.feature-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0 !important;
}

.feature-body p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 !important;
}

/* --- 12.7 BookingKoala Embed Section --- */
.sefid-booking-section.bk-embed-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin-bottom: 48px;
  box-shadow: var(--card-shadow);
  width: 100%;
  box-sizing: border-box;
}

.bk-booking-container {
  max-width: 1140px;
  margin: 0 auto;
}

.bk-iframe-wrapper {
  width: 100%;
  position: relative;
  overflow: visible !important;
  min-height: 600px;
}

.bk-iframe-wrapper iframe,
.bk-booking-iframe {
  width: 100% !important;
  min-width: 100% !important;
  border: none !important;
  display: block;
  background: transparent;
  min-height: 650px;
}

/* --- 12.8 Dual-Theme Support (Dark Mode) --- */
[data-theme="dark"] .sefid-service-hero,
[data-theme="dark"] .room-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .trust-card,
body.dark .sefid-service-hero,
body.dark .room-card,
body.dark .step-card,
body.dark .feature-item,
body.dark .trust-card,
body.dark-mode .sefid-service-hero,
body.dark-mode .room-card,
body.dark-mode .step-card,
body.dark-mode .feature-item,
body.dark-mode .trust-card {
  background: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .room-card:hover,
[data-theme="dark"] .step-card:hover,
[data-theme="dark"] .feature-item:hover,
[data-theme="dark"] .trust-card:hover,
body.dark .room-card:hover,
body.dark .step-card:hover,
body.dark .feature-item:hover,
body.dark .trust-card:hover,
body.dark-mode .room-card:hover,
body.dark-mode .step-card:hover,
body.dark-mode .feature-item:hover,
body.dark-mode .trust-card:hover {
  border-color: #60A5FA !important;
  box-shadow: 8px 16px 32px rgba(0, 0, 0, 0.5), 0 0 20px -4px rgba(96, 165, 250, 0.25) !important;
}

/* Dark Mode Mouse-Tracking Spotlight Glow Activation on Hover */
[data-theme="dark"] .room-card:hover::before,
[data-theme="dark"] .step-card:hover::before,
[data-theme="dark"] .feature-item:hover::before,
[data-theme="dark"] .trust-card:hover::before,
body.dark .room-card:hover::before,
body.dark .step-card:hover::before,
body.dark .feature-item:hover::before,
body.dark .trust-card:hover::before,
body.dark-mode .room-card:hover::before,
body.dark-mode .step-card:hover::before,
body.dark-mode .feature-item:hover::before,
body.dark-mode .trust-card:hover::before {
  opacity: 1 !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .room-card:hover::before,
  :root:not([data-theme="light"]) .step-card:hover::before,
  :root:not([data-theme="light"]) .feature-item:hover::before,
  :root:not([data-theme="light"]) .trust-card:hover::before {
    opacity: 1 !important;
  }
}

/* Dark Mode Subtle External Radar Wave for Sefid Rumskort */
[data-theme="dark"] .room-icon-wrap,
body.dark .room-icon-wrap,
body.dark-mode .room-icon-wrap {
  background: rgba(96, 165, 250, 0.15) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  color: #60A5FA !important;
}

[data-theme="dark"] .room-icon-wrap::before,
body.dark .room-icon-wrap::before,
body.dark-mode .room-icon-wrap::before {
  background: rgba(96, 165, 250, 0.14) !important;
  border: 1px solid rgba(96, 165, 250, 0.35) !important;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.15) !important;
}

[data-theme="dark"] .room-icon-wrap::after,
body.dark .room-icon-wrap::after,
body.dark-mode .room-icon-wrap::after {
  display: none !important;
}

[data-theme="dark"] .sefid-booking-section.bk-embed-section,
body.dark .sefid-booking-section.bk-embed-section,
body.dark-mode .sefid-booking-section.bk-embed-section {
  background: #161c2d !important;
  border-color: var(--border-color) !important;
}

/* Dark Mode Floating Container for BookingKoala iframe */
[data-theme="dark"] #boka-form .bk-iframe-wrapper,
[data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper,
body.dark #boka-form .bk-iframe-wrapper,
body.dark .sefid-booking-section .bk-iframe-wrapper,
body.dark-mode #boka-form .bk-iframe-wrapper,
body.dark-mode .sefid-booking-section .bk-iframe-wrapper {
  background-color: #0b111e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  padding: 16px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  [data-theme="dark"] #boka-form .bk-iframe-wrapper,
  [data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper,
  body.dark #boka-form .bk-iframe-wrapper,
  body.dark .sefid-booking-section .bk-iframe-wrapper,
  body.dark-mode #boka-form .bk-iframe-wrapper,
  body.dark-mode .sefid-booking-section .bk-iframe-wrapper {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }
}

/* Dark Mode Invert for BookingKoala iframe in #boka-form */
[data-theme="dark"] #boka-form .bk-iframe-wrapper iframe,
[data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper iframe,
body.dark #boka-form .bk-iframe-wrapper iframe,
body.dark .sefid-booking-section .bk-iframe-wrapper iframe,
body.dark-mode #boka-form .bk-iframe-wrapper iframe,
body.dark-mode .sefid-booking-section .bk-iframe-wrapper iframe {
  filter: invert(1) hue-rotate(180deg);
  background-color: #ffffff;
  border-radius: 12px !important;
  transition: filter 0.3s ease;
}

[data-theme="dark"] .included-services-addon-notice,
[data-theme="dark"] .hero-badge.local-badge,
body.dark .included-services-addon-notice,
body.dark .hero-badge.local-badge,
body.dark-mode .included-services-addon-notice,
body.dark-mode .hero-badge.local-badge {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .step-badge,
[data-theme="dark"] .step-number,
[data-theme="dark"] div.step-badge,
[data-theme="dark"] p.step-badge,
[data-theme="dark"] span.step-badge,
[data-theme="dark"] div.step-number,
[data-theme="dark"] p.step-number,
[data-theme="dark"] span.step-number,
[data-theme="dark"] .step-card .step-badge,
[data-theme="dark"] .step-card .step-number,
[data-theme="dark"] .step-card p.step-badge,
[data-theme="dark"] .step-card p.step-number,
[data-theme="dark"] .step-card div.step-badge,
[data-theme="dark"] .step-card div.step-number {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .hero-btn-secondary.btn-call {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
}

[data-theme="dark"] .hero-btn-secondary.btn-call:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* --- 12.10 Responsive Layout (Tablet & Mobile) --- */
@media (max-width: 991.98px) {
  .steps-grid,
  .process-steps-container,
  .process-steps-grid,
  .steps-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .features-container,
  .trust-grid,
  .features-grid,
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .service-rooms-grid,
  .rooms-grid,
  .room-grid,
  .sefid-rooms-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 767.98px) {
  .sefid-service-hero {
    padding: 36px 18px 32px;
    margin-bottom: 36px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary.btn-boka,
  .hero-btn-secondary.btn-call {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-points {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .service-rooms-grid,
  .rooms-grid,
  .room-grid,
  .sefid-rooms-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .steps-grid,
  .process-steps-container,
  .process-steps-grid,
  .steps-container {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .features-container,
  .trust-grid,
  .features-grid,
  .trust-badges-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .sefid-booking-section.bk-embed-section {
    padding: 24px 12px;
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   13. RECO.SE BADGES & ANIMATIONS (MODE 1 & MODE 2)
   ========================================================================== */

/* Section & Row Container */
.sefid-reco-section {
  padding: 60px 0 50px;
  background: var(--bg-surface, #FFFFFF);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 10;
}

[data-theme="dark"] .sefid-reco-section {
  background: #0e1629;
}

.sefid-reco-badges-row {
  margin: 32px 0 36px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Common Badge Item & Image Styles */
.reco-badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.reco-badge-item img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: filter 0.3s ease, transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

[data-theme="dark"] .reco-badge-item img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

/* --------------------------------------------------------------------------
   MODE 1: EXPANDABLE STACKED LAYOUT (COLLAPSED BY DEFAULT, HOVER / TAP EXPAND)
   -------------------------------------------------------------------------- */
.sefid-reco-badges-stack-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 105px;
  cursor: pointer;
  padding: 12px 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  z-index: 10;
}

.sefid-reco-stack-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 820px;
  height: 90px;
}

.sefid-reco-stack-wrapper .reco-badge-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  will-change: transform;
  --step-size: 86px;
  /* Collapsed state: uses calculated desktop slot */
  transform: translate(calc(-50% + calc(var(--c-slot-desktop, 0) * var(--step-size))), -50%);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease, opacity 0.3s ease;
}

/* Center Milestone Badge is slightly larger and locked in foreground */
.sefid-reco-stack-wrapper .reco-badge-item.badge-milestone {
  width: 80px;
  height: 80px;
  z-index: 100 !important;
}

.sefid-reco-stack-wrapper .reco-badge-item.badge-milestone img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
}

/* Symmetrical Expansion on Desktop Hover & Mobile Tap (.is-expanded) */
.sefid-reco-badges-stack-container:hover .sefid-reco-stack-wrapper .reco-badge-item,
.sefid-reco-badges-stack-container:focus-within .sefid-reco-stack-wrapper .reco-badge-item,
.sefid-reco-stack-wrapper.is-expanded .reco-badge-item,
.sefid-reco-badges-stack-container.is-expanded .reco-badge-item {
  transform: translate(calc(-50% + calc(var(--slot, 0) * var(--step-size))), -50%);
}

/* Individual badge pop on direct hover when expanded */
.sefid-reco-badges-stack-container:hover .sefid-reco-stack-wrapper .reco-badge-item:hover,
.sefid-reco-stack-wrapper.is-expanded .reco-badge-item:hover {
  transform: translate(calc(-50% + calc(var(--slot, 0) * var(--step-size))), -50%) scale(1.12);
  z-index: 105 !important;
}

.sefid-reco-badges-stack-container:hover .sefid-reco-stack-wrapper .reco-badge-item:hover img,
.sefid-reco-stack-wrapper.is-expanded .reco-badge-item:hover img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

/* --------------------------------------------------------------------------
   MODE 2: CONTINUOUS MARQUEE SLIDER (SEAMLESS INFINITE LOOP)
   -------------------------------------------------------------------------- */
.sefid-reco-marquee-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fixed Center Milestone Overlay (locked statically in center, above track) */
.reco-marquee-center-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .reco-marquee-center-badge {
  background: radial-gradient(circle, rgba(15, 23, 42, 0.95) 55%, rgba(15, 23, 42, 0) 100%);
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.9);
}

.reco-marquee-center-badge:hover {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 25;
}

.reco-marquee-center-badge img {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}

/* Viewport with soft edge fades */
.reco-marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Marquee Track: continuous sliding from left to right */
.reco-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sefidMarqueeLTR 28s linear infinite;
}

/* Continuous seamless loop from left to right: moves from -50% to 0% */
@keyframes sefidMarqueeLTR {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Pause animation on hover */
.sefid-reco-marquee-container:hover .reco-marquee-track {
  animation-play-state: paused;
}

/* Each Group of badges */
.reco-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.reco-marquee-track .reco-badge-item {
  flex-shrink: 0;
  margin: 0 16px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.reco-marquee-track .reco-badge-item:hover {
  transform: scale(1.12);
  z-index: 5;
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUT ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .sefid-reco-stack-wrapper {
    height: 80px;
  }

  .sefid-reco-stack-wrapper .reco-badge-item {
    width: 60px;
    height: 60px;
    --step-size: 68px;
    transform: translate(calc(-50% + calc(var(--c-slot-mobile, 0) * var(--step-size))), -50%);
  }

  .sefid-reco-stack-wrapper .reco-badge-item.badge-milestone {
    width: 68px;
    height: 68px;
  }

  .sefid-reco-stack-wrapper.is-expanded .reco-badge-item,
  .sefid-reco-badges-stack-container.is-expanded .reco-badge-item {
    transform: translate(calc(-50% + calc(var(--slot, 0) * var(--step-size))), -50%);
  }

  .reco-marquee-center-badge {
    width: 70px;
    height: 70px;
  }

  .reco-marquee-center-badge img {
    width: 66px;
    height: 66px;
  }

  .reco-marquee-track .reco-badge-item {
    width: 58px;
    height: 58px;
    margin: 0 12px;
  }
}

@media (max-width: 480px) {
  .sefid-reco-stack-wrapper .reco-badge-item {
    width: 52px;
    height: 52px;
    --step-size: 58px;
    transform: translate(calc(-50% + calc(var(--c-slot-mobile, 0) * var(--step-size))), -50%);
  }

  .sefid-reco-stack-wrapper .reco-badge-item.badge-milestone {
    width: 60px;
    height: 60px;
  }

  .sefid-reco-stack-wrapper.is-expanded .reco-badge-item,
  .sefid-reco-badges-stack-container.is-expanded .reco-badge-item {
    transform: translate(calc(-50% + calc(var(--slot, 0) * var(--step-size))), -50%);
  }
}

/* ==========================================================================
   14. GOOGLE reCAPTCHA BADGE VISIBILITY FIX
   ========================================================================== */
.grecaptcha-badge,
[class*="grecaptcha-badge"],
.g-recaptcha-bubble-holder,
div[style*="z-index: 2000000000"],
iframe[src*="google.com/recaptcha"],
iframe[src*="recaptcha"] {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  bottom: -9999px !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   15. HOMEPAGE DIMENSION PARITY, OPEN HERO & DARK PALETTE REFACTOR
   ========================================================================== */

/* Force 100% full width for homepage custom PHP template regardless of Elementor or body classes */
body.home .site-main,
body.front-page .site-main,
body.sefid-custom-frontpage .site-main,
.site-main.sefid-homepage-main,
body:not([class*=elementor-page-]) .site-main.sefid-homepage-main,
body:not([class*=elementor-page-]).page-id-26193 .site-main,
body:not([class*=elementor-page-]).page-id-34271 .site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- 15.1 Global Canvas & Background Hierarchy --- */
.sefid-homepage-main,
#page {
  background-color: var(--bg-primary, #FFFFFF);
  transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] .sefid-homepage-main,
body.home[data-theme="dark"] #page {
  background-color: #0e1629 !important;
}

/* --- 15.2 Open Hero Section Layout (Zero Card Box, Symmetrical Sizing) --- */
.sefid-hero-section {
  position: relative;
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--border-color, #E2E8F0);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .sefid-hero-section {
  background: #0e1629 !important;
  border-bottom-color: #334155 !important;
}

/* Open Left Text Column: Sits directly on background in both Light & Dark */
.sefid-hero-content,
[data-theme="dark"] .sefid-hero-content {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.sefid-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Hero Secondary CTA Button (Enhanced Styling & Hover State) */
.sefid-hero-ctas .sefid-btn-outline,
.sefid-hero-cta-btn[data-target-tab="foretag"] {
  padding: 12px 24px;
  border-radius: var(--radius-md, 10px);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--brand-blue);
  background: transparent;
  color: var(--brand-blue);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.sefid-hero-ctas .sefid-btn-outline:hover,
.sefid-hero-cta-btn[data-target-tab="foretag"]:hover {
  background: rgba(80, 143, 189, 0.08);
  border-color: var(--brand-blue-hover);
  color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 143, 189, 0.15);
}

[data-theme="dark"] .sefid-hero-ctas .sefid-btn-outline,
[data-theme="dark"] .sefid-hero-cta-btn[data-target-tab="foretag"],
[data-theme="dark"] a.sefid-btn-outline {
  background: #0e1629 !important;
  background-color: #0e1629 !important;
  border: 1px solid #1e2a3a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease !important;
}

[data-theme="dark"] .sefid-hero-ctas .sefid-btn-outline:hover,
[data-theme="dark"] .sefid-hero-cta-btn[data-target-tab="foretag"]:hover,
[data-theme="dark"] a.sefid-btn-outline:hover {
  background: #1e2a3a !important;
  background-color: #1e2a3a !important;
  border: 1px solid #10b981 !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(-2px);
}

/* Hero Floating Badges (#0e1629 override in Dark Mode, Dimension Parity) */
.sefid-floating-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border-color, #E2E8F0);
  background: #FFFFFF;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  z-index: 2;
}

[data-theme="dark"] .sefid-floating-badge,
[data-theme="dark"] .sefid-floating-badge.badge-reco,
[data-theme="dark"] .sefid-floating-badge.badge-guarantee {
  background: #0e1629 !important;
  background-color: #0e1629 !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.6) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .sefid-floating-badge strong {
  color: #F8FAFC !important;
}

[data-theme="dark"] .sefid-floating-badge span {
  color: #94A3B8 !important;
}

[data-theme="dark"] .badge-guarantee .guarantee-icon {
  background: rgba(38, 146, 53, 0.18) !important;
  color: var(--brand-green) !important;
}

/* Hero Trust Row */
.sefid-hero-trust-row {
  border-top: 1px solid var(--border-color, #E2E8F0);
}

[data-theme="dark"] .sefid-hero-trust-row {
  border-top-color: #334155 !important;
}

/* Hero RUT Box */
.sefid-hero-rut-box {
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid rgba(38, 146, 53, 0.22);
  background: rgba(38, 146, 53, 0.08);
}

[data-theme="dark"] .sefid-hero-rut-box {
  border-color: rgba(38, 146, 53, 0.35) !important;
  background: rgba(38, 146, 53, 0.14) !important;
}

/* --- 15.3 Reco Section Container Unification & Dimension Parity --- */
.sefid-reco-section {
  padding: 60px 0 50px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 10;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .sefid-reco-section {
  background: #0e1629 !important;
  border-bottom-color: #334155 !important;
}

/* Unified Reco Card Container: EXACT same dimensions in Light & Dark (No Layout Shift) */
.sefid-reco-section .sefid-container {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 48px 36px 40px;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07);
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sefid-reco-section .sefid-container:hover {
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16);
}

[data-theme="dark"] .sefid-reco-section .sefid-container {
  background: #1e2a3a !important;
  border-color: #334155 !important;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .sefid-reco-section .sefid-container:hover,
body.dark .sefid-reco-section .sefid-container:hover,
body.dark-mode .sefid-reco-section .sefid-container:hover {
  border-color: #60A5FA !important;
  box-shadow: 8px 16px 32px rgba(0, 0, 0, 0.5), 0 0 20px -4px rgba(96, 165, 250, 0.25) !important;
}

/* Reco Widget Wrapper: Clean presentation with matching borders/backgrounds */
.sefid-reco-widget-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 28px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="dark"] .sefid-reco-widget-wrap {
  background: transparent !important;
  border: none !important;
}

/* --- 15.4 Services Section Dimension Parity --- */
.sefid-services-section {
  padding: 80px 0;
  background-color: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .sefid-services-section {
  background-color: #0e1629 !important;
  border-bottom-color: #334155 !important;
}

.sefid-services-tabs {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 6px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .sefid-services-tabs {
  background: #1e2a3a !important;
  border-color: #334155 !important;
}

.sefid-service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(80, 143, 189, 0.08));
}

[data-theme="dark"] .sefid-service-card {
  background: #1e2a3a !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .sefid-service-card:hover {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 16px 36px -6px rgba(96, 165, 250, 0.25) !important;
}

.service-card-pricing {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
}

[data-theme="dark"] .service-card-pricing {
  background: #0e1629 !important;
  border-color: #334155 !important;
}

.service-bullets {
  border-top: 1px solid #E2E8F0;
}

[data-theme="dark"] .service-bullets {
  border-top-color: #334155 !important;
}

.sefid-card-btn-outline {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
}

[data-theme="dark"] .sefid-card-btn-outline {
  background: #0e1629 !important;
  border-color: #334155 !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .sefid-card-btn-outline:hover {
  background: #334155 !important;
  color: #60A5FA !important;
}

/* --- 15.5 Why Choose Sefid Section Dimension Parity --- */
.sefid-why-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .sefid-why-section {
  background-color: #0e1629 !important;
  border-bottom-color: #334155 !important;
}

.why-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(80, 143, 189, 0.08));
}

[data-theme="dark"] .why-card {
  background: #1e2a3a !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .why-card:hover {
  border-color: #60A5FA !important;
  box-shadow: 0 8px 28px -4px rgba(96, 165, 250, 0.2) !important;
}

[data-theme="dark"] .why-icon {
  background: rgba(96, 165, 250, 0.12) !important;
  color: #60A5FA !important;
}

/* --- 15.6 Local Visby Section Dimension Parity --- */
.sefid-local-section {
  padding: 80px 0;
  background-color: #F1F5F9;
  transition: background-color 0.25s ease;
}

[data-theme="dark"] .sefid-local-section {
  background-color: #0e1629 !important;
}

.sefid-local-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(80, 143, 189, 0.08));
}

[data-theme="dark"] .sefid-local-box {
  background: #1e2a3a !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.4) !important;
}

.action-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 30px 24px;
}

[data-theme="dark"] .action-card {
  background: #0e1629 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .contact-icon {
  background: rgba(96, 165, 250, 0.12) !important;
  color: #60A5FA !important;
}

/* --- 15.7 Responsive Dimension Parity (< 768px) --- */
@media (max-width: 767.98px) {
  .sefid-hero-section {
    padding: 36px 0 48px;
  }

  .sefid-reco-section .sefid-container,
  [data-theme="dark"] .sefid-reco-section .sefid-container {
    padding: 32px 18px 28px;
    border-radius: 18px;
  }

  .sefid-local-box,
  [data-theme="dark"] .sefid-local-box {
    padding: 24px 18px;
    border-radius: 18px;
  }

  /* Mobile Hero CTAs Centering */
  .sefid-hero-ctas {
    justify-content: center;
  }

  /* Mobile Hero Trust Row Centering */
  .sefid-hero-trust-row {
    justify-content: center;
    text-align: center;
    gap: 16px 20px;
  }

  .sefid-hero-trust-row .trust-item {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Break 2-column RUT box into vertically stacked centered layout when text wraps */
  .sefid-hero-rut-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 16px 14px !important;
  }

  .sefid-hero-rut-box .sefid-rut-badge {
    margin: 0 auto !important;
  }

  .sefid-hero-rut-box .sefid-rut-desc {
    text-align: center !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 580px) {
  /* When CTAs stack under each other on mobile phones, center them */
  .sefid-hero-ctas {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .sefid-hero-ctas .sefid-hero-cta-btn,
  .sefid-hero-ctas .btn-primary,
  .sefid-hero-ctas .sefid-btn-outline {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}

/* --- 15.8 Hero Responsive Breakpoint Fix (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .sefid-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .sefid-hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sefid-hero-h1 {
    font-size: 2.35rem;
    max-width: 100% !important;
  }

  .sefid-hero-lead {
    max-width: 100% !important;
  }

  .sefid-hero-visual {
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   16. ELEMENTOR NATIVE & CUSTOM WIDGET INTEGRATION (Sefid Service Pages)
   ========================================================================== */

/* --- 16.1 Section Tag Reset (Fix redundant outer oval background) --- */
.elementor-widget.section-tag,
.elementor-widget-heading.section-tag {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.elementor-widget.section-tag > .elementor-widget-container,
.elementor-widget-heading.section-tag > .elementor-widget-container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  text-align: center !important;
}

.elementor-widget-heading.section-tag .elementor-heading-title,
span.section-tag,
p.section-tag {
  display: inline-block !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue) !important;
  background: rgba(80, 143, 189, 0.1) !important;
  border: 1px solid rgba(80, 143, 189, 0.22) !important;
  padding: 4px 14px !important;
  border-radius: var(--radius-full) !important;
  margin: 0 auto !important;
  line-height: 1.4;
}

/* --- 16.2 Section Titles & Leads --- */
.elementor-widget-heading.section-title {
  text-align: center;
  margin-bottom: 12px !important;
}

.elementor-widget-heading.section-title .elementor-heading-title,
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-align: center;
}

.elementor-widget-text-editor.section-lead,
.elementor-widget-text-editor.section-lead .elementor-widget-container,
.elementor-widget-text-editor.section-lead p,
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted) !important;
  max-width: 680px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 36px !important;
  line-height: 1.65;
  text-align: center;
}

.elementor-widget-text-editor.included-services-addon-notice-wrap .included-services-addon-notice,
.elementor-widget-text-editor.included-services-addon-notice .elementor-widget-container,
.included-services-addon-notice {
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  box-sizing: border-box;
}

.elementor-widget-text-editor.included-services-addon-notice h3,
.included-services-addon-notice h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.elementor-widget-text-editor.included-services-addon-notice p,
.included-services-addon-notice p {
  margin: 0;
  color: var(--text-muted);
}

.elementor-widget-text-editor.included-services-addon-notice strong,
.included-services-addon-notice strong {
  color: var(--text-main);
}

/* --- 16.3 Equal Height & Width Normalization in Elementor Columns --- */
.rooms-inner-section > .elementor-container,
.steps-inner-section > .elementor-container,
.features-inner-section > .elementor-container {
  display: flex !important;
  align-items: stretch !important;
}

.rooms-inner-section .elementor-column,
.steps-inner-section .elementor-column,
.features-inner-section .elementor-column {
  display: flex !important;
  align-items: stretch !important;
}

.rooms-inner-section .elementor-column-wrap,
.rooms-inner-section .elementor-widget-wrap,
.steps-inner-section .elementor-column-wrap,
.steps-inner-section .elementor-widget-wrap,
.features-inner-section .elementor-column-wrap,
.features-inner-section .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  flex: 1 1 100% !important;
  align-content: stretch !important;
}

.elementor-widget-sefid_room_card,
.elementor-widget-sefid_room_card > .elementor-widget-container,
.elementor-widget-sefid_process_step,
.elementor-widget-sefid_process_step > .elementor-widget-container,
.elementor-widget-sefid_feature_card,
.elementor-widget-sefid_feature_card > .elementor-widget-container {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 100% !important;
  box-sizing: border-box !important;
}

/* Room Cards: Stretch to tallest sibling & fill column width */
.room-card,
.elementor-widget-sefid_room_card .room-card {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  flex: 1 1 100% !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07) !important;
  transition: var(--transition-smooth);
}

.room-card:hover,
.elementor-widget-sefid_room_card .room-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue) !important;
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16) !important;
}

.room-card .check-list {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Process Steps & Features: Equal height */
.step-card,
.elementor-widget-sefid_process_step .step-card {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  flex: 1 1 100% !important;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07) !important;
}

.feature-item,
.elementor-widget-sefid_feature_card .feature-item {
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 100% !important;
}

/* Responsive Inner Sections */
@media (max-width: 991.98px) {
  .rooms-inner-section > .elementor-container > .elementor-column.elementor-col-25,
  .rooms-inner-section .elementor-column.elementor-col-25 {
    width: 50% !important;
    margin-bottom: 20px;
  }
  .steps-inner-section > .elementor-container > .elementor-column.elementor-col-33,
  .steps-inner-section .elementor-column.elementor-col-33 {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .features-inner-section > .elementor-container > .elementor-column.elementor-col-33,
  .features-inner-section .elementor-column.elementor-col-33 {
    width: 50% !important;
    margin-bottom: 16px;
  }
}

@media (max-width: 767.98px) {
  .rooms-inner-section > .elementor-container > .elementor-column.elementor-col-25,
  .rooms-inner-section .elementor-column.elementor-col-25 {
    width: 100% !important;
    margin-bottom: 18px;
  }
  .steps-inner-section > .elementor-container > .elementor-column.elementor-col-33,
  .steps-inner-section .elementor-column.elementor-col-33 {
    width: 100% !important;
    margin-bottom: 18px;
  }
  .features-inner-section > .elementor-container > .elementor-column.elementor-col-33,
  .features-inner-section .elementor-column.elementor-col-33 {
    width: 100% !important;
    margin-bottom: 14px;
  }
}

/* --- 16.4 Dark Mode Dual-Theme Overrides for Elementor Widgets --- */
[data-theme="dark"],
[data-theme="dark"] .elementor-kit-5,
body[data-theme="dark"].elementor-kit-5,
body.dark.elementor-kit-5,
body.dark-mode.elementor-kit-5 {
  --e-global-color-text: var(--text-muted);
  --e-global-color-primary: var(--brand-blue);
}

/* Global Text Editor Styling in Dark Mode */
[data-theme="dark"] .elementor-widget-text-editor,
[data-theme="dark"] .elementor-widget-text-editor .elementor-widget-container,
[data-theme="dark"] .elementor-widget-text-editor p,
[data-theme="dark"] .elementor-widget-text-editor span,
[data-theme="dark"] .elementor-widget-text-editor div,
[data-theme="dark"] .elementor-widget-text-editor li,
body.dark .elementor-widget-text-editor,
body.dark .elementor-widget-text-editor .elementor-widget-container,
body.dark .elementor-widget-text-editor p,
body.dark-mode .elementor-widget-text-editor,
body.dark-mode .elementor-widget-text-editor .elementor-widget-container,
body.dark-mode .elementor-widget-text-editor p {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .elementor-widget-text-editor strong,
[data-theme="dark"] .elementor-widget-text-editor b,
[data-theme="dark"] .elementor-widget-text-editor h1,
[data-theme="dark"] .elementor-widget-text-editor h2,
[data-theme="dark"] .elementor-widget-text-editor h3,
[data-theme="dark"] .elementor-widget-text-editor h4,
[data-theme="dark"] .elementor-widget-text-editor h5,
[data-theme="dark"] .elementor-widget-text-editor h6,
body.dark .elementor-widget-text-editor strong,
body.dark .elementor-widget-text-editor b,
body.dark .elementor-widget-text-editor h3,
body.dark-mode .elementor-widget-text-editor strong,
body.dark-mode .elementor-widget-text-editor b,
body.dark-mode .elementor-widget-text-editor h3 {
  color: var(--text-main) !important;
}

[data-theme="dark"] .elementor-widget-text-editor a,
body.dark .elementor-widget-text-editor a,
body.dark-mode .elementor-widget-text-editor a {
  color: var(--brand-blue) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .elementor-widget-text-editor,
  :root:not([data-theme="light"]) .elementor-widget-text-editor .elementor-widget-container,
  :root:not([data-theme="light"]) .elementor-widget-text-editor p {
    color: var(--text-muted) !important;
  }
  :root:not([data-theme="light"]) .elementor-widget-text-editor strong,
  :root:not([data-theme="light"]) .elementor-widget-text-editor b,
  :root:not([data-theme="light"]) .elementor-widget-text-editor h3 {
    color: var(--text-main) !important;
  }
}

[data-theme="dark"] .elementor-widget-text-editor.included-services-addon-notice .elementor-widget-container,
[data-theme="dark"] .elementor-widget-text-editor.included-services-addon-notice-wrap .included-services-addon-notice,
body.dark .elementor-widget-text-editor.included-services-addon-notice .elementor-widget-container,
body.dark-mode .elementor-widget-text-editor.included-services-addon-notice .elementor-widget-container {
  background: var(--bg-surface);
  border-color: var(--border-color);
}

[data-theme="dark"] .sefid-booking-section.bk-embed-section,
body.dark .sefid-booking-section.bk-embed-section,
body.dark-mode .sefid-booking-section.bk-embed-section {
  background: #161c2d !important;
  border-color: var(--border-color) !important;
}

/* Dark Mode Floating Container for BookingKoala iframe */
[data-theme="dark"] #boka-form .bk-iframe-wrapper,
[data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper,
body.dark #boka-form .bk-iframe-wrapper,
body.dark .sefid-booking-section .bk-iframe-wrapper,
body.dark-mode #boka-form .bk-iframe-wrapper,
body.dark-mode .sefid-booking-section .bk-iframe-wrapper {
  background-color: #0b111e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  padding: 16px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  [data-theme="dark"] #boka-form .bk-iframe-wrapper,
  [data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper,
  body.dark #boka-form .bk-iframe-wrapper,
  body.dark .sefid-booking-section .bk-iframe-wrapper,
  body.dark-mode #boka-form .bk-iframe-wrapper,
  body.dark-mode .sefid-booking-section .bk-iframe-wrapper {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }
}

/* Dark Mode Invert for BookingKoala iframe in #boka-form */
[data-theme="dark"] #boka-form .bk-iframe-wrapper iframe,
[data-theme="dark"] .sefid-booking-section .bk-iframe-wrapper iframe,
body.dark #boka-form .bk-iframe-wrapper iframe,
body.dark .sefid-booking-section .bk-iframe-wrapper iframe,
body.dark-mode #boka-form .bk-iframe-wrapper iframe,
body.dark-mode .sefid-booking-section .bk-iframe-wrapper iframe {
  filter: invert(1) hue-rotate(180deg);
  background-color: #ffffff;
  border-radius: 12px !important;
  transition: filter 0.3s ease;
}

[data-theme="dark"] .step-badge,
body.dark .step-badge,
body.dark-mode .step-badge {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .hero-btn-secondary.btn-call,
body.dark .hero-btn-secondary.btn-call,
body.dark-mode .hero-btn-secondary.btn-call {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
}

[data-theme="dark"] .hero-btn-secondary.btn-call:hover,
body.dark .hero-btn-secondary.btn-call:hover,
body.dark-mode .hero-btn-secondary.btn-call:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* --- 16.5 FAQ & Accordion System for Service Pages (SEO / AEO / Dual-Theme) --- */
.sefid-faq-section {
  padding-top: 56px;
  padding-bottom: 56px;
  max-width: 920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.sefid-faq-section .faq-container {
  width: 100%;
}

.sefid-faq-section .faq-accordion,
.sefid-faq-section .elementor-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 28px;
}

/* Accordion Item Container */
.sefid-faq-section .faq-item,
.sefid-faq-section .elementor-accordion .elementor-accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sefid-faq-section .faq-item:hover,
.sefid-faq-section .elementor-accordion .elementor-accordion-item:hover {
  border-color: var(--brand-blue);
}

.sefid-faq-section .faq-item[open],
.sefid-faq-section .elementor-accordion .elementor-accordion-item.elementor-active {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 20px -2px rgba(80, 143, 189, 0.16);
}

/* Question Header */
.sefid-faq-section .faq-question,
.sefid-faq-section .elementor-accordion .elementor-tab-title {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  list-style: none;
  user-select: none;
  gap: 16px;
  line-height: 1.45;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-title {
  color: inherit !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  flex: 1;
}

.sefid-faq-section .faq-question::-webkit-details-marker {
  display: none;
}

.sefid-faq-section .faq-question:hover,
.sefid-faq-section .elementor-accordion .elementor-tab-title:hover,
.sefid-faq-section .elementor-accordion .elementor-tab-title:hover .elementor-accordion-title {
  color: var(--brand-blue) !important;
}

/* Icon / Indicator */
.sefid-faq-section .faq-icon,
.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 50% !important;
  background: rgba(80, 143, 189, 0.12) !important;
  color: var(--brand-blue) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin: 0 0 0 16px !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, color 0.25s ease !important;
}

.sefid-faq-section .faq-icon::before {
  content: "+";
}

.sefid-faq-section .faq-item[open] .faq-icon,
.sefid-faq-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
  transform: rotate(45deg) !important;
}

.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened {
  display: none !important;
}

.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-closed {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon svg,
.sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon i {
  width: 13px !important;
  height: 13px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: inherit !important;
  fill: currentColor !important;
}

.sefid-faq-section .faq-item.is-closing .faq-icon {
  transform: rotate(0deg) !important;
  background: rgba(80, 143, 189, 0.12) !important;
  color: var(--brand-blue) !important;
}

/* Answer Body */
.sefid-faq-section .faq-answer,
.sefid-faq-section .elementor-accordion .elementor-tab-content {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.sefid-faq-section .faq-answer p,
.sefid-faq-section .elementor-accordion .elementor-tab-content p {
  margin: 0 0 10px 0;
  color: var(--text-muted);
}

.sefid-faq-section .faq-answer p:last-child {
  margin-bottom: 0;
}

.sefid-faq-section .faq-answer strong,
.sefid-faq-section .elementor-accordion .elementor-tab-content strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Dark Mode Overrides for FAQ */

[data-theme="dark"] .sefid-faq-section .faq-item,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-accordion-item,
body.dark .sefid-faq-section .faq-item,
body.dark .sefid-faq-section .elementor-accordion .elementor-accordion-item,
body.dark-mode .sefid-faq-section .faq-item,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-accordion-item {
  background: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-question,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-tab-title,
body.dark .sefid-faq-section .faq-question,
body.dark .sefid-faq-section .elementor-accordion .elementor-tab-title,
body.dark-mode .sefid-faq-section .faq-question,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-tab-title {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-question:hover,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-tab-title:hover,
body.dark .sefid-faq-section .faq-question:hover,
body.dark .sefid-faq-section .elementor-accordion .elementor-tab-title:hover,
body.dark-mode .sefid-faq-section .faq-question:hover,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-tab-title:hover {
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-icon,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon,
body.dark .sefid-faq-section .faq-icon,
body.dark .sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon,
body.dark-mode .sefid-faq-section .faq-icon,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
  background: rgba(96, 165, 250, 0.15) !important;
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-item[open] .faq-icon,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon,
body.dark .sefid-faq-section .faq-item[open] .faq-icon,
body.dark .sefid-faq-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon,
body.dark-mode .sefid-faq-section .faq-item[open] .faq-icon,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .sefid-faq-section .faq-item.is-closing .faq-icon {
  transform: rotate(0deg) !important;
  background: rgba(96, 165, 250, 0.15) !important;
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-answer,
[data-theme="dark"] .sefid-faq-section .elementor-accordion .elementor-tab-content,
body.dark .sefid-faq-section .faq-answer,
body.dark .sefid-faq-section .elementor-accordion .elementor-tab-content,
body.dark-mode .sefid-faq-section .faq-answer,
body.dark-mode .sefid-faq-section .elementor-accordion .elementor-tab-content {
  background: var(--bg-surface) !important;
  color: var(--text-muted) !important;
  border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-answer p,
body.dark .sefid-faq-section .faq-answer p,
body.dark-mode .sefid-faq-section .faq-answer p {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .sefid-faq-section .faq-answer strong,
body.dark .sefid-faq-section .faq-answer strong,
body.dark-mode .sefid-faq-section .faq-answer strong {
  color: var(--text-main) !important;
}

/* ==========================================================================
   FOOTER OPTIMIZATION & DUAL-THEME STYLING (LIGHT & DARK MODES)
   ========================================================================== */

/* 1. Base Footer Backgrounds & Borders */
#rs-footer,
.rs-footer,
.rs-footer .footer-top {
  background-color: var(--bg-surface) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-color) !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Footer Bottom Bar (Same color as Footer surface, removing unwanted yellow) */
#rs-footer .footer-bottom,
.rs-footer .footer-bottom,
body .footer-bottom {
  background-color: var(--bg-surface) !important;
  border-top: 1px solid var(--border-color) !important;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* 2. Titles & Headings in Footer */
.rs-footer h3,
.rs-footer h3.footer-title,
.rs-footer .footer-top h3.footer-title {
  color: var(--text-main) !important;
  font-weight: 700 !important;
}

/* 3. Text in Footer (Paragraphs, Intros, Widget content) */
.rs-footer p,
.rs-footer span,
.rs-footer .contact-intros,
.rs-footer .textwidget {
  color: var(--text-muted) !important;
}

/* 4. Column 1: Contact Items (Address, Phone, Email, Working Hours) */
.rs-footer .widget_contact_widget .fa-ul li,
.rs-footer .fa-ul li {
  color: var(--text-muted) !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Contact item text and links */
.rs-footer .widget_contact_widget .fa-ul li span,
.rs-footer .widget_contact_widget .fa-ul li a,
.rs-footer .fa-ul li a {
  color: var(--text-muted) !important;
  transition: color 0.2s ease;
}

.rs-footer .widget_contact_widget .fa-ul li a:hover,
.rs-footer .fa-ul li a:hover {
  color: var(--brand-blue-hover) !important;
}

/* Contact item icons (fi-rr / font icons) */
.rs-footer .widget_contact_widget .fa-ul li i,
.rs-footer .fa-ul li i,
.rs-footer .fa-ul li i:before {
  color: #508FBD !important; /* Light Mode default */
  font-size: 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

[data-theme="dark"] .rs-footer .widget_contact_widget .fa-ul li i,
[data-theme="dark"] .rs-footer .fa-ul li i,
[data-theme="dark"] .rs-footer .fa-ul li i:before,
body.dark .rs-footer .widget_contact_widget .fa-ul li i,
body.dark-mode .rs-footer .widget_contact_widget .fa-ul li i {
  color: #60A5FA !important; /* Dark Mode */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rs-footer .widget_contact_widget .fa-ul li i,
  :root:not([data-theme="light"]) .rs-footer .fa-ul li i,
  :root:not([data-theme="light"]) .rs-footer .fa-ul li i:before {
    color: #60A5FA !important;
  }
}

/* 5. Social Media Icons (under newsletter) */
.rs-footer .widget_medvillsocialiconwi_widget,
.rs-footer .footer_social,
ul.footer_social {
  display: flex !important;
  align-items: center;
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
  margin: 15px 0 0 !important;
}

.rs-footer ul.footer_social li {
  margin: 0 !important;
  display: inline-block !important;
}

.rs-footer ul.footer_social li a,
body #rs-footer ul.footer_social li a,
.footer-top ul.footer_social > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--radius-md) !important;
  background-color: rgba(80, 143, 189, 0.12) !important; /* Light mode subtle container */
  color: #508FBD !important; /* Light mode blue */
  border: 1px solid rgba(80, 143, 189, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rs-footer ul.footer_social li a i,
.rs-footer ul.footer_social li a span {
  color: inherit !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.rs-footer ul.footer_social li a:hover,
body #rs-footer ul.footer_social li a:hover {
  background-color: #508FBD !important;
  color: #FFFFFF !important;
  border-color: #508FBD !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 143, 189, 0.3) !important;
}

/* Social icons Dark Mode */
[data-theme="dark"] .rs-footer ul.footer_social li a,
[data-theme="dark"] body #rs-footer ul.footer_social li a,
body.dark .rs-footer ul.footer_social li a,
body.dark-mode .rs-footer ul.footer_social li a {
  background-color: rgba(96, 165, 250, 0.15) !important;
  color: #60A5FA !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

[data-theme="dark"] .rs-footer ul.footer_social li a:hover,
[data-theme="dark"] body #rs-footer ul.footer_social li a:hover,
body.dark .rs-footer ul.footer_social li a:hover,
body.dark-mode .rs-footer ul.footer_social li a:hover {
  background-color: #60A5FA !important;
  color: #0E1629 !important;
  border-color: #60A5FA !important;
  box-shadow: 0 4px 14px rgba(96, 165, 250, 0.35) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rs-footer ul.footer_social li a,
  :root:not([data-theme="light"]) body #rs-footer ul.footer_social li a {
    background-color: rgba(96, 165, 250, 0.15) !important;
    color: #60A5FA !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
  }
  :root:not([data-theme="light"]) .rs-footer ul.footer_social li a:hover,
  :root:not([data-theme="light"]) body #rs-footer ul.footer_social li a:hover {
    background-color: #60A5FA !important;
    color: #0E1629 !important;
    border-color: #60A5FA !important;
  }
}

/* 6. Newsletter Subscription Form */
.rs-footer .sefid-newsletter-form-fields,
.rs-footer .sefid-newsletter-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 15px !important;
}

/* Newsletter Email Input */
.rs-footer .sefid-newsletter-form-fields input[type="email"],
.rs-footer .footer-top .sefid-newsletter-form-fields input[type="email"],
.rs-footer .sefid-newsletter-form input[type="email"] {
  width: 100% !important;
  background-color: var(--bg-primary) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.rs-footer .sefid-newsletter-form-fields input[type="email"]:focus,
.rs-footer .sefid-newsletter-form input[type="email"]:focus {
  outline: none !important;
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 3px rgba(80, 143, 189, 0.2) !important;
}

/* Newsletter Submit Button (Brand Green Style) */
.rs-footer .sefid-newsletter-form-fields button[type="submit"],
.rs-footer .sefid-newsletter-form-fields input[type="submit"],
.rs-footer .footer-top .sefid-newsletter-form-fields button[type="submit"],
.rs-footer .footer-top .sefid-newsletter-form-fields input[type="submit"],
body .rs-footer .footer-top .sefid-newsletter-form-fields button[type="submit"],
.rs-footer .sefid-newsletter-submit {
  width: 100% !important;
  background-color: var(--brand-green) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 13px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(38, 146, 53, 0.28) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rs-footer .sefid-newsletter-form-fields button[type="submit"]:hover,
.rs-footer .sefid-newsletter-form-fields input[type="submit"]:hover,
.rs-footer .footer-top .sefid-newsletter-form-fields button[type="submit"]:hover,
.rs-footer .footer-top .sefid-newsletter-form-fields input[type="submit"]:hover,
body .rs-footer .footer-top .sefid-newsletter-form-fields button[type="submit"]:hover,
.rs-footer .sefid-newsletter-submit:hover {
  background-color: var(--brand-green-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(38, 146, 53, 0.38) !important;
}

/* Newsletter Feedback Messages */
.sefid-newsletter-message {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 8px);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.sefid-newsletter-message.sefid-newsletter-success {
  background-color: #eaf8ec;
  color: #1e7e2c;
  border: 1px solid #b7e4be;
}
.sefid-newsletter-message.sefid-newsletter-error {
  background-color: #fde8e8;
  color: #c53030;
  border: 1px solid #f8b4b4;
}

/* 7. Copyright & Quick Links in Bottom Bar */
.footer-bottom .copyright,
.footer-bottom .copyright p,
.rs-footer .footer-bottom .copyright p,
body #rs-footer .footer-bottom .copyright p {
  color: var(--text-muted) !important;
  font-size: 14px !important;
}

.footer-bottom .copyright a,
.rs-footer .footer-bottom .copyright a,
body #rs-footer .footer-bottom .copyright a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-bottom .copyright a:hover,
.rs-footer .footer-bottom .copyright a:hover,
body #rs-footer .footer-bottom .copyright a:hover {
  color: var(--brand-blue) !important;
}

/* Footer Bottom Quick Navigation Menu */
.rs-footer .footer-bottom .widget_nav_menu ul li a,
body .rs-footer .footer-bottom .widget_nav_menu ul li a {
  color: var(--text-muted) !important;
  font-size: 14px !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.rs-footer .footer-bottom .widget_nav_menu ul li a:hover,
body .rs-footer .footer-bottom .widget_nav_menu ul li a:hover {
  color: var(--brand-blue) !important;
}

/* Remove unwanted bullet dot / pseudo separator color overrides */
.rs-footer .footer-bottom .widget_nav_menu ul li a:before,
body .rs-footer .footer-bottom .widget_nav_menu ul li a::before {
  background: var(--text-muted) !important;
  opacity: 0.5;
}




/* ==========================================================================
   18. HELLO ELEMENTOR HEADER & FULL-WIDTH SMART STICKY NAVIGATION
   ========================================================================== */

/* Fixed Body Header Offset */
body {
  padding-top: var(--header-height, 74px);
}

/* Single Brand Logo with Automatic Pure White Dark Mode Inversion */
.site-logo img,
.footer-logo img,
.drawer-logo img,
.sefid-brand-logo,
.logo-light {
  display: block !important;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.site-logo .logo-dark,
.footer-logo .logo-dark,
.drawer-logo .logo-dark {
  display: none !important;
}

[data-theme="dark"] .site-logo img,
[data-theme="dark"] .footer-logo img,
[data-theme="dark"] .drawer-logo img,
[data-theme="dark"] .sefid-brand-logo,
[data-theme="dark"] .logo-light,
body.dark .site-logo img,
body.dark .footer-logo img,
body.dark .drawer-logo img,
body.dark .sefid-brand-logo,
body.dark .logo-light,
body.dark-mode .site-logo img,
body.dark-mode .footer-logo img,
body.dark-mode .drawer-logo img,
body.dark-mode .sefid-brand-logo,
body.dark-mode .logo-light {
  filter: brightness(0) invert(1) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-logo img,
  :root:not([data-theme="light"]) .footer-logo img,
  :root:not([data-theme="light"]) .drawer-logo img,
  :root:not([data-theme="light"]) .sefid-brand-logo,
  :root:not([data-theme="light"]) .logo-light {
    filter: brightness(0) invert(1) !important;
  }
}

/* Full Width Smart Sticky Header */
#site-header,
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10000;
}

/* WP Admin Bar Top Offset for Sticky/Fixed Header */
body.admin-bar #site-header,
body.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar #site-header,
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed !important;
  }
}

[data-theme="dark"] #site-header,
[data-theme="dark"] .site-header {
  background: #1E293B;
  border-bottom: 1px solid #334155;
}

.site-header.header-unpinned {
  transform: translateY(-120%);
}

.site-header.header-pinned {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .site-header.header-pinned {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.site-header .header-inner-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 12px 36px !important;
  gap: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 1200px) {
  .site-header .header-inner-wrap {
    padding: 12px 24px !important;
  }
}

@media (max-width: 767.98px) {
  .site-header .header-inner-wrap {
    padding: 10px 16px !important;
    max-width: 100% !important;
  }
}

.site-header .site-logo a {
  display: flex;
  align-items: center;
}

.site-header .site-logo img {
  height: 48px;
  max-height: 48px;
  width: auto;
  display: block;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.site-header .main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.site-header .main-nav ul li {
  position: relative;
}

/* Eliminate any foreign pseudo-element underlines/decorations */
.site-header .main-nav ul li::before,
.site-header .main-nav ul li::after,
.site-header .main-nav ul li a::before,
.site-header .main-nav ul li a::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.site-header .main-nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color) !important;
  text-decoration: none !important;
  border-radius: var(--radius-sm, 6px);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

/* Harmonized Brand Blue Hover & Active States (No pink/yellow/multi-colored artifacts) */
.site-header .main-nav ul li a:hover,
.site-header .main-nav ul li:hover > a,
.site-header .main-nav ul li.current-menu-item > a,
.site-header .main-nav ul li.current-menu-ancestor > a,
.site-header .main-nav ul li.current_page_item > a,
.site-header .main-nav ul li.current_page_ancestor > a {
  color: var(--brand-blue, #508FBD) !important;
  background: rgba(80, 143, 189, 0.08) !important;
}

[data-theme="dark"] .site-header .main-nav ul li a:hover,
[data-theme="dark"] .site-header .main-nav ul li:hover > a,
[data-theme="dark"] .site-header .main-nav ul li.current-menu-item > a,
[data-theme="dark"] .site-header .main-nav ul li.current-menu-ancestor > a,
[data-theme="dark"] .site-header .main-nav ul li.current_page_item > a,
[data-theme="dark"] .site-header .main-nav ul li.current_page_ancestor > a {
  color: #60A5FA !important;
  background: rgba(96, 165, 250, 0.12) !important;
}

/* Inline SVG Menu Icons */
.menu-item-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
  color: var(--brand-blue);
  transition: color 0.2s ease;
}

[data-theme="dark"] .menu-item-svg {
  color: #60A5FA;
}

.menu-item-svg svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* Submenu / Dropdowns */
.site-header .main-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  padding: 8px 0;
  z-index: 1000;
  gap: 0;
}

[data-theme="dark"] .site-header .main-nav ul li .sub-menu {
  background: #1E293B;
  border-color: #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.site-header .main-nav ul li:hover > .sub-menu {
  display: flex;
}

.site-header .main-nav ul li .sub-menu li {
  width: 100%;
}

.site-header .main-nav ul li .sub-menu li a {
  padding: 8px 18px;
  width: 100%;
  border-radius: 0;
  font-size: 13px;
}

.site-header .main-nav ul li .sub-menu li a:hover {
  background: rgba(80, 143, 189, 0.12);
  color: var(--brand-blue);
}

[data-theme="dark"] .site-header .main-nav ul li .sub-menu li a:hover {
  background: #0F172A;
  color: #60A5FA;
}

/* Header Actions */
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sefid-lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.sefid-lang-toggle-btn:hover {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  background: var(--bg-surface) !important;
  transform: translateY(-1px);
}

.sefid-lang-toggle-btn .lang-flag {
  font-size: 14px;
  line-height: 1;
}

.sefid-lang-toggle-btn .lang-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.header-search-toggle:hover {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  background: var(--bg-surface) !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .header-search-toggle:hover {
  color: #60A5FA !important;
  border-color: #60A5FA !important;
  background: #1E293B !important;
}

.header-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

.header-theme-toggle:hover {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  background: var(--bg-surface) !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .header-theme-toggle:hover {
  color: #60A5FA !important;
  border-color: #60A5FA !important;
  background: #1E293B !important;
}

/* Universal Theme Toggle & Search Button Class Aliases (Brand Blue, Zero Pink/Yellow) */
.theme-switcher,
.theme-toggle,
.dark-mode-toggle,
#theme-toggle,
.theme-toggle-btn,
.search-icon,
.search-toggle,
.search-button {
  -webkit-tap-highlight-color: transparent;
}

.theme-switcher:hover,
.theme-toggle:hover,
.dark-mode-toggle:hover,
#theme-toggle:hover,
.theme-toggle-btn:hover,
.search-icon:hover,
.search-toggle:hover,
.search-button:hover {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
}

[data-theme="dark"] .theme-switcher:hover,
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .dark-mode-toggle:hover,
[data-theme="dark"] #theme-toggle:hover,
[data-theme="dark"] .theme-toggle-btn:hover,
[data-theme="dark"] .search-icon:hover,
[data-theme="dark"] .search-toggle:hover,
[data-theme="dark"] .search-button:hover {
  color: #60A5FA !important;
  border-color: #60A5FA !important;
}

.header-theme-toggle:focus-visible,
.header-search-toggle:focus-visible,
.theme-switcher:focus-visible,
.theme-toggle:focus-visible,
.dark-mode-toggle:focus-visible,
#theme-toggle:focus-visible,
.theme-toggle-btn:focus-visible,
.search-icon:focus-visible,
.search-toggle:focus-visible,
.search-button:focus-visible,
#header-search-toggle:focus-visible,
#header-theme-toggle:focus-visible,
.mobile-menu-toggle:focus-visible,
#sefid-drawer-toggle:focus-visible {
  outline: 2px solid var(--brand-blue, #508FBD) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(80, 143, 189, 0.25) !important;
  border-color: var(--brand-blue, #508FBD) !important;
  color: var(--brand-blue, #508FBD) !important;
}

[data-theme="dark"] .header-theme-toggle:focus-visible,
[data-theme="dark"] .header-search-toggle:focus-visible,
[data-theme="dark"] .theme-switcher:focus-visible,
[data-theme="dark"] .theme-toggle:focus-visible,
[data-theme="dark"] .dark-mode-toggle:focus-visible,
[data-theme="dark"] #theme-toggle:focus-visible,
[data-theme="dark"] .theme-toggle-btn:focus-visible,
[data-theme="dark"] .search-icon:focus-visible,
[data-theme="dark"] .search-toggle:focus-visible,
[data-theme="dark"] .search-button:focus-visible,
[data-theme="dark"] #header-search-toggle:focus-visible,
[data-theme="dark"] #header-theme-toggle:focus-visible,
[data-theme="dark"] .mobile-menu-toggle:focus-visible,
[data-theme="dark"] #sefid-drawer-toggle:focus-visible {
  outline-color: #60A5FA !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3) !important;
  border-color: #60A5FA !important;
  color: #60A5FA !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  padding: 10px 8px;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

[data-theme="dark"] .mobile-menu-toggle {
  background: #1E293B;
  border-color: #334155;
}

.mobile-menu-toggle:hover {
  border-color: var(--brand-blue, #508FBD);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  border-color: #60A5FA;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main, #0F172A) !important;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

[data-theme="dark"] .mobile-menu-toggle .bar {
  background-color: var(--text-main, #F8FAFC) !important;
}

.mobile-menu-toggle:hover .bar {
  background-color: var(--brand-blue, #508FBD) !important;
}

[data-theme="dark"] .mobile-menu-toggle:hover .bar {
  background-color: #60A5FA !important;
}

/* Transform hamburger to 'X' when active */
.mobile-menu-toggle.is-active {
  background: var(--bg-surface, #FFFFFF);
  border-color: var(--brand-blue, #508FBD);
}

[data-theme="dark"] .mobile-menu-toggle.is-active {
  background: #1E293B;
  border-color: #60A5FA;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .site-header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   QUICK SEARCH MODAL OVERLAY
   ========================================================================== */
.sefid-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  align-items: center;
  justify-content: center;
}

.sefid-search-modal.is-active {
  display: flex;
}

.sefid-search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sefid-search-modal-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  z-index: 2;
  animation: sefidFadeSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sefidFadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sefid-search-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl, 16px);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
}

[data-theme="dark"] .sefid-search-modal-box {
  background: #1E293B;
  border-color: #334155;
}

.sefid-search-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-full, 9999px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sefid-search-modal-close:hover {
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .sefid-search-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-modal-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: var(--text-color);
}

.sefid-search-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-base);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .sefid-search-input-wrap {
  background: var(--bg-secondary) !important;
  background-color: var(--bg-secondary) !important;
  border-color: var(--border-color) !important;
}

.sefid-search-input-wrap:focus-within {
  border-color: var(--border-color) !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.search-input-icon {
  margin-left: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
}

[data-theme="dark"] .search-input-icon {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text-muted) !important;
}

.sefid-search-input,
.sefid-search-input:focus,
.sefid-search-input:focus-visible,
#sefid-header-search-input,
#sefid-header-search-input:focus,
#sefid-header-search-input:focus-visible,
input#sefid-header-search-input,
input#sefid-header-search-input:focus,
input#sefid-header-search-input:focus-visible,
.drawer-search-input,
.drawer-search-input:focus,
.drawer-search-input:focus-visible,
input.drawer-search-input,
input.drawer-search-input:focus,
input.drawer-search-input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
}

.sefid-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 14px 14px 14px 10px !important;
  font-size: 16px !important;
  color: var(--text-color) !important;
  outline: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .sefid-search-input,
[data-theme="dark"] #sefid-header-search-input,
[data-theme="dark"] input#sefid-header-search-input {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text-main) !important;
}

.sefid-search-submit,
button.sefid-search-submit,
button[type="submit"].sefid-search-submit {
  background: var(--brand-blue) !important;
  background-color: var(--brand-blue) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0 24px !important;
  height: 52px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  border-radius: 0 14px 14px 0 !important;
  -webkit-border-radius: 0 14px 14px 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  box-shadow: none !important;
  margin: 0 !important;
  transition: background-color 0.2s ease !important;
}

.sefid-search-submit:hover,
button.sefid-search-submit:hover,
button[type="submit"].sefid-search-submit:hover {
  background: var(--brand-blue-hover) !important;
  background-color: var(--brand-blue-hover) !important;
}

/* ==========================================================================
   MOBILE SLIDE-OUT DRAWER NAVIGATION
   ========================================================================== */
.sefid-mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.35s ease;
}

.sefid-mobile-drawer.is-active {
  visibility: visible;
  pointer-events: auto;
}

.sefid-mobile-drawer .drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}

.sefid-mobile-drawer.is-active .drawer-backdrop {
  opacity: 1;
}

.sefid-mobile-drawer .drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  height: 100dvh;
  background: var(--bg-surface, #FFFFFF);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 2;
}

[data-theme="dark"] .sefid-mobile-drawer .drawer-panel {
  background: #0F172A;
  border-left: 1px solid #334155;
}

.sefid-mobile-drawer.is-active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.drawer-close-btn:hover {
  color: var(--text-color);
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.drawer-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
}

.drawer-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  color: var(--text-color) !important;
  outline: none !important;
  box-shadow: none !important;
}

.drawer-search-submit {
  background: transparent;
  border: none;
  padding: 0 12px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav .drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav .drawer-menu-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.drawer-nav .drawer-menu-list li a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--text-color, var(--text-main, #0F172A));
  text-decoration: none;
  border-radius: var(--radius-sm, 6px);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.drawer-nav .drawer-menu-list li a .menu-item-svg {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav .drawer-menu-list li a .menu-item-svg svg {
  width: 18px;
  height: 18px;
}

.drawer-nav .drawer-menu-list li a:hover,
.drawer-nav .drawer-menu-list li.current-menu-item > a {
  background: rgba(80, 143, 189, 0.1);
  color: var(--brand-blue);
}

[data-theme="dark"] .drawer-nav .drawer-menu-list li a:hover,
[data-theme="dark"] .drawer-nav .drawer-menu-list li.current-menu-item > a {
  background: rgba(96, 165, 250, 0.12);
  color: #60A5FA;
}

.drawer-nav .drawer-menu-list .sub-menu {
  list-style: none;
  margin: 4px 0 6px 16px;
  padding: 0 0 0 10px;
  border-left: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav .drawer-menu-list .sub-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.drawer-nav .drawer-menu-list .sub-menu li a {
  font-size: 13px;
  padding: 6px 10px;
}

.drawer-contact-box {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-contact-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 4px 0;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.drawer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-contact-item a:hover {
  color: var(--brand-blue);
}

body.drawer-open {
  overflow: hidden !important;
}

/* ==========================================================================
   19. DYNAMIC FULL-WIDTH FOOTER SYSTEM
   ========================================================================== */
.site-footer.rs-footer {
  width: 100%;
  max-width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .site-footer.rs-footer {
  background: #0F172A;
  border-top: 1px solid #1E293B;
}

.site-footer .footer-top {
  padding: 60px 0 50px 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .site-footer .footer-top {
  border-bottom-color: #1E293B;
}

.site-footer .footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .site-footer .footer-container {
    padding: 0 20px;
  }
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

@media (max-width: 991px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-col-brand .footer-logo {
  margin-bottom: 18px;
}

.footer-col-brand .footer-logo img {
  height: 52px;
  max-height: 52px;
  width: auto;
  display: block;
}

.footer-brand-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 24px 0;
  max-width: 520px;
}

.site-footer .footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact-list li .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

[data-theme="dark"] .footer-contact-list li .dashicons {
  color: #60A5FA;
}

.footer-contact-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
  color: var(--brand-blue);
}

[data-theme="dark"] .footer-contact-list li a:hover {
  color: #60A5FA;
}

.footer-newsletter-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-newsletter-form .sefid-newsletter-form-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .footer-newsletter-form .sefid-newsletter-form-fields {
    flex-direction: column;
  }
}

.footer-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px !important;
  background: var(--bg-base) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md, 8px) !important;
  color: var(--text-color) !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border-color 0.2s ease;
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: var(--brand-blue) !important;
}

.footer-newsletter-form input[type="submit"],
.footer-newsletter-form button[type="submit"] {
  padding: 12px 24px !important;
  background: var(--brand-green, #269235) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-md, 8px) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.footer-newsletter-form input[type="submit"]:hover,
.footer-newsletter-form button[type="submit"]:hover {
  background: var(--brand-green-hover, #1e7e2c) !important;
  transform: translateY(-1px);
}

.footer-social-wrap .footer_social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-wrap .footer_social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 16px;
}

.footer-social-wrap .footer_social li a svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.footer-social-wrap .footer_social li a:hover svg {
  transform: scale(1.1);
}

.footer-social-wrap .footer_social li a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

[data-theme="dark"] .footer-social-wrap .footer_social li a:hover {
  background: #60A5FA;
  border-color: #60A5FA;
  color: #0F172A;
}

/* Sidfot Bottenrad */
.site-footer .footer-bottom {
  padding: 22px 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .site-footer .footer-bottom {
  background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 767.98px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-copyright p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-designer-credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-designer-credit a:hover {
  color: var(--brand-blue);
}

[data-theme="dark"] .footer-designer-credit a:hover {
  color: #60A5FA;
}

.footer-menu-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu-links li a .menu-item-svg {
  margin-right: 0;
  width: 15px;
  height: 15px;
}

.footer-menu-links li a .menu-item-svg svg {
  width: 14px;
  height: 14px;
}

.footer-menu-links li a:hover {
  color: var(--brand-blue);
}

[data-theme="dark"] .footer-menu-links li a:hover {
  color: #60A5FA;
}

/* ==========================================================================
   FLOATING "GO TO TOP" BUTTON & HOMEPAGE GLASS SHINE EFFECT
   ========================================================================== */

/* Floating "Go to Top" Button */
#sefid-back-to-top {
  position: fixed;
  bottom: 70px;
  right: 25px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: var(--brand-blue, #508FBD);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  border: none !important;
  outline: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  overflow: hidden;
}

#sefid-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#sefid-back-to-top:hover {
  background: var(--brand-blue-hover, #3B79A7);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.26);
}

#sefid-back-to-top:active {
  transform: translateY(0);
}

#sefid-back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

#sefid-back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  #sefid-back-to-top {
    bottom: calc(var(--nav-height-mobile, 65px) + 30px);
    right: 16px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
  }
  #sefid-back-to-top svg {
    width: 15px;
    height: 15px;
  }
}

/* Homepage Glass Shine Effect on Primary Green Buttons */
.home .btn-primary,
.home .btn-boka,
.home .sefid-btn-main,
.home .sefid-card-btn-cta {
  position: relative;
  overflow: hidden;
}

.home .btn-primary::after,
.home .btn-boka::after,
.home .sefid-btn-main::after,
.home .sefid-card-btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: glassShineSweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes glassShineSweep {
  0%, 70% {
    left: -120%;
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  85% {
    left: 150%;
    opacity: 0.8;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* ==========================================================================
   12.9 SEFID SERVICES GRID & CARDS (GLOBAL COMPATIBILITY)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

#vara-tjanster,
#our-services,
.sefid-services-section-wrap {
  scroll-margin-top: 100px;
  padding: 60px 0;
}

@media (max-width: 767.98px) {
  .sefid-services-section-wrap {
    padding: 36px 0;
  }
}

.sefid-services-grid-wrapper {
  width: 100%;
  margin: 0 auto;
}

.sefid-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transition: opacity 0.25s ease;
}

.sefid-service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.sefid-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 16px 32px rgba(80, 143, 189, 0.16);
  border-color: var(--brand-blue);
}

.sefid-service-card.sefid-card-featured {
  border: 2px solid var(--brand-green);
  box-shadow: 0 8px 24px -4px rgba(38, 146, 53, 0.2);
}

.service-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sefid-service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card-tag.badge-featured {
  background: var(--brand-green);
  color: #FFFFFF;
}

.service-card-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-bullets li svg {
  stroke: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-pricing {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.price-highlight {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-rut-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-green);
  margin-top: 2px;
}

.service-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.sefid-card-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.sefid-card-btn-outline:hover {
  background: var(--border-color);
  color: var(--brand-blue);
  text-decoration: none;
}

.sefid-card-btn-cta {
  padding: 10px 12px !important;
  font-size: 0.875rem !important;
}

@media (max-width: 991.98px) {
  .sefid-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767.98px) {
  .sefid-services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* ==========================================================================
   20. PAGE-SPECIFIC LIGHT THEME BACKGROUND COLOR (#f8fafc)
   Applied strictly to target service pages, om-oss, kontakt, minprofil,
   blogg, success, and their English translations in Light Mode only.
   Cards, boxes, heroes, accordions, and forms retain pure white background.
   ========================================================================== */
body.sefid-page-bg-slate,
body.page-id-34111, body.page-id-34277,
body.page-id-34159, body.page-id-34278,
body.page-id-34157, body.page-id-34279,
body.page-id-34158, body.page-id-34280,
body.page-id-34156, body.page-id-34281,
body.page-id-34154, body.page-id-34282,
body.page-id-34250, body.page-id-34283,
body.page-id-34155, body.page-id-34284,
body.page-id-34160, body.page-id-34285,
body.page-id-34162, body.page-id-34286,
body.page-id-34161, body.page-id-34287,
body.page-id-34136, body.page-id-34288,
body.page-id-34214, body.page-id-34289,
body.page-id-34211, body.page-id-34290,
body.page-id-26839, body.page-id-34291,
body.page-id-15,    body.page-id-34328,
body.blog,
body.page-id-34386, body.page-id-34396 {
  background-color: #f8fafc !important;
}

body.sefid-page-bg-slate #page,
body.page-id-34111 #page, body.page-id-34277 #page,
body.page-id-34159 #page, body.page-id-34278 #page,
body.page-id-34157 #page, body.page-id-34279 #page,
body.page-id-34158 #page, body.page-id-34280 #page,
body.page-id-34156 #page, body.page-id-34281 #page,
body.page-id-34154 #page, body.page-id-34282 #page,
body.page-id-34250 #page, body.page-id-34283 #page,
body.page-id-34155 #page, body.page-id-34284 #page,
body.page-id-34160 #page, body.page-id-34285 #page,
body.page-id-34162 #page, body.page-id-34286 #page,
body.page-id-34161 #page, body.page-id-34287 #page,
body.page-id-34136 #page, body.page-id-34288 #page,
body.page-id-34214 #page, body.page-id-34289 #page,
body.page-id-34211 #page, body.page-id-34290 #page,
body.page-id-26839 #page, body.page-id-34291 #page,
body.page-id-15 #page,    body.page-id-34328 #page,
body.blog #page,
body.page-id-34386 #page, body.page-id-34396 #page,
body.sefid-page-bg-slate .site-content,
body.sefid-page-bg-slate .main-contain,
body.sefid-page-bg-slate .sefid-clean-page-wrapper,
body.sefid-page-bg-slate .site-main,
body.sefid-page-bg-slate .page-content,
body.page-id-34111 .site-content, body.page-id-34277 .site-content,
body.page-id-34159 .site-content, body.page-id-34278 .site-content,
body.page-id-34157 .site-content, body.page-id-34279 .site-content,
body.page-id-34158 .site-content, body.page-id-34280 .site-content,
body.page-id-34156 .site-content, body.page-id-34281 .site-content,
body.page-id-34154 .site-content, body.page-id-34282 .site-content,
body.page-id-34250 .site-content, body.page-id-34283 .site-content,
body.page-id-34155 .site-content, body.page-id-34284 .site-content,
body.page-id-34160 .site-content, body.page-id-34285 .site-content,
body.page-id-34162 .site-content, body.page-id-34286 .site-content,
body.page-id-34161 .site-content, body.page-id-34287 .site-content,
body.page-id-34136 .site-content, body.page-id-34288 .site-content,
body.page-id-34214 .site-content, body.page-id-34289 .site-content,
body.page-id-34211 .site-content, body.page-id-34290 .site-content,
body.page-id-26839 .site-content, body.page-id-34291 .site-content,
body.page-id-15 .site-content,    body.page-id-34328 .site-content,
body.blog .site-content,
body.page-id-34386 .site-content, body.page-id-34396 .site-content,
body.page-id-34386 .elementor-34386,
body.page-id-34396 .elementor-34396 {
  background-color: #f8fafc !important;
}

/* Dark Mode Overrides: Explicitly preserve dark background #0e1629 */
[data-theme="dark"] body.sefid-page-bg-slate,
[data-theme="dark"] body.page-id-34111, [data-theme="dark"] body.page-id-34277,
[data-theme="dark"] body.page-id-34159, [data-theme="dark"] body.page-id-34278,
[data-theme="dark"] body.page-id-34157, [data-theme="dark"] body.page-id-34279,
[data-theme="dark"] body.page-id-34158, [data-theme="dark"] body.page-id-34280,
[data-theme="dark"] body.page-id-34156, [data-theme="dark"] body.page-id-34281,
[data-theme="dark"] body.page-id-34154, [data-theme="dark"] body.page-id-34282,
[data-theme="dark"] body.page-id-34250, [data-theme="dark"] body.page-id-34283,
[data-theme="dark"] body.page-id-34155, [data-theme="dark"] body.page-id-34284,
[data-theme="dark"] body.page-id-34160, [data-theme="dark"] body.page-id-34285,
[data-theme="dark"] body.page-id-34162, [data-theme="dark"] body.page-id-34286,
[data-theme="dark"] body.page-id-34161, [data-theme="dark"] body.page-id-34287,
[data-theme="dark"] body.page-id-34136, [data-theme="dark"] body.page-id-34288,
[data-theme="dark"] body.page-id-34214, [data-theme="dark"] body.page-id-34289,
[data-theme="dark"] body.page-id-34211, [data-theme="dark"] body.page-id-34290,
[data-theme="dark"] body.page-id-26839, [data-theme="dark"] body.page-id-34291,
[data-theme="dark"] body.page-id-15,    [data-theme="dark"] body.page-id-34328,
[data-theme="dark"] body.blog,
[data-theme="dark"] body.page-id-34386, [data-theme="dark"] body.page-id-34396,
body.dark.sefid-page-bg-slate, body.dark-mode.sefid-page-bg-slate,
body.dark.page-id-34111, body.dark.page-id-34277,
body.dark.page-id-34159, body.dark.page-id-34278,
body.dark.page-id-34157, body.dark.page-id-34279,
body.dark.page-id-34158, body.dark-mode.page-id-34280,
body.dark.page-id-34156, body.dark.page-id-34281,
body.dark.page-id-34154, body.dark.page-id-34282,
body.dark.page-id-34250, body.dark.page-id-34283,
body.dark.page-id-34155, body.dark.page-id-34284,
body.dark.page-id-34160, body.dark.page-id-34285,
body.dark.page-id-34162, body.dark.page-id-34286,
body.dark.page-id-34161, body.dark.page-id-34287,
body.dark.page-id-34136, body.dark.page-id-34288,
body.dark.page-id-34214, body.dark.page-id-34289,
body.dark.page-id-34211, body.dark.page-id-34290,
body.dark.page-id-26839, body.dark.page-id-34291,
body.dark.page-id-15,    body.dark.page-id-34328,
body.dark.blog,
body.dark.page-id-34386, body.dark.page-id-34396,
body.dark-mode.page-id-34111, body.dark-mode.page-id-34277,
body.dark-mode.page-id-34159, body.dark-mode.page-id-34278,
body.dark-mode.page-id-34157, body.dark-mode.page-id-34279,
body.dark-mode.page-id-34158, body.dark-mode.page-id-34280,
body.dark-mode.page-id-34156, body.dark-mode.page-id-34281,
body.dark-mode.page-id-34154, body.dark-mode.page-id-34282,
body.dark-mode.page-id-34250, body.dark-mode.page-id-34283,
body.dark-mode.page-id-34155, body.dark-mode.page-id-34284,
body.dark-mode.page-id-34160, body.dark-mode.page-id-34285,
body.dark-mode.page-id-34162, body.dark-mode.page-id-34286,
body.dark-mode.page-id-34161, body.dark-mode.page-id-34287,
body.dark-mode.page-id-34136, body.dark-mode.page-id-34288,
body.dark-mode.page-id-34214, body.dark-mode.page-id-34289,
body.dark-mode.page-id-34211, body.dark-mode.page-id-34290,
body.dark-mode.page-id-26839, body.dark-mode.page-id-34291,
body.dark-mode.page-id-15,    body.dark-mode.page-id-34328,
body.dark-mode.blog,
body.dark-mode.page-id-34386, body.dark-mode.page-id-34396 {
  background-color: var(--bg-primary) !important;
}

[data-theme="dark"] body.sefid-page-bg-slate #page,
[data-theme="dark"] body.sefid-page-bg-slate .site-content,
[data-theme="dark"] body.sefid-page-bg-slate .main-contain,
[data-theme="dark"] body.sefid-page-bg-slate .sefid-clean-page-wrapper,
[data-theme="dark"] body.sefid-page-bg-slate .site-main,
[data-theme="dark"] body.sefid-page-bg-slate .page-content,
[data-theme="dark"] body.page-id-34386 .elementor-34386,
[data-theme="dark"] body.page-id-34396 .elementor-34396,
body.dark.sefid-page-bg-slate #page,
body.dark.sefid-page-bg-slate .site-content,
body.dark.sefid-page-bg-slate .main-contain,
body.dark.sefid-page-bg-slate .sefid-clean-page-wrapper,
body.dark.sefid-page-bg-slate .site-main,
body.dark.sefid-page-bg-slate .page-content,
body.dark.page-id-34386 .elementor-34386,
body.dark.page-id-34396 .elementor-34396,
body.dark-mode.sefid-page-bg-slate #page,
body.dark-mode.sefid-page-bg-slate .site-content,
body.dark-mode.sefid-page-bg-slate .main-contain,
body.dark-mode.sefid-page-bg-slate .sefid-clean-page-wrapper,
body.dark-mode.sefid-page-bg-slate .site-main,
body.dark-mode.sefid-page-bg-slate .page-content,
body.dark-mode.page-id-34386 .elementor-34386,
body.dark-mode.page-id-34396 .elementor-34396 {
  background-color: var(--bg-primary) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.sefid-page-bg-slate,
  :root:not([data-theme="light"]) body.page-id-34111,
  :root:not([data-theme="light"]) body.page-id-34277,
  :root:not([data-theme="light"]) body.page-id-34159,
  :root:not([data-theme="light"]) body.page-id-34278,
  :root:not([data-theme="light"]) body.page-id-34157,
  :root:not([data-theme="light"]) body.page-id-34279,
  :root:not([data-theme="light"]) body.page-id-34158,
  :root:not([data-theme="light"]) body.page-id-34280,
  :root:not([data-theme="light"]) body.page-id-34156,
  :root:not([data-theme="light"]) body.page-id-34281,
  :root:not([data-theme="light"]) body.page-id-34154,
  :root:not([data-theme="light"]) body.page-id-34282,
  :root:not([data-theme="light"]) body.page-id-34250,
  :root:not([data-theme="light"]) body.page-id-34283,
  :root:not([data-theme="light"]) body.page-id-34155,
  :root:not([data-theme="light"]) body.page-id-34284,
  :root:not([data-theme="light"]) body.page-id-34160,
  :root:not([data-theme="light"]) body.page-id-34285,
  :root:not([data-theme="light"]) body.page-id-34162,
  :root:not([data-theme="light"]) body.page-id-34286,
  :root:not([data-theme="light"]) body.page-id-34161,
  :root:not([data-theme="light"]) body.page-id-34287,
  :root:not([data-theme="light"]) body.page-id-34136,
  :root:not([data-theme="light"]) body.page-id-34288,
  :root:not([data-theme="light"]) body.page-id-34214,
  :root:not([data-theme="light"]) body.page-id-34289,
  :root:not([data-theme="light"]) body.page-id-34211,
  :root:not([data-theme="light"]) body.page-id-34290,
  :root:not([data-theme="light"]) body.page-id-26839,
  :root:not([data-theme="light"]) body.page-id-34291,
  :root:not([data-theme="light"]) body.page-id-15,
  :root:not([data-theme="light"]) body.page-id-34328,
  :root:not([data-theme="light"]) body.blog,
  :root:not([data-theme="light"]) body.page-id-34386,
  :root:not([data-theme="light"]) body.page-id-34396 {
    background-color: var(--bg-primary) !important;
  }

  :root:not([data-theme="light"]) body.sefid-page-bg-slate #page,
  :root:not([data-theme="light"]) body.sefid-page-bg-slate .site-content,
  :root:not([data-theme="light"]) body.sefid-page-bg-slate .main-contain,
  :root:not([data-theme="light"]) body.sefid-page-bg-slate .sefid-clean-page-wrapper,
  :root:not([data-theme="light"]) body.sefid-page-bg-slate .site-main,
  :root:not([data-theme="light"]) body.sefid-page-bg-slate .page-content,
  :root:not([data-theme="light"]) body.page-id-34386 .elementor-34386,
  :root:not([data-theme="light"]) body.page-id-34396 .elementor-34396 {
    background-color: var(--bg-primary) !important;
  }
}


