:root {
  --blue: #062b63;
  --blue-2: #0f4c8c;
  --red: #a91322;
  --green: #147d6a;
  --ink: #142236;
  --muted: #5d6f83;
  --line: #d5dfeb;
  --soft: #eef4f8;
  --paper: #f6f9fc;
  --surface: #ffffff;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(6, 24, 52, 0.12);
  --shadow-soft: 0 10px 28px rgba(6, 24, 52, 0.08);
  --shadow-hover: 0 18px 36px rgba(6, 24, 52, 0.15);
  --fabric-x: repeating-linear-gradient(90deg, rgba(6, 43, 99, 0.035) 0 1px, transparent 1px 16px);
  --fabric-y: repeating-linear-gradient(0deg, rgba(20, 125, 106, 0.026) 0 1px, transparent 1px 14px);
  --fabric-diagonal: repeating-linear-gradient(45deg, rgba(6, 43, 99, 0.014) 0 1px, transparent 1px 12px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(249, 252, 254, 0.96), rgba(238, 244, 248, 0.96)),
    var(--fabric-x),
    var(--fabric-y),
    var(--fabric-diagonal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

video {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

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

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 40px;
  background: rgba(248, 251, 253, 0.94);
  border-bottom: 1px solid rgba(205, 218, 232, 0.9);
  box-shadow: 0 6px 18px rgba(6, 24, 52, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 248px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #294057;
  font-size: 0.94rem;
  font-weight: 720;
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: #e8f0f8;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin-left: 12px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #0d6d5d);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(20, 125, 106, 0.2);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-whatsapp:hover,
.header-whatsapp:focus-visible {
  transform: translateY(-1px);
  background: #0d6d5d;
  box-shadow: 0 14px 26px rgba(20, 125, 106, 0.28);
}

.header-whatsapp strong {
  font-weight: 900;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  background:
    linear-gradient(90deg, rgba(3, 18, 42, 0.94) 0%, rgba(5, 35, 78, 0.78) 38%, rgba(5, 35, 78, 0.18) 100%),
    url("assets/factory-hero-textile-rolls-wide.png") center center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 18, 46, 0.04), rgba(3, 18, 46, 0.24)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px);
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 56px));
  min-height: 610px;
  margin: 0 auto;
  padding: 72px 0 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  max-width: 780px;
  padding-top: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

p {
  line-height: 1.52;
}

h1 {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 3.45rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 2.12rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  color: #18283c;
  font-size: 1.03rem;
  line-height: 1.28;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 14px;
  color: #e5edf8;
  font-size: 1.04rem;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #8e101b);
  box-shadow: 0 12px 24px rgba(165, 20, 32, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #8c101a;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(10px);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(640px, 100%);
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 28, 58, 0.26), rgba(8, 28, 58, 0.1));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
}

.hero-metrics div {
  min-height: 66px;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.hero-metrics span {
  color: #dce6f0;
  font-size: 0.84rem;
  font-weight: 700;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
}

.section-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.intro-band {
  background:
    linear-gradient(135deg, rgba(6, 43, 99, 0.98), rgba(9, 58, 112, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  padding: 42px 0;
  align-items: start;
}

.intro-grid h2,
.intro-grid .section-kicker {
  color: var(--white);
}

.intro-grid .section-kicker {
  color: #ffccd1;
}

.intro-stack {
  display: grid;
  gap: 10px;
}

.intro-stack p {
  margin: 0;
  color: #dce7f4;
  font-size: 1rem;
  line-height: 1.46;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #edf4fb;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.48;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
  transform: translateY(-50%);
}

.feature-section,
.applications {
  padding: 52px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 16px;
}

.section-heading p:last-child {
  max-width: 720px;
}

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

.feature-card,
.application-grid article {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface), #fbfdff);
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft), 0 2px 0 rgba(3, 42, 105, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), transparent 35%),
    linear-gradient(315deg, rgba(22, 128, 108, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #c5d3e5;
  background: #ffffff;
  box-shadow:
    var(--shadow-hover),
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 -2px 0 rgba(6, 24, 52, 0.05) inset;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card .feature-number,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #0d6b5b);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(20, 125, 106, 0.22);
  font-weight: 900;
}

.feature-card p,
.application-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.spec-band {
  padding: 52px 0;
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.96), rgba(231, 239, 246, 0.96)),
    var(--fabric-x),
    var(--fabric-y),
    var(--fabric-diagonal);
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 26px;
  align-items: start;
}

