/* =========================================================
   KS / Пошив одежды оптом
   Файл: garment-b2b.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #f5f1ea;
  --bg-soft: #f9f6f1;
  --surface: rgba(255,255,255,0.76);
  --surface-strong: #fffdf9;
  --surface-dark: #10201e;
  --surface-dark-2: #153633;
  --text: #151515;
  --muted: #615f59;
  --line: rgba(21, 21, 21, 0.10);
  --line-strong: rgba(21, 21, 21, 0.16);
  --primary: #17675f;
  --primary-2: #0f4b46;
  --primary-soft: #dbe9e6;
  --accent: #c78a52;
  --success: #2b7a6f;
  --white: #ffffff;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 22px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 24px 60px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 32px 80px rgba(17, 17, 17, 0.12);

  --container: 1240px;
  --transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
}

[hidden] {
  display: none !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(23, 103, 95, 0.08), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(199, 138, 82, 0.10), transparent 22%),
    linear-gradient(180deg, #faf6f0 0%, #f3efe8 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(17,17,17,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 234, 0.7);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.topbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: nowrap;
}

.brand {
  position: relative;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand__accent {
  color: var(--primary);
}

.brand--footer {
  display: inline-block;
  margin-bottom: 10px;
}

.brand::after {
  content: "";
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(23,103,95,0.8), transparent);
  transform: translateY(-50%);
}

.topbar .brand::after {
  display: none;
}

.topnav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
}

.topnav__track {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
  max-width: 100%;
}

.topnav__item {
  position: relative;
  flex-shrink: 0;
  padding-inline: 2px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition);
}

.topnav__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.topnav__item:hover {
  color: var(--text);
}

.topnav__item:hover::after {
  transform: scaleX(1);
}

.topnav__cross {
  color: var(--primary) !important;
  font-weight: 700;
}

.topnav__cross::after {
  display: none;
}

.topnav__overflow {
  position: relative;
  flex-shrink: 0;
}

.topnav__overflow-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.topnav__overflow-btn:hover,
.topnav__overflow-btn[aria-expanded="true"] {
  color: var(--text);
  border-color: rgba(23, 103, 95, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.topnav__submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  z-index: 50;
}

.topnav__submenu .topnav__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
}

.topnav__submenu .topnav__item:hover {
  background: rgba(23, 103, 95, 0.06);
}

.topnav__submenu .topnav__item::after {
  display: none;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.topbar__cross-link {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 13px;
  padding-inline: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 14px 30px rgba(16, 75, 70, 0.20);
}

.btn--primary:hover {
  box-shadow: 0 18px 36px rgba(16, 75, 70, 0.28);
}

.btn--secondary {
  color: var(--white);
  background: linear-gradient(135deg, #171717 0%, #2a2a2a 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.btn--ghost {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17,17,17,0.08);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.85);
}

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

.hero {
  position: relative;
  padding: 84px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 30px 0 auto;
  height: 420px;
  background:
    radial-gradient(circle at 20% 10%, rgba(23,103,95,0.12), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(199,138,82,0.10), transparent 22%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--space-4);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(218, 232, 229, 0.9);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(23,103,95,0.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.hero h1,
.section-head h2,
.partner-box h2,
.final-cta__inner h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: var(--space-5);
  font-size: clamp(44px, 8vw, 104px);
}

.hero h1 .accent-serif,
.section-head .accent-serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.hero__text {
  max-width: 58ch;
  margin: 0 0 var(--space-6);
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.hero__points li {
  position: relative;
  padding-left: 22px;
}

.hero__points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(23,103,95,0.10);
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.hero-showcase {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-showcase__frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 5 / 6;
  background: #e8e2d8;
  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.12),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.hero-showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-showcase__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 14, 0.28) 0%, transparent 34%),
    linear-gradient(0deg, rgba(8, 14, 14, 0.72) 0%, transparent 48%);
  pointer-events: none;
}

.hero-showcase__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 14, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-showcase__chips {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-showcase__chips span {
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.hero-showcase__card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(10px);
}

.hero-showcase__lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-showcase__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.hero-showcase__metric {
  padding: 10px 8px;
  border-radius: 14px;
  text-align: center;
  background: rgba(23, 103, 95, 0.06);
  border: 1px solid rgba(23, 103, 95, 0.1);
}

.hero-showcase__metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.1;
}

.hero-showcase__metric span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-showcase__tech {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 0.01em;
}

.thread-art {
  margin-top: 18px;
  padding: 22px;
  border-radius: 32px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.thread-art__svg {
  width: 100%;
}

.thread-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: drawThread 4.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.needle-group,
.pattern-grid,
.fabric-chip {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeLift 800ms ease forwards;
}

.needle-group { animation-delay: .6s; }
.pattern-grid { animation-delay: 1.1s; }
.fabric-chip { animation-delay: 1.5s; }

.needle-stroke {
  stroke: #f7efe3;
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
}

.needle-eye {
  fill: rgba(247,239,227,0.15);
  stroke: #f7efe3;
  stroke-width: 3;
}

.pattern-card {
  fill: rgba(255,255,255,0.07);
  stroke: rgba(255,255,255,0.18);
}

.pattern-line {
  stroke: rgba(255,255,255,0.6);
  stroke-width: 4;
  stroke-linecap: round;
}

.fabric-card {
  fill: rgba(255,255,255,0.08);
  stroke: rgba(255,255,255,0.18);
}

.fabric-wave {
  fill: none;
  stroke: rgba(255,255,255,0.72);
  stroke-width: 3;
  stroke-linecap: round;
}

.facts {
  padding: 8px 0 32px;
}

.facts__grid,
.cards-grid,
.steps-grid,
.media-grid,
.contacts-grid {
  display: grid;
  gap: 18px;
}

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

.fact,
.card,
.step,
.faq-item,
.samples-placeholder,
.media-card,
.final-cta__inner,
.popup__dialog {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,253,249,0.94));
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-sm);
}

.fact::before,
.card::before,
.step::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(23,103,95,0.24), rgba(199,138,82,0.12), transparent);
}

.fact {
  border-radius: 28px;
  padding: 24px;
}

.fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.fact span {
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 72px 0;
}

.section--muted {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.10)),
    rgba(236, 232, 225, 0.65);
  border-top: 1px solid rgba(17,17,17,0.04);
  border-bottom: 1px solid rgba(17,17,17,0.04);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 62px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  min-height: 220px;
  padding: 26px;
  border-radius: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover,
.step:hover,
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23,103,95,0.18);
}

.card h3,
.step h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.card p,
.step p,
.faq-item p,
.popup__text,
.form-success p,
.partner-box p {
  margin: 0;
  color: var(--muted);
}

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

.step {
  border-radius: 30px;
  padding: 28px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(23,103,95,0.14), rgba(199,138,82,0.12));
  box-shadow: inset 0 0 0 1px rgba(23,103,95,0.08);
}

.samples-placeholder,
.media-card {
  min-height: 250px;
  border-radius: 30px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.media-grid {
  grid-template-columns: repeat(3, 1fr);
}

.partner-box {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.10), transparent 22%),
    linear-gradient(135deg, #0f1d1c 0%, #143532 44%, #1e6a61 100%);
  border-radius: 40px;
  padding: 42px;
  box-shadow: var(--shadow-lg);
}

.partner-box::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 68%);
}

.partner-box__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.partner-box h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 60px);
}

.partner-box__list {
  margin: 0 0 28px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.86);
}

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

.faq-item {
  padding: 24px 26px;
  border-radius: 24px;
}

.final-cta__inner {
  border-radius: 36px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.final-cta__inner h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
}

.final-cta__inner p {
  max-width: 60ch;
}

.final-cta__actions {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-grid {
  grid-template-columns: repeat(3, 1fr);
}

.popup[hidden] {
  display: none;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 12, 0.52);
  backdrop-filter: blur(7px);
}

.popup__dialog {
  width: min(560px, calc(100% - 20px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  margin: 5vh auto 0;
  padding: 28px;
  border-radius: 34px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.popup__dialog--calc {
  width: min(620px, calc(100% - 20px));
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(17,17,17,0.05);
  transition: background var(--transition), transform var(--transition);
}

.popup__close:hover {
  background: rgba(17,17,17,0.09);
  transform: rotate(90deg);
}

.popup__dialog h2 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.popup__text {
  margin: 0 0 24px;
  line-height: 1.62;
}

.lead-form,
.form-success {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,0.10);
  background: rgba(255,255,255,0.8);
  outline: none;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--primary);
}

.field input:focus,
.field select:focus {
  border-color: rgba(23,103,95,0.36);
  box-shadow: 0 0 0 4px rgba(23,103,95,0.10);
  transform: translateY(-1px);
}

.calc-widget {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23,103,95,0.06), rgba(255,255,255,0.5));
  border: 1px solid rgba(23,103,95,0.12);
}

.calc-widget__result {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0f1d1c, #1a5a52);
}

.calc-widget__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.calc-widget__result strong {
  display: block;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.calc-widget__result span:last-child {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.calc-widget__grid {
  display: grid;
  gap: 14px;
}

.calc-widget__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.video-modal[hidden] { display: none; }

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,12,0.72);
  backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  width: min(920px, calc(100% - 24px));
  margin: 4vh auto 0;
  padding: 20px;
  border-radius: 28px;
  background: #0f1716;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 22px;
}

.video-modal__title {
  margin: 0 0 14px;
  padding-right: 48px;
  font-size: 22px;
}

.video-modal__player {
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-modal__player img,
.video-modal__player video,
.video-modal__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-modal__fallback {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-modal__fallback p {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.video-modal__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.video-modal__cta p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.form-success h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.chat-placeholder {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.chat-placeholder__button {
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: linear-gradient(135deg, #111 0%, #1d3f3b 100%);
  box-shadow: 0 18px 38px rgba(17,17,17,0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes drawThread {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeLift {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .thread-line {
    stroke-dashoffset: 0 !important;
  }

  .needle-group,
  .pattern-grid,
  .fabric-chip,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Premium blocks v2 ── */
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.7);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,12,0.5);
  backdrop-filter: blur(6px);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface-strong);
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
}

