/* =========================================================
   Fachpflege Imperium Deutschland — Premium Design System
   ========================================================= */

:root {
  /* Palette — logo-aligned: aqua teal primary with soft mauve accents */
  --ink:        #0F1E22;
  --ink-soft:   #2B3E42;
  --ink-mute:   #5A6B70;
  --line:       #E1EBED;
  --line-soft:  #EEF5F6;
  --paper:      #FFFFFF;
  --soft:       #F4FAFB;
  --cream:      #F3EBDD;
  --cream-soft: #FAF5EC;
  --teal-900:   #0E7377;   /* deep contrast / text over tint */
  --teal-800:   #1AA3A9;   /* primary brand (logo) */
  --teal-700:   #25BABF;   /* hover / mid */
  --teal-500:   #48D1D7;   /* light accent (logo) */
  --teal-100:   #D4F1F3;
  --steel:      #4D7B88;   /* logo secondary dark */
  --sky:        #87B5C2;   /* logo soft blue-grey */
  --mauve:      #936E80;   /* logo mauve */
  --mauve-dark: #73556A;
  --mauve-light:#B494A6;   /* logo light mauve */
  --gold:       #C9A36B;
  --gold-soft:  #E4CDA4;

  --shadow-sm:  0 2px 10px rgba(14, 115, 119, 0.06);
  --shadow-md:  0 12px 32px rgba(14, 115, 119, 0.10);
  --shadow-lg:  0 28px 70px rgba(14, 115, 119, 0.16);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --container: 1240px;
  --container-narrow: 960px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------- Base -------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal-800); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--teal-700); }

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: 'Spectral', 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.18;
}

h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
h4 { font-size: 20px; font-weight: 500; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--teal-700);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--teal-700);
}

.dark .eyebrow { color: var(--teal-500); }
.dark .eyebrow::before { background: var(--teal-500); }
.cream .eyebrow { color: var(--mauve-dark); }
.cream .eyebrow::before { background: var(--mauve-dark); }

/* -------------------- Layout helpers -------------------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow { max-width: var(--container-narrow); }

section.section { padding: clamp(72px, 10vw, 130px) 0; }
section.section.compact { padding: clamp(56px, 7vw, 96px) 0; }

.section.soft { background: var(--soft); }
.section.cream { background: var(--cream-soft); }
.section.dark { background: var(--ink); color: #E5EFF0; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #FFFFFF; }
.section.teal {
  background: linear-gradient(145deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
  color: #E5EFF0;
}
.section.teal h1, .section.teal h2, .section.teal h3 { color: #FFFFFF; }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 18px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn.primary {
  background: var(--teal-800);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(13, 78, 83, 0.25);
}
.btn.primary:hover {
  background: var(--teal-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 78, 83, 0.30);
  color: #FFFFFF;
}

.btn.secondary {
  background: var(--mauve);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(154, 111, 147, 0.25);
}
.btn.secondary:hover {
  background: var(--mauve-dark);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn.ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-800);
}
.btn.ghost:hover {
  background: var(--teal-800);
  color: #FFFFFF;
}

.btn.ghost-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn.ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn.link {
  background: transparent;
  color: var(--teal-700);
  padding: 0;
  min-height: 0;
  border-radius: 0;
  font-weight: 600;
  position: relative;
}
.btn.link::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.btn.link:hover::after { transform: scaleX(1); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 22px rgba(14, 115, 119, 0.08); }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

/* ----- Brand ----- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-carousel {
  display: inline-flex;
  flex-direction: column;
  height: 44px;
  overflow: hidden;
  position: relative;
}
.brand-slide {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  min-height: 44px;
  flex-shrink: 0;
  animation: brandSlide var(--brand-dur, 25s) ease-in-out infinite;
}
@keyframes brandSlide {
  0%, 40%   { transform: translateY(0); }
  50%, 90%  { transform: translateY(-100%); }
  100%      { transform: translateY(0); }
}
.brand-logo {
  height: 44px;
  width: auto;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
  color: #FFFFFF;
  border-radius: 11px;
  font-family: 'Spectral', serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 18px rgba(14, 115, 119, 0.22);
  flex-shrink: 0;
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}
.brand-name {
  font-family: 'Spectral', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ----- Menu ----- */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.menu-item { position: relative; }
