:root {
  --navy-950: #061326;
  --navy-900: #07182f;
  --navy-800: #0a2342;
  --steel-700: #2c5d7d;
  --steel-500: #5f8aa7;
  --steel-200: #c9d8e4;
  --gray-950: #101827;
  --gray-700: #435267;
  --gray-500: #66768a;
  --gray-100: #f3f6f9;
  --white: #ffffff;
  --line: rgba(151, 174, 196, 0.24);
  --glass: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(4, 17, 35, 0.22);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --brand-gold: #f6c16a;
  --brand-gold-deep: #d99a3d;
  --brand-bronze: #8a5a22;
  --brand-dark: #061326;
  --brand-black: #041123;
  --brand-cream: #fff4df;
  --brand-muted: rgba(255, 244, 223, 0.76);
  --brand-line: rgba(246, 193, 106, 0.22);
  --brand-glow: rgba(246, 193, 106, 0.28);
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-950);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

a,
p,
h1,
h2,
h3,
span {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.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 {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  min-width: 0;
}

.narrow { width: min(calc(100% - 32px), 820px); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(6, 19, 38, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 19, 38, 0.96);
  box-shadow: 0 18px 45px rgba(4, 17, 35, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0;
  min-width: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(95, 138, 167, .26);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: .95rem;
  font-weight: 650;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-cta {
  margin-left: 6px;
  color: #16100a;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(246,193,106,.18);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 270px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(6, 19, 38, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  white-space: normal;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(95, 138, 167, 0.26), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(44, 93, 125, 0.24), transparent 38%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 46%, #0d2f54 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/hai-logo.png");
  background-repeat: no-repeat;
  background-position: right 6vw center;
  background-size: min(55vw, 680px);
  opacity: 0.10;
  filter: grayscale(1) brightness(1.4) drop-shadow(0 30px 80px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  left: 8%;
  top: 18%;
  z-index: -1;
  background: radial-gradient(circle, rgba(95, 138, 167, 0.18), transparent 68%);
  pointer-events: none;
}

.page-hero::before {
  opacity: 0.07;
  background-size: min(48vw, 600px);
}

.page-home .hero::before {
  background-position: right 6vw center;
}

.page-leistungen .page-hero::before {
  background-position: right 20% center;
}

.page-about .page-hero::before {
  background-position: center right 7vw;
}

.page-contact .page-hero::before {
  background-position: right 8vw bottom 6%;
}

.section-wave:not(.page-hero)::before,
.section-wave:not(.page-hero)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .72;
}

.section-wave:not(.page-hero)::before {
  width: 58vw;
  height: 58vw;
  right: -22vw;
  bottom: -34vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, .025);
}

.section-wave:not(.page-hero)::after {
  width: 34vw;
  height: 18vw;
  left: -8vw;
  bottom: -7vw;
  background: rgba(255, 255, 255, .055);
  border-radius: 100% 100% 0 0;
  transform: rotate(-5deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(82px, 10vw, 146px) 0 72px;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.7rem, 5.8vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--brand-cream);
  text-shadow: 0 10px 34px rgba(0,0,0,.42);
}

.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--brand-cream);
  text-shadow: 0 10px 34px rgba(0,0,0,.42);
}

.page-hero h1 { font-size: clamp(2.55rem, 6vw, 5.4rem); }

.hero-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--brand-muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--brand-cream);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(246, 193, 106, 0.32);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  font-weight: 800;
  font-size: .92rem;
}

.hero-badges span:last-child {
  color: #16100a;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  border-color: rgba(255, 255, 255, 0.18);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--brand-muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.gold,
.accent,
.hero strong,
.page-hero strong {
  color: var(--brand-gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: .96rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid rgba(95, 138, 167, .56);
  outline-offset: 3px;
}

.btn-primary {
  color: #16100a;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(246,193,106,.22);
}

.btn-secondary {
  color: var(--brand-cream);
  background: rgba(255,255,255,.06);
  border-color: var(--brand-line);
}

.btn-ghost {
  color: #16100a;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(246,193,106,.22);
}

.btn-primary:hover,
.btn-ghost:hover,
.nav-cta:hover {
  box-shadow: 0 24px 64px rgba(246,193,106,.30);
}

.btn.full { width: 100%; }

.hero-media {
  position: relative;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-line);
  background: rgba(6, 19, 38, .58);
  box-shadow: 0 30px 90px rgba(0,0,0,.36), 0 0 80px rgba(95,138,167,.10);
  transform: rotate(-1.5deg);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(6,19,38,.72)),
    radial-gradient(circle at 20% 15%, rgba(95,138,167,.20), transparent 28%);
  pointer-events: none;
}

