/* ============================================
   DL-FÖNSTERPUTS | Design System
   ============================================ */

:root {
  --navy: #1B2B45;
  --navy-deep: #111D32;
  --navy-mid: #24406A;
  --navy-90: rgba(27, 43, 69, 0.9);
  --steel: #4B7FA0;
  --steel-light: #6BA3C7;
  --steel-pale: #E8F1F8;
  --white: #FFFFFF;
  --ice-light: #F6F9FC;
  --ice: #ECF3F9;
  --ice-deep: #DCE8F2;
  --line: #DCE5EE;
  --charcoal: #2D3436;
  --charcoal-light: #4A5568;
  --silver: #B8C2CA;
  --silver-light: #D4DBE0;
  --accent: #5C9FBF;
  --accent-glow: rgba(92, 159, 191, 0.18);
  --success: #2D8B5F;
  --error: #C0392B;

  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-height: 72px;
  --container-max: 1200px;
  --gutter: 16px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-card: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --section-pad: 120px;
  --pane-radius: 44px;
  --pane-overlap: 44px;

  --shadow-glass:
    0 1px 2px rgba(17, 29, 50, 0.04),
    0 12px 32px -14px rgba(17, 29, 50, 0.16),
    0 32px 64px -36px rgba(27, 43, 69, 0.28);
  --shadow-glass-hover:
    0 2px 4px rgba(17, 29, 50, 0.05),
    0 22px 44px -16px rgba(17, 29, 50, 0.24),
    0 48px 80px -40px rgba(27, 43, 69, 0.38);

  --nav-logo-inner: #1B2B45;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
}

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

.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;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(27, 43, 69, 0.08);
}

.nav--scrolled .nav__logo-icon {
  color: var(--navy);
  --nav-logo-inner: #FFFFFF;
}

.nav--scrolled .nav__link {
  color: var(--charcoal);
}

.nav--scrolled .nav__link--cta {
  background: var(--navy);
  color: var(--white);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo-icon {
  width: 197px;
  height: 40px;
  color: var(--white);
  --nav-logo-inner: transparent;
  transition: color var(--transition);
}

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

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--white);
}

.nav--scrolled .nav__link:hover {
  color: var(--navy);
  background: var(--steel-pale);
}

.nav__link--cta {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 600;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav--scrolled .nav__link--cta:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav--scrolled .nav__toggle-bar {
  background: var(--charcoal);
}

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

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

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

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
}

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

/* Architectural glass grid pattern */
.hero__glass-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      var(--navy-deep) 0%,
      var(--navy) 30%,
      #1e3a5c 50%,
      var(--navy) 70%,
      var(--navy-deep) 100%
    );
}

.hero__glass-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent calc(25% - 1px),
      rgba(75, 127, 160, 0.06) calc(25% - 1px),
      rgba(75, 127, 160, 0.06) 25%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent calc(33.33% - 1px),
      rgba(75, 127, 160, 0.04) calc(33.33% - 1px),
      rgba(75, 127, 160, 0.04) 33.33%
    );
}

.hero__glass-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 80% at 70% 40%,
    rgba(75, 127, 160, 0.12) 0%,
    transparent 60%
  );
}

/* Clean sweep animation */
.hero__sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__sweep::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 70%
  );
  animation: cleanSweep 8s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes cleanSweep {
  0% { transform: translateX(-20%) rotate(15deg); }
  40% { transform: translateX(380%) rotate(15deg); }
  100% { transform: translateX(380%) rotate(15deg); }
}

