/* ============================================================
   DYUKNOCK — Dima Textile / Dyuknock (Pvt) Ltd
   Design system: neutral charcoal base, logo-derived green accent
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #101112;
  --bg-2: #141516;
  --panel: #1A1B1D;
  --panel-2: #202224;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #F1F1EF;
  --muted: #A6A9A7;
  --faint: #717573;

  --accent: #4CC24B;
  --accent-2: #7EDC7C;
  --accent-dim: rgba(76, 194, 75, 0.14);
  --accent-ink: #06180C;

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --container: 1180px;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 8px 28px rgba(76, 194, 75, 0.2);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Thin dark scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2C2E; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3C3F41; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-alt {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(76, 194, 75, 0.04), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

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

.section-kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-kicker::before {
  content: "";
  width: 34px;
  height: 0;
  border-top: 2px dashed var(--accent);
  opacity: 0.7;
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -0.02em; text-wrap: balance; }
.section-sub {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 1rem;
  font-size: 1.05rem;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, color 0.25s;
  will-change: transform;
}
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(76, 194, 75, 0.32); }
.btn-accent:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 17, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(16, 17, 18, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-logo {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  object-fit: cover;
}
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.brand-text em { font-style: normal; color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav > a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  border-top: 2px dashed var(--accent);
  transition: right 0.3s var(--ease-out);
}
.site-nav > a:hover,
.site-nav > a.active { color: var(--text); }
.site-nav > a.active::after,
.site-nav > a:hover::after { right: 0; }

.site-nav .nav-cta { color: var(--accent-ink); }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { color: var(--accent-ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(76, 194, 75, 0.05), transparent 65%),
    var(--bg);
}
.hero-stitch {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M0 20h140' stroke-dasharray='10 12'/%3E%3Cpath d='M0 60h140' stroke-dasharray='10 12'/%3E%3Cpath d='M0 100h140' stroke-dasharray='10 12'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.1rem, 2.2vh, 1.6rem);
  flex: 1 0 auto;
}

.hero-kicker {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.1rem, 1.1rem + 3.4vw, 4.1rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 24ch;
}
.hero h1 .hl {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  border-radius: 0.16em;
  padding: 0.02em 0.12em;
  margin-inline: 0.03em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(0.98rem, 0.9rem + 0.5vw, 1.12rem);
  text-wrap: pretty;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.hero-badges span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  flex: none;
  border-top: 1px solid var(--line);
  background: rgba(16, 17, 18, 0.6);
  backdrop-filter: blur(6px);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.4rem;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-left: 0.1rem;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.4rem;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.4rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 194, 75, 0.5);
  box-shadow: var(--shadow-1);
}

.product-visual {
  aspect-ratio: 200 / 130;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  margin-bottom: 1.1rem;
  overflow: hidden;
}
.product-visual svg {
  width: 82%;
  height: auto;
  transition: transform 0.4s var(--ease-out);
}
.product-visual .g {
  fill: none;
  stroke: #B9C4BE;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-visual .s {
  fill: none;
  stroke: rgba(76, 194, 75, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
}
.product-card:hover .product-visual svg { transform: translateY(-3px) scale(1.03); }
.product-card:hover .product-visual .g { stroke: var(--text); }
.product-card:hover .product-visual .s { stroke: var(--accent); }
.product-visual .g, .product-visual .s { transition: stroke 0.3s; }

.product-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.product-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------- Manufacturing models ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.model-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.7rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.model-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.4rem;
  right: 1.4rem;
  border-top: 2px dashed rgba(76, 194, 75, 0.5);
  transition: top 0.35s var(--ease-out);
}
.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 194, 75, 0.4);
  box-shadow: var(--shadow-1);
}
.model-card:hover::before { top: 0.5rem; }

.model-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-dim);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}
.model-card h3 {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.model-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Value-added services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 194, 75, 0.45);
  box-shadow: var(--shadow-1);
}
.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(76, 194, 75, 0.5);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.service-icon svg { width: 34px; height: 34px; }
.service-card:hover .service-icon { transform: scale(1.06); background: var(--accent-dim); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Process ---------- */
.process-track {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
  counter-reset: step;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  border-top: 1.5px dashed rgba(76, 194, 75, 0.28);
  pointer-events: none;
}
.process-step {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border-left: 2px dashed rgba(76, 194, 75, 0.45);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 194, 75, 0.55);
  box-shadow: var(--shadow-1);
}
.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Capacity ---------- */
.capacity-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.strength-list {
  list-style: none;
  padding: 0;
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.6rem;
}
.strength-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.strength-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px dashed rgba(76, 194, 75, 0.6);
}
.strength-list li::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.24rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.capacity-visual {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.capacity-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(76, 194, 75, 0.3);
  border-radius: 16px;
  pointer-events: none;
}
.cap-big {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.cap-num {
  font-family: var(--font-head);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cap-plus {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.cap-unit {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.4rem;
}
.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}
.cap-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}
.cap-mini span {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-2);
}
.cap-mini label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.2rem;
}