.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
}
.menu-link:hover,
.menu-link.active,
.menu-item.open > .menu-link,
.menu-item.has-dropdown:hover > .menu-link {
  color: var(--teal-900);
  background: rgba(26, 163, 169, 0.09);
}
.menu-link .chev {
  width: 12px; height: 12px;
  margin-top: 1px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.menu-item.has-dropdown:hover > .menu-link .chev,
.menu-item.open > .menu-link .chev {
  transform: rotate(180deg);
  opacity: 1;
}

/* ----- Dropdowns ----- */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 340px;
  transform: translateX(-50%) translateY(-6px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(14, 115, 119, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
  z-index: 70;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 2px 0 0 0;
}
.dropdown::after {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.menu-item.has-dropdown:hover > .dropdown,
.menu-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0s;
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--ink);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.dropdown a:hover {
  background: var(--soft);
  transform: translateX(2px);
}
.dropdown a strong {
  display: block;
  font-family: 'Spectral', serif;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--teal-900);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.dropdown a span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* ----- Header Aside (phone + CTA) ----- */
.header-aside {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--teal-900);
  background: rgba(26, 163, 169, 0.06);
}
.header-phone svg {
  width: 16px; height: 16px;
  color: var(--teal-800);
  flex-shrink: 0;
}
.header-cta {
  padding: 11px 20px !important;
  font-size: 14px !important;
  border-radius: 10px;
}
.header-aside-mobile { display: none; }

/* ----- Hamburger ----- */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 9vw, 120px);
  background: linear-gradient(165deg, #0A5256 0%, #0E7377 45%, #1AA3A9 100%);
  color: #FFFFFF;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 88% -10%, rgba(72, 209, 215, 0.35), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(180, 148, 166, 0.22), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  color: #FFFFFF;
  max-width: 720px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}
.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-top: 22px;
}
.hero .actions { margin-top: 38px; }

.hero-visual {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 58, 62, 0.45) 100%);
}

.hero-floater {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 18px 20px;
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.hero-floater .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-700);
  box-shadow: 0 0 0 5px rgba(22, 124, 132, 0.15);
}
.hero-floater strong { font-weight: 600; }
.hero-floater span { display: block; font-size: 13px; color: var(--ink-mute); }

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.hero-bullets div {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-bullets svg { width: 18px; height: 18px; color: var(--teal-500); }

/* Small hero for inner pages */
.hero.inner {
  min-height: 0;
  padding: clamp(56px, 9vw, 120px) 0 clamp(44px, 7vw, 90px);
}
.hero.inner h1 { font-size: clamp(34px, 4.5vw, 58px); }
.hero.inner .lead { max-width: 720px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: #FFFFFF; }
.breadcrumb span.sep { opacity: 0.5; }

/* -------------------- Cards & grids -------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-100);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-mute); }

.card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--teal-100);
  color: var(--teal-800);
  border-radius: 10px;
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
}

.card .card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-800));
  color: #FFFFFF;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(22, 124, 132, 0.25);
}
.card .card-icon svg { width: 24px; height: 24px; }

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 58, 62, 0.65) 100%);
}
.service-card .thumb-label {
  position: absolute;
  bottom: 18px; left: 20px;
  z-index: 1;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(11, 58, 62, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { margin-bottom: 12px; }
.service-card-body p {
  color: var(--ink-mute);
  margin-bottom: 22px;
  flex: 1;
}
.service-card-body .btn.link { align-self: flex-start; margin-top: auto; }

/* -------------------- Feature bullets lists -------------------- */
.bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 20px; height: 2px;
  background: var(--teal-700);
}
.dark .bullets li,
.teal .bullets li { color: rgba(255, 255, 255, 0.88); }
.dark .bullets li::before,
.teal .bullets li::before { background: var(--teal-500); }

.checks {
  list-style: none;
  padding: 0; margin: 22px 0 0;
  display: grid; gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  background: var(--teal-100);
  border-radius: 50%;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--teal-800);
  border-bottom: 2px solid var(--teal-800);
  transform: rotate(-45deg);
}