/* Blue mist */
.hero__mist {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(75, 127, 160, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(92, 159, 191, 0.1) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: var(--nav-height) var(--gutter) 0;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-light);
  padding: 6px 20px;
  border: 1px solid rgba(107, 163, 199, 0.25);
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title-accent,
.text-accent {
  background: linear-gradient(135deg, var(--steel-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent--deep {
  background-image: linear-gradient(135deg, var(--steel) 0%, var(--navy-mid) 100%);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--steel);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(75, 127, 160, 0.3);
}

.btn--primary:hover {
  background: var(--steel-light);
  box-shadow: 0 4px 20px rgba(75, 127, 160, 0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__loading {
  display: none;
}

.btn--loading .btn__text {
  display: none;
}

.btn--loading .btn__loading {
  display: flex;
}

.btn--loading .btn__loading svg {
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Section base & layered glass panes
   Every section after the hero is a "pane" that
   slides over the previous one with rounded top
   corners, alternating light (ice) and dark (navy).
   ============================================ */

.section {
  position: relative;
  padding: var(--section-pad) 0 calc(var(--section-pad) + var(--pane-overlap));
}

.pane {
  margin-top: calc(var(--pane-overlap) * -1);
  border-radius: var(--pane-radius) var(--pane-radius) 0 0;
  isolation: isolate;
  box-shadow: 0 -28px 56px -28px rgba(8, 15, 28, 0.45);
}

/* glass edge highlight along the top of each pane */
.pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pane-radius);
  right: var(--pane-radius);
  height: 1px;
  pointer-events: none;
  z-index: 1;
}

/* architectural mullion grid, echoing the hero */
.pane::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}

.pane--light {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(107, 163, 199, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 90%, rgba(107, 163, 199, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--ice-light) 0%, var(--ice) 100%);
  color: var(--charcoal);
}

.pane--light::before {
  background: linear-gradient(90deg, transparent, #FFFFFF 30%, #FFFFFF 70%, transparent);
}

.pane--light::after {
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(75, 127, 160, 0.08) calc(25% - 1px),
    rgba(75, 127, 160, 0.08) 25%
  );
}

.pane--dark {
  background:
    radial-gradient(ellipse 60% 50% at 88% 0%, rgba(75, 127, 160, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 8% 100%, rgba(92, 159, 191, 0.12) 0%, transparent 65%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%);
  color: var(--white);
}

.pane--dark::before {
  background: linear-gradient(90deg, transparent, rgba(107, 163, 199, 0.6) 35%, rgba(107, 163, 199, 0.6) 65%, transparent);
}

.pane--dark::after {
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(107, 163, 199, 0.06) calc(25% - 1px),
    rgba(107, 163, 199, 0.06) 25%
  );
}

.section__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}

.section__label--light {
  color: var(--steel-light);
}

.section__label--lined::before,
.section__label--lined::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.7;
}

.section__label--lined::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.section__desc {
  font-size: 1.06rem;
  color: var(--charcoal-light);
  line-height: 1.75;
}

/* ============================================
   Shared glass card + icon tile
   ============================================ */

.service-card,
.methods__item {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.80) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glass), inset 0 1px 0 #FFFFFF;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out);
}

/* reflection that wipes across the glass on hover */
.service-card::before,
.methods__item::before,
.why__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.75) 47%, rgba(255, 255, 255, 0.2) 53%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

/* cursor-following light */
.service-card::after,
.methods__item::after,
.why__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(107, 163, 199, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card > *,
.methods__item > *,
.why__item > * {
  position: relative;
  z-index: 1;
}

.service-card:hover,
.methods__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover), inset 0 1px 0 #FFFFFF;
  border-color: rgba(107, 163, 199, 0.4);
}

.service-card:hover::before,
.methods__item:hover::before,
.why__item:hover::before {
  transform: translateX(120%);
}

.service-card:hover::after,
.methods__item:hover::after,
.why__item:hover::after {
  opacity: 1;
}

.icon-tile {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-mid) 0%, var(--navy) 100%);
  box-shadow:
    0 12px 22px -10px rgba(27, 43, 69, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.5s var(--ease-out);
}

.icon-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, transparent 45%);
  pointer-events: none;
}

.icon-tile svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.icon-tile--steel,
.service-card:hover .icon-tile,
.methods__item:hover .icon-tile {
  background: linear-gradient(145deg, var(--steel-light) 0%, var(--steel) 100%);
  box-shadow:
    0 14px 26px -10px rgba(75, 127, 160, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card:hover .icon-tile,
.methods__item:hover .icon-tile {
  transform: translateY(-2px) rotate(-4deg);
}

/* ============================================
   Kristallklart (before / after)
   ============================================ */

.crystal {
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 78% 45%, rgba(75, 127, 160, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, #132241 100%);
  color: var(--white);
}

/* horizon line where the hero ends */
.crystal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(107, 163, 199, 0.55) 50%, transparent 95%);
}

.crystal::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(107, 163, 199, 0.05) calc(25% - 1px),
    rgba(107, 163, 199, 0.05) 25%
  );
}