.hero-contact-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(6, 19, 38, 0.78);
  border: 1px solid var(--brand-line);
  backdrop-filter: blur(16px);
  color: var(--white);
}

.hero-contact-card strong {
  font-size: 1.05rem;
}

.hero-contact-card span {
  color: rgba(255,255,255,.72);
}

.hero-contact-card a {
  color: var(--white);
  font-weight: 900;
}

.trust-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -38px;
  background: rgba(6, 19, 38, .58);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-bar span {
  min-width: 0;
  min-height: 78px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-weight: 850;
  background: rgba(255,244,223,.07);
  padding: 16px;
}

.trust-note {
  margin: 18px auto 0;
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
}

.section {
  padding: clamp(74px, 10vw, 124px) 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
  min-width: 0;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.2rem;
  line-height: 1.18;
}

.section-heading p,
.detail-card p,
.story-copy p,
.media-split p,
.quote-copy p,
.contact-panel p,
.legal-card p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.service-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid {
  position: relative;
  z-index: 1;
}

.service-card,
.detail-card,
.step-card,
.form-card,
.contact-panel,
.legal-card,
.values-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(7, 24, 47, .07);
}

.service-card {
  position: relative;
  padding: 28px;
  min-height: 238px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 93, 125, .28);
  box-shadow: 0 24px 60px rgba(7, 24, 47, .12);
}

.service-card p { color: var(--gray-700); margin-bottom: 0; }

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
  margin-bottom: 22px;
  background: var(--gray-100);
  box-shadow: 0 14px 34px rgba(7, 24, 47, 0.10);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover .service-card-image {
  transform: scale(1.018);
  box-shadow: 0 20px 48px rgba(7, 24, 47, 0.15);
}

.service-more-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--navy-900);
  font-weight: 850;
  border-bottom: 2px solid rgba(44, 93, 125, 0.35);
  cursor: pointer;
}

.service-more-link:hover {
  border-color: var(--navy-900);
}

.icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy-900), var(--steel-700));
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.move-icon::before { width: 27px; height: 16px; left: 9px; top: 17px; border-radius: 3px; }
.move-icon::after { width: 8px; height: 8px; left: 13px; bottom: 9px; border-radius: 50%; box-shadow: 17px 0 0 var(--white); }
.build-icon::before { width: 28px; height: 6px; left: 10px; top: 22px; transform: rotate(-38deg); border-radius: 999px; }
.build-icon::after { width: 12px; height: 12px; right: 9px; top: 12px; border-radius: 2px; }
.clear-icon::before { width: 25px; height: 26px; left: 12px; top: 13px; clip-path: polygon(0 0,100% 0,86% 100%,14% 100%); }
.clear-icon::after { width: 30px; height: 5px; left: 9px; top: 10px; border-radius: 999px; }
.home-icon::before { width: 26px; height: 22px; left: 11px; top: 18px; border-radius: 3px; }
.home-icon::after { width: 24px; height: 24px; left: 12px; top: 8px; transform: rotate(45deg); border-radius: 3px; }
.transport-icon::before { width: 30px; height: 18px; left: 8px; top: 16px; border-radius: 5px; }
.transport-icon::after { width: 7px; height: 7px; left: 13px; bottom: 9px; border-radius: 50%; box-shadow: 18px 0 0 var(--white); }
.garage-icon::before { width: 30px; height: 24px; left: 9px; top: 16px; border-radius: 4px 4px 2px 2px; }
.garage-icon::after { width: 30px; height: 6px; left: 9px; top: 10px; clip-path: polygon(50% 0,100% 100%,0 100%); }
.cleaning-icon::before {
  width: 24px;
  height: 24px;
  left: 12px;
  top: 14px;
  border-radius: 5px 5px 12px 12px;
  background: var(--white);
}

