:root {
  --navy: #111827;
  --ink: #0f172a;
  --muted: #64748b;
  --blue: #1f6f9f;
  --blue-soft: #3d8ab8;
  --mint: #2eb7a4;
  --frame: #d4b483;
  --sky: #f6f6f6;
  --sky-deep: #e8e8e8;
  --pink: #b91c1c;
  --pink-dark: #991b1b;
  --gold: #e0a020;
  --gold-soft: #f2c14e;
  --paper: #f6f6f6;
  --yellow-soft: #fff6e0;
  --white: #ffffff;
  --line: #e5e7eb;
  --surface: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --header: 76px;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Outfit", "DM Sans", "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--blue); }

h1, h2, h3, p { margin: 0; }

h1, h2, h3, .logo-word {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 10px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head h2,
.block-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
}

.section-head p:last-child,
.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}

.logo img { width: 56px; height: 38px; object-fit: contain; }
.logo-word { font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.logo small {
  display: block;
  font-family: var(--font);
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="true"] { color: var(--gold); }
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-pink {
  background: linear-gradient(135deg, #dc2626, var(--pink) 55%, var(--pink-dark));
  color: white;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.32);
}
.btn-pink:hover { background: linear-gradient(135deg, #ef4444, var(--pink-dark)); }

.btn-navy {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(224, 160, 32, 0.28);
}
.btn-navy:hover { background: var(--gold); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
  background: transparent;
}
.btn-ghost:hover { background: white; color: var(--navy); border-color: white; }

.btn-line {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}
.btn-line:hover { background: white; color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(900px 360px at 90% 0%, rgba(224, 160, 32, 0.16), transparent 58%),
    linear-gradient(145deg, #16486a 0%, var(--blue) 52%, var(--blue-soft) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.025) 0 2px,
      transparent 2px 10px
    );
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 60px 0 84px;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  color: #ffffff;
  max-width: 16ch;
  text-wrap: balance;
  font-weight: 700;
  font-style: italic;
}

.hero .lead {
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 250px 190px;
  gap: 14px;
}

.tile {
  margin: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 31, 46, 0.12);
}

.tile-a { grid-row: 1 / span 2; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 38%, #ffffff, #edf7fb 74%);
  padding: 14px;
  transition: transform 0.45s var(--ease);
}

.tile:hover img { transform: scale(1.03); }

.tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(11, 31, 46, 0.92);
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  pointer-events: none;
  opacity: 1;
}

.band {
  padding: 84px 0;
  position: relative;
}

.band.has-bg {
  isolation: isolate;
  overflow: hidden;
}

.band.has-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: var(--bg-x, 50%) var(--bg-y, 50%);
  background-size: cover;
  transform: scale(var(--bg-zoom, 1.1));
  transform-origin: var(--bg-x, 50%) var(--bg-y, 50%);
  filter: brightness(var(--bg-brightness, 1)) contrast(1.08) saturate(1.05);
  pointer-events: none;
}

.band.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.band.has-bg > .wrap {
  position: relative;
  z-index: 1;
}

.band-white.has-bg {
  background: #f7f9fc;
}

.band-white.has-bg::after {
  /* Keep section light enough for muted navy text */
  background: rgba(247, 249, 252, calc(1 - var(--bg-opacity, 0.28) * 0.7));
}

.band-white.has-bg .eyebrow {
  color: #526274;
}

.band-white.has-bg .story > p:not(.quote),
.band-white.has-bg .lead {
  color: #1e293b;
}

.band-white.has-bg .quote {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

.band-white.has-bg .info-card {
  background: rgba(255, 255, 255, 0.96);
}

.band-white.has-bg .info-card p,
.band-white.has-bg .info-card li {
  color: #475569;
}

.band-navy.has-bg {
  background: #0b1f3a;
}

.band-navy.has-bg::after {
  /* Keep navy dark; higher --bg-opacity = more photo through the wash */
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, calc(0.82 - var(--bg-opacity, 0.55) * 0.35)),
    rgba(11, 31, 58, calc(0.9 - var(--bg-opacity, 0.55) * 0.32))
  );
}

