:root {
  --ink: #071015;
  --paper: #f8faf7;
  --muted: #65707b;
  --line: rgba(7, 16, 21, 0.13);
  --red: #f0372f;
  --teal: #00a7a5;
  --yellow: #f6c946;
  --blue: #2454d6;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 16, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 16, 21, 0.88), rgba(7, 16, 21, 0.14));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 900;
}

.brand-logo {
  width: auto;
  height: clamp(58px, 5.8vw, 76px);
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.78))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.brand-name {
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  letter-spacing: 0;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(255, 255, 255, 0.16);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a,
.header-cta,
.button {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
}

.wa-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  background: url("assets/whatsapp.svg") center / contain no-repeat;
  transform: translateY(1px);
}

.header-cta {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 126px clamp(18px, 5vw, 76px) 48px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 21, 0.94) 0%, rgba(7, 16, 21, 0.82) 34%, rgba(7, 16, 21, 0.24) 74%),
    linear-gradient(0deg, rgba(7, 16, 21, 0.72) 0%, rgba(7, 16, 21, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: "Archivo", Arial, sans-serif;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

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

.button.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), #ff514a);
  color: var(--white);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: buttonShine 3.6s ease-in-out infinite;
}

.button.primary {
  isolation: isolate;
}

.button.primary > *,
.button.primary {
  z-index: 1;
}

@keyframes buttonShine {
  0%, 58% {
    transform: translateX(-120%);
  }

  76%, 100% {
    transform: translateX(120%);
  }
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 34px 0 0;
}

.hero-stats div {
  border-top: 2px solid rgba(255, 255, 255, 0.28);
  padding-top: 12px;
}

.hero-stats dt {
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

section:not(.hero) {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.section-lead {
  max-width: 860px;
  margin: -16px 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.sports-section {
  background: var(--paper);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sport-card,
.fabric-list article,
.process-list li,
.design-panel,
.quote-form,
.contact-card,
.book-page {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 16, 21, 0.06);
}

.sport-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.sport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background:
    linear-gradient(135deg, currentColor, transparent 62%),
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 18px);
}

.basketball { color: var(--red); }
.soccer { color: var(--teal); }
.baseball { color: var(--blue); }
.volleyball { color: #8b45c6; }

.sport-icon {
  position: relative;
  width: fit-content;
  margin-bottom: auto;
  border: 2px solid currentColor;
  padding: 8px 10px;
  color: currentColor;
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 900;
}

.sport-card h3,
.fabric-list h3,
.process-list h3 {
  position: relative;
  color: var(--ink);
  font-size: 1.38rem;
  text-transform: uppercase;
}

.sport-card p,
.fabric-list p,
.process-list p,
.custom-copy p,
.quote-copy p {
  position: relative;
  color: var(--muted);
  line-height: 1.65;
}

.custom-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.custom-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.design-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: #101b22;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.design-chip {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.design-chip.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.design-output {
  grid-column: 1 / -1;
  min-height: 92px;
  margin: 4px 0 0;
  padding: 22px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--red);
  line-height: 1.55;
}

.catalog-section {
  background:
    linear-gradient(135deg, rgba(240, 55, 47, 0.1), transparent 36%),
    linear-gradient(315deg, rgba(0, 167, 165, 0.12), transparent 38%),
    #f2f5f4;
}

.catalog-shell {
  display: grid;
  gap: 20px;
}

.book-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  perspective: 1800px;
}

.book {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: 650px;
  padding: 24px;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), rgba(7, 16, 21, 0.22) 50%, transparent calc(50% + 2px)),
    #d9d5c9;
  box-shadow: 0 34px 80px rgba(7, 16, 21, 0.24), 0 10px 20px rgba(7, 16, 21, 0.12);
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: rotateX(3deg) rotateY(-2deg);
  transition: transform 320ms ease, box-shadow 320ms ease;
  overflow: hidden;
}

.book:hover {
  transform: rotateX(1deg) rotateY(0deg) translateY(-4px);
  box-shadow: 0 44px 92px rgba(7, 16, 21, 0.3), 0 16px 32px rgba(7, 16, 21, 0.16);
}

.book.turning {
  animation: bookPulse 360ms ease both;
}

.book::before,
.book::after {
  content: "";
  position: absolute;
  inset: 24px auto 24px 50%;
  z-index: 2;
  width: 22px;
  pointer-events: none;
  transform: translateX(-50%);
}

.book::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 52%, rgba(255, 255, 255, 0.24));
}

.book::after {
  width: 2px;
  background: rgba(7, 16, 21, 0.22);
}

.book-page {
  display: none;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  position: relative;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 21, 0.08), 0 20px 42px rgba(7, 16, 21, 0.16);
}

.book-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 28%, transparent 68%, rgba(0, 0, 0, 0.14));
  mix-blend-mode: multiply;
}

