/* ========================================
   Helvetic Dynamics AG – Static Website
   Swiss-inspired clean design v2
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
  /* Modern Swiss Palette */
  --red: #E30613;
  /* Authentic Swiss Red */
  --red-deep: #B3050F;
  --red-light: #FFEDED;
  --red-glow: rgba(227, 6, 19, 0.2);

  --dark: #0F1115;
  --dark-alt: #161920;

  --gray-950: #08090B;
  --gray-900: #12141A;
  --gray-800: #1C2028;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;

  --bg: #FFFFFF;
  --bg-alt: var(--gray-50);
  --text: #111827;
  --text-muted: #4B5563;
  --border: rgba(0, 0, 0, 0.08);

  --font: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --leading: 1.625;

  --section-py: clamp(4rem, 8vw, 6rem);
  --container-max: 1240px;
  --container-px: clamp(1.5rem, 5vw, 2.5rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Premium Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 15px 30px -5px rgba(227, 6, 19, 0.25);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --duration: 0.4s;
  --duration-slow: 0.7s;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: var(--leading);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--red-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---- Section Helpers ---- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  font-family: 'Outfit', var(--font);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.1);
}

.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--gray-50);
  color: var(--red-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn--outline {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.btn--outline:hover {
  border-color: var(--gray-900);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
body.loading {
  overflow: hidden;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loading-screen--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  padding: 2rem;
}

.loading-screen__package-wrapper {
  position: relative;
  width: 280px;
  height: 168px;
  margin: 0 auto;
}

.loading-screen__package {
  width: 280px;
  height: 168px;
  position: relative;
  margin: 0;
  animation: packageMove 2.5s ease-in-out forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-screen__package svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(212, 43, 43, 0.3));
}

#lottieContainer {
  width: 280px;
  height: 168px;
  filter: drop-shadow(0 8px 16px rgba(212, 43, 43, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

#lottieContainer svg {
  width: 100% !important;
  height: 100% !important;
  filter: hue-rotate(-10deg) saturate(1.3) brightness(0.95);
}

@keyframes packageMove {
  0% {
    transform: translateX(-200px) scale(0.8);
    opacity: 0;
  }

  50% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  70% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(0) scale(0.8);
    opacity: 0;
  }
}

.loading-screen__text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  animation: textFadeIn 0.8s ease-out 2.5s forwards;
  width: auto;
  pointer-events: none;
  white-space: nowrap;
}

.loading-screen__logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  animation: textFadeIn 0.8s ease-out 0.5s forwards;
  width: auto;
  pointer-events: none;
}

.loading-screen__logo-img {
  width: 200px;
  height: auto;
  /* Convert white logo to red (#E20D17) */
  filter: brightness(0) saturate(100%) invert(10%) sepia(100%) saturate(7471%) hue-rotate(348deg) brightness(88%) contrast(89%);
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.loading-screen__text.transitioning {
  animation: none;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen__title {
  font-family: 'Outfit', var(--font);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--dark);
  text-transform: uppercase;
  margin: 0;
  position: relative;
  white-space: nowrap;
}

.loading-screen__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--red);
  animation: underlineExpand 0.6s ease-out 3.3s forwards;
}

