@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/GearedSlab-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/GearedSlab-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/GearedSlab-Extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
/* Geared Slab has NO eszett glyph (U+00DF) — without this, every ß in a headline
   falls back to a mismatched system serif (looks broken). Borrow just the ß from Lato,
   under the same family name and weight-matched, scoped to U+00DF via unicode-range.
   Declared AFTER the rules above so it wins for ß only; all other glyphs stay Geared Slab. */
@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/Lato-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; unicode-range: U+00DF; }
@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/Lato-Bold.ttf')  format('truetype'); font-weight: 700; font-display: swap; unicode-range: U+00DF; }
@font-face { font-family: 'Geared Slab'; src: url('assets/fonts/Lato-Black.ttf') format('truetype'); font-weight: 800; font-display: swap; unicode-range: U+00DF; }

@font-face {
  font-family: 'Thirsty Rough';
  src: url('assets/fonts/ThirstyRough-BoldTwo.woff2') format('woff2'),
       url('assets/fonts/ThirstyRough-BoldTwo.ttf')   format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Thin.ttf') format('truetype'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Bold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --color-cobalt: #2933ba;
  --color-cobalt-70: rgba(41, 51, 186, 0.7);
  --color-cobalt-40: rgba(41, 51, 186, 0.4);
  --color-cobalt-20: rgba(41, 51, 186, 0.2);
  --color-cobalt-10: rgba(41, 51, 186, 0.1);

  --color-shark: #252c37;
  --color-shark-90: rgba(37, 44, 55, 0.9);
  --color-shark-70: rgba(37, 44, 55, 0.7);
  --color-shark-50: rgba(37, 44, 55, 0.5);
  --color-shark-20: rgba(37, 44, 55, 0.2);
  --color-shark-10: rgba(37, 44, 55, 0.1);

  --color-sun: #ffed00;
  --color-sun-glow: rgba(255, 237, 0, 0.3);
  --color-grain: #e3ceb2;
  --color-grain-50: rgba(227, 206, 178, 0.5);
  --color-grain-20: rgba(227, 206, 178, 0.2);

  --color-sea: #acddd1;
  --color-sea-glow: rgba(172, 221, 209, 0.4);
  --color-sage: #c1cbb8;
  --color-sage-glow: rgba(193, 203, 184, 0.4);
  --color-nude: #c1a4a2;
  --color-nude-glow: rgba(193, 164, 162, 0.4);
  --color-midnight: #192341;

  --color-white: #ffffff;
  --color-off-white: #f8f6f3;
  --color-light-gray: #edeae6;
  --color-mid-gray: #9a9590;
  --color-dark: #1a1a1a;
  --color-black: #000000;

  --gradient-hero: linear-gradient(135deg, #192341 0%, #252c37 40%, #1a2a4a 70%, #192341 100%);
  --gradient-cobalt: linear-gradient(135deg, #2933ba, #1a2066);
  --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #252c37 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

  --font-headline: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-accent: 'Thirsty Rough', Georgia, serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --text-4xl: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 5.5rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-section: clamp(5rem, 4rem + 4vw, 9rem);

  --container-max: 1280px;
  --container-narrow: 900px;
  --container-padding: clamp(1.25rem, 1rem + 2vw, 3rem);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(37, 44, 55, 0.08);
  --shadow-md: 0 4px 16px rgba(37, 44, 55, 0.1);
  --shadow-lg: 0 8px 32px rgba(37, 44, 55, 0.12);
  --shadow-xl: 0 16px 48px rgba(37, 44, 55, 0.16);
  --shadow-glow-cobalt: 0 0 30px rgba(41, 51, 186, 0.3);
  --shadow-glow-sun: 0 0 30px rgba(255, 237, 0, 0.2);

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(20px);

  --transition-fast: 200ms ease;
  --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-behind: -1;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-shark);
  background-color: var(--color-off-white);
  overflow-x: clip;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-shark);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 65ch; }

::selection {
  background: var(--color-cobalt-20);
  color: var(--color-shark);
}