.crystal__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(107, 163, 199, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

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

.crystal__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "head   visual"
    "body   visual";
  column-gap: 88px;
  row-gap: 0;
}

.crystal__head {
  grid-area: head;
  align-self: end;
}

.crystal__body {
  grid-area: body;
  align-self: start;
}

.crystal__visual {
  grid-area: visual;
  align-self: center;
}

.crystal__title {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.crystal__text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32em;
  margin-bottom: 36px;
}

.crystal__points {
  display: grid;
  gap: 12px;
  max-width: 440px;
}

.crystal__point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.4s var(--ease-out);
}

.crystal__point:hover {
  border-color: rgba(107, 163, 199, 0.4);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  transform: translateX(4px);
}

.crystal__point-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(145deg, var(--steel-light), var(--steel));
  box-shadow: 0 8px 18px -8px rgba(107, 163, 199, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.crystal__point-icon svg {
  width: 19px;
  height: 19px;
}

.crystal__point strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.crystal__point span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Compare visual --- */

.compare {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* soft light spill behind the pane */
.compare::before {
  content: '';
  position: absolute;
  inset: 10% -8% -6% -8%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(107, 163, 199, 0.35), transparent 70%);
  filter: blur(30px);
}

.compare__frame {
  --pos: 50;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-deep);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.compare__clear,
.compare__dirty {
  position: absolute;
  inset: 0;
}

.compare__clear {
  background:
    linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, 0.18) 30.6%, rgba(255, 255, 255, 0.05) 36%, transparent 36.6%),
    linear-gradient(118deg, transparent 54%, rgba(255, 255, 255, 0.12) 54.4%, transparent 57%),
    linear-gradient(175deg, rgba(160, 210, 240, 0.32) 0%, transparent 38%),
    linear-gradient(0deg, rgba(17, 29, 50, 0.35) 0%, transparent 35%),
    url('/assets/images/glass-facade.webp') center 25% / cover no-repeat;
  filter: saturate(1.2) contrast(1.08);
}

.compare__glint {
  position: absolute;
  top: -20%;
  left: 0;
  width: 45%;
  height: 140%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.05) 56%, transparent 75%);
  transform: translateX(-140%) skewX(-8deg);
  animation: glint 7s ease-in-out 2.4s infinite;
}

@keyframes glint {
  0% { transform: translateX(-140%) skewX(-8deg); }
  35% { transform: translateX(260%) skewX(-8deg); }
  100% { transform: translateX(260%) skewX(-8deg); }
}

.compare__dirty {
  clip-path: inset(0 calc((100 - var(--pos)) * 1%) 0 0);
}

.compare__dirty-img {
  position: absolute;
  inset: -16px;
  background: url('/assets/images/glass-facade.webp') center 25% / cover no-repeat;
  filter: blur(6px) grayscale(0.55) brightness(1.3) contrast(0.7);
}

/* film, water spots, dried drips and dust */
.compare__grime {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.45) 0 3px, transparent 4.5px),
    radial-gradient(circle at 31% 9%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3.5px),
    radial-gradient(circle at 22% 41%, rgba(255, 255, 255, 0.40) 0 4px, transparent 6px),
    radial-gradient(circle at 46% 27%, rgba(255, 255, 255, 0.30) 0 2.5px, transparent 4px),
    radial-gradient(circle at 9% 63%, rgba(255, 255, 255, 0.40) 0 3.5px, transparent 5px),
    radial-gradient(circle at 37% 58%, rgba(255, 255, 255, 0.32) 0 2px, transparent 3.5px),
    radial-gradient(circle at 61% 47%, rgba(255, 255, 255, 0.35) 0 3px, transparent 4.5px),
    radial-gradient(circle at 74% 15%, rgba(255, 255, 255, 0.30) 0 2.5px, transparent 4px),
    radial-gradient(circle at 83% 68%, rgba(255, 255, 255, 0.38) 0 3.5px, transparent 5px),
    radial-gradient(circle at 54% 81%, rgba(255, 255, 255, 0.34) 0 3px, transparent 4.5px),
    radial-gradient(circle at 19% 86%, rgba(255, 255, 255, 0.30) 0 2px, transparent 3.5px),
    radial-gradient(circle at 91% 36%, rgba(255, 255, 255, 0.32) 0 2.5px, transparent 4px),
    radial-gradient(ellipse 40% 30% at 30% 30%, rgba(235, 238, 230, 0.25), transparent 70%),
    radial-gradient(ellipse 50% 35% at 75% 80%, rgba(220, 214, 196, 0.22), transparent 70%),
    repeating-linear-gradient(90deg,
      transparent 0, transparent 22px,
      rgba(240, 244, 246, 0.07) 22px, rgba(240, 244, 246, 0.07) 24px,
      transparent 24px, transparent 51px),
    linear-gradient(180deg, rgba(214, 222, 228, 0.50) 0%, rgba(196, 203, 208, 0.42) 100%);
}

