/* ═══════════════════════════════════════════════
   TYPE R INDUSTRIES — style.css
   Palette: racing red / near-black / off-white
   ═══════════════════════════════════════════════ */

:root {
  --red: #e31e24;
  --red-dark: #b3151a;
  --black: #0a0a0c;
  --ink: #101014;
  --white: #f5f5f4;
  --grey: #9a9aa0;
  --line: rgba(245, 245, 244, 0.12);

  --font: "Montserrat", system-ui, -apple-system, sans-serif;

  --nav-h: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--white); }

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

/* ═══════════ BUTTONS ═══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.btn--solid { color: var(--white); }
.btn--solid::before { background: var(--red); }
.btn--solid:hover::before { transform: scaleX(0.97) scaleY(0.92); }
.btn--solid:hover { color: var(--white); }

.btn--ghost {
  color: var(--white);
  border-color: rgba(245, 245, 244, 0.28);
}
.btn--ghost::before {
  background: var(--white);
  transform: scaleX(0);
}
.btn--ghost:hover { color: var(--black); border-color: var(--white); }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn--ghost:hover .btn__arrow { transform: translateX(5px); }

/* ═══════════ PRELOADER ═══════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.8s var(--ease-out), visibility 0s 0.8s;
}

.preloader.is-done {
  transform: translateY(-100%);
  visibility: hidden;
}

.preloader__logo-wrap { overflow: hidden; }

.preloader__logo {
  width: min(380px, 66vw);
  height: auto;
  display: block;
  transform: translateY(115%);
  animation: logo-up 0.9s 0.1s var(--ease-out) forwards;
}

@keyframes logo-up { to { transform: translateY(0); } }

.preloader__bar {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(245, 245, 244, 0.12);
  overflow: hidden;
}

.preloader__bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: bar-fill 1s 0.3s var(--ease-out) forwards;
}

@keyframes bar-fill { to { transform: scaleX(1); } }

/* ═══════════ NAVBAR ═══════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.is-scrolled .nav__inner { height: 68px; }
.nav__inner { transition: height 0.4s var(--ease-out); }

.nav__brand { display: flex; align-items: center; }

.nav__brand-logo {
  height: 44px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}

.nav.is-scrolled .nav__brand-logo { height: 36px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

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

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta { padding: 12px 26px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

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

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* film-grain overlay for a premium finish */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 4vw, 48px) 40px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 30px;
}

.hero__eyebrow-line {
  width: 54px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(52px, 9.5vw, 128px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.hero__title-row {
  display: block;
  overflow: hidden;
  padding-right: 0.08em; /* room for the italic overhang */
}

.hero__title-accent { color: var(--red); }

.hero__sub {
  max-width: 560px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 34px;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__scroll-track {
  width: 1px;
  height: 52px;
  background: rgba(245, 245, 244, 0.18);
  position: relative;
  overflow: hidden;
}

.hero__scroll-thumb {
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--red);
  animation: scroll-drop 2s var(--ease-out) infinite;
}

@keyframes scroll-drop {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

.hero__scroll-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}

.hero__ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(245, 245, 244, 0.4);
  text-transform: uppercase;
  text-align: right;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero__ticker i { color: var(--red); font-style: normal; }

/* ═══════════ MARQUEE DIVIDER ═══════════ */

.marquee {
  position: relative;
  z-index: 3;
  background: var(--red);
  overflow: hidden;
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
}

.marquee__group span {
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.marquee__group i {
  font-size: 9px;
  font-style: normal;
  color: rgba(10, 10, 12, 0.55);
}

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

/* ═══════════ SECTION SCAFFOLD ═══════════ */

.section { position: relative; background: var(--black); }

.section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) clamp(20px, 4vw, 48px);
}

.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 26px;
}

.section__eyebrow-line {
  width: 54px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.section__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section__title em {
  font-style: italic;
  color: var(--red);
}

.section__title-row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

/* ═══════════ ABOUT ═══════════ */

.about { overflow: hidden; }

.about__ghost {
  position: absolute;
  top: 40px;
  right: -0.06em;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 244, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about__intro { position: sticky; top: 120px; }

.about__lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 22px;
}

.about__text {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 40px;
}

.about__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__point-icon {
  color: var(--red);
  font-size: 11px;
  margin-top: 5px;
}

.about__points strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.about__points small {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey);
}