:focus-visible {
  outline: 2px solid var(--color-cobalt);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-section);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn--primary {
  background: var(--color-cobalt);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(41, 51, 186, 0.3);
}

@media (hover: hover) { .btn--primary:hover {
  background: #3340d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 51, 186, 0.4);
} }

@media (hover: hover) { .career__actions .btn--primary:hover, .contact__form .btn--primary:hover {
  background: var(--color-sun);
  color: var(--color-shark);
  box-shadow: 0 8px 25px var(--color-sun-glow);
} }

.btn--primary:active { transform: translateY(0); }

@media (hover: hover) {
  .btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

.btn--outline {
  background: transparent;
  color: var(--color-shark);
  border: 2px solid var(--color-shark-20);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) { .btn--outline:hover {
  background: var(--color-shark);
  color: var(--color-white);
  border-color: var(--color-shark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 44, 55, 0.3);
} }

.btn--ghost {
  background: transparent;
  color: var(--color-shark);
  padding-inline: 0.5rem;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform var(--transition-fast);
  font-size: 1.1em;
}

@media (hover: hover) { .btn--ghost:hover { color: var(--color-cobalt); } }
@media (hover: hover) { .btn--ghost:hover::after { transform: translateX(6px); } }

.btn--white {
  background: var(--color-white);
  color: var(--color-shark);
  box-shadow: var(--shadow-md);
}

@media (hover: hover) { .btn--white:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
} }

.btn--hero-outline {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) { .btn--hero-outline:hover {
  background: var(--color-shark);
  border-color: var(--color-shark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 44, 55, 0.4);
} }

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--color-grain-20);
  color: var(--color-shark);
}

.tag--sea { background: rgba(172, 221, 209, 0.2); color: #1a6b5a; }
.tag--sage { background: rgba(193, 203, 184, 0.25); color: #4a5a3e; }
.tag--nude { background: rgba(193, 164, 162, 0.2); color: #6b4a48; }

.section-label {
  display: inline-block;
  font-family: 'Thirsty Rough', Georgia, serif;
  font-size: clamp(1.25rem, 1vw + 0.85rem, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-cobalt);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 2px;
  background: var(--color-cobalt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .section-label { padding-left: 0; }
.section-header .section-label::before { display: none; }

.contact__info .section-label { padding-left: 0; }
.contact__info .section-label::before { display: none; }

.section-header p {
  margin-inline: auto;
  margin-top: var(--space-sm);
  color: var(--color-shark-70);
  font-size: var(--text-lg);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-shark-20);
  border: none;
}

.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}


[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger]>* {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal-stagger].revealed>*:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].revealed>*:nth-child(2) { transition-delay: 150ms; }
[data-reveal-stagger].revealed>*:nth-child(3) { transition-delay: 300ms; }
[data-reveal-stagger].revealed>*:nth-child(4) { transition-delay: 450ms; }
[data-reveal-stagger].revealed>*:nth-child(5) { transition-delay: 600ms; }

[data-reveal-stagger].revealed>* {
  opacity: 1;
  transform: none;
}

.hero [data-reveal] {
  transform: translateY(24px);
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__headline[data-reveal] { transition-delay: 260ms; }
.hero__actions[data-reveal] { transition-delay: 660ms; }
.hero__subtext[data-reveal] { transition-delay: 460ms; }
.hero__trust[data-reveal] { transition-delay: 800ms; }
.hero__subtitle[data-reveal] { transition-delay: 460ms; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(41, 51, 186, 0.2); }
  50% { box-shadow: 0 0 40px rgba(41, 51, 186, 0.4); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slide-in-right {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes particle-float {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.5); opacity: 0; }
}

@keyframes counter-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes testimonial-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-cobalt), var(--color-sun), var(--color-cobalt));
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(41, 51, 186, 0.4);
}