.band-white {
  background: #ffffff;
}

.band-soft-yellow {
  background: var(--yellow-soft);
}

.profile-card.soft-yellow {
  background: var(--yellow-soft);
  border-color: rgba(224, 160, 32, 0.22);
}

.band-navy {
  background:
    radial-gradient(900px 360px at 90% 0%, rgba(224, 160, 32, 0.18), transparent 58%),
    linear-gradient(145deg, #0b1220 0%, #111827 55%, #1e293b 100%);
  color: white;
}

.band-blue {
  background:
    radial-gradient(900px 360px at 90% 0%, rgba(224, 160, 32, 0.16), transparent 58%),
    linear-gradient(145deg, #16486a 0%, var(--blue) 52%, var(--blue-soft) 100%);
  color: white;
}

.band-navy .eyebrow,
.band-blue .eyebrow { color: var(--gold); }
.band-navy .section-head h2,
.band-blue .section-head h2 { color: #fff; }
.band-navy .section-head p,
.band-blue .section-head p { color: rgba(255, 255, 255, 0.78); }
.band-navy .section-head h2,
.band-navy .section-head p,
.band-blue .section-head h2,
.band-blue .section-head p { color: white; }
.band-navy .section-head p,
.band-blue .section-head p { opacity: 0.9; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.story p + p { margin-top: 14px; }
.story p { color: var(--muted); }
.story strong { color: var(--navy); }

.quote {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--pink);
  background: linear-gradient(135deg, rgba(224, 160, 32, 0.12), rgba(246, 246, 246, 0.95));
  color: var(--navy);
  font-weight: 600;
  border-radius: 0 16px 16px 0;
}

.stack { display: grid; gap: 14px; }

.info-card, .person, .step, .service, .profile-card, .contact-card {
  background: var(--white);
  border: 1px solid rgba(197, 228, 244, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 20px 20px 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.info-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.info-card p, .info-card li { color: var(--muted); }
.info-card ul { margin: 8px 0 0; padding-left: 18px; }

.section-head-center {
  max-width: min(1100px, 100%);
  margin-inline: auto;
  margin-bottom: 36px;
  text-align: center;
}

.section-head-center h2 {
  display: block;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--gold);
}

.section-head-center p:last-child {
  max-width: 70ch;
  margin-inline: auto;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.hero-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 420px;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(circle at 50% 40%, #ffffff, #e8eef4 74%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    transition: none;
  }
}

.hero-slide figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(17, 24, 39, 0.9);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(17, 24, 39, 0.28);
  cursor: pointer;
}

.hero-dot.is-on {
  background: var(--gold);
  width: 22px;
}

.textile-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.textile-card {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  text-align: center;
  box-shadow: none;
  display: grid;
  gap: 12px;
}

.textile-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: linear-gradient(180deg, #f8f8f8, #f1f1f1);
  padding: 12px;
  border-radius: 10px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-soft);
}

.textile-card:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}

.textile-card span {
  display: block;
  order: -1;
  padding: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.service-grid, .catalog, .client-grid, .steps, .profile-grid {
  display: grid;
  gap: 16px;
}

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

.band-navy .service {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
}

.band-navy .service h3 { color: var(--navy); }
.band-navy .service p { color: var(--muted); }

.service {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.service:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.service img {
  height: 160px;
  width: 100%;
  object-fit: contain;
  background: linear-gradient(180deg, #f8f8f8, #f1f1f1);
  padding: 12px;
  transition: transform 0.4s var(--ease);
}

.service:hover img { transform: scale(1.04); }

.service div { padding: 16px 16px 18px; }
.service h3 { font-size: 1.08rem; margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 0.94rem; }

.filters {
  position: sticky;
  top: var(--header);
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 16px;
  background: rgba(246, 246, 246, 0.96);
  backdrop-filter: blur(12px);
}

.filter {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.filter:hover { transform: translateY(-1px); border-color: var(--blue); }

.filter[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: transparent;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(224, 160, 32, 0.28);
}

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

.card {
  background: white;
  border-radius: 22px;
  border: 1px solid rgba(197, 228, 244, 0.95);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(224, 160, 32, 0.45);
  box-shadow: var(--shadow);
}

.card.is-hidden { display: none; }

.shot {
  border: 0;
  padding: 12px;
  background: linear-gradient(180deg, #f8f8f8, #f1f1f1);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.card:hover .shot img { transform: scale(1.03); }

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body h3 { font-size: 1.12rem; }
.card-body p { color: var(--muted); font-size: 0.94rem; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  background: rgba(224, 160, 32, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
}

.text-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc2626, var(--pink) 55%, var(--pink-dark));
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.28);
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.text-btn:hover {
  background: linear-gradient(135deg, #ef4444, var(--pink-dark));
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(185, 28, 28, 0.34);
}

.result-count { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 20px 40px;
}

.client-grid { grid-template-columns: repeat(4, 1fr); }
.client-grid-below { margin-top: 22px; }

.client {
  background: linear-gradient(145deg, #16486a, var(--blue) 52%, var(--blue-soft));
  border: 1px solid rgba(224, 160, 32, 0.35);
  border-radius: 14px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.client.has-logo {
  min-height: 0;
  width: auto;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.client.has-logo:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: none;
}

.client-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.client-brand img {
  display: block;
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.client-brand .client-name {
  --client-name-size: 0.72rem;
  display: block;
  margin: 2px 0 0;
  padding: 0;
  text-align: center;
  font-size: var(--client-name-size);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: normal;
  box-sizing: border-box;
}

.client:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

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

.step {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.step:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.step em {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.45rem;
  color: var(--gold-soft);
}

.step h3 { margin: 10px 0; font-size: 1.08rem; }
.step p { color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }

.profile-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-width: 0;
}
.profile-card, .contact-card {
  padding: 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.profil-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 12px;
  background: transparent;
  box-sizing: border-box;
}

.profil-foto {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 0;
  background: #d9e7f2;
}

.profil-foto.foto-slot-1 {
  grid-column: 1 / -1;
  aspect-ratio: 2 / 1;
}

.profil-foto.foto-slot-2,
.profil-foto.foto-slot-3 {
  aspect-ratio: 1 / 1;
}

.profil-foto::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--foto-image);
  background-repeat: no-repeat;
  background-position: var(--foto-x, 50%) var(--foto-y, 50%);
  background-size: cover;
  transform: scale(var(--foto-zoom, 1.1));
  transform-origin: var(--foto-x, 50%) var(--foto-y, 50%);
  pointer-events: none;
}

dl { margin: 0; display: grid; gap: 12px; min-width: 0; }
.row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; }
dt { color: var(--muted); font-weight: 600; }
dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
dd a { color: var(--navy); font-weight: 700; }

.people { display: grid; gap: 10px; margin-top: 16px; min-width: 0; }
.person {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
  box-shadow: none;
}
.person strong { display: block; }
.person span, .hint { color: var(--muted); font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

#order-form.contact-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.98));
}

.offer-title {
  font-size: clamp(2.15rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 18px;
}

form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7fbfe;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(224, 160, 32, 0.18);
}

textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-actions .btn {
  flex: 1 1 200px;
  justify-content: center;
}
.form-msg { min-height: 1.2em; font-size: 0.92rem; }
.form-msg.error { color: var(--pink-dark); }
.form-msg.ok { color: #0d7a45; }
.hint { margin-top: 8px; }

section { scroll-margin-top: 84px; }

.card, .service, .textile-card { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease; }
.card:hover, .service:hover, .textile-card:hover { transform: translateY(-4px); }

.site-footer {
  background: #0b1220;
  color: #ffffff;
  padding: 32px 0;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a { color: white; font-weight: 700; }
.site-footer p { margin: 0; opacity: 0.95; }

dialog {
  width: min(860px, calc(100% - 28px));
  border: 0;
  padding: 52px 16px 16px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 24px 60px rgba(11, 31, 46, 0.25);
}

dialog::backdrop { background: rgba(7, 30, 51, 0.72); backdrop-filter: blur(4px); }

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #f4f9fc;
  border-radius: 14px;
}

dialog p { margin-top: 10px; font-weight: 700; }

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
}

.float-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

.hero-grid > div:first-child.reveal,
.hero-grid .mosaic.reveal {
  transition-delay: 0.05s;
}

.hero-grid .mosaic.reveal { transition-delay: 0.16s; }

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

@media (max-width: 980px) {
  .logo svg, .logo img { width: 46px; height: 31px; }
  .logo { gap: 8px; }
  .logo-word { font-size: 1.16rem; }
  .logo small { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hero {
    background:
      radial-gradient(520px 260px at 80% 10%, rgba(224, 160, 32, 0.16), transparent 70%),
      linear-gradient(165deg, #16486a 0%, var(--blue) 52%, var(--blue-soft) 100%);
  }
  .wave { height: 64px; }
  .hero-grid, .split, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .steps, .catalog, .client-grid { grid-template-columns: 1fr 1fr; }
  .textile-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero-slider { min-height: 320px; }
  .hero h1 { max-width: none; }
  .wave { left: 0; width: calc(100% + 40px); }
  .mosaic { grid-template-rows: 220px 170px; }
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 18px;
    padding-top: 12px;
    padding-bottom: 14px;
    width: min(1140px, calc(100% - 20px));
  }
  .nav-links {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: 0;
  }
  .nav-links a { padding: 0; font-size: 0.88rem; white-space: nowrap; }
  .nav-links a::after { display: none; }
  :root { --header: 132px; }
  .site-header { height: auto; }
}

@media (max-width: 700px) {
  :root { --header: 128px; }
  .site-header { height: auto; min-height: 0; }
  .header-inner { row-gap: 18px; padding-block: 12px 14px; }
  .nav-links { flex: 1 1 100%; justify-content: flex-end; gap: 14px; }
  .nav-links a { font-size: 0.9rem; }
  .filters { top: var(--header); padding-top: 4px; }
  section { scroll-margin-top: calc(var(--header) + 12px); }
  .service-grid, .catalog, .steps {
    grid-template-columns: 1fr 1fr;
  }
  .form-row, .row {
    grid-template-columns: 1fr;
  }
  .wrap {
    width: min(1140px, calc(100% - 32px));
    max-width: 100%;
    box-sizing: border-box;
  }
  #profil.band {
    overflow-x: clip;
  }
  .profile-grid {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }
  .profile-card {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }
  .profile-card h2 {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }
  .person {
    flex-direction: column;
    align-items: flex-start;
  }
  .profil-fotos {
    max-width: 100%;
  }
  .text-btn {
    gap: 5px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .text-btn svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
  }
  .client-logos {
    gap: 16px 28px;
    justify-content: flex-start;
  }
  .client-brand img { max-height: 64px; }
  .client-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .client-grid-below { margin-top: 16px; }
  .client {
    min-width: 0;
    min-height: 0;
    padding: 10px 12px;
    font-size: 0.8rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .textile-row { grid-template-columns: 1fr 1fr; }
  .hero-slider { min-height: 280px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 150px; }
  .tile-a { grid-row: auto; }
  .band { padding: 60px 0; }
  .shot img { height: 190px; }
  .float-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .hero-grid { padding: 42px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card, .service, .textile-card, .tile, .btn, .client, .info-card, .step {
    transition: none;
  }
  .card:hover, .service:hover, .textile-card:hover, .tile:hover, .btn:hover, .client:hover {
    transform: none;
  }
}