.compare__grime::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.compare__mullion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent calc(36% - 5px),
    rgba(10, 18, 32, 0.92) calc(36% - 5px),
    rgba(70, 92, 120, 0.95) 36%,
    rgba(10, 18, 32, 0.92) calc(36% + 5px),
    transparent calc(36% + 5px));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 50px rgba(0, 0, 0, 0.35);
}

.compare__blade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), #FFFFFF 18%, #FFFFFF 82%, rgba(255, 255, 255, 0.35));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7), 0 0 36px rgba(107, 163, 199, 0.8);
  pointer-events: none;
}

/* freshly cleaned, still-wet edge */
.compare__blade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 34px;
  background: linear-gradient(90deg, rgba(190, 225, 248, 0.28), transparent);
}

.compare__handle {
  position: absolute;
  top: 50%;
  left: calc(var(--pos) * 1%);
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}

.compare__handle svg {
  width: 24px;
  height: 24px;
}

.compare--dragging .compare__handle,
.compare__frame:hover .compare__handle {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.24);
}

.compare__range {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.compare__range:focus-visible ~ .compare__handle {
  outline: 3px solid var(--steel-light);
  outline-offset: 4px;
}

.compare__label {
  position: absolute;
  top: 18px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  color: var(--white);
  background: rgba(17, 29, 50, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; }

.compare__label.is-hidden {
  opacity: 0;
}

.compare__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.compare__hint svg {
  width: 20px;
  height: 20px;
  color: var(--steel-light);
}

/* ============================================
   Services
   ============================================ */

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

.service-card {
  padding: 40px 36px 38px;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-card__index {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(75, 127, 160, 0.45);
  padding-top: 4px;
}

.service-card__title {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* featured: a dark glass card inside the light pane */
.service-card--featured {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(107, 163, 199, 0.28) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-mid) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  border-color: rgba(107, 163, 199, 0.3);
  box-shadow:
    0 30px 60px -28px rgba(17, 29, 50, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card--featured::before {
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.14) 47%, rgba(255, 255, 255, 0.04) 53%, transparent 64%);
}

.service-card--featured:hover {
  border-color: rgba(107, 163, 199, 0.55);
  box-shadow:
    0 40px 70px -28px rgba(17, 29, 50, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.service-card__sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.service-card__sweep::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.07) 48%, rgba(255, 255, 255, 0.12) 52%, transparent 75%);
  animation: cleanSweep 7s ease-in-out 1s infinite;
}

.service-card--featured .service-card__title {
  color: var(--white);
}

.service-card--featured .service-card__desc {
  color: rgba(255, 255, 255, 0.72);
}

.service-card__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(107, 163, 199, 0.35);
  background: rgba(107, 163, 199, 0.1);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel-light);
  margin-top: 20px;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
  gap: 10px;
  color: var(--white);
}

.service-card__link svg {
  flex-shrink: 0;
}

.services__pending {
  text-align: center;
  margin-top: 48px;
}

.services__pending-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.92rem;
  color: var(--charcoal-light);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -18px rgba(17, 29, 50, 0.3);
}

.services__pending-note svg {
  width: 20px;
  height: 20px;
  color: var(--steel);
  flex-shrink: 0;
}

.services__pending-note a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--steel);
  border-bottom: 1px solid rgba(75, 127, 160, 0.3);
  transition: color var(--transition), border-color var(--transition);
}

.services__pending-note a:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ============================================
   About David
   ============================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-col {
  position: relative;
}

/* offset glass plate behind the portrait */
.about__image-col::before {
  content: '';
  position: absolute;
  inset: 28px -24px -24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(107, 163, 199, 0.25);
  background: linear-gradient(150deg, rgba(107, 163, 199, 0.12), rgba(107, 163, 199, 0.02));
  pointer-events: none;
}

