:root {
  --color-primary: #203470;
  --color-secondary: #3f64e9;
  --color-text: #1b1f3b;
  --color-muted: #4c5870;
  --color-background: #f5f7fb;
  --color-surface: #ffffff;
  --shadow-soft: 0 30px 60px rgba(20, 35, 80, 0.1);
  --radius-large: 24px;
  --font-family: "Poppins", "Segoe UI", sans-serif;
  --header-height: 88px;

  /* Glassmorphism utilities */
  --glass-light: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(32, 52, 112, 0.9);
  --glass-blur: blur(12px);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --gradient-accent: linear-gradient(135deg, #3f64e9, #203470, #3f64e9);
  --hover-glow: 0 0 30px rgba(63, 100, 233, 0.15);
  --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.lock-scroll {
  overflow: hidden;
}

main {
  display: block;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.skip-link:focus {
  left: 1rem;
  transform: translateY(0);
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(32, 52, 112, 0.08);
  min-height: var(--header-height);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.site-header.is-detached {
  box-shadow: 0 18px 36px rgba(16, 24, 64, 0.12);
}

.site-header.is-hidden {
  transform: translateY(calc(-1 * var(--header-height) - 1px));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 0.75rem 0;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--color-muted);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 25px rgba(7, 12, 32, 0.16);
}

.nav-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(12, 18, 45, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-toggle:hover::before,
.nav-toggle:focus-visible::before {
  opacity: 1;
}

.nav-toggle-icon {
  width: 28px;
  height: 20px;
}

.nav-toggle-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-line.top {
  transform: translateY(8px) rotate(45deg);
  transform-origin: 14px 2px;
}

.nav-toggle.is-active .nav-toggle-line.middle {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line.bottom {
  transform: translateY(-8px) rotate(-45deg);
  transform-origin: 14px 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.language-switcher label {
  font-weight: 500;
}

.language-switcher select {
  border: 1px solid rgba(32, 52, 112, 0.2);
  border-radius: 999px;
  padding: 0.4rem 2.4rem 0.4rem 0.9rem;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23203470' d='M5 6a1 1 0 0 1-.71-.29l-4-4A1 1 0 0 1 1.71.29L5 3.59 8.29.29a1 1 0 1 1 1.42 1.42l-4 4A1 1 0 0 1 5 6Z'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
  appearance: none;
  font-weight: 500;
  color: var(--color-text);
}

.language-switcher select:focus-visible {
  outline: 2px solid rgba(32, 52, 112, 0.3);
  outline-offset: 2px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 20px 40px rgba(32, 52, 112, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(32, 52, 112, 0.28);
}

.hero {
  position: relative;
  min-height: min(580px, 70vh);
  padding-top: var(--header-height);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  margin: 0 clamp(0.5rem, 2vw, 1.5rem);
  border-radius: 0 0 1.5rem 1.5rem;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 32, 0.35) 0%, rgba(8, 13, 32, 0.85) 80%);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(2%, 0, 0);
  transition: opacity 600ms cubic-bezier(0, 0, 1, 1), transform 600ms cubic-bezier(0, 0, 1, 1);
  will-change: transform, opacity;
  filter: saturate(1.05);
  z-index: 0;
  pointer-events: none;
  backface-visibility: hidden;
  overflow: hidden;
}

.hero-carousel .zoom-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  transform: scale(1);
  will-change: transform;
  animation: none;
}

.hero-carousel .slide.active,
.hero-carousel .slide.is-exiting {
  visibility: visible;
}

.hero-carousel .slide.active {
  opacity: 1;
  z-index: 2;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hero-carousel .slide.is-exiting {
  opacity: 0;
  z-index: 1;
  transform: translate3d(-2%, 0, 0);
}

.hero-carousel .slide.active .zoom-layer {
  animation: heroZoom 6000ms cubic-bezier(0, 0, 1, 1) forwards;
}

.hero-carousel .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 12, 28, 0.35) 0%, rgba(7, 12, 28, 0) 60%);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.39, 0.575, 0.565, 1);
  pointer-events: none;
}

.hero-carousel .slide.active::after {
  opacity: 1;
}

.hero-carousel .slide-overlay {
  position: absolute;
  left: clamp(1.5rem, 5vw, 3rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  padding: 1.1rem 1.35rem;
  backdrop-filter: blur(14px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: rgba(255, 255, 255, 0.88);
  max-width: min(32ch, 90%);
  z-index: 3;
  box-shadow: 0 20px 45px rgba(12, 18, 45, 0.22);
}

.hero-carousel .slide-overlay h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 4px 12px rgba(12, 18, 45, 0.4);
}

.hero-carousel .slide-overlay p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.7;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
  left: 1.5rem;
}

.carousel-control.next {
  right: 1.5rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dots .dot.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-overlay {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 7rem) 1.5rem clamp(4rem, 10vw, 7rem);
  text-align: center;
  pointer-events: none;
}

.hero-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  max-width: 560px;
  width: 100%;
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.94) 100%);
  box-shadow: 0 25px 60px rgba(8, 12, 26, 0.25),
    0 8px 24px rgba(8, 12, 26, 0.15);
  pointer-events: none;
}

