/* =========================================================
   Alaf Textile — site styles
   Brand navy is sampled from the logo (#04316D).
   Neutrals are "greige": the colour of undyed cotton fabric.
   ========================================================= */

:root {
  /* Brand */
  --navy: #04316D;
  --navy-700: #0A3F86;
  --navy-900: #021D42;
  --navy-950: #011430;

  /* Greige neutrals */
  --greige-50: #FBF9F4;
  --greige-100: #F4F0E7;
  --greige-200: #E8E1D2;
  --greige-300: #D6CBB4;
  --greige-500: #9C8D6E;

  /* Thread accent (decorative only — rules, dots, highlights on navy) */
  --thread: #D9A441;

  /* Text */
  --ink: #0D1626;
  --ink-2: #364154;
  --muted: #586274;      /* 5.9:1 on greige-100 */
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9C7DD;

  --whatsapp: #0E7A3E;   /* white text 5.4:1 */
  --whatsapp-hover: #0B6633;

  /* Semantic */
  --bg: var(--greige-100);
  --surface: var(--greige-50);
  --border: var(--greige-200);
  --ring: #1F6FEB;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  /* Space */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(13, 22, 38, .06), 0 1px 1px rgba(13, 22, 38, .04);
  --shadow: 0 10px 30px -12px rgba(2, 29, 66, .25);
  --shadow-lg: 0 30px 60px -20px rgba(2, 29, 66, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.product-nav) { scroll-padding-top: calc(var(--header-h) + 88px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 750; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul { padding-left: 1.2em; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-navy-muted); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

/* ---------- Section heading ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--thread); }
.section--navy .kicker, .hero .kicker, .page-hero .kicker { color: #fff; }
.kicker .num { color: var(--muted); font-weight: 600; }
.section--navy .kicker .num, .hero .kicker .num, .page-hero .kicker .num { color: var(--on-navy-muted); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--row {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 680px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.section--navy .lead { color: var(--on-navy-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-900); color: #fff; box-shadow: var(--shadow); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--greige-100); color: var(--navy-900); }
.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-hover); color: #fff; box-shadow: var(--shadow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--navy);
  min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--greige-200); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--thread); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #0B4596 0%, transparent 60%), var(--navy);
  color: #fff;
  padding-block: clamp(72px, 10vw, 140px) clamp(80px, 10vw, 140px);
}
.hero::before {
  /* oversized knit loops as texture */
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/knit-line.svg");
  background-size: 120px 104px;
  opacity: .07;
  mask-image: linear-gradient(100deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 55%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--thread); }
.hero .lead { color: var(--on-navy-muted); max-width: 560px; margin-bottom: var(--space-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--space-6); color: var(--on-navy-muted); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--thread); }

/* swatch book */
.swatch-stack { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto; width: 100%; }
.swatch-card {
  position: absolute; width: 62%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--greige-200);
  transition: transform .5s var(--ease);
}
.swatch-card img { width: 100%; height: 100%; object-fit: cover; }
.swatch-card figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .82rem; font-weight: 700;
}
.swatch-card figcaption small { color: var(--muted); font-weight: 600; }
.swatch-card:nth-child(1) { left: 0; top: 14%; transform: rotate(-8deg); }
.swatch-card:nth-child(2) { left: 19%; top: 4%; transform: rotate(-1deg); z-index: 1; }
.swatch-card:nth-child(3) { right: 0; top: 18%; transform: rotate(7deg); z-index: 2; }
.swatch-stack:hover .swatch-card:nth-child(1) { transform: rotate(-11deg) translateX(-10px); }
.swatch-stack:hover .swatch-card:nth-child(3) { transform: rotate(10deg) translateX(10px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding-block: clamp(64px, 8vw, 112px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/knit-line.svg"); background-size: 96px 83px; opacity: .06;
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 900px; }
.page-hero .lead { color: var(--on-navy-muted); max-width: 680px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--on-navy-muted); margin-bottom: var(--space-5); list-style: none; padding: 0; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  margin-top: calc(-1 * clamp(48px, 6vw, 72px)); position: relative; z-index: 2;
}
.stat { padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em;
}
.stat-value small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--ink-2); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* ---------- Feature / value cards ---------- */
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); height: 100%; }
.section--surface .feature { background: var(--bg); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.section--navy .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .feature p { color: var(--on-navy-muted); }
.section--navy .icon-badge { background: var(--thread); color: var(--navy-950); }

.feature--numbered { position: relative; padding-top: 64px; }
.feature--numbered .n {
  position: absolute; top: 24px; left: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .12em; color: var(--greige-500);
}

/* ---------- Fabric cards ---------- */
.fabric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fabric-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.fabric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--greige-300); color: inherit; }
.fabric-card .swatch { aspect-ratio: 16 / 11; overflow: hidden; background: var(--greige-200); }
.fabric-card .swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fabric-card:hover .swatch img { transform: scale(1.06); }
.fabric-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fabric-card .no { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--greige-500); }
.fabric-card h3 { margin: 0; }
.fabric-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.fabric-card .link-arrow { margin-top: auto; padding-top: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; background: var(--greige-100); color: var(--ink-2); border: 1px solid var(--border);
  white-space: nowrap;
}

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--greige-300) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step .dot {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--navy); color: var(--navy);
}
.step .dot svg { width: 28px; height: 28px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.section--surface .step .dot { background: var(--surface); }

/* ---------- Audience ---------- */
.audience-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); height: 100%;
}
.audience-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.audience-card li { display: flex; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.audience-card li svg { width: 20px; height: 20px; flex: none; color: var(--navy); margin-top: 2px; }

/* ---------- Export route map ---------- */
.route-map { width: 100%; height: auto; }
.route-map .route { fill: none; stroke: var(--thread); stroke-width: 2; stroke-dasharray: 6 6; }
.route-map .node { fill: #fff; }
.route-map .hub { fill: var(--thread); }
.route-map text { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: #fff; }
.route-map text.sub { font-size: 12px; font-weight: 500; fill: var(--on-navy-muted); }
.market-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.market-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.market-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--thread); flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; border-radius: 50%;
  background: url("../img/fabrics/single-jersey.svg") center / cover; opacity: .14;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: var(--on-navy-muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Media + text ---------- */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--greige-200);
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .tag {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 700; color: var(--navy);
}
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--navy); margin-top: 2px; }
.section--navy .checklist svg { color: var(--thread); }
.section--navy .checklist li { color: #fff; }

/* ---------- Machine illustration ---------- */
.machine-art { background: linear-gradient(160deg, var(--greige-50), var(--greige-200)); }
.machine-art svg { width: 100%; height: auto; }

/* ---------- Product detail (products page) ---------- */
.product-nav {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border);
}
.product-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.product-nav ul::-webkit-scrollbar { display: none; }
.product-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  white-space: nowrap; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink-2);
}
.product-nav a:hover, .product-nav a.is-active { background: var(--navy); color: #fff; }

.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.product + .product { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--border); }
.product:nth-of-type(even) .product-visual { order: 2; }
.product-visual { position: sticky; top: calc(var(--header-h) + 90px); }
.product-visual .media-frame { aspect-ratio: 1 / 1; }
.product-visual .caption { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.product h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; padding-right: 16px; }
.spec-table td { color: var(--ink); font-weight: 600; }
.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--greige-50);
  border: 1px dashed var(--greige-300); font-size: .9rem; color: var(--ink-2);
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--navy); margin-top: 2px; }