.cleaning-icon::after {
  width: 22px;
  height: 7px;
  left: 13px;
  top: 9px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 8px 22px 0 -2px var(--white);
}

.why-strip {
  background: linear-gradient(180deg, #fff, var(--gray-100));
}

.why-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.why-card {
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(7, 24, 47, .07);
  display: grid;
  align-content: start;
  gap: 10px;
}

.why-card strong {
  color: var(--navy-950);
  font-size: 1.2rem;
}

.why-card span {
  color: var(--gray-700);
}

.process-band {
  background:
    linear-gradient(180deg, var(--gray-100), #fff),
    radial-gradient(circle at 0 10%, rgba(246,193,106,.14), transparent 36%);
}

.process-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 18px;
  padding: 24px;
}

.step-card span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #16100a;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  border-radius: 50%;
  font-weight: 900;
}

.step-card p { margin: 0; color: var(--gray-700); }

.quote-section,
.cta-band {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(95, 138, 167, .24), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(44, 93, 125, .22), transparent 34%),
    linear-gradient(135deg, var(--brand-dark), var(--navy-900) 48%, var(--brand-black));
}

.quote-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.hero-grid > *,
.service-grid > *,
.detail-grid > *,
.story-grid > *,
.media-split > *,
.quote-grid > *,
.process-grid > *,
.faq-grid > *,
.why-grid > *,
.service-page-layout > *,
.service-steps > *,
.footer-grid > * {
  min-width: 0;
}

.quote-copy h2,
.cta-band h2 { color: var(--white); }

.quote-copy p { color: rgba(255,255,255,.78); }

.quote-note {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background: rgba(255,244,223,.07);
}

.quote-note span { color: rgba(255,255,255,.74); }

.form-card {
  padding: clamp(22px, 4vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--navy-950);
  font-weight: 800;
  font-size: .93rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 24, 47, .14);
  border-radius: var(--radius-sm);
  background: #f9fbfd;
  color: var(--gray-950);
  font: inherit;
  padding: 13px 14px;
}

textarea { resize: vertical; min-height: 126px; }

.form-card .btn-primary {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  color: #16100a;
}

.form-hint {
  margin: 14px 0 0;
  color: var(--gray-500);
  font-size: .92rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(7,24,47,.06);
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  color: var(--navy-950);
  font-weight: 850;
}

summary::-webkit-details-marker { display: none; }

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--gray-700);
}

.page-hero {
  padding: clamp(96px, 13vw, 156px) 0 clamp(70px, 9vw, 112px);
}

.page-hero .container { position: relative; z-index: 1; }

.detail-grid { grid-template-columns: repeat(2, 1fr); }
.detail-card {
  padding: 22px;
  overflow: hidden;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  margin-bottom: 28px;
  box-shadow: 0 18px 42px rgba(7, 24, 47, 0.12);
  background: #f3f6f9;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.detail-card:hover .service-image {
  transform: scale(1.015);
  box-shadow: 0 24px 52px rgba(7, 24, 47, 0.16);
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--gray-100);
  box-shadow: 0 24px 64px rgba(7, 24, 47, 0.12);
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(6, 19, 38, 0.22)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.about-image-wrap:hover .about-image {
  transform: scale(1.025);
  filter: saturate(1.02) contrast(1.06);
}

.image-placeholder {
  min-height: 250px;
  margin-bottom: 28px;
  border-radius: calc(var(--radius-md) - 4px);
  background:
    linear-gradient(135deg, rgba(6,19,38,.84), rgba(44,93,125,.66)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 1px, transparent 1px 12px);
  position: relative;
  overflow: hidden;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: .85rem;
}

.image-placeholder.alternate {
  background:
    linear-gradient(135deg, rgba(95,138,167,.74), rgba(6,19,38,.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 14px);
}

.image-placeholder.large {
  min-height: 430px;
  margin: 0;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--gray-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--steel-700);
  border-bottom: 2px solid var(--steel-700);
  transform: rotate(-45deg);
}