/* ---------- Factory gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.4s;
  filter: saturate(0.92);
}
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  background: linear-gradient(to top, rgba(10, 11, 12, 0.85), transparent);
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; } {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-wide { grid-column: span 1; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-tall { grid-row: span 2; }
  .gallery-item figcaption { font-size: 0.68rem; padding: 1.2rem 0.7rem 0.55rem; }
}

/* ---------- Skip link / progress ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 150;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: rgba(76, 194, 75, 0.4); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  flex: none;
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, color 0.25s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: min(1000px, 100%);
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
}
.lb-caption {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  font-size: 2rem;
  color: var(--muted);
  line-height: 1;
  padding: 0.4rem;
  transition: color 0.2s;
}
.lb-close:hover { color: var(--text); }

.gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

/* ---------- Vision band ---------- */
.vision-band {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(800px 300px at 50% 50%, rgba(76, 194, 75, 0.06), transparent 65%),
    var(--bg-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.vision-quote-mark { width: 44px; height: 44px; color: var(--accent); opacity: 0.5; margin-inline: auto 0; margin-bottom: 1.4rem; }
.vision-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 52ch;
  margin-inline: auto;
}
.vision-attrib {
  margin-top: 1.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.2rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.98rem;
  transition: background 0.25s, color 0.25s;
}
.contact-line svg { width: 21px; height: 21px; flex: none; color: var(--accent); }
a.contact-line:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.contact-addr { cursor: default; }

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.whatsapp-cta svg { width: 21px; height: 21px; color: var(--accent); }
.whatsapp-cta:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Quote form */
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-1);
}
.quote-form h3 {
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.quote-form h3::before {
  content: "";
  width: 26px;
  border-top: 2px dashed var(--accent);
}

.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.45rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--faint); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76, 194, 75, 0.15);
}
.form-row textarea { resize: vertical; min-height: 104px; }
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 2.5rem;
  padding-block: 3.2rem;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin-top: 1.1rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-col p { color: var(--faint); font-size: 0.88rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--faint);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .capacity-grid { grid-template-columns: 1fr; }
  .capacity-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .process-track::before { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(16, 17, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.4rem 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s, visibility 0.3s;
    z-index: 99;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav > a {
    padding: 0.9rem 0.4rem;
    border-bottom: 1px dashed var(--line);
    font-size: 1rem;
  }
  .site-nav .nav-cta {
    margin-top: 1rem;
    justify-content: center;
    border-bottom: 0;
  }
  .site-header.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .stat-num { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  .stat-suffix { font-size: clamp(1.3rem, 4.5vw, 1.6rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { padding-top: clamp(2.2rem, 6vw, 3rem); }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
    gap: 0.7rem;
  }
  .hero-actions .btn { width: 100%; }
  .process-track { grid-template-columns: 1fr; }
  .strength-list { grid-template-columns: 1fr; }
  .form-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-line { font-size: 0.9rem; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-badges span { padding: 0.38rem 0.75rem; font-size: 0.74rem; }
  .brand-text { font-size: 1.1rem; }
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}