/* ---------- Timeline (about) ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--greige-300); background: #fff; font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(4, 49, 109, .15); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .error { font-size: .85rem; color: #B42318; font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; }
.field.has-error .error { display: block; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; background: #E7F4EC; color: #0B5A2E; border: 1px solid #B8DEC6; }
.fieldset { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
.fieldset legend { font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--greige-300); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all .15s var(--ease);
}
.check-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.check-pill input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 2px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: inherit; }
.contact-item .icon-badge { margin: 0; flex: none; width: 48px; height: 48px; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong { font-size: 1.05rem; }
.map-frame { border: 0; width: 100%; height: 360px; border-radius: var(--radius-lg); filter: grayscale(.3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--navy); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-stretch: 112%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(14, 122, 62, .55);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover { color: #fff; background: var(--whatsapp-hover); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta .btn--outline { display: none; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would trap the fixed menu inside the header, so drop it while open */
  .site-header:has(.nav.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; padding: 16px 20px 32px;
    background: var(--surface); overflow-y: auto;
  }
  .nav.is-open a { min-height: 56px; font-size: 1.15rem; padding: 0 12px; border-radius: 12px; border-bottom: 1px solid var(--border); }
  .nav.is-open a[aria-current="page"]::after { display: none; }
  .nav.is-open a[aria-current="page"] { background: var(--greige-100); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split--wide-left, .product, .cta-band { grid-template-columns: 1fr; }
  .swatch-stack { margin: 16px auto 0; max-width: 420px; }
  .grid-3, .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .product-visual { position: static; }
  .product:nth-of-type(even) .product-visual { order: 0; }
  .product-visual .media-frame { aspect-ratio: 16 / 10; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand img { height: 34px; }
  .header-cta .btn--whatsapp span { display: none; }
  .header-cta .btn--whatsapp { width: 44px; padding: 0; }
  .grid-2, .grid-3, .grid-4, .fabric-grid, .values, .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .step .dot { margin: 0; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .market-list { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Photography ---------- */
.hero-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .22; mix-blend-mode: luminosity; filter: saturate(.6);
}
.hero .hero-photo { opacity: .18; mask-image: linear-gradient(100deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 75%); }
.page-hero .hero-photo { opacity: .28; mask-image: linear-gradient(90deg, transparent 15%, #000 85%); -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); }
.hero .container, .page-hero .container { z-index: 1; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--greige-200); }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.grid .gallery-item { aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: .8rem; font-weight: 700;
}
.media-frame img { display: block; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--wide { grid-column: auto; grid-row: auto; }
}

/* ---------- Video ---------- */
.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