.split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.service-page-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(7, 24, 47, 0.14);
  background: var(--gray-100);
}

.service-page-card {
  padding: clamp(24px, 5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(7, 24, 47, 0.08);
}

.service-page-card p {
  color: var(--gray-700);
  font-size: 1.06rem;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-steps article {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 24, 47, 0.07);
}

.service-steps strong {
  display: block;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-900);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(7, 24, 47, 0.08);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.back-button:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 93, 125, 0.35);
  box-shadow: 0 16px 38px rgba(7, 24, 47, 0.12);
}

.story-grid,
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.values-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.values-panel article {
  padding: 28px;
  display: grid;
  gap: 6px;
  background: var(--white);
}

.values-panel strong {
  color: var(--navy-950);
  font-size: 1.3rem;
}

.values-panel span { color: var(--gray-700); }

.media-split .btn {
  margin-top: 18px;
  background: rgba(6, 19, 38, .92);
  border-color: var(--brand-line);
  color: var(--brand-cream);
}

.contact-panel {
  padding: clamp(24px, 5vw, 40px);
}

.page-contact .form-card {
  background: rgba(6, 19, 38, 0.78);
  border-color: var(--brand-line);
  color: var(--brand-cream);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-contact .form-card label {
  color: var(--brand-cream);
}

.page-contact .form-card .form-hint {
  color: var(--brand-muted);
}

.contact-panel h2 { margin-bottom: 18px; }
.contact-panel address { font-style: normal; color: var(--gray-700); margin-bottom: 24px; }

.contact-method {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.contact-method strong { color: var(--navy-950); }
.contact-method span,
.contact-method a { color: var(--gray-700); }

.contact-method a:hover { color: var(--navy-900); }

.contact-button {
  width: fit-content;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-deep));
  color: #16100a;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(246,193,106,.18);
}

.opening-card {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0, rgba(95, 138, 167, .18), transparent 42%),
    var(--gray-100);
}

.opening-card h3 { margin-bottom: 14px; }

.hours-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hours-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--gray-700);
}

.hours-list dt { font-weight: 800; color: var(--navy-950); }
.hours-list dd { margin: 0; text-align: right; }

.legal-section { background: var(--gray-100); }
.legal-card { padding: clamp(24px, 5vw, 44px); }
.legal-card h2 { font-size: 1.35rem; margin-top: 28px; }
.legal-card h2:first-child { margin-top: 0; }

.site-footer {
  color: rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 12% 0, rgba(95, 138, 167, .12), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), var(--brand-black));
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr .7fr .7fr;
  gap: 28px;
}

.footer-brand { margin-bottom: 14px; }

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 10px;
}

.site-footer address { font-style: normal; }

.site-footer a:not(.brand),
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,.72);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  word-break: break-word;
}