.section-label { will-change: transform, opacity; }
.stat__number { will-change: transform; }
.service-card { will-change: transform; }
.service-card__image { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger]>* {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card, .section-label, .stat__number {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero__particles { display: none; }
  .scroll-progress { display: none; }
}




.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  overflow: hidden;
  background: var(--color-shark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 clamp(2rem, 4vw, 4rem);
  width: 100%;
  height: 100%;
  padding-inline: clamp(2rem, 5vw, 6rem);
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: start;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero__headline em {
  font-style: normal;
  color: var(--color-cobalt);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero__headline-soft {
  color: var(--color-cobalt);
}


.hero__intro-text {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  will-change: transform, opacity;
  position: relative;
  z-index: 5;
}

.hero__intro-line {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
  border-radius: 2px;
  transform-origin: left;
  animation: hero-line-in 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes hero-line-in {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero__intro-desc {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1vw + 0.3rem, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 340px;
}

.hero__google-badge {
  position: absolute;
  bottom: clamp(3rem, 6vw, 5rem);
  right: clamp(1.5rem, 3vw, 3rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__google-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-star {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  animation: star-pop 0.4s cubic-bezier(0.4, 0, 0.2, 1) var(--star-delay, 1.6s) forwards;
}

.hero-star > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-star__bg { fill: rgba(255, 255, 255, 0.25); }

.hero-star__fg {
  fill: #FBBC05;
  clip-path: inset(0 calc((1 - var(--fill, 0)) * 100%) 0 0);
  opacity: 0;
  animation: star-fg-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) var(--star-delay, 1.6s) forwards;
}

@keyframes star-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@keyframes star-fg-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.hero__google-score {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-left: 0.5rem;
}

.hero__google-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}


.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  will-change: opacity;
}

.hero__scroll-hint span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  animation: scroll-line-pulse 2s ease-in-out infinite;
}

@keyframes scroll-line-pulse {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}


.hero-slide {
  display: block;
  opacity: 0;
  animation: 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--anim-delay, 0s) forwards;
}

.hero-slide--left {
  transform: translateX(-120px);
  animation-name: hero-slide-left;
}

.hero-slide--right {
  transform: translateX(120px);
  animation-name: hero-slide-right;
}

@keyframes hero-slide-left {
  from { opacity: 0; transform: translateX(-120px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes hero-slide-right {
  from { opacity: 0; transform: translateX(120px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--anim-delay, 0s) forwards;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
  }
  .hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
  }
  .hero__headline { font-size: clamp(2.8rem, 10vw, 4rem); grid-column: 1; grid-row: 1; align-self: end; text-align: left; justify-self: start; padding-top: 10rem; }
  .hero__intro-text { grid-column: 1; grid-row: 2; padding-top: 1rem; }
  .hero__google-badge { position: relative; bottom: auto; left: auto; right: auto; grid-column: 1; grid-row: 3; padding-bottom: 2.5rem; }
  .hero__google-stars { flex-wrap: wrap; }
  .hero__scroll-hint { display: none; }
}



.scroll-over-wrap {
  position: relative;
}

.services.section {
  background: var(--color-off-white);
  padding-block: var(--space-xl);
  min-height: 100vh;
}

.services .section-header .section-label {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.02em;
}

.services .section-header h2 {
  font-size: var(--text-4xl);
  line-height: 1.1;
}

.services .section-header p {
  font-size: var(--text-xl);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-shark-10);
  position: relative;
}

@media (hover: hover) { .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(37, 44, 55, 0.12);
  border-color: transparent;
} }

.service-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
}

@media (hover: hover) { .service-card:hover .service-card__image img {
  transform: scale(1.1);
} }

.service-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

@media (hover: hover) { .service-card:hover .service-card__image::before { opacity: 1; } }

.service-card--retreat .service-card__image::before { background: linear-gradient(to top, rgba(172, 221, 209, 0.48), transparent 60%); }
.service-card--corporate .service-card__image::before { background: linear-gradient(to top, rgba(193, 203, 184, 0.48), transparent 60%); }
.service-card--signature .service-card__image::before { background: linear-gradient(to top, rgba(193, 164, 162, 0.48), transparent 60%); }

.service-card--retreat   { background: rgba(172, 221, 209, 0.24); border-color: rgba(172, 221, 209, 0.65); }
.service-card--corporate { background: rgba(193, 203, 184, 0.26); border-color: rgba(193, 203, 184, 0.7); }
.service-card--signature { background: rgba(193, 164, 162, 0.24); border-color: rgba(193, 164, 162, 0.65); }

.service-card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: var(--text-xl);
  line-height: 1.25;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-shark-70);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
  flex: 1;
}