.spec-copy {
  position: sticky;
  top: 104px;
}

.spec-copy p {
  color: #4b5f75;
  font-size: 0.96rem;
  line-height: 1.42;
}

.spec-table-wrap {
  overflow: auto;
  border: 1px solid #cedceb;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.spec-table th,
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:not(.spec-group):hover th,
.spec-table tr:not(.spec-group):hover td {
  background: #f8fbfd;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 32%;
  color: var(--blue);
  background: #f5f8fb;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.spec-table .spec-group th {
  width: auto;
  padding: 9px 14px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.78rem;
}

.spec-table td {
  color: #26384f;
  font-size: 0.95rem;
  font-weight: 620;
}

.factory-gallery-section {
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(246, 250, 252, 0.96), rgba(232, 241, 247, 0.96)),
    var(--fabric-x),
    var(--fabric-y),
    var(--fabric-diagonal);
}

.gallery-heading {
  max-width: 760px;
}

.gallery-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: stretch;
  gap: 14px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface), #fbfdff);
  box-shadow: var(--shadow-soft), 0 2px 0 rgba(3, 42, 105, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(315deg, rgba(3, 42, 105, 0.1), transparent 44%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: #c5d3e5;
  box-shadow:
    var(--shadow-hover),
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 -2px 0 rgba(6, 24, 52, 0.05) inset;
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  background: #e7eff5;
}

.gallery-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-zoom-trigger:focus-visible {
  outline: 3px solid rgba(20, 125, 106, 0.42);
  outline-offset: -5px;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card-wide img {
  height: 286px;
}

.gallery-card-portrait {
  grid-row: span 2;
}

.gallery-card-portrait img {
  width: calc(100% - 36px);
  height: 548px;
  margin: 16px 18px 0;
  object-fit: cover;
  object-position: center 42%;
  padding: 0;
  border-radius: 6px;
}

.gallery-card-fabric-edge img {
  height: 220px;
  object-position: center 68%;
}

.gallery-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 16px 14px;
}

.gallery-card h3 {
  margin-bottom: 5px;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.factory-video-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(203, 215, 230, 0.9);
}

.video-heading {
  max-width: 780px;
}

.video-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

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

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface), #fbfdff);
  box-shadow: var(--shadow-soft), 0 2px 0 rgba(3, 42, 105, 0.04);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e1f34;
  object-fit: cover;
}

.video-card video.video-focus-upper {
  object-position: center 38%;
}

.video-card video.video-focus-left-higher {
  object-position: center 34%;
}

.video-card video.video-focus-lower {
  object-position: center 58%;
}

.video-card div {
  padding: 12px 16px 14px;
}

.video-card h3 {
  margin-bottom: 5px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.workshop-section {
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(239, 246, 250, 0.96), rgba(248, 251, 253, 0.96)),
    var(--fabric-x),
    var(--fabric-y),
    var(--fabric-diagonal);
}

.workshop-heading {
  max-width: 790px;
}

.workshop-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.workshop-showcase {
  display: grid;
  gap: 14px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.workshop-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface), #fbfdff);
  box-shadow: var(--shadow-soft), 0 2px 0 rgba(3, 42, 105, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.workshop-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: var(--workshop-image-height, 238px);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(6, 43, 99, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(20, 125, 106, 0.11), transparent 46%),
    rgba(245, 249, 252, 0.04);
  mix-blend-mode: soft-light;
}

.workshop-card:hover {
  transform: translateY(-5px);
  border-color: #c5d3e5;
  box-shadow:
    var(--shadow-hover),
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 -2px 0 rgba(6, 24, 52, 0.05) inset;
}

.workshop-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  background: #e7eff5;
  filter: saturate(0.82) contrast(0.96) brightness(1.04);
}

.workshop-card-tall {
  --workshop-image-height: 410px;
}

.workshop-card-tall img {
  height: 410px;
  object-position: center 48%;
}