.site-footer a:hover { color: var(--white); }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 998;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(4, 17, 35, 0.26);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--navy-800);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 70;
  }
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    display: grid;
    gap: 4px;
    padding: 12px;
    max-height: calc(100svh - 92px);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-md);
    background: rgba(6, 19, 38, .96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-menu .nav-cta { margin-left: 0; text-align: center; }
  .nav-dropdown {
    display: grid;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 0 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-dropdown-menu a {
    padding: 9px 12px;
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.72);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .quote-grid,
  .process-grid,
  .faq-grid,
  .why-grid,
  .why-cards,
  .story-grid,
  .media-split {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 52px;
  }
  .hero::before {
    background-position: center bottom 5%;
    background-size: min(82vw, 440px);
    opacity: 0.08;
  }
  .hero-image-card {
    transform: none;
  }
  .page-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.1rem, 7vw, 3.25rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  }
  h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.08;
  }
  .trust-bar { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-page-layout,
  .service-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body {
    padding-top: 68px;
  }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .nav { min-height: 68px; }
  .nav-menu { top: 74px; }
  .nav-toggle {
    top: 12px;
    right: 12px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }
  .brand {
    gap: 10px;
    font-size: 1rem;
  }
  .nav-toggle {
    flex: 0 0 44px;
  }
  .page-hero h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.1rem);
    line-height: 1.08;
    max-width: 13ch;
    overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  }
  h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  }
  .story-copy h2 {
    max-width: 13ch;
  }
  .story-copy p,
  .media-split p {
    max-width: 34ch;
  }
  .page-hero p { max-width: 32ch; }
  .hero-contact-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .service-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hours-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .service-card { min-height: auto; padding: 24px; }
  .step-card { grid-template-columns: 48px 1fr; padding: 20px; }
  .split-cta { align-items: flex-start; flex-direction: column; }
  .service-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
  }
  .service-card-image,
  .service-page-image {
    aspect-ratio: 4 / 3;
  }
  .about-image {
    aspect-ratio: 4 / 3;
  }
  .about-image-wrap {
    border-radius: var(--radius-md);
  }
  .image-placeholder.large { min-height: 300px; }
  .back-to-top {
    right: 18px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 760px) {
  .hero,
  .page-hero {
    min-height: auto;
  }

  .page-hero {
    padding-top: 92px;
    padding-bottom: 64px;
  }

  .hero::before,
  .page-hero::before {
    background-size: 92vw;
    background-position: center 18%;
    opacity: 0.045;
  }

  .hero::after,
  .page-hero::after {
    width: 280px;
    height: 280px;
    left: -80px;
    top: 90px;
    opacity: .8;
  }

  .hero h1,
  .page-hero h1 {
    line-height: 1.04;
    letter-spacing: -0.025em;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .nav,
  .header,
  .site-header {
    min-height: 68px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 18px 0 16px;
    gap: 0;
  }

  .hero-copy {
    width: min(100%, 390px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 28px;
    background:
      linear-gradient(145deg, rgba(6, 19, 38, 0.86), rgba(10, 35, 66, 0.78)),
      rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(246, 193, 106, 0.22);
    box-shadow: 0 24px 64px rgba(4, 17, 35, 0.30);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    max-width: 12ch;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-copy p {
    margin-top: 12px;
    font-size: .88rem;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-badges {
    margin-top: 15px;
    gap: 8px;
  }

  .hero-badges span {
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    font-size: .74rem;
    line-height: 1.25;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-actions {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-actions .btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: .86rem;
  }

  .hero-media {
    display: none;
  }

  .trust-bar {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-bar span {
    min-width: 0;
    min-height: 44px;
    padding: 8px 6px;
    font-size: .62rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }
}

@media (max-width: 380px) {
  .hero-copy {
    aspect-ratio: auto;
    min-height: 350px;
    padding: 20px;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-copy p {
    font-size: .86rem;
    line-height: 1.4;
  }

  .hero-badges span {
    font-size: .72rem;
  }
}

@media (max-width: 430px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.back-to-top {
  position: fixed !important;
  right: 18px !important;
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  z-index: 1190 !important;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 768px) {
  main img,
  main h1,
  main h2,
  main h3,
  main p,
  main span,
  main li,
  main ul,
  main .icon,
  main .service-card,
  main .detail-card,
  main .service-page-card,
  main .service-page-layout,
  main .hero-copy,
  main .section-heading,
  main .why-card,
  main .step-card,
  main .faq-list {
    pointer-events: none !important;
    cursor: default !important;
  }

  main a,
  main button,
  main input,
  main select,
  main textarea,
  main label,
  main summary,
  main .service-more-link,
  main .btn {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}

@media (max-width: 768px) {
  .service-card {
    cursor: default !important;
  }

  .service-card img,
  .service-card h3,
  .service-card p,
  .service-card .icon {
    pointer-events: none !important;
  }

  .service-card .service-more-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    width: fit-content !important;
    max-width: max-content !important;
  }
}

.service-card .service-more-link,
.detail-card .service-more-link {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2 !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  pointer-events: auto !important;
}

.service-card .service-more-link::before,
.service-card .service-more-link::after,
.detail-card .service-more-link::before,
.detail-card .service-more-link::after,
.service-card a::before,
.service-card a::after,
.detail-card a::before,
.detail-card a::after {
  content: none !important;
  display: none !important;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .service-card,
  .detail-card {
    pointer-events: auto !important;
    cursor: default !important;
  }

  .service-card img,
  .service-card h3,
  .service-card p,
  .service-card .icon,
  .detail-card img,
  .detail-card h2,
  .detail-card p,
  .detail-card ul,
  .detail-card li {
    pointer-events: none !important;
  }

  .service-card .service-more-link,
  .detail-card .service-more-link {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}

.service-card,
.detail-card,
.service-page-card,
.feature-card {
  position: relative !important;
  cursor: default !important;
}

.service-card > a:not(.service-more-link),
.detail-card > a:not(.service-more-link),
.service-page-card > a:not(.service-more-link),
.feature-card > a:not(.service-more-link) {
  pointer-events: none !important;
}

.service-more-link {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 3 !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  pointer-events: auto !important;
}

.service-more-link::before,
.service-more-link::after,
.service-card a::before,
.service-card a::after,
.detail-card a::before,
.detail-card a::after,
.service-page-card a::before,
.service-page-card a::after,
.feature-card a::before,
.feature-card a::after {
  content: none !important;
  display: none !important;
  position: static !important;
  inset: auto !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .service-card img,
  .service-card h3,
  .service-card p,
  .service-card .icon,
  .detail-card img,
  .detail-card h2,
  .detail-card h3,
  .detail-card p,
  .detail-card ul,
  .detail-card li,
  .service-page-card img,
  .service-page-card h2,
  .service-page-card h3,
  .service-page-card p,
  .feature-card img,
  .feature-card h2,
  .feature-card h3,
  .feature-card p {
    pointer-events: none !important;
  }

  .service-more-link {
    pointer-events: auto !important;
  }
}

/* FINAL FIX: closed mobile menu must not receive clicks */
@media (max-width: 1100px) {
  .nav-menu:not(.is-open) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-menu:not(.is-open),
  .nav-menu:not(.is-open) * {
    pointer-events: none !important;
  }

  .nav-menu.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-menu.is-open,
  .nav-menu.is-open * {
    pointer-events: auto !important;
  }
}

.floating-whatsapp-safe {
  position: fixed !important;
  right: 18px !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32) !important;
  z-index: 1200 !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  line-height: 1 !important;
  font-size: 0 !important;
}

.floating-whatsapp-safe svg {
  width: 31px !important;
  height: 31px !important;
  display: block !important;
  fill: currentColor !important;
  pointer-events: none !important;
}

.floating-whatsapp-safe::before,
.floating-whatsapp-safe::after {
  content: none !important;
  display: none !important;
}

.floating-whatsapp-safe:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe5d !important;
}

.floating-whatsapp-safe:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .floating-whatsapp-safe {
    right: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }

  .floating-whatsapp-safe svg {
    width: 30px !important;
    height: 30px !important;
  }
}

.back-to-top {
  bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  z-index: 1190 !important;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }
}

.footer-social {
  display: grid;
  gap: 8px;
}

.footer-social a {
  color: inherit;
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

.thank-you-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(246, 193, 106, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(6, 19, 38, 0.96), rgba(10, 35, 66, 0.92));
}

.thank-you-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.thank-you-card {
  border: 1px solid rgba(246, 193, 106, 0.22);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f6c16a, #e6a83f);
  color: #07182f;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(246, 193, 106, 0.28);
}

.thank-you-card h1 {
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}

.thank-you-card p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto 14px;
  font-size: clamp(1rem, 2.3vw, 1.16rem);
  line-height: 1.7;
}

.thank-you-status {
  margin: 28px auto 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff;
  max-width: 560px;
}

.thank-you-status strong {
  display: block;
  margin-bottom: 6px;
  color: #f6c16a;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.thank-you-trust {
  margin-top: 24px;
  color: rgba(255,255,255,0.62);
  font-size: .92rem;
}

@media (max-width: 640px) {
  .thank-you-page {
    padding: 72px 0 48px;
  }

  .thank-you-card {
    border-radius: 24px;
    padding: 30px 22px;
  }

  .thank-you-actions {
    display: grid;
    gap: 12px;
  }

  .thank-you-actions .btn {
    width: 100%;
  }
}
