/* Holdingbolag Pro Theme - converted from Lovable styles.css */

:root {
  --radius: 1rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "DM Sans", "Inter", ui-sans-serif, system-ui, sans-serif;

  --site-bg: #ffffff;
  --site-bg-soft: #f3f6f7;
  --header-bg: rgba(255, 255, 255, 0.92);
  --brand-primary: #10B981;
  --brand-primary-soft: #d1fae5;
  --brand-teal: #1e3a4a;
  --brand-teal-deep: #132630;
  --text-main: #192a2e;
  --text-muted: #617178;
  --card-bg: #ffffff;
  --border-color: #e2e8ea;
  --cta: #10B981;
  --cta-hover: #059669;
  --shadow-card: 0 12px 40px -16px rgba(30, 58, 74, 0.22);
  --shadow-glow: 0 18px 50px -18px rgba(16, 185, 129, 0.55);
  --site-header-height: 4.5rem;
  --page-content-width: 48rem;

  /* Legacy aliases for animation rules */
  --background: var(--site-bg);
  --foreground: var(--text-main);
  --primary: var(--brand-primary);
  --primary-foreground: #ffffff;
  --primary-soft: var(--brand-primary-soft);
  --teal: var(--brand-teal);
  --teal-deep: var(--brand-teal-deep);
  --teal-foreground: #ffffff;
  --secondary: var(--site-bg-soft);
  --secondary-foreground: var(--brand-teal-deep);
  --muted: #f5f7f8;
  --muted-foreground: var(--text-muted);
  --border: var(--border-color);
  --card: var(--card-bg);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--site-bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 1023px) {
  .container {
    padding-left: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 0.75rem));
    padding-right: max(1.5rem, calc(env(safe-area-inset-right, 0px) + 0.75rem));
  }

  .site-header .container {
    padding-left: max(1.25rem, calc(env(safe-area-inset-left, 0px) + 0.625rem));
    padding-right: max(1.25rem, calc(env(safe-area-inset-right, 0px) + 0.625rem));
  }
}

@media (min-width: 1024px) {
  :root {
    --site-header-height: 4.75rem;
  }

  .container { padding-left: 2rem; padding-right: 2rem; }
}

.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }

.section-soft { background: rgba(243, 246, 247, 0.4); }