.service-card__features li {
  font-size: var(--text-xs);
  color: var(--color-shark-70);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-shark-10);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-card__features li:last-child { border-bottom: none; }

.feature-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

@media (hover: hover) { .service-card:hover .feature-icon { opacity: 1; } }

.service-card--retreat .feature-icon { color: var(--color-sea); }
.service-card--corporate .feature-icon { color: var(--color-sage); }
.service-card--signature .feature-icon { color: var(--color-nude); }

.service-card--retreat .service-card__features li { border-left: 3px solid var(--color-sea); padding-left: 0.75rem; }
.service-card--corporate .service-card__features li { border-left: 3px solid var(--color-sage); padding-left: 0.75rem; }
.service-card--signature .service-card__features li { border-left: 3px solid var(--color-nude); padding-left: 0.75rem; }

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  transition: all 0.25s ease;
  margin-top: auto;
  color: var(--color-cobalt);
}

.service-card--retreat   .service-card__link { color: #1a6b5a; }
.service-card--corporate .service-card__link { color: #4a5a3e; }
.service-card--signature .service-card__link { color: #6b4a48; }

.service-card__link svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
@media (hover: hover) { .service-card__link:hover { color: var(--color-cobalt); font-size: calc(var(--text-sm) + 1px); transform: translateX(4px); } }
@media (hover: hover) { .service-card__link:hover svg { transform: translateX(6px); } }

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .service-card { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
}


.precision.section {
  background: var(--color-off-white);
  position: sticky;
  top: -50vh;
  z-index: 1;
  padding-block: var(--space-section);
}

.precision__top {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-section);
}

.precision__image-col {
  position: relative;
}

.precision__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.precision__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.precision__photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  height: clamp(420px, 68vh, 640px);
}

.precision__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: translateZ(0);
}

.precision__slider-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
}

.precision__slider--up .precision__slider-track {
  animation: precision-scroll-up 32s linear infinite;
}

.precision__slider--down .precision__slider-track {
  animation: precision-scroll-down 36s linear infinite;
}

.precision__photos--paused .precision__slider-track {
  animation-play-state: paused;
}

.precision__photo {
  flex: 0 0 auto;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.precision__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes precision-scroll-up {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}

@keyframes precision-scroll-down {
  from { transform: translate3d(0, -50%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .precision__slider-track { animation: none !important; }
}

.precision__quote {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: -5rem;
  margin-left: 1.5rem;
  margin-right: -2rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.precision__quote h3 {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-cobalt);
  margin-bottom: var(--space-xs);
}

.precision__quote p {
  font-size: var(--text-sm);
  color: var(--color-shark-70);
  line-height: 1.6;
}

.precision__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.precision__header .section-label {
  padding-left: 0;
}

.precision__header .section-label::before {
  display: none;
}

.precision__title {
  font-size: var(--text-3xl);
  line-height: 1.2;
  max-width: 700px;
  margin-inline: auto;
}

.precision__content {
  padding-top: var(--space-md);
}

.precision__headline {
  font-size: var(--text-3xl);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.precision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.precision__card {
  padding: var(--space-md);
}

.precision__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 237, 0, 0.15);
  color: #d4a800;
  margin-bottom: var(--space-sm);
}

.precision__card-icon svg {
  width: 24px;
  height: 24px;
}

.precision__card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-shark);
}

.precision__card p {
  font-size: var(--text-sm);
  color: var(--color-shark-70);
  line-height: 1.65;
}

.precision__bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-shark-10);
}

.precision__bottom .section-label {
  padding-left: 0;
}

