/* Filora Industries Ltd. — site styles */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #001a4d;
  --navy-2: #0c2d6b;
  --red: #d4111f;
  --red-2: #ad0c18;
  --ink: #0d1830;
  --muted: #4c5770;
  --paper: #f3f5f9;
  --line: #d6dce7;
  --white: #ffffff;
  --wa: #157f43;
  --wa-2: #0f6634;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 4px;
  --slant: 10deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
p { margin: 0 0 1em; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
h1 { font-weight: 800; font-size: clamp(44px, 7vw, 92px); line-height: 0.94; }
h2 { font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; }
h3 { font-family: var(--font); font-weight: 700; font-size: 21px; line-height: 1.25; }
h4 { font-family: var(--font); font-weight: 600; font-size: 17px; line-height: 1.3; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-paper { background: var(--paper); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }

/* the red rule used under headings, echoing the profile */
.rule { display: block; width: 72px; height: 4px; background: var(--red); margin: 18px 0 22px; border: 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { margin-top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 600 16px/1.1 var(--font); letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--paper); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-strong { font-weight: 600; text-decoration-thickness: 2px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d3e8; font-size: 14px; }
.topbar-in { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar a { color: #e6ecf7; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-mail { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.topbar-mail svg { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { height: 50px; width: auto; }
.brand-word { height: 34px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 10px 12px; border-radius: var(--radius); position: relative;
}
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); }
.site-nav a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--red);
}
.nav-cta { margin-left: 12px; min-height: 44px; padding: 10px 18px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .topbar-in { gap: 16px; }
  .topbar-in a:nth-child(2) { display: none; }
  .header-in { min-height: 66px; }
  .brand-mark { height: 42px; }
  .brand-word { height: 28px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: var(--radius);
    font: 600 15px var(--font); padding: 8px 14px; cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px -18px rgba(0, 26, 77, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .site-nav a[aria-current="page"]:not(.btn)::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
  .nav-cta { margin: 16px 0 0; }
}
@media (max-width: 420px) {
  .brand-word { height: 24px; }
  .brand-mark { height: 38px; }
  .topbar { font-size: 13px; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; min-height: min(78vh, 720px); }
.hero-copy { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-copy h1 { max-width: 11ch; }
.hero-copy h1 span { display: block; color: var(--red); }
.hero-copy .lead { margin: 26px 0 34px; color: var(--muted); }
.hero-media { position: relative; margin-right: calc(var(--gutter) * -1); }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: var(--red);
  clip-path: polygon(calc(30% - 34px) 0, calc(30% - 18px) 0, -18px 100%, -34px 100%);
}
@media (min-width: 1300px) {
  .hero-media { margin-right: calc((100vw - var(--wrap)) / -2); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 0 36px; }
  .hero-media { margin: 0 calc(var(--gutter) * -1); height: 340px; }
  .hero-media img { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); object-position: 40% 60%; }
  .hero-media::before { clip-path: polygon(0 calc(12% - 16px), 100% -16px, 100% -6px, 0 calc(12% - 6px)); }
  }

/* ---------- product overview (home) ---------- */
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.product-tile { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.product-tile .tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.product-tile .tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-tile:hover .tile-img img { transform: scale(1.03); }
.product-tile .tile-body { padding-top: 18px; }
.product-tile h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1.02; }
.product-tile p { color: var(--muted); margin: 10px 0 14px; max-width: 52ch; }
.product-tile .more { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.product-tile:hover .more { color: var(--red); }
.product-tile:hover h3 { color: var(--red); }

.product-feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.product-feature .tile-img { aspect-ratio: 16 / 11; }
.product-feature .tile-body { padding-top: 0; }
.product-feature h3 { font-size: clamp(34px, 4vw, 48px); }
.brand-note { font-weight: 600; color: var(--red); margin: 0 0 6px; }
@media (max-width: 760px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-feature { grid-template-columns: 1fr; }
  .product-feature .tile-body { padding-top: 4px; }
}

/* spec tags: real counts, deniers, finishes */
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.specs li { font-size: 14.5px; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: 3px; }
.section-paper .specs li { background: #fff; }

/* ---------- customisation band ---------- */
.band-navy { background: var(--navy); color: #dfe6f4; position: relative; overflow: hidden; }
.band-navy h2 { color: #fff; }
.band-navy .lead { color: #c6d1e8; }
.custom-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.custom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.custom-list li { padding: 18px 0 18px 26px; border-top: 1px solid rgba(255,255,255,.16); font-size: 19px; font-weight: 500; color: #fff; position: relative; }
.custom-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; background: var(--red); transform: skewX(calc(var(--slant) * -2)); }
@media (max-width: 860px) {
  .custom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .custom-list { grid-template-columns: 1fr; } }

/* ---------- MD quote strip ---------- */
.md-strip { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.md-strip img { border-radius: var(--radius); border: 1px solid var(--line); }
.quote-big { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; text-transform: uppercase; color: var(--navy); margin: 0 0 18px; }
.quote-big span { display: block; }
.quote-big span:last-child { color: var(--red); }
.sign { margin: 18px 0 0; line-height: 1.4; }
.sign strong { display: block; color: var(--ink); }
@media (max-width: 640px) {
  .md-strip { grid-template-columns: 1fr; }
  .md-strip img { width: 160px; }
}

/* ---------- factory + CTA ---------- */
.factory { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.factory figure { margin: 0; }
.factory img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.factory figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.addr-list { display: grid; gap: 18px; margin: 24px 0 30px; }
.addr-list h3 { font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 2px; }
@media (max-width: 860px) { .factory { grid-template-columns: 1fr; } }

/* ---------- page header (inner pages) ---------- */
.page-head { background: var(--paper); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); max-width: 16ch; }
.page-head h1 span { color: var(--red); display: block; }
.page-head .lead { margin: 20px 0 0; }
.page-head::before, .page-head::after {
  content: ""; position: absolute; top: 0; bottom: 0; transform: skewX(calc(var(--slant) * -2)); transform-origin: top;
}
.page-head::before { right: 70px; width: 12px; background: var(--red); }
.page-head::after { right: -80px; width: 140px; background: var(--navy); }
@media (max-width: 760px) {
  .page-head::before { right: 24px; width: 8px; }
  .page-head::after { right: -70px; width: 80px; }
}

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.glance { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.glance h2 { color: #fff; font-size: 32px; margin-bottom: 18px; }
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font-size: 14px; color: #9fb0d3; font-weight: 600; }
.glance dd { margin: 2px 0 0; line-height: 1.45; }
.glance a { color: #fff; }
.glance a:hover { color: #ffd2d5; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.mv > div { border-top: 4px solid var(--navy); padding-top: 20px; }
.mv > div:last-child { border-top-color: var(--red); }
.mv p { font-size: 19px; margin: 12px 0 0; }
@media (max-width: 700px) { .mv { grid-template-columns: 1fr; } }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values li { padding: 26px 24px 26px 0; }
.values li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.values svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 12px; }
.values p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 22px 0; border-left: 0; }
  .values li + li { border-top: 1px solid var(--line); }
}
.md-letter { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.md-letter img { border-radius: var(--radius); border: 1px solid var(--line); position: sticky; top: 110px; }
.md-letter .body { max-width: 66ch; }
@media (max-width: 760px) {
  .md-letter { grid-template-columns: 1fr; }
  .md-letter img { position: static; width: 180px; }
}
.wide-figure { margin: 0; }
.wide-figure img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.wide-figure figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }

/* ---------- products page ---------- */
.prod-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.prod-nav { position: sticky; top: 104px; }
.prod-nav h2 { font-family: var(--font); text-transform: none; font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 10px; letter-spacing: 0; }
.prod-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.prod-nav ul a { display: block; padding: 9px 0 9px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.prod-nav ul a:hover { color: var(--red); }
.prod-nav ul a.is-active { border-left-color: var(--red); color: var(--navy); }
.prod-nav .btn { margin-top: 22px; width: 100%; }
@media (max-width: 960px) {
  .prod-layout { grid-template-columns: 1fr; }
  .prod-nav { position: static; }
  .prod-nav ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .prod-nav ul a { border: 1px solid var(--line); border-radius: 3px; margin: 0; padding: 8px 12px; font-size: 15px; }
  .prod-nav .btn { display: none; }
}
.prod { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prod:first-child { border-top: 0; padding-top: 0; }
.prod-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.prod-intro img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.prod-intro h2 { font-size: clamp(36px, 4.4vw, 56px); }
.prod-intro .lead { margin: 16px 0 20px; }
@media (max-width: 760px) {
  .prod-intro { grid-template-columns: 1fr; }
  .prod-intro img { aspect-ratio: 4 / 3; }
}
.prod-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 4vw, 44px); }
.prod-cols h3 { font-size: 18px; margin-bottom: 12px; }
@media (max-width: 760px) { .prod-cols { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); }
.varieties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(32px, 4vw, 44px) 0 0; padding: 0; list-style: none; }
.varieties.v3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.varieties figure { margin: 0; }
.varieties img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.varieties.round img { border-radius: 50%; }
.varieties figcaption { font-weight: 600; font-size: 15.5px; margin-top: 10px; line-height: 1.3; }
.varieties figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .varieties, .varieties.v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-h { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--navy); margin: clamp(32px, 4vw, 44px) 0 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; list-style: none; padding: 0; margin: 14px 0 0; }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: inline-block; flex: none; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.uses li { border: 1px solid var(--line); padding: 6px 12px; border-radius: 3px; font-size: 15.5px; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: clamp(32px, 4vw, 44px); }
.pack-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--paper); margin-bottom: 14px; }
.pack-grid h3 { margin-bottom: 8px; }
.pack-grid p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .pack-grid { grid-template-columns: 1fr; } .pack-grid > div { display: grid; grid-template-columns: 140px 1fr; gap: 0 20px; } .pack-grid img { grid-row: span 3; } }
@media (max-width: 480px) { .pack-grid > div { grid-template-columns: 1fr; } .pack-grid img { width: 100%; grid-row: auto; } }
.prod-cta { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.tabs button {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
  font: 700 18px var(--font); color: var(--muted); padding: 12px 18px 12px 0; margin-right: 18px; cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--red); }
.tabs button:hover { color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); padding: 0; }
.field .hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #b9c2d3; border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 26, 77, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.checks label, .rating label { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 0; cursor: pointer; padding: 6px 0; }
.checks input, .rating input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.rating { display: flex; flex-wrap: wrap; gap: 8px; }
.rating label { border: 1.5px solid #b9c2d3; border-radius: var(--radius); padding: 10px 14px; }
.rating label:has(input:checked) { border-color: var(--navy); background: var(--paper); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-error { color: var(--red); font-weight: 600; margin: 0; }
.panel[hidden] { display: none; }
.result { scroll-margin-top: 110px; border-left: 5px solid var(--red); background: var(--paper); padding: 26px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.result h2 { font-size: 36px; margin-bottom: 10px; }
.result .ref { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--navy); letter-spacing: .02em; margin: 6px 0 12px; }
.result .preview-flag { font-size: 14px; font-weight: 600; color: var(--red-2); }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0 20px; font-size: 15.5px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; white-space: pre-wrap; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-box + .aside-box { margin-top: 20px; }
.aside-box h2 { font-size: 30px; margin-bottom: 10px; }
.aside-box p { color: var(--muted); }
.contact-lines { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; }
.contact-lines svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.contact-lines a { font-weight: 600; }

/* ---------- WhatsApp page ---------- */
.wa-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .wa-hero { grid-template-columns: 1fr; } }
.wa-number { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 46px); color: var(--navy); margin: 0 0 18px; letter-spacing: .01em; }
.qr-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; background: #fff; max-width: 340px; }
.qr-box img { width: 220px; height: 220px; margin: 0 auto 14px; }
.qr-box p { font-size: 15px; color: var(--muted); margin: 0; }
.starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 640px) { .starters { grid-template-columns: 1fr; } }
.starters a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; height: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--ink); background: #fff;
  transition: border-color .15s ease;
}
.starters a:hover { border-color: var(--wa); color: var(--ink); }
.starters strong { font-size: 19px; color: var(--navy); }
.starters span { color: var(--muted); font-size: 15.5px; grid-column: 1; }
.starters svg { width: 26px; height: 26px; color: var(--wa); grid-row: 1 / span 2; grid-column: 2; }
.include-list { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .include-list { columns: 1; } }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ways > div { padding: 26px 24px 26px 0; }
.ways > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ways h3 { font-size: 18px; margin-bottom: 8px; }
.ways p { margin: 0 0 6px; }
@media (max-width: 860px) {
  .ways { grid-template-columns: 1fr; }
  .ways > div, .ways > div + div { padding: 22px 0; border-left: 0; }
  .ways > div + div { border-top: 1px solid var(--line); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d3e8; position: relative; margin-top: 0; font-size: 16px; }
.footer-cut { height: 10px; background: linear-gradient(100deg, var(--red) 0 38%, transparent 38.1%), var(--navy); border-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 44px; }
.footer-brand .brand-mark { height: 56px; }
.footer-brand .brand-word { height: 36px; }
.footer-brand p { margin: 18px 0 0; max-width: 34ch; }
.site-footer h2 { font-family: var(--font); text-transform: none; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; margin: 0 0 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffc9cd; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 28px; font-size: 14.5px; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom nav a { text-decoration: none; color: #c9d3e8; }
.footer-bottom nav a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  background: var(--wa); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}
.wa-float:hover { background: var(--wa-2); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
.page-whatsapp .wa-float { display: none; }

/* 404 */
.notfound { text-align: left; padding: clamp(72px, 12vw, 140px) 0; }

@media print {
  .topbar, .site-header, .wa-float, .site-footer, .prod-nav { display: none !important; }
}