.text-primary { color: var(--brand-primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.text-white-85 { color: rgba(255, 255, 255, 0.85); }
.text-white-70 { color: rgba(255, 255, 255, 0.7); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-intro {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text-muted);
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal].is-in,
[data-reveal-in="true"] {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (max-width: 1023px) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-video { animation: none !important; }
  .float-slow { animation: none !important; }
}

@keyframes heroZoom {
  0%   { transform: scale(1.05) translate3d(0,0,0); }
  50%  { transform: scale(1.12) translate3d(-1%, -1%, 0); }
  100% { transform: scale(1.05) translate3d(0,0,0); }
}
.hero-video { animation: heroZoom 22s ease-in-out infinite; width: 100%; height: 100%; object-fit: cover; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
.float-slow { animation: floatY 7s ease-in-out infinite; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, border-color .35s ease;
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.125rem 0;
}

@media (max-width: 1023px) {
  .site-header__inner {
    padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1.25rem;
  }
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.site-header__logo-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.site-header__logo-icon--image {
  background: none;
}
.site-header__logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.site-header__logo-full {
  height: 3.5rem;
  max-width: 16rem;
  width: auto;
  object-fit: contain;
}
.site-header__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .35s ease;
}
.site-header:not(.is-scrolled):not(.site-header--solid) .site-header__logo-text { color: #fff; }
.site-header.is-scrolled .site-header__logo-text,
.site-header--solid .site-header__logo-text { color: var(--text-main); }

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .site-header__nav { display: flex; } }

.site-header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color .25s ease;
}
.site-header:not(.is-scrolled):not(.site-header--solid) .site-header__nav a { color: rgba(255,255,255,0.85); }
.site-header.is-scrolled .site-header__nav a,
.site-header--solid .site-header__nav a { color: rgba(25,42,46,0.8); }
.site-header__nav a:hover { color: var(--brand-primary); }

.site-header__menu,
.site-header__mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-header__mobile-menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.site-header__menu li,
.site-header__mobile-menu li { margin: 0; }

.site-header.is-scrolled,
.site-header--solid {
  background-color: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 8px 30px -20px rgba(30, 58, 74, 0.35);
  border-bottom-color: var(--border-color);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: transform .25s ease;
}
.site-header__cta:hover { transform: scale(1.02); }

.site-header__menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  min-width: 2.875rem;
  min-height: 2.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.site-header__menu-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.375rem;
  height: 1.375rem;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
.site-header__menu-icon--open { opacity: 1; }
.site-header__menu-icon--close { opacity: 0; pointer-events: none; }
.site-header.nav-open .site-header__menu-icon--open { opacity: 0; pointer-events: none; }
.site-header.nav-open .site-header__menu-icon--close { opacity: 1; pointer-events: auto; }
.site-header.is-scrolled .site-header__menu-toggle,
.site-header--solid .site-header__menu-toggle {
  color: var(--text-main);
  background: var(--site-bg-soft);
  border-color: var(--border-color);
}
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__mobile-nav,
.site-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.site-header.nav-open .site-header__mobile-nav,
.site-mobile-nav.is-open {
  display: block;
}
.site-header__mobile-overlay,
.site-mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 38, 48, 0.55);
  opacity: 0;
  transition: opacity .32s ease;
}
.site-header.nav-open .site-header__mobile-overlay,
.site-mobile-nav.is-open .site-mobile-nav__overlay {
  opacity: 1;
}
.site-header__mobile-panel,
.site-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 22rem);
  max-width: 100%;
  height: 100%;
  background: var(--site-bg);
  padding:
    max(1.5rem, env(safe-area-inset-top, 0px))
    max(2.75rem, calc(env(safe-area-inset-right, 0px) + 1.5rem))
    max(2rem, env(safe-area-inset-bottom, 0px))
    max(2.75rem, calc(env(safe-area-inset-left, 0px) + 1.5rem));
  box-shadow: -12px 0 40px rgba(19, 38, 48, 0.16);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
}
.site-header.nav-open .site-header__mobile-panel,
.site-mobile-nav.is-open .site-mobile-nav__panel {
  transform: translateX(0);
}
.site-header__mobile-panel-head,
.site-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.site-header__mobile-panel-title,
.site-mobile-nav__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.site-header__mobile-close,
.site-mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  background: var(--site-bg);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header__mobile-close:hover,
.site-mobile-nav__close:hover {
  background: var(--site-bg-soft);
  border-color: rgba(16, 185, 129, 0.35);
}
.site-header__mobile-menu {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.5rem 0 0;
}
.site-header__mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  transition: color .2s ease, padding-left .2s ease;
}
.site-header__mobile-menu li:last-child a {
  border-bottom: none;
}
.site-header__mobile-menu a:hover,
.site-header__mobile-menu a:focus-visible {
  color: var(--brand-primary);
  padding-left: 0.25rem;
}
.site-header__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  width: 100%;
  border-radius: 9999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: var(--shadow-glow);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.site-header__mobile-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -18px rgba(16, 185, 129, 0.6);
}
.site-header__mobile-cta svg,
.site-header__mobile-cta .icon-arrow {
  color: #fff;
  stroke: #fff;
}

@media (max-width: 639px) {
  .site-header__mobile-panel,
  .site-mobile-nav__panel {
    width: 100%;
    max-width: none;
  }
}

/* Buttons */
.btn-arrow svg, .btn-arrow .icon-arrow { transition: transform .25s ease; }
.btn-arrow:hover svg, .btn-arrow:hover .icon-arrow { transform: translateX(4px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--cta);
  color: #fff;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: background .25s ease, box-shadow .25s ease;
}
.btn-primary:hover { background: var(--cta-hover); box-shadow: 0 20px 40px -18px rgba(16,185,129,0.6); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-main);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color .25s ease, color .25s ease;
}
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* Cards */
.lift-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.lift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(19, 38, 48, 0.35);
  border-color: rgba(25, 42, 46, 0.14);
}

.card {
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 1.75rem;
}
.card--featured {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}
.card-icon .service-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.card--featured .card-icon { background: rgba(255,255,255,0.15); color: #fff; }

.card-label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}
.card--featured .card-label { color: rgba(255,255,255,0.7); }

.card-title { margin-top: 0.25rem; font-size: 1.125rem; font-weight: 700; }
.card-preview { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--text-muted); }
.card--featured .card-preview { color: rgba(255,255,255,0.85); }