.mobile-nav__panel a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__panel .btn { margin-top: 16px; }

.topbar__phone { font-size: 13px; }

.hero h1 .accent-serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero__trust span {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(23,103,95,0.08);
  border: 1px solid rgba(23,103,95,0.12);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client-logo {
  margin: 0;
  min-height: 96px;
  padding: 18px 16px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.client-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.client-logo img {
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter var(--transition), opacity var(--transition);
}

.client-logo:hover img {
  filter: grayscale(0) opacity(1);
}

.client-logo figcaption {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.client-logo--text {
  padding: 0 14px;
}

.client-logo--text span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--primary);
  line-height: 1.25;
}

@media (max-width: 1160px) {
  .clients-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .clients-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(17,17,17,0.06);
  background: rgba(255,255,255,0.45);
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.card--product { display: flex; flex-direction: column; min-height: 280px; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(199,138,82,0.15));
  box-shadow: inset 0 0 0 1px rgba(23,103,95,0.1);
}
.card__icon--sport { background: linear-gradient(135deg, #dbe9e6, #c5ddd8); }
.card__icon--corp { background: linear-gradient(135deg, #e8e4dc, #d4cec4); }
.card__icon--merch { background: linear-gradient(135deg, #f0e4d8, #e5d0bc); }
.card__icon--brand { background: linear-gradient(135deg, #d8e8f0, #c2d8e8); }

.card__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(23,103,95,0.08);
}

.card__link {
  margin-top: auto;
  padding: 16px 0 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, #0f1d1c 0%, #1a5a52 100%);
  box-shadow: var(--shadow-lg);
}

.cta-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.cta-strip p { margin: 0; color: rgba(255,255,255,0.78); max-width: 52ch; }
.cta-strip__actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.eyebrow--light { background: rgba(255,255,255,0.12); color: #fff; }
.btn--ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 700;
}

.showcase-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.showcase-tile {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  border-radius: 28px;
  border: 1px solid rgba(17,17,17,0.08);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.showcase-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-tile:hover .showcase-tile__img {
  transform: scale(1.08);
}

.showcase-tile__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, rgba(10,12,12,0.05) 0%, rgba(10,12,12,0.72) 68%, rgba(10,12,12,0.88) 100%);
}

.showcase-tile strong { font-size: 20px; line-height: 1.1; margin-top: 8px; }
.showcase-tile p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,0.82); }
.showcase-tile__label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }

.showcase-tile--hero { grid-column: span 2; grid-row: span 2; min-height: 100%; }
.showcase-tile--corp { grid-column: span 2; }
.showcase-tile--stm { grid-column: span 2; }

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

.production-tile {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-sm);
}

.production-tile--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
}

.production-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-tile__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10,12,12,0.85));
}

