/* =============================================================
   MALER NIELI — Stylesheet
   Design: Swiss Precision meets Mediterranean Craftsmanship
   Colors: #29235c (navy) · #38aae1 (blue) · #ffffff (white)
   Fonts: Cormorant Garamond (display) · Outfit (body)
   Author: inaffect AG / Micha Hänni
   ============================================================= */

/* ─── RESET & VARIABLES ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #29235c;
  --navy-dark:  #1e1a46;
  --navy-light: #373069;
  --blue:       #38aae1;
  --blue-dark:  #2b8fbf;
  --blue-light: #5bbfe8;
  --white:      #ffffff;
  --off-white:  #f5f6fa;
  --gray-light: #e8e9f0;
  --gray:       #6b6f85;
  --text:       #1a1828;
  --text-muted: #6b6f85;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Outfit', 'Segoe UI', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 8px rgba(41, 35, 92, 0.06);
  --shadow:     0 6px 24px rgba(41, 35, 92, 0.10);
  --shadow-lg:  0 16px 48px rgba(41, 35, 92, 0.16);
  --shadow-xl:  0 32px 80px rgba(41, 35, 92, 0.22);

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container:  1240px;
  --gap:        clamp(1.5rem, 4vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ─── LANGUAGE SYSTEM ───────────────────────────────────────── */
[data-lang="de"] .lang-en,
[data-lang="en"] .lang-de {
  display: none !important;
}

/* ─── SKIP LINK ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  padding: .75rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(56, 170, 225, 0.35);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(56, 170, 225, 0.45);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--outline-white {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 2px solid var(--gray-light);
  color: var(--navy);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--off-white);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn--lg {
  padding: .9rem 2.25rem;
  font-size: 1rem;
}

.btn--sm {
  padding: .5rem 1.25rem;
  font-size: .85rem;
}

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

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-eyebrow--light { color: rgba(255,255,255,0.65); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.01em;
}

.section-title--light { color: var(--white); }

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.7;
}

.section-header--light .section-sub { color: rgba(255,255,255,.7); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal--delay-1 { --delay: .12s; }
  .reveal--delay-2 { --delay: .24s; }
  .reveal--delay-3 { --delay: .36s; }
  .reveal--delay-4 { --delay: .48s; }
}

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 600px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie-banner.hidden {
  transform: translateX(-50%) translateY(200%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  font-size: .9rem;
  opacity: .85;
}
.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              backdrop-filter .3s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.nav__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease), transform .2s var(--ease);
}
.header.scrolled .nav__logo img {
  filter: none;
}
.nav__logo:hover img { transform: scale(1.03); }
.nav__logo:focus-visible { outline: 2px solid var(--blue); border-radius: 4px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  padding: .5rem .9rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 100px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.header.scrolled .nav__link { color: var(--text-muted); }
.header.scrolled .nav__link:hover { color: var(--navy); background: var(--off-white); }
.nav__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.nav__controls {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
}
.lang-switch__btn {
  padding: .3rem .6rem;
  border-radius: 6px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: color .2s, background .2s;
  letter-spacing: .05em;
}
.lang-switch__btn.active,
.lang-switch__btn:hover { color: var(--white); background: rgba(255,255,255,.15); }
.header.scrolled .lang-switch__btn { color: var(--text-muted); }
.header.scrolled .lang-switch__btn.active,
.header.scrolled .lang-switch__btn:hover { color: var(--navy); background: var(--off-white); }
.lang-switch__btn:focus-visible { outline: 2px solid var(--blue); border-radius: 4px; }
.lang-switch__sep { color: rgba(255,255,255,.3); user-select: none; }
.header.scrolled .lang-switch__sep { color: var(--gray-light); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav__hamburger:hover { background: rgba(255,255,255,.1); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s, background .3s;
}
.header.scrolled .nav__hamburger span { background: var(--navy); }
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__hamburger:focus-visible { outline: 2px solid var(--blue); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 850;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mobile-menu__link {
  padding: 1rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu__link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.mobile-menu__phone {
  margin-top: .5rem;
  color: var(--blue) !important;
  font-weight: 700;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Decorative paint blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite alternate;
}
.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: rgba(56, 170, 225, 0.15);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}
.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(56, 170, 225, 0.08);
  bottom: 100px;
  left: -150px;
  animation-delay: -5s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: clamp(7rem, 15vh, 10rem);
  padding-bottom: 2rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
}

.hero__accent {
  font-style: italic;
  color: var(--blue);
  display: inline-block;
}

.hero__sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.7);
  max-width: 48ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  padding: .6rem 1.25rem;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.25);
  transition: border-color .2s, background .2s;
}
.hero__phone:hover {
  border-color: var(--blue);
  background: rgba(56,170,225,.1);
}
.hero__phone:focus-visible { outline: 2px solid var(--blue); }

.hero__contact-sep {
  color: rgba(255,255,255,.3);
  user-select: none;
}

.hero__contact-text {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}

/* Hero Image */
.hero__image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  transform: rotate(1.5deg);
  transition: transform .4s var(--ease-spring);
}
.hero__image-card:hover { transform: rotate(0deg) scale(1.02); }