.card-badge {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: rgba(243,246,247,0.6);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(25,42,46,0.7);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Expandable */
.expand-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1);
}
.expand-grid[data-open="true"] { grid-template-rows: 1fr; }
.expand-grid__inner { min-height: 0; overflow: hidden; }
.expand-grid__content {
  padding-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-muted);
}
.card--featured .expand-grid__content { color: rgba(255,255,255,0.85); }

.expand-toggle {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.card--featured .expand-toggle { color: #fff; }

.expand-chevron { transition: transform .25s ease; width: 1rem; height: 1rem; }
button[data-open="true"] .expand-chevron { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  .expand-grid, .expand-chevron { transition: none; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(19,38,48,0.85), rgba(30,58,74,0.75), rgba(19,38,48,0.9));
}
.hero__overlay-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 30%, rgba(0,0,0,0.25), transparent 70%);
}
.hero__decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.hero__decor-blob {
  position: absolute;
  border-radius: 1.5rem;
  background: rgba(16,185,129,0.2);
  filter: blur(32px);
}
.hero__decor-blob--1 { left: 8%; top: 28%; width: 5rem; height: 5rem; }
.hero__decor-blob--2 { left: 40%; bottom: 14%; width: 4rem; height: 4rem; border-radius: 9999px; background: rgba(16,185,129,0.15); filter: blur(24px); animation-delay: 3s; }

.hero__grid {
  display: grid;
  align-items: start;
  gap: 2.5rem;
  padding-top: calc(var(--site-header-height) + 1.75rem);
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 2.75rem;
    padding-top: calc(var(--site-header-height) + 2rem);
    padding-bottom: 6rem;
  }

  .hero__grid > [id="kontakt"] {
    align-self: start;
  }
}

.hero__title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 399px) {
  .hero__title { font-size: 2rem; }
}
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

.hero__subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255,255,255,0.85);
  overflow-wrap: break-word;
}
@media (min-width: 640px) { .hero__subtitle { font-size: 1.125rem; } }

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.hero__secondary-link:hover { color: #fff; }

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
}

/* Contact form */
.contact-card {
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.95);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .contact-card { padding: 2rem; } }

.contact-card__title { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 700; }
.contact-card__fields { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

.form-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(25,42,46,0.7);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--site-bg);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.form-field textarea { resize: none; min-height: 5rem; }
.form-field--recaptcha { overflow: hidden; }
.form-field--recaptcha .g-recaptcha { transform-origin: 0 0; }
@media (max-width: 360px) {
  .form-field--recaptcha .g-recaptcha { transform: scale(0.9); }
}

.contact-card__note {
  margin-top: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.contact-card__message {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  display: none;
}
.contact-card__message.is-visible { display: block; }
.contact-card__message--success { background: #d1fae5; color: #065f46; }
.contact-card__message--error { background: #fee2e2; color: #991b1b; }

/* Trust intro */
.trust-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.trust-images { position: relative; }
.trust-images__primary {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: calc(var(--radius) + 12px);
  box-shadow: var(--shadow-card);
}
.trust-images__primary img { width: 100%; height: 100%; object-fit: cover; }
.trust-images__secondary {
  display: none;
  position: absolute;
  right: -0.5rem;
  bottom: -2rem;
  width: 60%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 12px);
  border: 4px solid var(--site-bg);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
@media (min-width: 640px) { .trust-images__secondary { display: block; } }
.trust-images__secondary img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }

.trust-stat {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.trust-stat__value { font-size: 1.125rem; font-weight: 700; line-height: 1; }
.trust-stat__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }

.benefit-list { margin-top: 2rem; display: grid; gap: 1rem; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(226,232,234,0.7);
  background: var(--card-bg);
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.benefit-item__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 0.75rem;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}
.benefit-item__title { font-weight: 600; }
.benefit-item__text { font-size: 0.875rem; color: var(--text-muted); }

/* Why us */
.why-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.why-benefits {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .why-benefits { grid-template-columns: repeat(2, 1fr); } }

.why-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  background: var(--card-bg);
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.why-benefit__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 0.5rem;
  background: rgba(16,185,129,0.15);
  color: var(--brand-primary);
}

.why-stats {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .why-stats { grid-template-columns: repeat(3, 1fr); } }

.stat-box {
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 1rem;
  text-align: center;
}
.stat-box__value { font-size: 1.5rem; font-weight: 700; color: var(--brand-primary); }
.stat-box__label { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }

.why-image { position: relative; }
.why-image__wrap {
  overflow: hidden;
  border-radius: calc(var(--radius) + 12px);
  box-shadow: var(--shadow-card);
}
.why-image__wrap img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.why-image__badge {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  border-radius: 1rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.why-image__badge-small { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }
.why-image__badge-large { font-size: 1.125rem; font-weight: 700; }

/* Process */
.process-list {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}
.process-list::before {
  content: "";
  display: none;
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(16,185,129,0.6), var(--border-color), transparent);
}
@media (min-width: 640px) { .process-list::before { display: block; } }

.process-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 640px) { .process-step { padding: 1.75rem; } }