.production-tile--photo .production-tile__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
}

.production-tile span,
.production-tile__body span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
}

.production-tile--photo .production-tile__body span {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.production-tile h3,
.production-tile__body h3 { margin: 0 0 8px; font-size: 20px; }
.production-tile p,
.production-tile__body p { margin: 0; color: var(--muted); font-size: 14px; }
.production-tile--photo .production-tile__body p { color: rgba(255,255,255,0.78); }
.production-tile--wide { grid-column: span 2; }
.production-tile--wide.production-tile--photo { min-height: 280px; }
.production-tile--dark {
  color: #fff;
  background: linear-gradient(135deg, #0f1d1c, #1a5a52);
}
.production-tile--dark span { color: #fff; background: rgba(255,255,255,0.12); }
.production-tile--dark p { color: rgba(255,255,255,0.75); }

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

.reviews-grid--quotes {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 18px;
}

.video-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-card__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.video-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card__trigger:hover .video-card__poster {
  transform: scale(1.06);
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.video-card__play::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 17px;
  border: 11px solid transparent;
  border-left: 16px solid var(--primary);
}

.video-card__meta {
  padding: 16px 18px 18px;
}

.video-card__meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.video-card__meta span {
  font-size: 13px;
  color: var(--muted);
}

.review-card {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: var(--shadow-sm);
}

.review-card p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--text); }
.review-card footer { font-size: 13px; font-weight: 700; color: var(--muted); }
.review-card__stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }

.review-card--video {
  position: relative;
  background: linear-gradient(160deg, #111, #1d3f3b);
  color: #fff;
}
.review-card--video p { color: rgba(255,255,255,0.75); }
.review-card--video h3 { margin: 0 0 8px; font-size: 22px; }
.review-card__play {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
}
.review-card__play::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 16px;
  border: 10px solid transparent;
  border-left: 14px solid #fff;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq-item__trigger::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__trigger::after { transform: rotate(45deg); }

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item__body > p { overflow: hidden; margin: 0; padding-top: 0; }
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__body > p { padding-top: 12px; }

.site-footer {
  padding: 48px 0 24px;
  background: #0f1716;
  color: rgba(255,255,255,0.75);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer strong { display: block; color: #fff; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }

.site-footer__copy {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.site-footer__copy a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.site-footer__copy a:hover {
  color: #fff;
}

.sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 4px 8px rgba(17, 17, 17, 0.05),
    0 22px 54px rgba(17, 17, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.15);
}

.sticky-cta[hidden] { display: none; }

.sticky-cta .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  height: 50px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 16px;
  gap: 6px;
}

.sticky-cta .btn:hover {
  transform: none;
}

.sticky-cta__main {
  flex: 1.55 1 0;
  font-size: 13px;
  letter-spacing: -0.02em;
  box-shadow:
    0 10px 28px rgba(16, 75, 70, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sticky-cta__phone {
  flex: 1 1 0;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 234, 0.9) 100%);
  border: 1px solid rgba(17, 17, 17, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(17, 17, 17, 0.06);
}

.sticky-cta__phone:hover {
  background: linear-gradient(180deg, #fff 0%, #f8f4ed 100%);
  border-color: rgba(23, 103, 95, 0.18);
}

.sticky-cta__icon {
  flex-shrink: 0;
  opacity: 0.72;
}

.sticky-cta__chat {
  display: none;
  flex: 1.2 1 0;
  color: #fff;
  background: linear-gradient(145deg, #0d1212 0%, #173833 55%, #1a5249 100%);
  border: 1px solid rgba(74, 222, 128, 0.38);
  box-shadow:
    0 12px 32px rgba(17, 17, 17, 0.3),
    0 0 0 1px rgba(74, 222, 128, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.sticky-cta__chat::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: radial-gradient(circle at 22% 50%, rgba(74, 222, 128, 0.42), transparent 68%);
  z-index: -1;
  animation: chatLampGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.sticky-cta__chat:hover {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow:
    0 14px 36px rgba(17, 17, 17, 0.34),
    0 0 18px rgba(74, 222, 128, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sticky-cta__chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.24),
    0 0 10px rgba(74, 222, 128, 0.8),
    0 0 22px rgba(74, 222, 128, 0.4);
  animation: chatDotPulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes chatLampGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes chatDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(74, 222, 128, 0.24),
      0 0 10px rgba(74, 222, 128, 0.8),
      0 0 22px rgba(74, 222, 128, 0.4);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
    box-shadow:
      0 0 0 5px rgba(74, 222, 128, 0.34),
      0 0 16px rgba(74, 222, 128, 1),
      0 0 30px rgba(74, 222, 128, 0.55);
  }
}

.chat-placeholder__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.25);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-placeholder__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1160px) {
  .hero__grid,
  .final-cta__inner,
  .cta-strip__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .hero__media {
    max-width: 560px;
    margin-inline: auto;
  }

  .facts__grid,
  .cards-grid--3,
  .steps-grid,
  .media-grid,
  .contacts-grid,
  .reviews-grid,
  .reviews-grid--quotes,
  .video-reviews,
  .production-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--4,
  .showcase-bento { grid-template-columns: repeat(2, 1fr); }

  .showcase-tile--hero,
  .showcase-tile--corp,
  .showcase-tile--stm,
  .production-tile--wide { grid-column: span 2; }

  .topnav { display: none; }

  .topbar__cross-link { display: none; }

  .nav-toggle { display: flex; }

  .final-cta__actions,
  .cta-strip__actions { min-width: 0; width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .topbar__inner {
    min-height: 70px;
    gap: 12px;
  }

  .topbar__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand::after {
    display: none;
  }

  .hero {
    padding: 52px 0 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 14vw, 64px);
    max-width: 8ch;
  }

  .hero__text,
  .section-head p {
    font-size: 16px;
  }

  .hero-showcase__frame,
  .thread-art,
  .partner-box,
  .final-cta__inner,
  .popup__dialog {
    border-radius: 28px;
  }

  .section {
    padding: 52px 0;
  }

  .facts__grid,
  .cards-grid--4,
  .cards-grid--3,
  .steps-grid,
  .media-grid,
  .contacts-grid,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .topbar__actions {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .topbar__actions .btn--primary {
    width: auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .btn,
  .btn--block {
    width: 100%;
  }

  .card,
  .step,
  .fact,
  .faq-item,
  .samples-placeholder,
  .media-card {
    min-height: auto;
    padding: 22px;
  }

  .popup__dialog {
    width: calc(100% - 12px);
    margin-top: 10px;
    padding: 22px;
  }

  .popup__dialog h2 {
    font-size: 34px;
  }

  .form-success h3 {
    font-size: 28px;
  }

  .chat-placeholder {
    display: none;
  }

  .sticky-cta__chat {
    display: inline-flex;
  }

  body.has-mobile-dock {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .chat-placeholder__button {
    width: auto;
    min-width: 56px;
    padding: 0 16px;
  }

  .showcase-bento,
  .production-bento,
  .reviews-grid,
  .reviews-grid--quotes,
  .video-reviews,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .showcase-tile--hero,
  .showcase-tile--corp,
  .showcase-tile--stm,
  .production-tile--wide {
    grid-column: span 1;
  }

  .showcase-tile { grid-row: auto; min-height: 140px; }
  .topbar__phone { display: none; }
}

.chat-modal[hidden] {
  display: none;
}

.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.chat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.55);
  backdrop-filter: blur(4px);
}

.chat-panel {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 24px));
  height: min(640px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  background: #0f1717;
  color: #f3f7f6;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.chat-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-panel__header p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
}

.chat-panel__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
}

.chat-msg--bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
}

.chat-msg--user {
  align-self: flex-end;
  background: #0f6d66;
}

.chat-msg--manager {
  align-self: flex-start;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.chat-msg__link {
  display: inline-block;
  margin-top: 8px;
  color: #5eead4;
  text-decoration: underline;
  word-break: break-all;
}

.chat-msg__file img {
  display: block;
  max-width: 180px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

.chat-panel__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-panel__attach {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chat-panel__attach:hover {
  background: rgba(17, 130, 121, 0.25);
  border-color: #118279;
  color: #fff;
}

.chat-panel__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.chat-panel__send {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #118279;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 640px) {
  .chat-panel {
    inset: auto 8px 8px 8px;
    width: auto;
    height: min(78vh, 640px);
    border-radius: 20px;
  }
}