.hero-overlay-inner>* {
  pointer-events: auto;
}

.hero-logo {
  margin: 0;
  width: 280px;
  max-width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(32, 52, 112, 0.2));
}

.hero-overlay-inner h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 400px;
}

.hero-cta {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .button {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(32, 52, 112, 0.25),
    0 4px 12px rgba(32, 52, 112, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: linear-gradient(135deg,
      var(--color-primary) 0%,
      #1a2f5f 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta .button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(32, 52, 112, 0.35),
    0 6px 16px rgba(32, 52, 112, 0.2);
  background: linear-gradient(135deg,
      #1a2f5f 0%,
      var(--color-primary) 100%);
}

.section-content.centered-content {
  justify-content: center;
  text-align: center;
}

.section-text.full-width {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.section-text.full-width .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.card-grid.stacked {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 1.25rem;
  box-shadow:
    0 8px 32px rgba(32, 52, 112, 0.1),
    0 2px 8px rgba(32, 52, 112, 0.05);
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

/* Gradient border pseudo-element */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: transparent;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Shimmer effect */
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(32, 52, 112, 0.15),
    var(--hover-glow);
}

.feature-card:hover::before {
  opacity: 1;
  background: var(--gradient-accent);
}

.feature-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(32, 52, 112, 0.06);
  border-bottom: 1px solid rgba(32, 52, 112, 0.06);
}

.feature-icon {
  display: inline-flex;
  padding: 0.5rem;
  background: var(--color-primary);
  border-radius: 8px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(63, 100, 233, 0.4);
}

.feature-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 1.5rem;
  box-shadow:
    0 8px 32px rgba(32, 52, 112, 0.1),
    0 2px 8px rgba(32, 52, 112, 0.05);
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Gradient border pseudo-element for service cards */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: transparent;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Shimmer effect for service cards */
.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card:hover,
.card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(32, 52, 112, 0.15),
    var(--hover-glow);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
  background: var(--gradient-accent);
}

.card:hover::after,
.card:focus-within::after {
  transform: rotate(45deg) translateX(100%);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(32, 52, 112, 0.06);
  border-bottom: 1px solid rgba(32, 52, 112, 0.08);
}

.card-icon {
  display: inline-flex;
  padding: 0.65rem;
  background: var(--color-primary);
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
}

.card:hover .card-icon,
.card:focus-within .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(63, 100, 233, 0.4);
}

.card-icon img,
.card-icon svg {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}



.card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.card p {
  margin: 0;
  padding: 1.25rem 1.5rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
}

.more-services {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 8px 32px rgba(32, 52, 112, 0.08),
    0 2px 8px rgba(32, 52, 112, 0.04);
}

.more-services h3 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  color: var(--color-primary);
  text-align: center;
}

.more-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem 1.5rem;
  color: var(--color-text);
}

.more-services li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.more-services li:hover {
  background: rgba(32, 52, 112, 0.06);
  transform: translateX(4px);
}

.more-services li::before {
  content: "✓";
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s var(--transition-bounce);
}

.more-services li:hover::before {
  transform: scale(1.2);
}

.hours-card {
  margin: 0;
  max-width: 420px;
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hours-card table {
  width: 100%;
  border-collapse: collapse;
}

.hours-card td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(32, 52, 112, 0.08);
}

.hours-card tr:last-child td {
  border-bottom: none;
}

.hours-card td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

.hours-card td:last-child {
  text-align: right;
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

.contact-details {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--color-muted);
}