.precision__bottom .section-label::before {
  display: none;
}

.precision__bottom-title {
  font-size: var(--text-3xl);
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.precision__bottom-sub {
  color: var(--color-shark-70);
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.precision__usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: left;
}

.precision__usp h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-cobalt);
}

.precision__usp p {
  font-size: var(--text-sm);
  color: var(--color-shark-70);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .precision__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .precision__quote {
    margin-right: 0;
    margin-left: 1rem;
  }
  .precision__usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .precision__grid {
    grid-template-columns: 1fr;
  }

  .precision__card {
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--color-shark-10, rgba(37, 44, 55, 0.08));
    border-radius: var(--radius-md);
    background: var(--color-white);
  }
  .precision__card h4 {
    font-size: var(--text-lg);
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .precision__card h4::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--color-cobalt);
    border-bottom: 2px solid var(--color-cobalt);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .precision__card.is-open h4::after {
    transform: rotate(-135deg);
  }
  .precision__card p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  }
  .precision__card.is-open p {
    max-height: 14rem;
    opacity: 1;
    margin-top: 0.55rem;
  }

  .precision__usp-grid {
    grid-template-columns: 1fr;
  }
  .precision__quote {
    margin-top: -3rem;
    margin-left: 0.5rem;
  }
}


.why-hso {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.why-hso__title {
  text-align: center;
  font-size: var(--text-3xl);
  max-width: 700px;
  margin-inline: auto;
}

.why-hso__subtitle {
  text-align: center;
  color: var(--color-shark-70);
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--text-base);
  line-height: 1.7;
}

.why-hso__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat__number {
  font-family: var(--font-headline);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-cobalt);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat__suffix { font-size: 0.6em; margin-left: 2px; }

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-shark-70);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.why-hso__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.feature {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.feature::before {
  display: none;
}

@media (hover: hover) { .feature:hover {
  background: var(--color-white);
  box-shadow: 0 12px 40px rgba(37, 44, 55, 0.1);
  transform: translateY(-6px);
  border-color: var(--color-shark-10);
} }

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 237, 0, 0.15);
  color: #d4a800;
  transition: all var(--transition-base);
}

@media (hover: hover) { .feature:hover .feature__icon {
  background: var(--color-sun);
  color: var(--color-shark);
  transform: scale(1.1);
} }

.feature__icon svg { width: 28px; height: 28px; }
.feature__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-xs); }
.feature__text { font-size: var(--text-sm); color: var(--color-shark-70); line-height: 1.7; margin-inline: auto; }


[data-slide-repeat="right"] {
  opacity: 0;
  transform: translateX(280px);
  transition:
    opacity   2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-slide-repeat="right"].slide-in {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: hover) { .feature[data-slide-repeat].slide-in:hover {
  transform: translateY(-6px);
} }

[data-slide-delay="0"] { transition-delay: 0ms; }
[data-slide-delay="1"] { transition-delay: 120ms; }
[data-slide-delay="2"] { transition-delay: 240ms; }
[data-slide-delay="3"] { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  [data-slide-repeat] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.why-hso__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .why-hso__grid { grid-template-columns: repeat(2, 1fr); }
  .why-hso__stats { gap: var(--space-lg); }
}

@media (max-width: 600px) {
  .why-hso__grid { grid-template-columns: 1fr; }
  .why-hso__stats { gap: var(--space-md); }
}


.testimonials {
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.testimonials__header .section-label { padding-left: 0; }
.testimonials__header .section-label::before { display: none; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  border: 1px solid var(--color-shark-10);
  transition: all var(--transition-base);
}

@media (hover: hover) { .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 44, 55, 0.1);
  border-color: transparent;
} }

.testimonial__stars { display: flex; gap: 3px; margin-bottom: var(--space-md); }
.testimonial__star { width: 18px; height: 18px; color: var(--color-sun); }

.testimonial__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-shark-70);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial__author { display: flex; align-items: center; gap: var(--space-sm); }

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial__name { font-weight: 700; font-size: var(--text-sm); color: var(--color-shark); }
.testimonial__role { font-size: var(--text-xs); color: var(--color-mid-gray); }