/* ═══════════ STATS ═══════════ */

.stats {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.stats__item {
  padding: clamp(28px, 3.6vw, 48px) 20px 0;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats__item:first-child { border-left: 0; padding-left: 0; }

.stats__value {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: var(--white);
}

.stats__value .count { color: var(--red); }

.stats__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ═══════════ FABRICS ═══════════ */

.fabrics { border-top: 1px solid var(--line); }

.fabrics__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 80px);
  margin-bottom: clamp(50px, 6vw, 80px);
}

.fabrics__note {
  max-width: 380px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey);
  padding-bottom: 8px;
}

.fabrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
}

/* ── card ── */

.fcard {
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out);
}

.fcard:hover {
  border-color: rgba(227, 30, 36, 0.55);
  transform: translateY(-6px);
}

.fcard__swatch {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity 0.7s ease;
}

.fcard:hover .fcard__img { transform: scale(1.09); }

/* second image (scuba card) crossfades in on hover */
.fcard__img--alt { opacity: 0; }
.fcard:hover .fcard__img--alt { opacity: 1; }

/* dark edge grade so photos sit into the card and the index stays readable */
.fcard__swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.4), transparent 32%, transparent 72%, rgba(10, 10, 12, 0.45));
  pointer-events: none;
}

/* red glow that wakes up on hover */
.fcard__swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 90% at 85% 110%, rgba(227, 30, 36, 0.22), transparent 55%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.fcard:hover .fcard__swatch::after { opacity: 1; }

/* diagonal sheen sweep on hover */
.fcard__sheen {
  position: absolute;
  top: -20%;
  left: -70%;
  width: 45%;
  height: 140%;
  z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(245, 245, 244, 0.09), transparent);
  transform: skewX(-18deg) translateX(0);
  pointer-events: none;
}

.fcard:hover .fcard__sheen {
  transition: transform 0.9s var(--ease-out);
  transform: skewX(-18deg) translateX(420%);
}

.fcard__index {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  letter-spacing: 0.08em;
}

.fcard__index::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 6px;
  background: var(--red);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

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

/* ── card body ── */

.fcard__body { padding: clamp(22px, 2.6vw, 34px); }

.fcard__name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.fcard__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 20px;
}

.fcard__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fcard__tags li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--line);
  padding: 6px 12px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.fcard:hover .fcard__tags li {
  color: var(--white);
  border-color: rgba(227, 30, 36, 0.4);
}

/* ── bottom CTA bar ── */

.fabrics__cta {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(227, 30, 36, 0.09), transparent 55%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.fabrics__cta p {
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 500;
  color: var(--grey);
}

.fabrics__cta strong { color: var(--white); font-weight: 700; }

/* ═══════════ WHY US ═══════════ */

.why { border-top: 1px solid var(--line); }

.why__title { margin-bottom: clamp(50px, 6vw, 80px); }

.why__rows { border-top: 1px solid var(--line); }

.why__row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 4fr) minmax(0, 6fr) 60px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 44px) clamp(12px, 1.6vw, 24px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* red wash that sweeps in on hover */
.why__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(227, 30, 36, 0.14), transparent 65%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.why__row:hover::before { transform: scaleX(1); }

.why__num {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 900;
  font-style: italic;
  color: var(--grey);
  transition: color 0.35s ease;
}

.why__row:hover .why__num { color: var(--red); }

.why__row-title {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.why__row-desc {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey);
}

.why__arrow {
  font-size: 22px;
  color: var(--grey);
  justify-self: end;
  transition: transform 0.4s var(--ease-out), color 0.35s ease;
}

.why__row:hover .why__arrow {
  color: var(--red);
  transform: translateX(8px);
}

/* ── process strip ── */

.process { margin-top: clamp(60px, 8vw, 100px); }

.process__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 34px;
}

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* connecting line */
.process__steps::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.process__step { position: relative; padding-top: 30px; }