.about__image-wrapper {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--steel-light);
  border-right: 2px solid var(--steel-light);
  border-radius: 0 22px 0 0;
  opacity: 0.5;
  pointer-events: none;
}

.about__image-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 15%;
}

.about__image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(17, 29, 50, 0.55) 100%);
  pointer-events: none;
}

.about__image-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(17, 29, 50, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about__image-chip svg {
  width: 18px;
  height: 18px;
  color: var(--steel-light);
}

.about__text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 20px;
}

.about__text p:first-child {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.about__stat {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--steel-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__stat-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   Methods
   ============================================ */

.methods__feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 32px;
  padding: 48px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 70% at 0% 50%, rgba(75, 127, 160, 0.25) 0%, transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(107, 163, 199, 0.22);
  box-shadow:
    0 40px 80px -36px rgba(17, 29, 50, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.methods__feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(107, 163, 199, 0.05) calc(12.5% - 1px),
    rgba(107, 163, 199, 0.05) 12.5%
  );
}

.methods__feature .section__label {
  margin-bottom: 12px;
}

.methods__feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(75, 127, 160, 0.16) 0%, rgba(75, 127, 160, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glass pane */
.methods__glass-pane {
  position: absolute;
  width: 70%;
  height: 80%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
}

.methods__glass-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.06) 49.5%, rgba(255,255,255,0.06) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.06) 49.5%, rgba(255,255,255,0.06) 50.5%, transparent 50.5%);
}

.methods__glass-shine {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.06) 54%,
    transparent 66%
  );
  animation: glassSweep 6s ease-in-out infinite;
}

@keyframes glassSweep {
  0% { transform: translateX(-30%) rotate(15deg); }
  45% { transform: translateX(350%) rotate(15deg); }
  100% { transform: translateX(350%) rotate(15deg); }
}

/* Water stream */
.methods__water-stream {
  position: absolute;
  width: 70%;
  height: 80%;
}

.methods__droplet {
  position: absolute;
  width: 8px;
  height: 12px;
  background: radial-gradient(ellipse at 40% 30%, rgba(107, 163, 199, 0.95), rgba(75, 127, 160, 0.55));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  animation: waterDrop 3.5s ease-in infinite;
  box-shadow: 0 0 10px rgba(107, 163, 199, 0.4);
}

.methods__droplet:nth-child(1) { left: 18%; animation-delay: 0s; }
.methods__droplet:nth-child(2) { left: 35%; animation-delay: 0.6s; }
.methods__droplet:nth-child(3) { left: 52%; animation-delay: 1.2s; }
.methods__droplet:nth-child(4) { left: 68%; animation-delay: 1.8s; }
.methods__droplet:nth-child(5) { left: 82%; animation-delay: 2.4s; }

@keyframes waterDrop {
  0% { top: 5%; opacity: 0; transform: scale(0.4); }
  10% { opacity: 0.9; transform: scale(1); }
  70% { opacity: 0.5; }
  100% { top: 85%; opacity: 0; transform: scale(0.6); }
}

.methods__water-label {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(107, 163, 199, 0.6);
  text-transform: uppercase;
}

.methods__feature-title {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 16px;
}

.methods__feature-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 26px;
}

.methods__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.methods__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.methods__benefits li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--steel-light);
  margin-top: 1px;
}

.methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.methods__item {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 30px;
}

.methods__item h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.methods__item p {
  font-size: 0.92rem;
  color: var(--charcoal-light);
  line-height: 1.65;
}

/* ============================================
   Why Us
   ============================================ */

.why .section__header {
  margin-bottom: 56px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why__item {
  position: relative;
  padding: 36px 32px 34px;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px -28px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out),
    background 0.5s var(--ease-out);
}

.why__item::before {
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.10) 47%, rgba(255, 255, 255, 0.03) 53%, transparent 64%);
}

.why__item::after {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(107, 163, 199, 0.18), transparent 60%);
}

.why__item:hover {
  transform: translateY(-6px);
  border-color: rgba(107, 163, 199, 0.4);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.why__number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  background: linear-gradient(170deg, var(--steel-light) 10%, rgba(107, 163, 199, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why__number::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--steel-light), transparent);
  transition: width 0.5s var(--ease-out);
}

.why__item:hover .why__number::after {
  width: 56px;
}

.why__item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why__item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