/* -------------------- Split blocks -------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-copy { order: 2; }

.split-visual {
  position: relative;
  min-height: 460px;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.split-visual::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(11, 58, 62, 0.28) 100%);
}

.split-badge {
  position: absolute;
  bottom: -28px; left: 24px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  max-width: calc(100% - 48px);
}
.split-badge strong {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--teal-800);
  display: block;
  line-height: 1;
}
.split-badge span {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 6px;
}
.split-badge .card-icon {
  width: 48px; height: 48px; margin: 0;
}

/* -------------------- Stats -------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding: 42px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.stat-num {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  color: var(--teal-800);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  line-height: 1.45;
}

/* -------------------- Process / Timeline -------------------- */
.process {
  counter-reset: step;
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.process-row {
  counter-increment: step;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.process-row:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-100);
}
.process-num {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 48px;
  color: var(--teal-700);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.9;
}
.process-num::before {
  content: "0" counter(step);
}
.process-row h3 { margin-bottom: 8px; }
.process-row p { color: var(--ink-mute); margin: 0; }

/* -------------------- Quote / Pull quote -------------------- */
.pullquote {
  margin: 0;
  padding: 40px 44px;
  background: var(--teal-900);
  color: #F6FBFB;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: "“";
  position: absolute;
  top: -30px; right: 30px;
  font-family: 'Spectral', serif;
  font-size: 220px;
  color: rgba(53, 174, 182, 0.18);
  line-height: 1;
  pointer-events: none;
}
.pullquote p {
  font-family: 'Spectral', serif;
  font-size: clamp(22px, 2.3vw, 30px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  max-width: 760px;
  position: relative;
}
.pullquote cite {
  display: block;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
}

/* -------------------- CTA Block -------------------- */
.cta-block {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: #FFFFFF;
  padding: clamp(48px, 6vw, 80px) clamp(36px, 5vw, 68px);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(53, 174, 182, 0.3), transparent 60%),
    radial-gradient(400px 250px at 0% 100%, rgba(154, 111, 147, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #FFFFFF; }
.cta-block p {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 16px;
  font-size: 18px;
}
.cta-block .actions { margin-top: 0; justify-content: flex-end; }

/* -------------------- Accordion (FAQ) -------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  text-align: left;
  transition: color 0.2s var(--ease);
}
.accordion-btn:hover { color: var(--teal-700); }
.accordion-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--teal-700);
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.accordion-icon::before {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  background: var(--teal-800);
  color: #FFFFFF;
  border-color: var(--teal-800);
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-body-inner {
  padding: 0 56px 24px 0;
  color: var(--ink-mute);
  font-size: 17px;
  line-height: 1.7;
}
.accordion-item.open .accordion-body { max-height: 900px; }

/* -------------------- Forms -------------------- */
.form-card {
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

form.stack {
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(53, 174, 182, 0.18);
}
.form-hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.form-disclaimer {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 14px 16px;
  background: var(--soft);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

/* -------------------- Tables / comparison -------------------- */
.feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-table th,
.feature-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.feature-table th {
  background: var(--soft);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.feature-table tr:last-child td { border-bottom: 0; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--ink);
  color: #C4D2D3;
  padding: 80px 0 28px;
}
.footer-logo {
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo img {
  max-width: 360px;
  height: auto;
  opacity: 0.9;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top a { color: #C4D2D3; }
.footer-top a:hover { color: #FFFFFF; }
.footer-brand .brand { color: #FFFFFF; }
.footer-brand .brand-name { color: #FFFFFF; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.55); }
.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col li { font-size: 15px; }

.footer-trust {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-trust li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
}

.footer-bottom {
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom-links { display: flex; gap: 22px; }

/* -------------------- Map / Locations -------------------- */
.map-card {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--teal-900), var(--teal-800));
  border-radius: var(--r-lg);
  padding: 32px;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 260px at 70% 30%, rgba(53, 174, 182, 0.25), transparent 60%),
    radial-gradient(300px 200px at 20% 80%, rgba(154, 111, 147, 0.2), transparent 60%);
}

.map-svg {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: auto;
  opacity: 0.9;
  z-index: 1;
}
.map-svg path {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 0.6;
}
.map-pin {
  fill: var(--teal-500);
  stroke: #FFFFFF;
  stroke-width: 1.2;
}
.map-pin.pulse {
  animation: pulse 2s ease-out infinite;
  transform-origin: center;
}
@keyframes pulse {
  0% { opacity: 0.8; r: 3; }
  100% { opacity: 0; r: 9; }
}

/* Map image with dots */
.map-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  top: 40px;
  left: 20px;
}
.map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  padding: 24px;
}
.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--teal-500);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 6px rgba(53, 174, 182, 0.6);
}
.map-dot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-500);
  transform: translate(-50%, -50%);
  animation: dotPulse 2s ease-out infinite;
}
@keyframes dotPulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3.5); }
}