.hero__image-card img {
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(56,170,225,.3);
}

.hero__image-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(56,170,225,.4);
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-wrap: wrap;
}

.hero__badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero__badge-label {
  font-size: .8rem;
  font-weight: 500;
  opacity: .9;
  max-width: 6rem;
  line-height: 1.3;
}

/* Hero Stats */
.hero__stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.hero__stats-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.75rem 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline;
}

.hero__stat-plus,
.hero__stat-pct {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}

.hero__stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .05em;
  margin-top: .25rem;
  text-transform: uppercase;
}

.hero__stat-badge {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  padding: .4rem .9rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ─── SERVICES ───────────────────────────────────────────────── */
.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}

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

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.service-card__inner:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

.service-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__img-wrap img {
  transform: scale(1.06);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(41,35,92,.6));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.service-card:hover .service-card__overlay { opacity: 1; }

.service-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56,170,225,.1);
  color: var(--blue);
  margin-bottom: .25rem;
  transition: background .3s, color .3s;
}
.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

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

.service-card__arrow {
  font-size: 1.2rem;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .3s var(--ease-spring);
  align-self: flex-end;
}
.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card--featured {
  background: var(--navy);
}
.service-card--featured .service-card__title { color: var(--white); }
.service-card--featured .service-card__desc { color: rgba(255,255,255,.6); }
.service-card--featured .service-card__icon {
  background: rgba(56,170,225,.2);
  color: var(--blue-light);
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.services__cta-text {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

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

.about__image-wrap img {
  border-radius: var(--radius-xl);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about__cred-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 32px rgba(56,170,225,.35);
  max-width: 260px;
}

.about__cred-badge svg {
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
}

.about__cred-title {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.about__cred-sub {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.4;
}

.about__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about__text strong { color: var(--navy); font-weight: 600; }

.about__points {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}

.about__point {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text);
}

.about__point-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(56,170,225,.12);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  margin-top: .1em;
}

/* ─── WHY US ─────────────────────────────────────────────────── */
.why-us {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.why-us__item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.why-us__item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(56,170,225,.3);
  transform: translateY(-4px);
}

.why-us__icon {
  width: 56px;
  height: 56px;
  background: rgba(56,170,225,.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.why-us__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .75rem;
}

.why-us__text {
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
}

/* ─── PROCESS ────────────────────────────────────────────────── */
.process {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-light), transparent);
  pointer-events: none;
}

.process__step {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: box-shadow .3s, transform .3s var(--ease);
  border: 1px solid var(--gray-light);
}
.process__step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.process__step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(56,170,225,.15);
  line-height: 1;
  margin-bottom: .5rem;
  user-select: none;
  transition: color .3s;
}
.process__step:hover .process__step-num {
  color: rgba(56,170,225,.35);
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}

.process__step-text {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery__filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 2px solid var(--gray-light);
  background: var(--white);
  transition: all .2s var(--ease);
  touch-action: manipulation;
}
.gallery__filter-btn:hover,
.gallery__filter-btn.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.gallery__filter-btn:focus-visible { outline: 2px solid var(--blue); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s;
}
.gallery__item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.gallery__item.filtered-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(.95);
}

.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem .75rem;
  background: linear-gradient(to top, rgba(41,35,92,.85), transparent);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NETWORK SERVICES ───────────────────────────────────────── */
.network {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

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

.network__item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
  background: var(--white);
}
.network__item:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56,170,225,.08), var(--shadow);
  transform: translateY(-3px);
}

.network__icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 1.25rem;
  transition: background .3s, color .3s;
}
.network__item:hover .network__icon {
  background: rgba(56,170,225,.1);
  color: var(--blue);
}