/* ============================================
   Contact
   ============================================ */

.contact__card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 50px 100px -48px rgba(17, 29, 50, 0.45),
    0 0 0 1px rgba(27, 43, 69, 0.06);
}

.contact__info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 48px;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(75, 127, 160, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(92, 159, 191, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.contact__info-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(107, 163, 199, 0.06) calc(25% - 1px),
    rgba(107, 163, 199, 0.06) 25%
  );
}

.contact__info-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.09) 52%, transparent 75%);
  animation: cleanSweep 9s ease-in-out 3s infinite;
}

.contact__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact__steps {
  position: relative;
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
  counter-reset: none;
}

/* vertical guide connecting the steps */
.contact__steps::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 1px;
  background: linear-gradient(180deg, rgba(107, 163, 199, 0.6), rgba(107, 163, 199, 0.1));
}

.contact__steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__step-num {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(145deg, var(--steel-light), var(--steel));
  box-shadow: 0 0 0 5px rgba(17, 29, 50, 0.9), 0 8px 18px -6px rgba(107, 163, 199, 0.7);
}

.contact__steps strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-top: 6px;
}

.contact__steps span:not(.contact__step-num) {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__detail-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--steel-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact__detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1px;
}

.contact__detail span {
  font-size: 0.98rem;
  color: var(--white);
}

/* Form */
.contact__form-wrapper {
  padding: 56px 52px;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 241, 248, 0.9) 0%, transparent 70%),
    var(--white);
}

.contact__form-head {
  margin-bottom: 28px;
}

.contact__form-head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact__form-head p {
  font-size: 0.88rem;
  color: var(--charcoal-light);
}

.contact__form-head p > span[aria-hidden] {
  color: var(--steel);
  font-weight: 600;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form__label span {
  color: var(--steel);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--charcoal);
  background: var(--ice-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
}

.form__input:hover,
.form__select:hover,
.form__textarea:hover {
  border-color: var(--silver);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234A5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--steel);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form__input.form__input--error,
.form__textarea.form__textarea--error {
  border-color: var(--error);
}

.form__error {
  display: block;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 0;
}

.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__privacy {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

.form__privacy a {
  color: var(--steel);
  text-decoration: underline;
  text-decoration-color: rgba(75, 127, 160, 0.3);
  text-underline-offset: 2px;
}

.form__privacy a:hover {
  text-decoration-color: var(--steel);
}

.contact__form .btn--primary {
  padding: 16px 28px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy-mid) 100%);
  box-shadow: 0 14px 28px -12px rgba(36, 64, 106, 0.6);
}

.contact__form .btn--primary:hover {
  background: linear-gradient(135deg, var(--steel-light) 0%, var(--steel) 100%);
  box-shadow: 0 18px 32px -12px rgba(75, 127, 160, 0.6);
}

.form__status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  padding: 0;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.form__status--success {
  background: rgba(45, 139, 95, 0.08);
  color: var(--success);
  padding: 14px 20px;
  border: 1px solid rgba(45, 139, 95, 0.15);
}

.form__status--error {
  background: rgba(192, 57, 43, 0.08);
  color: var(--error);
  padding: 14px 20px;
  border: 1px solid rgba(192, 57, 43, 0.15);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  padding: 88px 0 0;
}

.footer:not(.pane) {
  background: var(--navy-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer__logo {
  width: 177px;
  height: 36px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.footer__tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(107, 163, 199, 0.4);
  background: rgba(107, 163, 199, 0.1);
  transition: background var(--transition), border-color var(--transition), gap var(--transition);
}

.footer__cta:hover {
  gap: 12px;
  background: rgba(107, 163, 199, 0.2);
  border-color: var(--steel-light);
}

.footer__nav h3,
.footer__contact h3 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-light);
  margin-bottom: 20px;
}

.footer__nav ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition), padding var(--transition);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__contact li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer__credit {
  color: rgba(255, 255, 255, 0.38);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ============================================
   Scroll Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__sweep::before,
  .methods__droplet,
  .methods__glass-shine,
  .hero__scroll-line,
  .compare__glint,
  .service-card__sweep::before,
  .contact__info-bg::before {
    animation: none;
  }

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

  .btn,
  .service-card,
  .why__item,
  .methods__item,
  .icon-tile,
  .crystal__point,
  .compare__handle,
  .service-card::before,
  .methods__item::before,
  .why__item::before {
    transition: none;
  }
}