.process__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--red);
  transform: rotate(45deg); /* diamond, echoes the ◆ motif */
}

.process__step strong {
  display: block;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 800;
  margin-bottom: 8px;
}

.process__step small {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey);
}

/* ═══════════ CONTACT ═══════════ */

.contact { border-top: 1px solid var(--line); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact__text {
  max-width: 420px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--grey);
  margin: 26px 0 40px;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact__list-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 5px;
}

.contact__list-value {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

a.contact__list-value:hover { color: var(--red); }

.btn--whatsapp {
  color: var(--white);
  border-color: rgba(37, 211, 102, 0.5);
}
.btn--whatsapp::before {
  background: #1da851;
  transform: scaleX(0);
}
.btn--whatsapp:hover { border-color: #25d366; }
.btn--whatsapp:hover::before { transform: scaleX(1); }
.btn--whatsapp svg { flex-shrink: 0; }

/* ── quote form ── */

.qform {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.qform__field { display: flex; flex-direction: column; gap: 8px; }

.qform__field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}

.qform__field input,
.qform__field select,
.qform__field textarea {
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  background: rgba(245, 245, 244, 0.04);
  border: 1px solid var(--line);
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0;
  width: 100%;
}

.qform__field input::placeholder,
.qform__field textarea::placeholder { color: rgba(154, 154, 160, 0.55); }

.qform__field select:invalid { color: rgba(154, 154, 160, 0.55); }
.qform__field select option { background: var(--ink); color: var(--white); }

.qform__field input:focus,
.qform__field select:focus,
.qform__field textarea:focus {
  border-color: var(--red);
  background: rgba(245, 245, 244, 0.07);
}

.qform__field textarea { resize: vertical; min-height: 100px; }

.qform__submit {
  align-self: flex-start;
  margin-top: 6px;
}

.qform__submit:disabled { opacity: 0.55; pointer-events: none; }

.qform__status {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  display: none;
}

.qform__status.is-ok { display: block; color: #4ade80; }
.qform__status.is-err { display: block; color: var(--red); }

/* ═══════════ FOOTER ═══════════ */

.footer {
  border-top: 1px solid var(--line);
  background: #070708;
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.footer__logo { height: 52px; width: auto; margin-bottom: 18px; }

.footer__tagline {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--grey);
  max-width: 300px;
}

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

.footer__nav a,
.footer__contact a,
.footer__contact span {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grey);
  transition: color 0.3s ease;
  width: fit-content;
}

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

.footer__bar {
  border-top: 1px solid var(--line);
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__bar p {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.footer__top {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.footer__top:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-4px);
}

/* ═══════════ SCROLL-TRIGGERED ANIMATIONS ═══════════ */

.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out) var(--d, 0s),
              transform 0.9s var(--ease-out) var(--d, 0s);
}

.anim-up {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out) var(--d, 0s);
}

.in-view .anim { opacity: 1; transform: translateY(0); }
.in-view .anim-up { transform: translateY(0); }

/* ═══════════ REVEAL ANIMATIONS ═══════════ */

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

.reveal-up {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out) var(--d, 0s);
}

body.is-loaded .reveal { opacity: 1; transform: translateY(0); }
body.is-loaded .reveal-up { transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .qform__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }

  .why__row {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 10px;
  }
  .why__row-desc { grid-column: 2; }
  .why__arrow { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 30px; }
  .process__steps::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .process__step { padding-top: 0; padding-left: 32px; }

  .fabrics__head { flex-direction: column; align-items: flex-start; }
  .fabrics__grid { grid-template-columns: 1fr; }

  .about__grid { grid-template-columns: 1fr; }
  .about__intro { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stats__item:nth-child(3) { border-left: 0; padding-left: 0; }

  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
  }

  .nav__link { font-size: 18px; }

  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 30px; }
  .hero__ticker { justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-up, .anim, .anim-up { transition-duration: 0.01s; }
  .marquee__track { animation-play-state: paused; }
  .hero__scroll-thumb, .preloader__logo, .preloader__bar-fill { animation-duration: 0.01s; }
}