.network__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}

.network__desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(56,170,225,.3);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-card__name {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: var(--white);
  font-size: .9rem;
}

.testimonial-card__location {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E") center;
  pointer-events: none;
}

.cta-banner__bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  top: -250px;
  right: -100px;
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  max-width: 20ch;
}

.cta-banner__sub {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-top: .5rem;
  line-height: 1.65;
  max-width: 42ch;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact__intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact__detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(56,170,225,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact__detail-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .2rem;
}

.contact__detail-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s;
}
.contact__detail-value:hover { color: var(--blue); }

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56,170,225,.15);
}
.form-input.error { border-color: #ef4444; }
.form-input::placeholder { color: var(--text-muted); opacity: .7; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-error {
  font-size: .8rem;
  color: #ef4444;
  min-height: 1.2em;
}

.form-group--privacy {
  margin-top: -.25rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.form-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-light);
  border-radius: 5px;
  transition: border-color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
}
.form-checkbox-label:has(input:checked) .form-checkbox-custom {
  background: var(--blue);
  border-color: var(--blue);
}
.form-checkbox-label:has(input:checked) .form-checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-checkbox-text {
  font-size: .88rem;
  color: var(--text-muted);
}
.form-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(56,170,225,.3);
}
.form-link:hover { text-decoration-color: var(--blue); }

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(16,185,129,.1);
  color: #065f46;
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: .93rem;
}
.form-success svg { color: #10b981; flex-shrink: 0; }
.form-success[hidden] { display: none; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  color: rgba(255,255,255,.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  transition: color .2s;
}
.footer__phone:hover { color: var(--blue); }
.footer__phone:focus-visible { outline: 2px solid var(--blue); border-radius: 4px; }

.footer__nav-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__nav-link {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__nav-link:hover { color: var(--white); }
.footer__nav-link:focus-visible { outline: 2px solid var(--blue); border-radius: 3px; }

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .9rem;
}

.footer__address a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__address a:hover { color: var(--white); }

.footer__lang-switch {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer__lang-btn {
  padding: .25rem .6rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  transition: color .2s, background .2s;
}
.footer__lang-btn:hover,
.footer__lang-btn.active-lang {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.footer__lang-btn:focus-visible { outline: 2px solid var(--blue); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer__copy {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.footer__legal-link:hover { color: rgba(255,255,255,.7); }

.footer__credit {
  font-size: .78rem;
  color: rgba(255,255,255,.2);
}

.footer__credit-link {
  color: rgba(255,255,255,.35);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.15);
  transition: color .2s;
}
.footer__credit-link:hover { color: rgba(255,255,255,.6); }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
}
.back-to-top:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .network__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials__track {
    grid-template-columns: 1fr 1fr;
  }
  .why-us__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 3rem;
  }
  .hero__image-wrap {
    order: -1;
  }
  .hero__image-card {
    transform: rotate(0);
    max-width: 480px;
    margin-inline: auto;
  }
  .hero__image-badge {
    bottom: -1rem;
    left: 1rem;
    right: auto;
  }
  .hero__stats-list {
    gap: 0;
  }
  .hero__stat {
    padding: 0 1rem;
  }
  .hero__stat-divider {
    height: 30px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__cred-badge {
    right: 1rem;
    bottom: -1rem;
  }
  .why-us__grid {
    grid-template-columns: 1fr;
  }
  .process__steps {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery__item--tall { grid-row: span 1; }
  .network__grid {
    grid-template-columns: 1fr;
  }
  .testimonials__track {
    grid-template-columns: 1fr;
  }
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner__title { max-width: none; }
  .cta-banner__actions { justify-content: center; }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__stats-list {
    flex-direction: column;
    gap: 1rem;
  }
  .hero__stat-divider { display: none; }
  .hero__ctas {
    flex-direction: column;
  }
  .btn--lg {
    width: 100%;
    justify-content: center;
  }
}

/* ─── ACTIVE NAV LINK ────────────────────────────────────────── */
.nav__link--active {
  color: var(--white) !important;
  background: rgba(255,255,255,.12);
}
.header.scrolled .nav__link--active {
  color: var(--navy) !important;
  background: var(--off-white);
}

/* ─── SPINNER ANIMATION ──────────────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── PRINT ──────────────────────────────────────────────────── */
@media print {
  .header, .back-to-top, .cookie-banner, .mobile-menu { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { color: #000; }
}