.loading-screen__text.transitioning .loading-screen__title::after {
  animation: none;
  width: 0;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes underlineExpand {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

/* Mobile safe area fix for iOS */
@supports (padding: max(0px)) {
  .header {
    padding-top: env(safe-area-inset-top);
    background: #fff;
  }
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-wrap: nowrap;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
  text-decoration: none;
  padding: 0.5rem 0;
}

.header__logo:hover {
  color: var(--gray-900);
}

.header__logo-icon {
  width: 50px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
  filter: drop-shadow(0 4px 6px rgba(226, 13, 23, 0.2));
  transition: transform var(--duration) var(--ease-spring);
}

.header__logo:hover .header__logo-icon {
  transform: rotate(-5deg) scale(1.1);
}

.header__logo-text {
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-family: 'Outfit', var(--font);
  font-weight: 800;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all var(--duration) var(--ease);
}

.header__logo:hover .header__logo-text {
  background: var(--red);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.header__nav-link:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.header__nav-link--cta {
  background: var(--red);
  color: #fff !important;
  margin-left: 0.75rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 1.5rem;
}

.header__nav-link--cta:hover {
  background: #fff !important;
  color: var(--red) !important;
  box-shadow: 0 4px 12px rgba(212, 43, 43, 0.25);
  border: 1px solid var(--red);
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.header__nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.header__nav-link--dropdown:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-dropdown__chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--duration) var(--ease);
}

.header__nav-link--dropdown[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all var(--duration) var(--ease);
  z-index: 100;
  padding: 0.5rem 0;
  list-style: none;
}

.nav-dropdown__menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.nav-dropdown__link:hover {
  background: var(--red-light);
  color: var(--red);
  padding-left: 1.5rem;
}

.nav-dropdown__link::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  width: 3px;
  height: 16px;
  background: var(--red);
  border-radius: 0 4px 4px 0;
  transition: transform var(--duration) var(--ease);
}

.nav-dropdown__link:hover::after {
  transform: translateY(-50%) translateX(0);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile language switcher in nav */
.header__nav-lang {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.lang-switcher--mobile {
  width: 100%;
  background: #fff;
}

.lang-switcher__btn--mobile {
  width: 100%;
  justify-content: center !important;
  text-align: center !important;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  color: var(--gray-800);
  transition: all 0.2s ease;
}

.lang-switcher__btn--mobile:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.lang-switcher__btn--mobile[aria-expanded="true"] {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.lang-switcher--mobile .lang-switcher__dropdown {
  position: static;
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  transform: none;
  opacity: 1;
  visibility: visible;
  display: none;
  overflow: hidden;
}

.lang-switcher--mobile .lang-switcher__dropdown--open {
  display: block;
}

.lang-switcher--mobile .lang-switcher__option {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
}

.lang-switcher--mobile .lang-switcher__option:hover {
  padding-left: 1.5rem;
}

.lang-switcher--mobile .lang-switcher__option[aria-selected="true"],
.lang-switcher--mobile .lang-switcher__dropdown li[aria-selected="true"] .lang-switcher__option {
  padding-left: 1.5rem;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  background: transparent;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher__btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.lang-switcher__btn[aria-expanded="true"] {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.lang-switcher__icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.lang-switcher__chevron {
  width: 10px;
  height: 10px;
  color: currentColor;
  transition: transform 0.2s ease;
}

.lang-switcher__btn[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.lang-switcher__dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__dropdown li {
  list-style: none;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  position: relative;
}

.lang-switcher__option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.15s ease;
}

.lang-switcher__option:hover {
  background: rgba(227, 6, 19, 0.08);
  color: var(--red);
  padding-left: 1.25rem;
}

.lang-switcher__option:hover::before {
  transform: scaleY(1);
}

.lang-switcher__option[aria-selected="true"],
.lang-switcher__dropdown li[aria-selected="true"] .lang-switcher__option {
  background: rgba(227, 6, 19, 0.1);
  color: var(--red);
  font-weight: 600;
  padding-left: 1.25rem;
}

.lang-switcher__option[aria-selected="true"]::before,
.lang-switcher__dropdown li[aria-selected="true"] .lang-switcher__option::before {
  transform: scaleY(1);
}

.lang-switcher__option:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-switcher__option:last-child {
  border-radius: 0 0 8px 8px;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO – Full viewport with background image
   ======================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero__slide--active {
  opacity: 1;
  visibility: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1s ease-in-out;
}

.hero__slide--active .hero__bg-img {
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.75) 0%,
      rgba(10, 10, 10, 0.55) 40%,
      rgba(10, 10, 10, 0.35) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 640px;
  animation: fadeInUp 0.8s ease-out;
}

.hero__slide--active .hero__content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red);
  position: relative;
}

.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.4;
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero__title {
  font-family: 'Outfit', var(--font);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3.5rem;
  max-width: 600px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Slider Controls */
.hero__slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__slider-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  padding: 0;
}

.hero__slider-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.hero__slider-btn svg {
  width: 20px;
  height: 20px;
}

.hero__slider-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration) var(--ease);
}

.hero__slider-dot:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.2);
}

.hero__slider-dot--active {
  background: #fff;
  border-color: #fff;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .hero__slider-controls {
    bottom: 2rem;
    padding: 0.5rem 1rem;
    gap: 1rem;
  }

  .hero__slider-btn {
    width: 36px;
    height: 36px;
  }

  .hero__slider-btn svg {
    width: 18px;
    height: 18px;
  }
}


/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Service pages - single column layout */
.about__grid--single {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 800px;
  margin: 0 auto;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.about__image-wrapper:hover .about__image {
  transform: scale(1.03);
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.about__description {
  font-size: 1.0625rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about__more {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--gray-50);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat:hover {
  border-color: var(--red);
  background: var(--red-light);
  transform: translateY(-2px);
}

.stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  text-align: center;
}

.stat__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.advantages__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.advantages__header .section-label {
  justify-content: center;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  position: relative;
  padding: 3rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s var(--ease), transform 0.8s var(--ease);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.advantage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--duration) var(--ease);
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  background: transparent;
}

.advantage-card:hover * {
  color: #fff !important;
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 2rem;
  color: var(--red);
  padding: 14px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.advantage-card:hover .advantage-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.advantage-card__title {
  font-family: 'Outfit', var(--font);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.advantage-card__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red-glow);
}

.service-card__img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.service-card:hover .service-card__img {
  transform: scale(1.15);
}

.service-card__body {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 1.5rem;
  padding: 10px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-spring);
}

.service-card:hover .service-card__icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 8px 20px var(--red-glow);
}