/* ============================================
   Responsive | Tablet
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-pad: 96px;
    --pane-radius: 36px;
    --pane-overlap: 36px;
  }

  .crystal__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "body";
  }

  .crystal__head {
    text-align: center;
  }

  .crystal__visual {
    width: 100%;
    max-width: 620px;
    margin: 0 auto 48px;
  }

  .compare {
    aspect-ratio: 5 / 4;
  }

  .crystal__body {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .crystal__text {
    margin-left: auto;
    margin-right: auto;
  }

  .crystal__points {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .crystal__point {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about__image-col {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .about__image-wrapper {
    aspect-ratio: 4/3;
  }

  .methods__feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .methods__feature-visual {
    height: 240px;
  }

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

  .methods__item {
    padding: 28px 22px;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================
   Responsive | Mobile
   ============================================ */

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --section-pad: 76px;
    --pane-radius: 28px;
    --pane-overlap: 28px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--navy-deep);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav__menu--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__menu--open .nav__toggle-bar {
    background: var(--white);
  }

  .nav__link {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    text-align: center;
  }

  .nav__link--cta {
    margin-top: 16px;
    background: var(--steel);
    border-color: var(--steel);
  }

  .container {
    padding: 0 20px;
  }

  .section__header {
    margin-bottom: 44px;
  }

  .hero__content {
    padding: var(--nav-height) 20px 0;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 5px 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Kristallklart */
  .crystal__title {
    margin-bottom: 32px;
  }

  .crystal__visual {
    margin-bottom: 40px;
  }

  .compare {
    aspect-ratio: 4 / 5;
    padding: 8px;
    border-radius: 20px;
  }

  .compare__frame {
    border-radius: 13px;
  }

  .compare__handle {
    width: 48px;
    height: 48px;
  }

  .compare__label {
    top: 14px;
    font-size: 0.66rem;
    padding: 6px 12px;
  }

  .compare__label--before { left: 14px; }
  .compare__label--after { right: 14px; }

  .crystal__body {
    text-align: left;
  }

  .crystal__text {
    font-size: 1rem;
    margin-bottom: 28px;
  }

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

  .crystal__point {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px 26px;
  }

  .service-card__top {
    margin-bottom: 20px;
  }

  .icon-tile {
    width: 50px;
    height: 50px;
    padding: 12px;
    border-radius: 14px;
  }

  .services__pending-note {
    border-radius: 18px;
    padding: 16px 20px;
  }

  /* About */
  .about__grid {
    gap: 52px;
  }

  .about__image-col::before {
    inset: 18px -10px -14px 18px;
    border-radius: 20px;
  }

  .about__image-wrapper {
    aspect-ratio: 4/5;
    border-radius: 18px;
  }

  .about__image-wrapper::after {
    width: 50px;
    height: 50px;
    border-radius: 0 18px 0 0;
  }

  .about__image {
    object-position: 60% 20%;
  }

  .about__image-chip {
    left: 14px;
    bottom: 14px;
    font-size: 0.8rem;
  }

  .about__stats {
    gap: 8px;
  }

  .about__stat {
    padding: 14px 10px 12px;
    text-align: center;
  }

  .about__stat-value {
    font-size: 1.12rem;
  }

  .about__stat-label {
    font-size: 0.66rem;
  }

  /* Methods */
  .methods__feature {
    padding: 22px;
    gap: 26px;
    border-radius: 22px;
  }

  .methods__feature-visual {
    height: 200px;
  }

  .methods__benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .methods__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .methods__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
  }

  /* Why */
  .why__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why__item {
    padding: 26px 24px;
  }

  .why__number {
    font-size: 2.1rem;
    margin-bottom: 16px;
  }

  .why__number::after {
    margin-top: 10px;
  }

  /* Contact */
  .contact__card {
    border-radius: 22px;
  }

  .contact__info {
    padding: 40px 24px 36px;
  }

  .contact__form-wrapper {
    padding: 36px 22px 32px;
  }

  .contact__form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Footer */
  .footer {
    padding-top: 72px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 1.65rem;
  }

  .crystal__title {
    font-size: 2.2rem;
  }

  .methods__feature {
    padding: 18px;
  }

  .about__stat-value {
    font-size: 1rem;
  }
}