.workshop-card div {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 16px 14px;
}

.workshop-card h3 {
  margin-bottom: 5px;
}

.workshop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.application-grid article {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  border-top: 5px solid var(--blue-2);
  box-shadow: var(--shadow-soft), 0 2px 0 rgba(3, 42, 105, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.application-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), transparent 35%),
    linear-gradient(315deg, rgba(3, 42, 105, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.application-grid article h3,
.application-grid article p {
  position: relative;
  z-index: 1;
}

.application-grid article:hover {
  transform: translateY(-6px);
  border-color: #c5d3e5;
  background: #ffffff;
  box-shadow:
    var(--shadow-hover),
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 -2px 0 rgba(6, 24, 52, 0.05) inset;
}

.application-grid article:hover::after {
  opacity: 1;
}

.application-grid article:nth-child(2) {
  border-top-color: var(--green);
}

.application-grid article:nth-child(3) {
  border-top-color: var(--red);
}

.proof-band {
  padding: 46px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 39, 59, 0.98), rgba(14, 49, 79, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 16px);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
}

.proof-layout h2,
.proof-layout .section-kicker {
  color: var(--white);
}

.proof-layout .section-kicker {
  color: #f3a0aa;
}

.proof-layout p:last-child {
  margin: 0;
  color: #d7e0ec;
  font-size: 0.98rem;
  line-height: 1.42;
}

.inquiry-section {
  padding: 54px 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(238, 244, 248, 0.96)),
    var(--fabric-x),
    var(--fabric-y),
    var(--fabric-diagonal);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
}

.inquiry-copy p {
  color: var(--muted);
  line-height: 1.42;
}

address {
  margin-top: 14px;
  color: #2f455f;
  font-style: normal;
  line-height: 1.42;
  padding-left: 18px;
  border-left: 4px solid var(--green);
}

.factory-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  color: #173b34;
  background: rgba(20, 125, 106, 0.1);
  border: 1px solid rgba(20, 125, 106, 0.24);
  border-radius: 8px;
  font-weight: 800;
}

.factory-whatsapp a {
  color: var(--green);
  font-weight: 900;
}

.factory-whatsapp a:hover,
.factory-whatsapp a:focus-visible {
  color: #0d6d5d;
  text-decoration: underline;
}

.inquiry-form {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.inquiry-form label {
  display: grid;
  gap: 6px;
  color: #26384f;
  font-size: 0.94rem;
  font-weight: 760;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cbd7e6;
  border-radius: 6px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 112px;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(3, 42, 105, 0.1);
}

.form-button {
  justify-self: start;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 760;
}

.site-footer {
  padding: 28px 0;
  color: var(--white);
  background: var(--blue);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 16, 31, 0.86);
  backdrop-filter: blur(10px);
}

.image-lightbox figure {
  position: relative;
  width: min(1500px, 98vw);
  height: calc(100vh - 36px);
  margin: 0;
}