.service-card__title {
  font-family: 'Outfit', var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

.cta-banner__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(183, 28, 28, 0.92) 0%, rgba(212, 43, 43, 0.85) 100%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-banner__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.contact__header {
  margin-bottom: 3rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-feedback--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-feedback--error {
  background: #fdeaea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Contact Info */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  flex-shrink: 0;
  padding: 8px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
}

.contact__info-icon svg {
  width: 100%;
  height: 100%;
}

.contact__info-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.contact__info-item p {
  font-size: 0.9375rem;
  color: var(--gray-900);
}

.contact__info-item a {
  color: var(--gray-900);
}

.contact__info-item a:hover {
  color: var(--red);
}

.contact__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--gray-950);
  color: var(--gray-400);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer__uid {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer__links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: all var(--duration) var(--ease);
  display: inline-block;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  text-align: center;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 43, 43, 0.3);
  transition: all var(--duration) var(--ease);
  z-index: 900;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  background: #fff;
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 43, 43, 0.4);
  border: 2px solid var(--red);
}

.back-to-top[hidden] {
  display: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
/* Fade up */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Advantage cards visible state */
.advantage-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from right */
.anim-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.anim-delay-1 {
  transition-delay: 0.1s !important;
}

.anim-delay-2 {
  transition-delay: 0.2s !important;
}

.anim-delay-3 {
  transition-delay: 0.3s !important;
}

.anim-delay-4 {
  transition-delay: 0.4s !important;
}

/* Hero animations – trigger immediately */
.hero .anim-fade-up {
  animation: hero-fade-up 0.8s var(--ease) forwards;
  opacity: 0;
}

.hero .anim-delay-1 {
  animation-delay: 0.15s;
}

.hero .anim-delay-2 {
  animation-delay: 0.3s;
}

.hero .anim-delay-3 {
  animation-delay: 0.45s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card tilt on hover */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* Hide mobile language switcher on desktop */
.header__nav-lang {
  display: none;
}

@media (max-width: 1024px) {
  .hero__inner {
    padding-top: 140px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image {
    height: 340px;
  }

  .about__stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header {
    top: 0;
    background: #fff !important;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid var(--border);
  }

  .header::before {
    content: '';
    position: absolute;
    top: calc(-1 * env(safe-area-inset-top));
    left: 0;
    right: 0;
    height: env(safe-area-inset-top);
    background: #fff;
    z-index: -1;
  }

  .header--scrolled {
    background: #fff !important;
    box-shadow: var(--shadow-sm);
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    padding: 0;
    width: 100%;
    height: calc(100dvh - 72px);
    border-top: 30px solid var(--red);
  }

  .header__nav--open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    background: #fff !important;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    padding: 1rem 1rem;
    padding-bottom: 4rem;
    background: #fff;
    border-radius: 0;
    margin: 0;
    min-height: calc(100dvh - 72px);
    height: 100%;
    box-sizing: border-box;
    list-style: none;
    display: flex;
  }

  .header__nav-link {
    font-size: 1.125rem;
    padding: 0.875rem 1rem;
    width: 100%;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center !important;
    border-radius: var(--radius-md);
    color: var(--gray-900) !important;
  }

  .header__nav-link:hover {
    background: var(--gray-100) !important;
    color: var(--gray-900) !important;
  }

  .header__nav-link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    background: var(--red) !important;
    border: 1px solid var(--red) !important;
    color: #fff !important;
  }

  .header__nav-link--cta:hover {
    background: #fff !important;
    color: var(--red) !important;
    border: 1px solid var(--red) !important;
  }

  .header__nav-link--cta:hover {
    background: #fff !important;
    color: var(--red) !important;
    color: #fff !important;
  }

  .header__menu-toggle {
    display: flex;
  }

  /* Ensure header stays on one line */
  .header__inner {
    flex-wrap: nowrap;
  }

  .header__logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .header__logo-text {
    font-size: 0.875rem;
  }

  /* Hide desktop language switcher on mobile */
  .header__actions .lang-switcher {
    display: none;
  }

  /* Show mobile language switcher */
  .header__nav-lang {
    display: block;
  }

  /* Services dropdown on mobile */
  .nav-dropdown {
    width: 100%;
  }

  .header__nav-link--dropdown {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
    color: var(--gray-900) !important;
  }

  .header__nav-link--dropdown:hover {
    background: var(--gray-100) !important;
    color: var(--gray-900) !important;
  }

  .nav-dropdown__menu {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: var(--gray-50);
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-dropdown__menu--open {
    display: block;
  }

  .nav-dropdown__link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--gray-900) !important;
    text-align: center !important;
    display: flex;
    justify-content: center !important;
    align-items: center;
  }

  .nav-dropdown__link:hover {
    background: var(--gray-100) !important;
    color: var(--red) !important;
    padding-left: 1rem !important;
  }

  /* Center-align language switcher dropdown options on mobile */
  .lang-switcher--mobile .lang-switcher__option {
    text-align: center !important;
    justify-content: center !important;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }


  .services__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .advantage-card {
    padding: 2rem 1.5rem;
  }

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about__image {
    height: 280px;
  }

  .stat {
    padding: 1rem 0.5rem;
  }

  .stat__value {
    font-size: 1.25rem;
  }

  .service-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }
}

/* ---- Print ---- */
@media print {

  .header,
  .back-to-top,
  .lang-switcher,
  .contact__form,
  .contact__map,
  .cta-banner {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__bg {
    display: none;
  }

  .hero__title,
  .hero__subtitle {
    color: #000;
  }
}