.location-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.location-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.25s var(--ease);
}
.location-list li:hover {
  border-color: var(--teal-700);
  transform: translateX(4px);
}
.location-list .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-700);
}
.location-list .meta {
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* -------------------- Badges / pills -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--teal-100);
  color: var(--teal-800);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.cream {
  background: var(--cream);
  color: var(--mauve-dark);
}

/* -------------------- Divider -------------------- */
.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 28px; }
.mt-6 { margin-top: 44px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
}
@media (max-width: 1080px) {
  .menu-link { font-size: 14px; padding: 9px 11px; }
  .nav { gap: 18px; }
  .header-cta { padding: 10px 14px !important; }
}
@media (max-width: 980px) {
  .nav { gap: 14px; min-height: 70px; }
  .menu, .header-aside { display: none; }
  .hamburger { display: block; }

  .menu.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 14px 24px 40px;
    background: var(--paper);
    overflow-y: auto;
    z-index: 80;
    gap: 0;
  }
  .menu.open .menu-item { width: 100%; }
  .menu.open .menu-link {
    width: 100%;
    justify-content: space-between;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    border-radius: 0;
    background: transparent;
  }
  .menu.open .menu-link .chev { width: 18px; height: 18px; opacity: 1; }

  .menu.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 6px 0 14px 12px;
    min-width: 0;
    display: none;
    transition: none;
  }
  .menu.open .dropdown::before,
  .menu.open .dropdown::after { display: none; }
  .menu.open .menu-item.open > .dropdown { display: block; }
  .menu.open .dropdown a {
    padding: 12px 14px;
    border-left: 2px solid var(--teal-100);
    border-radius: 0;
  }
  .menu.open .dropdown a:hover { background: var(--soft); transform: none; }
  .menu.open .dropdown a strong { font-size: 15px; }

  .menu.open .header-aside-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .menu.open .header-aside-mobile .btn { width: 100%; justify-content: center; }
  .menu.open .header-aside-mobile .header-phone {
    display: inline-flex;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .menu.open .header-aside-mobile .header-phone span { display: inline; }

  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-copy { order: 0; }
  .hero-visual { min-height: 360px; }

  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-block {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-block .actions { justify-content: flex-start; }

  .stats { grid-template-columns: repeat(2, 1fr); padding: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  section.section { padding: 64px 0; }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 280px; }
  .process-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
  .process-num { font-size: 36px; }
  .pullquote { padding: 32px 26px; }
  .pullquote::before { font-size: 140px; top: -10px; right: 16px; }
  .cta-block { padding: 36px 28px; }
  .actions .btn { flex: 1; min-width: 0; }
  .split-badge { position: static; margin-top: 18px; max-width: 100%; }
}

/* -------------------- Reveal on scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