.image-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #0e1f34;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.image-lightbox figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 10px 14px;
  color: #eef4f8;
  background: rgba(6, 24, 52, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.98rem;
  font-weight: 760;
  text-align: center;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(169, 19, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #8e101b;
}

body.lightbox-open {
  overflow: hidden;
}

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

.footer-inner img {
  width: 236px;
}

.footer-inner p {
  margin: 0;
  color: #d7e5f8;
  font-weight: 700;
}

.media-rights {
  margin-top: 14px;
  padding-top: 12px;
  color: rgba(215, 229, 248, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 620;
  line-height: 1.48;
}

@media (max-width: 1080px) {
  .hero {
    min-height: 590px;
  }

  .hero-inner {
    min-height: 590px;
  }

  h1 {
    max-width: 700px;
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.98rem;
  }

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

  .hero-metrics {
    width: min(560px, 100%);
  }

  .factory-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card-wide {
    grid-column: span 2;
  }

  .gallery-card-wide img {
    height: 270px;
  }

  .gallery-card-portrait {
    grid-row: auto;
  }

  .gallery-card-portrait img {
    width: calc(100% - 36px);
    height: 478px;
    margin: 16px 18px 0;
  }

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

  .workshop-card-tall {
    --workshop-image-height: 340px;
  }

  .workshop-card-tall img {
    height: 340px;
  }
}

@media (max-width: 860px) {
  .site-header {
    gap: 10px;
    padding: 12px 22px;
  }

  .brand {
    width: 206px;
  }

  .header-whatsapp {
    order: 2;
    min-height: 38px;
    margin-left: auto;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .nav-toggle {
    order: 3;
    display: block;
    margin-left: 8px;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 36px, 720px);
    padding: 58px 0 34px;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 12px;
  }

  h1 {
    max-width: 620px;
    font-size: 2.75rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics div {
    min-height: 74px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-metrics div:nth-child(2n) {
    border-right: 0;
  }

  .hero-metrics div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section-shell {
    width: min(100% - 36px, 720px);
  }

  .intro-grid,
  .proof-layout,
  .spec-layout,
  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-grid,
  .feature-section,
  .factory-gallery-section,
  .workshop-section,
  .spec-band,
  .applications,
  .proof-band,
  .inquiry-section {
    padding: 38px 0;
  }

  .section-heading {
    margin-bottom: 12px;
  }

  .feature-grid,
  .factory-gallery,
  .factory-video-grid,
  .workshop-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .gallery-card-wide img {
    height: 232px;
  }

  .gallery-card-portrait img {
    width: calc(100% - 36px);
    height: 430px;
    margin: 18px 18px 0;
  }

  .workshop-grid {
    gap: 14px;
  }

  .workshop-card {
    --workshop-image-height: 230px;
  }

  .workshop-card img {
    height: 230px;
  }

  .workshop-card-tall {
    --workshop-image-height: 330px;
  }

  .workshop-card-tall img {
    height: 330px;
  }

  .feature-card,
  .application-grid article {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 14px;
  }

  .spec-copy {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  section[id] {
    scroll-margin-top: 132px;
  }

  .site-header {
    flex-wrap: wrap;
    min-height: 106px;
    padding: 10px 14px;
  }

  .brand {
    width: min(156px, 44vw);
  }

  .header-whatsapp {
    order: 4;
    width: 100%;
    gap: 6px;
    min-height: 36px;
    margin-left: 0;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .header-whatsapp span {
    display: inline;
  }

  .site-nav {
    top: 112px;
    max-height: calc(100vh - 126px);
    overflow: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 480px);
    padding: 38px 0 30px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .hero-metrics div:nth-child(2n),
  .hero-metrics div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: clamp(1.78rem, 8vw, 2.22rem);
    line-height: 1.1;
  }

  h2 {
    font-size: 1.48rem;
    line-height: 1.18;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    line-height: 1.46;
  }

  .hero-text {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .intro-grid,
  .feature-section,
  .factory-gallery-section,
  .workshop-section,
  .spec-band,
  .applications,
  .proof-band,
  .inquiry-section {
    padding: 32px 0;
  }

  .button {
    width: 100%;
  }

  .section-shell {
    width: min(100% - 28px, 480px);
  }

  .spec-table {
    min-width: 0;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table tr:not(.spec-group) {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }

  .spec-table tr:not(.spec-group):last-child {
    border-bottom: 0;
  }

  .spec-table th,
  .spec-table td {
    border-bottom: 0;
  }

  .spec-table tr:not(.spec-group) th {
    padding: 0 12px 3px;
    background: transparent;
    font-size: 0.76rem;
  }

  .spec-table tr:not(.spec-group) td {
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .gallery-card img {
    height: 180px;
  }

  .gallery-card-wide img {
    height: 198px;
  }

  .gallery-card-fabric-edge img {
    height: 212px;
  }

  .gallery-card-portrait img {
    width: calc(100% - 30px);
    height: 360px;
    margin: 15px 15px 0;
  }

  .workshop-card {
    --workshop-image-height: 200px;
  }

  .workshop-card img {
    height: 200px;
  }

  .workshop-card-tall {
    --workshop-image-height: 300px;
  }

  .workshop-card-tall img {
    height: 300px;
  }

  .inquiry-form {
    padding: 20px;
  }

  .footer-inner img {
    width: 190px;
  }

  .media-rights {
    font-size: 0.78rem;
  }
}