@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}


.career {
  background: var(--color-shark);
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
  margin-top: -1px;
}

.career__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.career__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.career__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(37, 44, 55, 0.72) 0%, rgba(37, 44, 55, 0.82) 45%, rgba(37, 44, 55, 0.92) 100%);
}

.career__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.career__label {
  color: var(--color-cobalt);
  padding-left: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.02em;
}
.career__label::before { display: none; }

.career__title {
  color: var(--color-white);
  font-size: var(--text-4xl);
  line-height: 1.1;
  margin-top: var(--space-sm);
}

.career__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xl);
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-md);
}

.career__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-sun), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.career__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.career__stat { text-align: center; }

.career__stat-number {
  font-family: var(--font-headline);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.career__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

.career__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .career__actions { flex-direction: column; align-items: center; }
  .career__stats { gap: var(--space-lg); }
}

@media (max-width: 768px) {
  .precision.section {
    position: relative;
    top: auto;
  }
  .career {
    position: relative;
    z-index: auto;
  }
}


.cre-solutions {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cre-solutions__bg-logo {
  position: absolute;
  top: 50%;
  left: -6vw;
  transform: translateY(-50%);
  height: 145%;
  width: auto;
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cre-solutions .container { position: relative; z-index: 1; }

.cre-solutions__banner {
  display: grid;
  grid-template-columns: minmax(380px, 1.4fr) 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-lg);
}

.cre-solutions__banner-image { border-radius: var(--radius-lg); overflow: hidden; }

.cre-solutions__banner-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.cre-solutions__banner-content .section-label { color: var(--color-grain); }

.cre-solutions__banner-title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  line-height: 1.15;
  font-weight: 800;
}

.cre-solutions__banner-info p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.cre-solutions__banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-grain);
  transition: all var(--transition-fast);
}

.cre-solutions__banner-link svg { width: 18px; height: 18px; transition: transform var(--transition-fast); }
@media (hover: hover) { .cre-solutions__banner-link:hover { color: var(--color-white); } }
@media (hover: hover) { .cre-solutions__banner-link:hover svg { transform: translateX(6px); } }

@media (max-width: 768px) {
  .cre-solutions__banner { grid-template-columns: 1fr; gap: var(--space-md); text-align: center; }
  .cre-solutions__banner-title { font-size: var(--text-2xl); }

  .cre-solutions__bg-logo {
    height: auto;
    width: 170%;
    max-width: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
  }
}


.contact {
  background: var(--color-white);
  position: relative;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__info { padding-top: var(--space-sm); }
.contact__title { font-size: var(--text-3xl); margin-top: var(--space-xs); }
.contact__text { color: var(--color-shark-70); margin-top: var(--space-md); line-height: 1.7; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.contact__detail { display: flex; align-items: center; gap: var(--space-sm); }

.contact__detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-cobalt-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cobalt);
  flex-shrink: 0;
}

.contact__detail-icon svg { width: 22px; height: 22px; }

.contact__detail-label {
  font-size: var(--text-xs);
  color: var(--color-mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact__detail-value { font-size: var(--text-base); font-weight: 600; }
.contact__detail-value a { color: var(--color-shark); transition: color var(--transition-fast); }
@media (hover: hover) { .contact__detail-value a:hover { color: var(--color-cobalt); } }

.contact__form {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-shark-10);
}

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form__group { display: flex; flex-direction: column; gap: 0.5rem; }
.form__group--full { grid-column: 1 / -1; }
.form__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-shark); }

.form__input, .form__select, .form__textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-shark-20);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-white);
  color: var(--color-shark);
  transition: all var(--transition-fast);
  width: 100%;
}

.form__input::placeholder, .form__textarea::placeholder { color: var(--color-mid-gray); }

.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--color-cobalt);
  box-shadow: 0 0 0 3px var(--color-cobalt-10);
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__submit { margin-top: var(--space-sm); }
.form__submit .btn { width: 100%; padding: 1rem 2rem; }