.process-step__num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.process-step__title { font-size: 1.125rem; font-weight: 700; }
.process-step__text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.625; color: var(--text-muted); }

/* Longform */
.longform {
  position: relative;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.75;
  transition: max-height .6s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.longform h2, .longform h3, .longform h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}
.longform h3 { font-size: 1.35rem; }
.longform p { color: var(--text-muted); margin-bottom: 1rem; }
.longform p:last-child { margin-bottom: 0; }
.longform ul, .longform ol { margin: 0 0 1rem 1.25rem; color: var(--text-muted); }
.longform ul { list-style: disc; }
.longform ol { list-style: decimal; }
.longform blockquote {
  border-left: 3px solid var(--brand-primary);
  padding-left: 1rem;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--text-main);
}
.longform-collapsed { max-height: 420px; }
.longform-collapsed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--site-bg) 85%);
}
.longform-expanded { max-height: 20000px; }

.longform-toggle-wrap { margin-top: 2rem; display: flex; justify-content: center; }
.longform-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.longform-toggle:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* FAQ */
.faq-wrap {
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 640px) { .faq-wrap { padding: 1rem; } }

.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}
@media (min-width: 640px) { .faq-trigger { padding: 1rem; } }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel__inner { min-height: 0; overflow: hidden; }
.faq-panel__content {
  padding: 0 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-muted);
}
@media (min-width: 640px) { .faq-panel__content { padding: 0 1rem 1rem; } }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--brand-teal-deep);
  color: #fff;
  padding: 5rem 0;
}
@media (min-width: 640px) { .final-cta { padding: 6rem 0; } }

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .final-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.final-cta__title { font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 640px) { .final-cta__title { font-size: 2.25rem; } }
.final-cta__text { margin-top: 0.75rem; color: rgba(255,255,255,0.8); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--site-bg);
  padding: 4rem 0;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer__desc {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-muted);
}
.site-footer__col-title { font-size: 0.875rem; font-weight: 600; }
.site-footer__links {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.site-footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color .25s ease;
}
.site-footer__links a:hover { color: var(--brand-primary); }
.site-footer__contact {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.site-footer__contact li { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__contact a:hover { color: var(--brand-primary); }
.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.site-footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--text-muted);
}
.site-footer__copy { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }

/* Section header layouts */
.section-header { text-align: center; max-width: 42rem; margin: 0 auto; }
.section-header--split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  text-align: left;
}
@media (min-width: 1024px) {
  .section-header--split { flex-direction: row; align-items: flex-end; }
}

/* WP content */
.site-main {
  background: var(--site-bg);
}

