/* =====================================================
   MR Home Solution & Service – Stylesheet
   Brand: Deep Navy #1a3a6e | Blue #2d6cc0 | Light #4a8fd4
   ===================================================== */

/* ===== LOCAL FONTS (Inter) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/inter-800.woff2') format('woff2');
}

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand palette (extracted from logo) */
  --navy:        #1a3a6e;
  --navy-dark:   #12294f;
  --blue:        #2d6cc0;
  --blue-hover:  #2460ad;
  --blue-light:  #4a8fd4;
  --blue-pale:   #e8f0fb;
  --blue-pale-2: #dceaf8;

  /* Neutrals */
  --dark:        #1e2235;
  --dark-2:      #2c3350;
  --grey-700:    #374151;
  --grey:        #6b7280;
  --grey-light:  #f5f7fa;
  --grey-border: #e5e9f0;
  --white:       #ffffff;

  /* Semantic */
  --success:     #16a34a;
  --error:       #dc2626;
  --star:        #F59E0B;
  --whatsapp:    #25d366;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale (8pt grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Shape */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Elevation */
  --shadow-sm:  0 1px 3px rgba(26,58,110,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(26,58,110,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(26,58,110,.13), 0 3px 8px rgba(0,0,0,.07);
  --shadow-lg:  0 16px 48px rgba(26,58,110,.16), 0 6px 16px rgba(0,0,0,.08);

  /* Motion */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --duration:   0.28s;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul { list-style: none; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input, textarea, select {
  font-family: inherit;
}
address { font-style: normal; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--duration);
}
.skip-link:focus {
  top: 0;
}

/* ===== SCREEN READER ONLY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== SECTION ===== */
.section { padding: var(--space-20) 0; }

/* Offset for fixed header (100px nav) */
[id] { scroll-margin-top: 110px; }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section__tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: .875rem;
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-bottom: .875rem;
}
.section__subtitle {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}
.btn--large {
  padding: .9rem 2rem;
  font-size: 1rem;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,108,192,.3);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,108,192,.38);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--ghost {
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: var(--white);
}
.btn--outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
}
.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.btn--whatsapp:active {
  transform: translateY(0);
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .75s var(--ease-out) forwards;
}
.fade-up:nth-child(2) { animation-delay: .12s; }
.fade-up:nth-child(3) { animation-delay: .24s; }
.fade-up:nth-child(4) { animation-delay: .36s; }
.fade-up:nth-child(5) { animation-delay: .48s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), box-shadow var(--duration);
}
.header.scrolled {
  border-color: var(--grey-border);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  height: 100px;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 125px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: color var(--duration);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
  transform-origin: left;
  border-radius: 2px;
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue); }

.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue);
  color: var(--white);
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  min-height: 44px;
  transition: background var(--duration), transform var(--duration);
  margin-left: auto;
}
.nav__cta-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  z-index: 1001;
  border-radius: var(--radius);
  transition: background var(--duration);
}
.nav__hamburger:hover { background: var(--grey-light); }
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(18,41,79,.92) 0%,
    rgba(26,58,110,.78) 45%,
    rgba(45,108,192,.45) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 8rem var(--space-6) 6rem;
  max-width: 860px;
}
.hero__badges {
  display: flex;
  gap: .625rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: 100px;
}
.hero__badge--google {
  background: rgba(255,255,255,.97);
  border-color: rgba(255,255,255,.9);
  color: #3c4043;
  cursor: default;
}
.hero__badge-stars {
  color: #F59E0B;
  font-size: .85rem;
  letter-spacing: 1px;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}
.hero__title span {
  color: #7db8f0;
  display: block;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 auto var(--space-8);
  line-height: 1.75;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: .875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .825rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  z-index: 1;
  animation: heroScrollBounce 2.4s ease infinite;
  padding: .5rem;
  border-radius: 50%;
  transition: color var(--duration);
}
.hero__scroll:hover { color: var(--white); }
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ===== BRAND STRIP ===== */
.brands {
  background: var(--grey-light);
  padding: 2.25rem 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}