.contact-item .label {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.contact-item a {
  font-weight: 600;
  color: var(--color-primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.theme-midnight .contact-details {
  background: rgba(18, 24, 52, 0.65);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-midnight .contact-details h3 {
  color: #fff;
}

.theme-midnight .contact-item {
  color: rgba(247, 248, 253, 0.9);
}

.theme-midnight .contact-item .label {
  color: rgba(255, 255, 255, 0.6);
}

.theme-midnight .contact-item p,
.theme-midnight .contact-item a {
  color: #fff;
}

.theme-midnight .contact-actions .button.primary {
  box-shadow: 0 24px 48px rgba(8, 12, 28, 0.5);
}

.theme-midnight .contact-actions .button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.theme-midnight .contact-actions .button.ghost:hover,
.theme-midnight .contact-actions .button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.contact-form-card {
  background: var(--glass-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-dark);
  color: #fff;
  padding: 2.25rem;
  border-radius: 1.5rem;
  box-shadow:
    0 8px 32px rgba(32, 52, 112, 0.3),
    0 2px 8px rgba(32, 52, 112, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.contact-form-card h3 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-weight: 500;
}

.field input,
.field textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: all 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(63, 100, 233, 0.3);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-card .button {
  width: 100%;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s var(--transition-bounce);
}

.contact-form-card .button:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), var(--hover-glow);
}

.map-frame {
  margin: 3rem auto 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  
}

.contact-grid .map-frame {
  margin: 0;
  height: 30rem;
}

.map-frame iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

.contact-grid .map-frame iframe {
  height: 100%;
  min-height: 400px;
}

.section.contact {
  padding-bottom: 4.5rem;
}

.contact-grid .map-frame.full-width {
  grid-column: 1 / -1;
  margin-top: 2rem;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
}

.contact-grid .map-frame.full-width iframe {
  min-height: auto;
  display: block;
  border: 0;
}

.site-footer {
  background: linear-gradient(180deg, rgba(16, 21, 43, 0.95) 0%, rgba(16, 21, 43, 1) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #f5f7fb;
  padding: 2rem 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 100, 233, 0.5), transparent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.footer-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: #f5f7fb;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-secondary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-credits {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  opacity: 0.35;
  font-size: 0.75rem;
  color: #b8c1e0;
}

.footer-credits:hover {
  opacity: 0.6;
}

.footer-hours h4 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.1rem;
}

.footer-hours p {
  margin: 0;
  font-size: 0.9rem;
  color: #b8c1e0;
}

.footer-lang select {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-lang select option {
  background-color: #10152b;
  color: #fff;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  color: #010003;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-card > h3 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  color: #010003;
  font-weight: 600;
}

.contact-info-card .contact-item {
  margin-bottom: 1.25rem;
  color: #010003;
}

.contact-info-card .contact-item .label {
  color: rgb(0, 0, 0);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.contact-info-card .contact-item p,
.contact-info-card .contact-item a {
  margin: 0;
  font-size: 1.05rem;
  color: #010003af;
  text-decoration: none;
  line-height: 1.5;
}

.contact-info-card .contact-item a:hover {
  color: var(--color-secondary);
}

.contact-info-card .contact-actions {
  margin-top: 1.75rem;
}

.contact-info-card .contact-actions .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 8px 24px rgba(32, 52, 112, 0.3);
  transition: all 0.3s ease;
}

.contact-info-card .contact-actions .button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(32, 52, 112, 0.4);
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.footer-inner p {
  margin: 0;
  color: #b8c1e0;
}

/* Top Strip & Header Updates */
.top-strip {
  background: var(--glass-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 902;
  border-bottom: 1px solid var(--glass-border-dark);
}

.top-strip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 100, 233, 0.4), transparent);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-strip-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.top-strip-phone:hover {
  opacity: 0.9;
}

.top-strip-phone svg {
  flex-shrink: 0;
}

.top-strip-cta {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.top-strip-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile: simplify top strip */
@media (max-width: 480px) {
  .top-strip-phone span {
    display: none;
  }

  .top-strip-right {
    gap: 0.75rem;
  }

  .top-strip-cta {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }
}

:root {
  --header-height: 130px;
}

@media (max-width: 1024px) {
  .section {
    padding: clamp(3rem, 7vw, 5rem) 0;
  }

  .hero-overlay-inner {
    max-width: 540px;
    padding: 2.5rem clamp(1.75rem, 5vw, 2.75rem);
  }

  .hero-logo {
    width: 240px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-carousel .slide-overlay {
    max-width: min(40ch, 86%);
  }

  .section-content,
  .section-content.is-reversed {
    flex-direction: column;
    text-align: center;
  }

  .section-text {
    align-items: center;
  }

  .section-text .section-header {
    text-align: center;
  }

  .section-text .section-header .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .section-visual {
    width: 100%;
  }

  .lottie-player {
    width: min(360px, 100%);
    height: min(360px, 75vw);
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background: rgba(11, 16, 38, 0.95);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.5rem;
    padding: 2.5rem 1.75rem 3rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    font-size: 1rem;
    backdrop-filter: blur(16px);
    margin-left: 0;
    z-index: 890;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-left: 0;
  }

  .nav-actions .header-phone {
    width: 100%;
    justify-content: center;
  }

  :root {
    --header-height: 112px;
  }

  .hero-overlay {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero-overlay-inner {
    background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.90) 100%);
  }

  .hero-carousel .slide-overlay {
    display: none;
  }

  .section-text {
    gap: 2rem;
  }

  .hours-card {
    width: 100%;
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .nav-toggle.is-active .nav-toggle-bar {
    background: #fff;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-carousel {
    aspect-ratio: 3 / 4;
  }

  .carousel-control.prev {
    left: 0.35rem;
  }

  .carousel-control.next {
    right: 0.35rem;
  }

  .hero-carousel .zoom-layer {
    animation: none !important;
    transform: scale(1) !important;
    background-position: center top;
  }

  .hero-carousel .slide.active .zoom-layer {
    animation: none !important;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher label {
    display: none;
  }

  .site-header.is-nav-open .language-switcher label {
    display: inline;
  }

  .more-services ul {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.75rem;
  }

  .map-frame iframe {
    height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  :root {
    --header-height: 128px;
  }

  .button {
    width: 100%;
  }

  .hero-overlay {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero-overlay-inner {
    padding: 1.5rem 1.25rem;
    width: calc(100% - 3rem);
    max-width: 360px;
    border-radius: 20px;
    gap: 1rem;
  }

  .hero-overlay-inner h1 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .hero-logo {
    width: 160px;
  }

  .hero-cta .button {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-content,
  .section-content.is-reversed {
    align-items: flex-start;
    text-align: left;
  }

  .section-text {
    align-items: flex-start;
  }

  .section-text .section-header {
    text-align: left;
  }

  .section-text .section-header .lead {
    margin-left: 0;
    margin-right: 0;
  }

  .lottie-player {
    width: 100%;
    height: min(320px, 75vw);
  }

  .contact-actions .button {
    flex: 1;
  }

  .contact-grid {
    margin-top: 2rem;
  }

  .map-frame iframe {
    height: 280px;
  }

  .scroll-indicator {
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }

  .about .content-columns {
    padding: 1.25rem;
  }

  .about .lead {
    font-size: 1.1rem;
    padding-left: 1rem;
  }
}

/* Scroll Indicator Arrow */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-bounce 2s ease-in-out infinite;
  z-index: 10;
  pointer-events: auto;
}

.scroll-indicator:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%) scale(1.1);
  color: #fff;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes pulse-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
}

/* Trust Banner / Membership Badge */
.trust-banner {
  padding: 2.5rem 0;
  background: var(--color-surface);
  position: relative;
}

.trust-banner::before,
.trust-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 52, 112, 0.15), transparent);
}

.trust-banner::before {
  top: 0;
}

.trust-banner::after {
  bottom: 0;
}

.trust-badge {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-badge img {
  max-width: 220px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.trust-badge img:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .trust-banner {
    padding: 2rem 0;
  }

  .trust-badge img {
    max-width: 180px;
  }
}

/* Carousel Zoom Animation */
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Scroll margin fix for navigation links */
#about,
#services,
#contact {
  scroll-margin-top: calc(var(--header-height) + 0.1rem);
}

/* Enhanced Über Uns Section */
#about {
  padding-bottom: 3rem;
}

.about .section-header {
  position: relative;
}

.about .section-header h2 {
  display: inline-block;
  position: relative;
}

.about .section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.about .lead {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-secondary);
  margin-top: 1.5rem;
}

.about .content-columns {
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(32, 52, 112, 0.03) 0%, rgba(63, 100, 233, 0.05) 100%);
  border-radius: 1.25rem;
  margin-top: 1.5rem;
}

.about .content-columns p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about .content-columns p:last-child {
  margin-bottom: 0;
}

/* Feature grid entrance animation */
.about .feature-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about.is-visible .feature-grid {
  opacity: 1;
  transform: translateY(0);
}

.about .feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.about .feature-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(32, 52, 112, 0.15);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-carousel .slide {
    transition: none;
  }

  .hero-carousel .slide.active {
    animation: none;
  }

  .hero-carousel .zoom-layer {
    animation: none !important;
    transform: scale(1) !important;
  }

  .scroll-indicator {
    animation: none;
  }
}