.entry-content,
.page-content {
  max-width: var(--page-content-width);
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  font-family: var(--font-display);
  margin: 2rem 0 1rem;
  line-height: 1.2;
}
.entry-content p, .page-content p { margin-bottom: 1rem; color: var(--text-muted); }
.entry-content a, .page-content a { color: var(--brand-primary); text-decoration: underline; }
.entry-content ul, .entry-content ol, .page-content ul, .page-content ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
}
.entry-content img, .page-content img {
  border-radius: 1rem;
  margin: 1.5rem 0;
}
.entry-content blockquote, .page-content blockquote {
  border-left: 3px solid var(--brand-primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.entry-content table, .page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.entry-content th, .entry-content td,
.page-content th, .page-content td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
@media (max-width: 639px) {
  .table-responsive table { min-width: 32rem; }
}

.page-header {
  padding: calc(var(--site-header-height) + 2.5rem) 0 0.5rem;
  text-align: center;
  background: var(--site-bg);
}

.page-header .container {
  max-width: var(--page-content-width);
}

.page-header__title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .page-header__title { font-size: 2.5rem; }
}

/* Single post */
.hb-single-post {
  background: var(--site-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

.hb-single-post__header {
  padding: calc(var(--site-header-height) + 3rem) 0 1.5rem;
}

.hb-single-post__container {
  width: min(100%, 820px);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hb-single-post__meta {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.hb-single-post__title {
  margin: 0;
  color: var(--text-main);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hb-single-post__content {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  color: var(--text-main);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
}

.hb-single-post__content > * {
  max-width: 100%;
}

.hb-single-post__content p {
  margin: 0 0 1.2em;
  color: var(--text-muted);
}

.hb-single-post__content h2,
.hb-single-post__content h3,
.hb-single-post__content h4 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hb-single-post__content h2 {
  margin: 2.25em 0 0.75em;
  font-size: 1.75rem;
}

.hb-single-post__content h3 {
  margin: 2em 0 0.75em;
  font-size: 1.35rem;
}

.hb-single-post__content h4 {
  margin: 1.75em 0 0.7em;
  font-size: 1.15rem;
}

.hb-single-post__content ul,
.hb-single-post__content ol {
  margin: 0 0 1.25em 1.25rem;
  padding: 0;
  color: var(--text-muted);
}

.hb-single-post__content li {
  margin-bottom: 0.55em;
}

.hb-single-post__content a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.hb-single-post__content img {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 1rem;
}

.hb-single-post__content figure {
  max-width: 100%;
  margin: 2rem 0;
}

.hb-single-post__content figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.hb-single-post__content blockquote {
  margin: 1.75rem 0;
  border-left: 3px solid var(--brand-primary);
  padding-left: 1rem;
  color: var(--text-main);
  font-style: italic;
}

.hb-single-post__content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.hb-single-post__content th,
.hb-single-post__content td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
}

@media (min-width: 640px) {
  .hb-single-post__title {
    font-size: 3rem;
  }

  .hb-single-post__content {
    font-size: 1.125rem;
  }
}

@media (max-width: 639px) {
  .hb-single-post__header {
    padding-top: calc(var(--site-header-height) + 2rem);
  }

  .hb-single-post__container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hb-single-post__title {
    font-size: 2rem;
  }
}

/* Blog archive */
.hb-blog-archive {
  padding: 2.5rem 0 5rem;
  background: var(--site-bg);
}

.hb-blog-archive__header {
  padding-bottom: 0;
}

.hb-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hb-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hb-blog-card:hover,
.hb-blog-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 44px -24px rgba(19, 38, 48, 0.36);
}

.hb-blog-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hb-blog-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--site-bg-soft);
}

.hb-blog-card__image img {
  width: 100%;
  height: 100%;
}

.hb-blog-card__image img {
  object-fit: cover;
  transition: transform .35s ease;
}

.hb-blog-card:hover .hb-blog-card__image img {
  transform: scale(1.04);
}

.hb-blog-card__link:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.35);
  outline-offset: 4px;
}

.hb-blog-card__image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(30, 58, 74, 0.08)),
    var(--site-bg-soft);
}

.hb-blog-card__image-fallback span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.hb-blog-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem;
}

.hb-blog-card__meta {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hb-blog-card__title {
  margin: 0;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hb-blog-card__link:hover .hb-blog-card__title {
  color: var(--brand-primary);
}

.hb-blog-card__excerpt {
  display: -webkit-box;
  margin: 0.85rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.hb-blog-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  border-radius: 9999px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.75rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.hb-blog-card__button:hover,
.hb-blog-card__button:focus-visible,
.hb-blog-card__link:hover .hb-blog-card__button,
.hb-blog-card__link:focus-visible .hb-blog-card__button {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -18px rgba(16, 185, 129, 0.6);
}

.hb-blog-pagination {
  margin-top: 2.5rem;
}

.hb-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hb-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background: var(--card-bg);
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hb-blog-pagination a.page-numbers:hover,
.hb-blog-pagination .page-numbers.current {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.hb-blog-archive__empty {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 700px) {
  .hb-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hb-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.error-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.25rem;
}
.error-404__code { font-size: 4rem; font-weight: 800; color: var(--brand-primary); }
.error-404__text { margin-top: 1rem; color: var(--text-muted); }

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-lg { width: 1.25rem; height: 1.25rem; }

.spinner {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .longform, .faq-panel { transition: none; }
}