.brands__label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.375rem;
}
.brands__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: .875rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--grey-border);
  background: var(--white);
  color: var(--grey);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  min-width: 96px;
  transition: color var(--duration), border-color var(--duration), box-shadow var(--duration), transform var(--duration);
  cursor: default;
  white-space: nowrap;
}
.brand-logo:hover {
  color: var(--blue);
  border-color: var(--blue-pale-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ===== STATS ===== */
.stats {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--grey-border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.stats__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--space-6);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration), transform var(--duration);
  border: 1px solid transparent;
}
.stats__item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale-2);
  transform: translateY(-2px);
}
.stats__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stats__number {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}
.stats__label {
  font-size: .8rem;
  color: var(--grey);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== SERVICES ===== */
.services { background: var(--grey-light); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.services__grid .service-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale-2);
}
.service-card:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.service-card__image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card--featured .service-card__image {
  width: 44%;
  min-height: 360px;
}
.service-card:not(.service-card--featured) .service-card__image {
  height: 210px;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}
.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(18,41,79,.12));
}
.service-card__tag {
  position: absolute;
  top: .875rem;
  left: .875rem;
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  z-index: 1;
}

.service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  flex: 1;
}
.service-card--featured .service-card__body {
  padding: 2.25rem 2.5rem;
  justify-content: center;
}

.service-card__icon {
  width: 50px;
  height: 50px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: .25rem;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.015em;
  line-height: 1.3;
}
.service-card--featured .service-card__title {
  font-size: 1.55rem;
}
.service-card__text {
  color: var(--grey);
  font-size: .9375rem;
  line-height: 1.7;
  flex: 1;
}
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin: .25rem 0;
}
.service-card__features li {
  font-size: .85rem;
  color: var(--grey-700);
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}
.service-card__features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  margin-top: .375rem;
  transition: gap var(--duration) var(--ease);
  width: fit-content;
}
.service-card__link:hover { gap: .625rem; }

/* ===== HIGHLIGHT ===== */
.highlight { background: var(--white); }

.highlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.highlight__visual { position: relative; }
.highlight__img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.highlight__img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.highlight__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .875rem;
  color: var(--dark);
  border: 1px solid var(--grey-border);
  z-index: 1;
}
.highlight__badge--bottom-left {
  bottom: 2.5rem;
  right: auto;
  left: -1rem;
}
.highlight__content p {
  color: var(--grey);
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.highlight__list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
}
.highlight__list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--dark-2);
  font-size: .9375rem;
  font-weight: 500;
}
.highlight__list li svg {
  flex-shrink: 0;
}

/* ===== WHY US ===== */
.why-us { background: var(--grey-light); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration);
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale-2);
}
.why-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.why-card p {
  color: var(--grey);
  font-size: .9rem;
  line-height: 1.7;
}

/* CTA Banner */
.why-us__cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.why-us__cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.why-us__cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.why-us__cta p {
  color: rgba(255,255,255,.75);
  font-size: .975rem;
}
.why-us__cta-actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.why-us__cta .btn--primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.why-us__cta .btn--primary:hover {
  background: var(--grey-light);
  color: var(--navy-dark);
}
.why-us__cta .btn--outline {
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}
.why-us__cta .btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale-2);
}
.testimonial-card__stars {
  display: flex;
  gap: .2rem;
}
.testimonial-card__text {
  color: var(--dark-2);
  font-size: .9375rem;
  line-height: 1.75;
  flex: 1;
  font-style: normal;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-border);
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.testimonial-card__name {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  font-style: normal;
}
.testimonial-card__location {
  font-size: .8rem;
  color: var(--grey);
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration), visibility var(--duration);
}
.contact-modal.open {
  opacity: 1;
  visibility: visible;
}
.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 34, 53, 0.8);
  backdrop-filter: blur(4px);
}
.contact-modal__content {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn var(--duration) var(--ease-out) forwards;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--grey);
  transition: color var(--duration), background var(--duration);
  z-index: 10;
  cursor: pointer;
}
.contact-modal__close:hover {
  background: var(--grey-light);
  color: var(--dark);
}
.contact-modal__header {
  margin-bottom: 1.75rem;
}
.contact-modal__header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .5rem;
}
.contact-modal__header p {
  color: var(--grey);
  font-size: .95rem;
}
/* ===== CONTACT ===== */
.contact { background: var(--grey-light); }

/* Centered card wrapping everything */
.contact__card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-border);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* 3-column info row */
.contact__info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact__divider {
  border: none;
  border-top: 1px solid var(--grey-border);
  margin: 0;
}

/* CTA buttons centered */
.contact__cta {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__cta .btn {
  flex: 1;
  max-width: 260px;
  justify-content: center;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__info-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
}
.contact__info-item strong {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey);
  margin-bottom: .2rem;
}
.contact__info-item a,
.contact__info-item span {
  font-size: .9375rem;
  color: var(--dark);
  line-height: 1.5;
}
.contact__info-item a:hover { color: var(--blue); }