.form__notes {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-shark-10, rgba(37, 44, 55, 0.08));
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__note {
  font-size: var(--text-xs);
  color: var(--color-mid-gray);
  margin: 0;
  line-height: 1.45;
  text-align: center;
}

.form__note a {
  text-decoration: underline;
}

.form__required {
  color: #dc3545;
  font-weight: 700;
  margin-left: 0.15rem;
}

.form__select-wrap {
  position: relative;
}

.form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3.3rem;
  cursor: pointer;
  background-image: none;
  font-weight: 500;
}

.form__select::-ms-expand { display: none; }

.form__select-icon {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  padding: 0.45rem;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  background: var(--color-cobalt-10);
  color: var(--color-cobalt);
  pointer-events: none;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

@media (hover: hover) { .form__select-wrap:hover .form__select-icon {
  background: var(--color-cobalt-20);
} }

.form__select:focus + .form__select-icon {
  background: var(--color-cobalt);
  color: var(--color-white);
}

@media (hover: hover) { .form__input:hover, .form__select:hover, .form__textarea:hover {
  border-color: var(--color-cobalt-40);
} }

.form__select option { color: var(--color-shark); }
.form__select option:checked { font-weight: 600; }

.form__input.is-error,
.form__select.is-error,
.form__textarea.is-error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.04);
  animation: form-shake 0.4s ease;
}

@keyframes form-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form__error {
  display: none;
  font-size: 0.78rem;
  color: #dc3545;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.form__error.is-visible { display: block; }

.form__alert {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-md);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  animation: form-alert-in 0.3s ease;
}

.form__alert.is-visible { display: flex; }

.form__alert svg { width: 18px; height: 18px; flex-shrink: 0; }

.form__alert--success {
  background: rgba(26, 107, 90, 0.1);
  border: 1px solid rgba(26, 107, 90, 0.35);
  color: #1a6b5a;
}

.form__alert--error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #b02a37;
}

@keyframes form-alert-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .form__grid { grid-template-columns: 1fr; gap: var(--space-sm); }

  .contact__info { padding-top: 0; }
  .contact__title { margin-top: var(--space-xs); }
  .contact__text { margin-top: var(--space-sm); }

  .contact__details {
    margin-top: var(--space-lg);
    gap: 0.875rem;
  }

  .contact__detail {
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.5rem 0;
  }

  .contact__detail-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
  }
  .contact__detail-icon svg { width: 18px; height: 18px; }

  .contact__detail-label { font-size: 0.7rem; }
  .contact__detail-value { font-size: 0.95rem; line-height: 1.5; }

  .contact__detail-value a {
    display: inline-block;
    padding: 0.15rem 0;
    min-height: 24px;
  }

  .contact__form {
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-md);
  }

  /* iOS zoomt bei Inputs <16px auf Fokus -- explizit 16px erzwingen */
  .form__input,
  .form__select,
  .form__textarea {
    font-size: 16px;
    padding: 0.85rem 0.95rem;
  }

  .form__textarea { min-height: 110px; }

  .form__submit { margin-top: var(--space-md); }
  .form__submit .btn {
    padding: 1rem 1.5rem;
    min-height: 52px;
    font-size: 1rem;
  }

  .form__note { text-align: left; }
}

@media (max-width: 480px) {
  .contact__inner { gap: var(--space-md); }

  .contact__form {
    padding: var(--space-sm) 0.875rem;
    border-radius: var(--radius-sm);
    margin-inline: calc(var(--space-sm) * -1);
    border-inline: none;
  }

  .contact__details { gap: 0.625rem; margin-top: var(--space-md); }
  .contact__detail { padding: 0.375rem 0; gap: 0.75rem; }
  .contact__detail-icon { width: 38px; height: 38px; }
  .contact__detail-icon svg { width: 16px; height: 16px; }
  .contact__detail-value { font-size: 0.92rem; }

  .form__grid { gap: 0.875rem; }
  .form__label { font-size: 0.85rem; }
}
#footer-root {
  position: relative;
}