.book-page.active {
  display: grid;
  grid-template-rows: 1fr auto;
  animation: pageIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.book-page:nth-child(odd).active {
  transform-origin: right center;
  transform: rotateY(-4deg) translateZ(14px);
}

.book-page:nth-child(even).active {
  transform-origin: left center;
  transform: rotateY(4deg) translateZ(14px);
}

.book-page img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: #f7f7f3;
  transition: transform 420ms ease, filter 420ms ease;
  transform: translateZ(18px);
}

.book-page:hover img {
  transform: translateZ(34px) scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.book-page figcaption {
  position: relative;
  z-index: 2;
  min-height: 68px;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  border-top: 1px solid var(--line);
}

.book-button {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  color: var(--white);
  background: var(--ink);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(7, 16, 21, 0.18);
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.book-button:not(:disabled):hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--red);
}

.book-button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.book-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-count {
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes pageIn {
  from {
    opacity: 0;
    filter: blur(3px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes bookPulse {
  0% { transform: rotateX(3deg) rotateY(-2deg) scale(1); }
  45% { transform: rotateX(3.5deg) rotateY(-2.5deg) scale(0.992); }
  100% { transform: rotateX(3deg) rotateY(-2deg) scale(1); }
}

.fabric-section {
  background:
    linear-gradient(90deg, rgba(0, 167, 165, 0.1), transparent 44%),
    var(--paper);
}

.fabric-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fabric-list article {
  min-height: 230px;
  padding: 24px;
}

.fabric-list article:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.fabric-list article:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.fabric-list article:nth-child(4) {
  border-top: 5px solid var(--yellow);
}

.fabric-list article:first-child {
  border-top: 5px solid var(--red);
}

.process-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(240, 55, 47, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(0, 167, 165, 0.12), transparent 38%),
    var(--ink);
}

.process-section::before {
  content: "LUGU";
  position: absolute;
  right: -4vw;
  bottom: -3vw;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  line-height: 0.75;
  pointer-events: none;
}

.process-section .section-heading,
.process-section .process-lead,
.process-list {
  position: relative;
  z-index: 1;
}

.process-section .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 340px;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04)),
    #101b22;
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(28px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.process-list.in-view li {
  animation: processRise 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.process-list.in-view li:nth-child(2) { animation-delay: 90ms; }
.process-list.in-view li:nth-child(3) { animation-delay: 180ms; }
.process-list.in-view li:nth-child(4) { animation-delay: 270ms; }
.process-list.in-view li:nth-child(5) { animation-delay: 360ms; }

.process-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(240, 55, 47, 0.28), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.process-list li:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 201, 70, 0.44);
  background: #14222b;
}

.process-list li:hover::before {
  opacity: 1;
}

.process-list span {
  position: relative;
  display: block;
  margin-bottom: 70px;
  color: var(--red);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
}

.process-list h3,
.process-list p {
  position: relative;
}

.process-list h3 {
  color: var(--white);
}

.process-list p {
  color: rgba(255, 255, 255, 0.72);
}

@keyframes processRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
  background: var(--white);
}

.contact-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  color: var(--white);
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-number {
  margin: 0;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 0.96;
  width: 100%;
  text-align: center;
}

.quote-form {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f3f6f7;
  color: var(--ink);
  padding: 14px 13px;
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.design-chip:focus {
  outline: 3px solid rgba(246, 201, 70, 0.45);
  outline-offset: 2px;
}

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

.quote-form .button {
  border: 0;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 76px);
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(240, 55, 47, 0.18), transparent 40%),
    var(--ink);
}

.thanks-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  color: var(--white);
  background: #101b22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  font-size: clamp(2.2rem, 7vw, 5.2rem);
}

.thanks-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .sports-grid,
  .fabric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 96svh;
    padding: 112px 24px 48px;
  }

  .hero-content {
    max-width: calc(100vw - 48px);
  }

  .hero-copy {
    max-width: 330px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.12rem, 9vw, 2.45rem);
    line-height: 0.98;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 16, 21, 0.94), rgba(7, 16, 21, 0.52)),
      linear-gradient(0deg, rgba(7, 16, 21, 0.82), rgba(7, 16, 21, 0.08) 45%);
  }

  .hero-stats,
  .section-heading,
  .custom-section,
  .quote-section,
  .quote-form,
  .book-stage {
    grid-template-columns: 1fr;
  }

  .sports-grid,
  .fabric-list,
  .process-list,
  .design-panel {
    grid-template-columns: 1fr;
  }

  .sport-card,
  .fabric-list article,
  .process-list li {
    min-height: auto;
  }

  .process-list span {
    margin-bottom: 24px;
  }

  .book {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 14px;
    background: #d9d5c9;
  }

  .book-page {
    min-height: auto;
  }

  .book-page img {
    min-height: 360px;
  }

  .book-button {
    width: 100%;
    height: 48px;
    aspect-ratio: auto;
  }

  .quote-form {
    grid-column: auto;
  }
}