.contact__hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--grey-border);
}
.contact__hours-title {
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact__hours-note {
  font-size: .875rem;
  color: var(--grey-700);
  line-height: 1.6;
}
.hours-table {
  width: 100%;
  font-size: .875rem;
  border-collapse: collapse;
}
.hours-table td {
  padding: .4rem 0;
  color: var(--dark-2);
  border-bottom: 1px solid var(--grey-light);
}
.hours-table tbody tr:last-child td { border-bottom: none; }
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.hours-closed td { color: var(--grey); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: .8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  min-height: 44px;
  transition: background var(--duration), transform var(--duration), box-shadow var(--duration);
  width: fit-content;
}
.whatsapp-btn:hover {
  background: #1ea855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

/* Form */
.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-border);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.125rem;
}
.form__group label {
  font-size: .825rem;
  font-weight: 600;
  color: var(--dark-2);
}
.form__group label span {
  color: var(--blue);
}
.form__group input,
.form__group textarea,
.form__group select {
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .9375rem;
  color: var(--dark);
  min-height: 44px;
  transition: border-color var(--duration), box-shadow var(--duration);
  outline: none;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,108,192,.12);
}
.form__group textarea { resize: vertical; min-height: 120px; }

.form__group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .25rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.55;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--grey-border);
  border-radius: 5px;
  background: var(--white);
  margin-top: .1rem;
  transition: var(--duration);
  position: relative;
}
.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox-label input:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-label a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Honeypot – visually hidden, not in tab order */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Submit spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin .8s linear infinite; }


  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--success);
  font-size: .9rem;
  font-weight: 500;
  margin-top: .875rem;
  text-align: center;
  justify-content: center;
}
.form__error {
  color: var(--error);
  font-size: .875rem;
  margin-top: .5rem;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: .875rem;
}
.footer__address {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}
.footer__address a:hover { color: var(--white); }

.footer__col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer__col a,
.footer__col span {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--duration);
}
.footer__col a:hover { color: var(--white); }
/* Footer PDF downloads */
.footer__downloads {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer__downloads p {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.35);
  margin-bottom: .25rem;
}
.footer__dl-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  transition: color var(--duration);
  padding: .15rem 0;
}
.footer__dl-link:hover { color: rgba(255,255,255,.9); }
.footer__dl-link svg { flex-shrink: 0; opacity: .7; }

/* Legal pages shared styles (used across impressum / datenschutz / agb / widerruf) */
.legal-page { padding: 7rem 0 5rem; min-height: 80vh; }
.legal-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: .5rem; letter-spacing: -.025em; }
.legal-page .legal-date { font-size: .825rem; color: var(--grey); margin-bottom: 2.5rem; display: block; }
.legal-page h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 2.25rem 0 .5rem; padding-top: 2rem; border-top: 1px solid var(--grey-border); }
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 { font-size: .975rem; font-weight: 600; color: var(--dark-2); margin: 1.25rem 0 .4rem; }
.legal-page p { color: var(--grey-700); line-height: 1.85; margin-bottom: .875rem; font-size: .9375rem; }
.legal-page ul, .legal-page ol { color: var(--grey-700); line-height: 1.85; padding-left: 1.5rem; margin-bottom: .875rem; font-size: .9375rem; }
.legal-page ul { list-style: disc; }
.legal-page ol { list-style: decimal; }
.legal-page li { margin-bottom: .3rem; }
.legal-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--blue-hover); }
.legal-page strong { color: var(--dark); }
.legal-page address { font-style: normal; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 2.25rem;
  font-size: .875rem;
  text-decoration: none;
  transition: gap var(--duration);
}
.back-link:hover { gap: .65rem; }

/* PDF download button on legal pages */
.pdf-download {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--blue-pale);
  color: var(--blue);
  border: 1px solid var(--blue-pale-2);
  padding: .65rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration), border-color var(--duration), transform var(--duration);
  margin: .5rem .5rem .5rem 0;
}
.pdf-download:hover {
  background: var(--blue-pale-2);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  color: var(--blue-hover);
  text-decoration: none;
}
.pdf-download svg { flex-shrink: 0; }

/* Widerruf form box */
.widerruf-box {
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1.5rem 0;
  background: var(--grey-light);
}
.widerruf-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ===== RESPONSIVE – TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight__grid,
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .highlight__img-wrapper img { height: 340px; }
  .highlight__badge { bottom: .5rem; right: .5rem; }
  .highlight__badge--bottom-left { bottom: auto; top: .5rem; left: .5rem; }
  .contact__card { padding: 1.75rem 1.5rem; }
  .contact__info-row { grid-template-columns: 1fr; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Nav drawer – always off-screen until .open is added */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  background: #ffffff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: -8px 0 32px rgba(26,58,110,0.18);
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-overlay {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0);
  z-index: 999;
  pointer-events: none;
  transition: background 0.3s ease;
}
.nav-overlay.active {
  background: rgba(0,0,0,0.45);
  pointer-events: auto;
}

/* ===== RESPONSIVE – MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  /* Nav mobile – Right Drawer */
  .nav {
    gap: 0;
    justify-content: space-between;
    height: 76px;
  }
  .nav__logo-img {
    height: 94px;
  }

  /* Hide desktop nav links; shown in drawer instead */
  .nav__links {
    display: none !important;
  }

  /* Hamburger button */
  .nav__hamburger {
    display: -webkit-flex;
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #e5e9f0;
    background: #ffffff;
    -webkit-box-shadow: 0 1px 3px rgba(26,58,110,.08);
    box-shadow: 0 1px 3px rgba(26,58,110,.08);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }
  .nav__hamburger:hover {
    background: #e8f0fb;
    border-color: #4a8fd4;
  }
  .nav__hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1a3a6e;
    border-radius: 2px;
    -webkit-transition: -webkit-transform 0.25s ease, opacity 0.25s ease;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__hamburger.open span:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger.open span:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Dark overlay behind drawer */
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 999;
    pointer-events: none;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
  }
  .nav-overlay.active {
    background: rgba(0,0,0,0.45);
    pointer-events: auto;
  }

  /* Right-side drawer */
  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 310px;
    background: #ffffff;
    z-index: 1000;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    -webkit-box-shadow: -8px 0 32px rgba(26,58,110,0.18);
    box-shadow: -8px 0 32px rgba(26,58,110,0.18);
    will-change: transform;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .nav-drawer.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  /* Navy header strip — mirrors the nav bar */
  .nav-drawer__head {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    background: #1a3a6e;
    height: 76px;
    padding: 0 1.25rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  .nav-drawer__brand {
    color: #ffffff;
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: .01em;
  }
  .nav-drawer__close {
    width: 36px;
    height: 36px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
    padding: 0;
  }
  .nav-drawer__close:hover {
    background: rgba(255,255,255,.22);
  }
  /* Scrollable body area */
  .nav-drawer__body {
    -webkit-flex: 1;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .nav-drawer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-flex: 1;
    flex: 1;
  }
  .nav-drawer__links li {
    border-bottom: 1px solid #e5e9f0;
  }
  .nav-drawer__links a {
    display: block;
    padding: .95rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1e2235;
    text-decoration: none;
    -webkit-transition: color 0.15s ease, background 0.15s ease;
    transition: color 0.15s ease, background 0.15s ease;
  }
  .nav-drawer__links a:hover,
  .nav-drawer__links a:active {
    color: #2d6cc0;
    background: #e8f0fb;
  }
  /* CTA buttons at bottom */
  .nav-drawer__footer {
    padding: 1.25rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: .75rem;
    border-top: 1px solid #e5e9f0;
  }
  .nav-drawer__cta {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    background: #2d6cc0;
    color: #ffffff;
    font-weight: 600;
    font-size: .9375rem;
    border-radius: 10px;
    text-decoration: none;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
  }
  .nav-drawer__cta:hover {
    background: #2460ad;
  }
  .nav-drawer__wa {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 600;
    font-size: .9375rem;
    border-radius: 10px;
    text-decoration: none;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
  }
  .nav-drawer__wa:hover {
    background: #1fb855;
  }

  /* Contact buttons centered on mobile */
  .whatsapp-btn {
    display: -webkit-flex;
    display: flex;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    -webkit-justify-content: center;
    justify-content: center;
  }
  .contact__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .contact__cta .btn {
    max-width: 100%;
    justify-content: center;
  }
  .contact.section { padding-bottom: 2rem; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .service-card:first-child {
    grid-column: auto;
    flex-direction: column;
  }
  .service-card--featured .service-card__image {
    width: 100%;
    min-height: 240px;
  }

  /* Why Us */
  .why-us__grid { grid-template-columns: 1fr; }
  .why-us__cta { padding: 2rem 1.5rem; }
  .why-us__cta-content { flex-direction: column; }
  .why-us__cta-actions { width: 100%; }
  .why-us__cta-actions .btn { flex: 1; justify-content: center; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  /* Form */
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Hero */
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero__trust { flex-direction: column; align-items: center; gap: .625rem; }
  .hero__badges { gap: .5rem; }

  /* Brands */
  .brands__track { gap: .625rem; }
  .brand-logo { min-width: 84px; padding: .75rem .875rem; font-size: .68rem; }


  /* Modal */
  .contact-modal__content {
    padding: 1.5rem;
    margin: 1rem;
  }
  .contact-modal__close {
    top: 1rem;
    right: 1rem;
  }
  .contact-modal__header h2 {
    font-size: 1.25rem;
  }
}

/* ===== RESPONSIVE – SMALL PHONE (≤480px) ===== */
@media (max-width: 480px) {
  .nav__logo-img { height: 88px; }
  .section__title { font-size: 1.625rem; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { gap: .875rem; }
  .contact__info-item { flex-direction: column; gap: .5rem; }
  .hero__content { padding-top: 6rem; padding-bottom: 5rem; }
  .highlight__badge { display: none; }
  .why-us__cta { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
  .why-us__cta h3 { font-size: 1.175rem; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 700px;
  background: rgba(22,27,45,.97);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  z-index: 9990;
  padding: 1.125rem 1.5rem;
  animation: cookieSlideUp .3s cubic-bezier(.25,.46,.45,.94) both;
}
.cookie-banner[hidden],
.cookie-panel[hidden] { display: none; }

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-banner__text {
  flex: 1;
  min-width: 0;
}
.cookie-banner__text strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .3rem;
}
.cookie-banner__text p {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__link {
  color: var(--blue-light);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
  align-items: center;
}

/* Shared button base */
.cookie-banner__settings,
.cookie-banner__necessary,
.cookie-banner__accept {
  border: none;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  padding: .5rem .875rem;
  white-space: nowrap;
  transition: background var(--duration), color var(--duration);
  font-family: inherit;
}
.cookie-banner__settings {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-banner__settings:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.cookie-banner__necessary {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.cookie-banner__necessary:hover { background: rgba(255,255,255,.2); }
.cookie-banner__accept {
  background: var(--blue);
  color: #fff;
}
.cookie-banner__accept:hover { background: var(--blue-hover); }

/* ===== COOKIE SETTINGS PANEL ===== */
.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cookie-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.cookie-panel__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}
.cookie-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
}
.cookie-panel__head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.cookie-panel__close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--grey);
  padding: .25rem;
  line-height: 1;
}
.cookie-panel__body {
  padding: 1rem 1.5rem;
  flex: 1;
}
.cookie-panel__intro {
  font-size: .8125rem;
  color: var(--grey-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-cat {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  margin-bottom: .75rem;
}
.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat__head strong {
  display: block;
  font-size: .875rem;
  color: var(--dark);
  margin-bottom: .2rem;
}
.cookie-cat__head p {
  font-size: .78rem;
  color: var(--grey-700);
  margin: 0;
  line-height: 1.5;
}
.cookie-cat__badge {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  padding: .25rem .625rem;
  border-radius: 99px;
}

/* Toggle switch */
.cookie-toggle {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 99px;
  transition: background .2s;
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--blue); }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(18px); }

.cookie-panel__foot {
  padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--grey-border);
  display: flex;
  gap: .75rem;
}
.cookie-panel__foot .cookie-banner__necessary,
.cookie-panel__foot .cookie-banner__accept {
  flex: 1;
  justify-content: center;
  padding: .625rem 1rem;
  font-size: .875rem;
}
.cookie-panel__foot .cookie-banner__necessary {
  background: var(--grey-light);
  color: var(--dark);
  border: 1px solid var(--grey-border);
}
.cookie-panel__foot .cookie-banner__necessary:hover { background: #e2e6ed; }

/* Mobile banner */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    /* Override desktop animation — mobile uses translateY only */
    animation-name: cookieSlideUpMobile;
  }
  @keyframes cookieSlideUpMobile {
    from { opacity: 0; transform: translateY(1rem); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .cookie-banner__actions {
    display: flex;
    gap: .625rem;
  }
  .cookie-banner__settings { display: none; }
  .cookie-banner__necessary,
  .cookie-banner__accept {
    flex: 1;
    text-align: center;
    padding: .75rem .5rem;
    font-size: .875rem;
  }
}
