/*
 * WORLD KNOT TRADER — site stylesheet
 * Plain CSS port of the original Tailwind design system (src/styles.css + component classes).
 *
 * The three brand colors are CSS variables. The <head> overrides them with the
 * values saved in Admin → Settings → Theme Colors (theme_settings table).
 * Every other color derives from them.
 */

:root {
  --primary-color: #2e6130;
  --secondary-color: #202d4c;
  --third-color: #7c2622;

  --secondary-deep: color-mix(in srgb, var(--secondary-color) 82%, #000);
  --surface: oklch(0.976 0.003 250);
  --surface-strong: oklch(0.941 0.005 250);
  --background: #ffffff;
  --foreground: oklch(0.19 0.02 258);
  --muted-foreground: oklch(0.49 0.017 258);
  --border: oklch(0.9 0.008 255);
  --input: oklch(0.9 0.008 255);

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset (Tailwind preflight equivalent) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: inherit; }
ol, ul { list-style: none; }
img, svg, iframe { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; border-radius: 0; }
button { cursor: pointer; }
textarea { resize: vertical; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* ---------- Utilities ---------- */
.container { width: 100%; margin-inline: auto; max-width: 80rem; padding-inline: 1rem; }
@media (min-width: 40rem) { .container { padding-inline: 1.5rem; } }
@media (min-width: 64rem) { .container { padding-inline: 2rem; } }
.container--narrow { max-width: 48rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--primary-color); color: #fff; padding: .75rem 1rem; font-size: .875rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-full { width: 100%; object-fit: cover; }
.min-w-0 { min-width: 0; }
.break-all { word-break: break-all; }
.text-brand { color: var(--primary-color); }
.text-signal { color: var(--third-color); }
.text-white { color: #fff; }
.bg-white { background: var(--background); }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--secondary-color); }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon--14 { width: .875rem; height: .875rem; }
.icon--16 { width: 1rem; height: 1rem; }
.icon--20 { width: 1.25rem; height: 1.25rem; }

.grid-pattern {
  background-image:
    linear-gradient(color-mix(in srgb, currentColor 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, currentColor 8%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow__line { display: inline-block; height: 1px; width: 2rem; background: var(--third-color); flex-shrink: 0; }
.eyebrow__line--lg { width: 2.5rem; }
.eyebrow--hero { display: flex; align-items: center; gap: .75rem; color: rgb(255 255 255 / .7); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .875rem; line-height: 1.25rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn--h13 { height: 3.25rem; padding-inline: 2rem; }
.btn--h12 { height: 3rem; padding-inline: 1.75rem; }
.btn--h11 { height: 2.75rem; padding-inline: 1.5rem; font-size: .75rem; line-height: 1rem; }
.btn--h10 { height: 2.5rem; padding-inline: 1rem; font-size: .75rem; line-height: 1rem; }
.btn--px7 { padding-inline: 1.75rem; }
.btn--brand { background: var(--primary-color); color: #fff; }
.btn--brand:hover { background: color-mix(in oklab, var(--primary-color) 90%, transparent); }
.btn--brand:disabled { opacity: .6; cursor: default; }
.btn--ghost { border: 1px solid rgb(255 255 255 / .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .1); }
.btn--outline { border: 1px solid var(--secondary-color); color: var(--secondary-color); }
.btn--outline:hover { background: var(--secondary-color); color: #fff; }

/* ---------- Header ---------- */
.site { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; background: var(--background); }
.site-main { flex: 1; }

.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
html:not(.js) .site-header,
.site-header.is-solid { background: var(--secondary-color); box-shadow: 0 1px 0 0 color-mix(in srgb, white 12%, transparent); }

.topbar { display: none; border-bottom: 1px solid rgb(255 255 255 / .1); color: rgb(255 255 255 / .7); transition: all .15s var(--ease); }
@media (min-width: 64rem) { .topbar { display: block; } }
.site-header.is-scrolled .topbar { height: 0; overflow: hidden; opacity: 0; }
.topbar__inner { display: flex; height: 2.5rem; align-items: center; justify-content: space-between; font-size: .75rem; line-height: 1rem; }
.topbar__contacts { display: flex; align-items: center; gap: 1.25rem; }
.topbar__contacts a:hover { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: .5rem; }

.header__bar { display: grid; height: 4.5rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.brand { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.brand__logo { width: 2.75rem; height: 2.75rem; flex-shrink: 0; object-fit: contain; }
.brand__text { min-width: 0; }
.brand__name {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-display); font-size: 1rem; line-height: 1; font-weight: 800;
  letter-spacing: -0.025em; color: #fff; text-transform: uppercase;
}
.brand__tag { margin-top: .25rem; display: none; font-size: .65rem; letter-spacing: .2em; color: rgb(255 255 255 / .55); text-transform: uppercase; }
@media (min-width: 40rem) { .brand__name { font-size: 1.125rem; } .brand__tag { display: block; } }

.nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 80rem) { .nav { display: flex; } }
.nav__link {
  position: relative; padding: .5rem .75rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  color: rgb(255 255 255 / .75); transition: color .15s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: .125rem;
  background: var(--third-color); transform: scaleX(0); transform-origin: left; transition: transform .15s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta {
  margin-left: .75rem; display: inline-flex; height: 2.5rem; align-items: center; padding-inline: 1.25rem;
  background: var(--primary-color); color: #fff; font-size: .875rem; line-height: 1.25rem; font-weight: 600;
  letter-spacing: .025em; text-transform: uppercase; transition: background-color .15s var(--ease);
}
.nav__cta:hover { background: color-mix(in oklab, var(--primary-color) 90%, transparent); }

.menu-toggle { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / .2); color: #fff; }
@media (min-width: 80rem) { .menu-toggle { display: none; } }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.mobile-menu { border-top: 1px solid rgb(255 255 255 / .1); background: var(--secondary-color); max-height: calc(100vh - 4.5rem); overflow-y: auto; }
@media (min-width: 80rem) { .mobile-menu { display: none !important; } }
.mobile-menu__nav { display: flex; flex-direction: column; padding-block: 1rem; }
.mobile-menu__link { border-left: 2px solid transparent; padding: .75rem 0 .75rem 1rem; font-size: 1rem; line-height: 1.5rem; font-weight: 500; color: rgb(255 255 255 / .8); }
.mobile-menu__link.is-active { color: #fff; border-left-color: var(--third-color); }
.mobile-menu__cta {
  margin-top: 1rem; display: inline-flex; height: 3rem; align-items: center; justify-content: center;
  background: var(--primary-color); color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase;
}
.mobile-menu__info { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 1.25rem; font-size: .875rem; color: rgb(255 255 255 / .7); }

/* ---------- Social icons ---------- */
.social { display: flex; align-items: center; gap: .5rem; }
.social__link {
  display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border: 1px solid rgb(255 255 255 / .2); color: rgb(255 255 255 / .7);
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.social__link:hover { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
.social--topbar { gap: .25rem; }
.social--topbar .social__link { width: 1.75rem; height: 1.75rem; }
.social--mobile { padding-top: .25rem; }
.social--footer { margin-top: 1.5rem; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
  min-height: 92vh; padding-top: 7rem; padding-bottom: 4rem; background: var(--secondary-deep);
}
.hero__img, .page-hero__img { position: absolute; inset: 0; z-index: -10; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -10;
  background-image: linear-gradient(to right, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 85%, transparent) 50%, color-mix(in oklab, var(--secondary-deep) 35%, transparent) 100%);
  background-image: linear-gradient(to right in oklab, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 85%, transparent) 50%, color-mix(in oklab, var(--secondary-deep) 35%, transparent) 100%);
}
.hero__title {
  margin-top: 1.5rem; max-width: 56rem; font-size: 2.25rem; line-height: 1.03; font-weight: 800;
  text-wrap: balance; color: #fff; text-transform: uppercase;
}
.hero__text { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: rgb(255 255 255 / .75); }
.hero__actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
.hero__trust {
  margin-top: 3rem; display: grid; column-gap: 1.5rem; row-gap: .75rem;
  border-top: 1px solid rgb(255 255 255 / .15); padding-top: 1.5rem;
}
.hero__trust li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .75); }
@media (min-width: 40rem) {
  .hero__title { font-size: 3rem; }
  .hero__text { font-size: 1.125rem; }
  .hero__actions { flex-direction: row; }
  .hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .hero__title { font-size: 3.75rem; }
  .hero__trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 80rem) { .hero__title { font-size: 4.5rem; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 46vh; padding-top: 7rem; padding-bottom: 3rem; background: var(--secondary-deep);
}
.page-hero__img { opacity: .35; }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -10;
  background-image: linear-gradient(to right, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 85%, transparent) 50%, color-mix(in oklab, var(--secondary-deep) 40%, transparent) 100%);
  background-image: linear-gradient(to right in oklab, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 85%, transparent) 50%, color-mix(in oklab, var(--secondary-deep) 40%, transparent) 100%);
}
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .75rem; line-height: 1rem; letter-spacing: .05em; color: rgb(255 255 255 / .55); text-transform: uppercase; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__current { color: rgb(255 255 255 / .85); }
.page-hero .eyebrow--hero { margin-top: 0; }
.page-hero__title {
  margin-top: 1rem; max-width: 56rem; font-size: 2.25rem; line-height: 1.05; font-weight: 800;
  text-wrap: balance; color: #fff; text-transform: uppercase; overflow-wrap: anywhere;
}
.page-hero__text { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.5rem; color: rgb(255 255 255 / .7); }
@media (min-width: 40rem) {
  .page-hero { min-height: 52vh; padding-top: 8rem; padding-bottom: 4rem; }
  .page-hero__title { font-size: 3rem; }
  .page-hero__text { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 64rem) { .page-hero__title { font-size: 3.75rem; } }

/* ---------- Sections & headings ---------- */
.section { padding-block: 4rem; }
@media (min-width: 64rem) { .section { padding-block: 6rem; } .section--20 { padding-block: 5rem; } }

.sh { max-width: 48rem; }
.sh--center { margin-inline: auto; text-align: center; }
.sh__eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--primary-color); }
.sh--center .sh__eyebrow { justify-content: center; }
.sh--light .sh__eyebrow { color: rgb(255 255 255 / .8); }
.sh__title {
  margin-top: .75rem; font-size: 1.875rem; line-height: 1.08; font-weight: 800;
  text-wrap: balance; text-transform: uppercase; color: var(--secondary-color);
}
.sh--light .sh__title { color: #fff; }
.sh__desc { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.sh--light .sh__desc { color: rgb(255 255 255 / .7); }
@media (min-width: 40rem) { .sh__title { font-size: 2.25rem; } }
@media (min-width: 64rem) { .sh__title { font-size: 2.75rem; } }

.lead { margin-top: 1.25rem; line-height: 1.625; color: var(--muted-foreground); }
.lead.mt-4 { margin-top: 1rem; }

.head-row { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .head-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

.split { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 64rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.split__img-first { order: 9999; }
@media (min-width: 64rem) { .split__img-first { order: -9999; } }
.narrow { max-width: 48rem; }
.stack > * + * { margin-top: 4rem; }
@media (min-width: 64rem) { .stack > * + * { margin-top: 6rem; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid > * { min-width: 0; }
@media (min-width: 40rem) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Home: about block ---------- */
.about-media { position: relative; }
.about-media__badge { position: absolute; right: -.75rem; bottom: -.75rem; display: none; background: var(--secondary-color); padding: 1.5rem; color: #fff; }
.about-media__badge p { font-size: .75rem; line-height: 1rem; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.about-media__badge p.text-signal { color: var(--third-color); }
@media (min-width: 40rem) { .about-media__badge { display: block; } }

.bullets { margin-top: 1.75rem; display: grid; gap: .75rem; }
@media (min-width: 40rem) { .bullets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bullets li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; line-height: 1.25rem; color: var(--foreground); }
.bullets__dot { margin-top: .5rem; display: block; width: .375rem; height: .375rem; flex-shrink: 0; background: var(--third-color); }

.link-underline {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .5rem;
  border-bottom: 2px solid var(--primary-color); padding-bottom: .25rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: .1em; color: var(--primary-color); text-transform: uppercase;
}

/* ---------- Cards ---------- */
.card { display: flex; height: 100%; flex-direction: column; border: 1px solid var(--border); background: var(--background); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-strong); }
.card__media img, .industry__media img { width: 100%; height: 100%; object-fit: cover; }
.zoom { transition: transform .5s var(--ease); }
.group:hover .zoom { transform: scale(1.05); }
.nudge { transition: transform .15s var(--ease); }
.group:hover .nudge { transform: translateX(.25rem); }
.card__flag { position: absolute; top: 0; left: 0; height: .25rem; width: 4rem; background: var(--third-color); }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.card__body--lg { padding: 1.5rem; }
.card__title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; color: var(--secondary-color); text-transform: uppercase; }
.card__text { margin-top: .75rem; flex: 1; font-size: .875rem; line-height: 1.625; color: var(--muted-foreground); }
.card__text--sm { margin-top: .5rem; }
.card__more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--primary-color); text-transform: uppercase; align-self: flex-start; }
.card__sku { font-size: .75rem; line-height: 1rem; letter-spacing: .1em; color: var(--muted-foreground); text-transform: uppercase; }
.card__name { margin-top: .5rem; font-size: 1rem; line-height: 1.375; font-weight: 700; color: var(--secondary-color); }
.card__meta { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: .5rem; border-top: 1px solid var(--border); padding-top: 1rem; font-size: .75rem; line-height: 1rem; }
.card__meta > div { min-width: 0; }
.card__meta dt { color: var(--muted-foreground); }
.card__meta dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--foreground); }
.card__meta dd.text-brand { color: var(--primary-color); }
.card__cta { margin-top: 1.25rem; }
.badge-featured { position: absolute; top: .75rem; left: .75rem; background: var(--third-color); padding: .25rem .5rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: #fff; text-transform: uppercase; }
.reveal > .card, .grid-item > .card { height: 100%; }
.grid > .reveal, .grid > .grid-item { height: 100%; }

.industry { position: relative; overflow: hidden; border: 1px solid var(--border); }
.industry__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-strong); }
.industry__overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(to top, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 55%, transparent) 50%, transparent 100%);
  background-image: linear-gradient(to top in oklab, var(--secondary-deep) 0%, color-mix(in oklab, var(--secondary-deep) 55%, transparent) 50%, transparent 100%);
}
.industry__body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; }
.industry__bar { display: block; height: .125rem; width: 2.5rem; background: var(--third-color); }
.industry__title { margin-top: .75rem; font-size: 1rem; line-height: 1.5rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.industry__text { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: rgb(255 255 255 / .75); }

/* ---------- Why us grid ---------- */
.why-grid { display: grid; gap: 1px; background: var(--border); }
.why-grid--light { background: rgb(255 255 255 / .15); }
@media (min-width: 40rem) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-grid > .reveal { display: flex; }
.why-grid__item { flex: 1; height: 100%; padding: 1.75rem; background: var(--background); }
.why-grid--light .why-grid__item { background: var(--secondary-color); }
.why-grid__icon { width: 2rem; height: 2rem; color: var(--primary-color); }
.why-grid--light .why-grid__icon { color: var(--third-color); }
.why-grid__title { margin-top: 1.25rem; font-size: 1rem; line-height: 1.5rem; font-weight: 700; text-transform: uppercase; color: var(--secondary-color); }
.why-grid--light .why-grid__title { color: #fff; }
.why-grid__text { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--muted-foreground); }
.why-grid--light .why-grid__text { color: rgb(255 255 255 / .7); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps__item { position: relative; border-top: 2px solid color-mix(in oklab, var(--secondary-color) 15%, transparent); padding-top: 1.5rem; }
.steps__num { position: absolute; top: -1.5rem; left: 0; font-family: var(--font-sans); font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; color: color-mix(in oklab, var(--secondary-color) 15%, transparent); }
.steps__bar { position: absolute; top: -.125rem; left: 0; height: .25rem; width: 3rem; transform: translateY(-50%); background: var(--third-color); }
.steps__title { font-size: 1rem; line-height: 1.5rem; font-weight: 700; color: var(--secondary-color); text-transform: uppercase; }
.steps__text { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--secondary-color); color: #fff; }
.cta__grid { position: absolute; inset: 0; color: #fff; opacity: .4; }
.cta__bar { position: absolute; top: 0; bottom: 0; left: 0; width: .25rem; background: var(--third-color); }
.cta__inner { position: relative; display: grid; gap: 2rem; padding-block: 3.5rem; }
.cta__title { font-size: 1.875rem; line-height: 1.25; font-weight: 800; text-wrap: balance; text-transform: uppercase; }
.cta__text { margin-top: 1rem; max-width: 42rem; color: rgb(255 255 255 / .7); }
.cta__actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 40rem) { .cta__title { font-size: 2.25rem; } .cta__actions { flex-direction: row; } }
@media (min-width: 64rem) {
  .cta__inner { grid-template-columns: 1.4fr 1fr; align-items: center; padding-block: 4.5rem; }
  .cta__actions { justify-content: flex-end; }
}

/* ---------- Contact ---------- */
.contact-split { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) {
  .contact-split { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .contact-split--home { grid-template-columns: 1fr 1.2fr; }
}
.contact-split > * { min-width: 0; }
.panel-box { border: 1px solid var(--border); background: var(--background); padding: 1.5rem; }
@media (min-width: 40rem) { .panel-box { padding: 2rem; } }
.panel-box__title { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--secondary-color); text-transform: uppercase; }
.panel-box__note { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted-foreground); }

.info-cards { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info-cards__item { display: flex; min-width: 0; gap: .75rem; border: 1px solid var(--border); background: var(--background); padding: 1.25rem; }
.info-cards__icon { margin-top: .125rem; }
.info-cards__label { font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .05em; color: var(--muted-foreground); text-transform: uppercase; }
.info-cards__value { margin-top: .25rem; display: block; font-size: .875rem; line-height: 1.25rem; font-weight: 500; overflow-wrap: break-word; color: var(--secondary-color); }
.info-cards__value--link:hover { color: var(--primary-color); }

.map { margin-top: 1.5rem; border: 1px solid var(--border); }
.map iframe { height: 18rem; width: 100%; border: 0; }

/* ---------- Forms ---------- */
.contact-form { width: 100%; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: span 2 / span 2; } }
.field > label { margin-bottom: .375rem; display: block; font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .05em; color: var(--secondary-color); text-transform: uppercase; }
.req { color: var(--third-color); }
.input {
  height: 2.75rem; width: 100%; border: 1px solid var(--input); background: var(--background);
  padding-inline: .75rem; font-size: .875rem; line-height: 1.25rem; color: var(--foreground);
  outline: none; transition: border-color .15s var(--ease);
}
.input:focus { border-color: var(--primary-color); }
select.input { -webkit-appearance: auto; appearance: auto; }
.textarea { height: auto; padding: .75rem; }
.input[aria-invalid="true"] { border-color: var(--third-color); }
.field__error { margin-top: .25rem; font-size: .75rem; line-height: 1rem; color: var(--third-color); }
.contact-form__submit { margin-top: 1.5rem; width: 100%; padding-inline: 2rem; }
@media (min-width: 40rem) { .contact-form__submit { width: auto; } }
.contact-form__note { margin-top: .75rem; font-size: .75rem; line-height: 1rem; color: var(--muted-foreground); }

/* ---------- Products catalogue ---------- */
.filters { margin-top: 2rem; display: grid; gap: .75rem; border: 1px solid var(--border); background: var(--background); padding: 1rem; }
@media (min-width: 40rem) { .filters { grid-template-columns: minmax(0, 1fr) auto; } .filters__select { width: 16rem; } }
.filters__search { position: relative; min-width: 0; }
.filters__search .input { padding-left: 2.25rem; }
.filters__icon { pointer-events: none; position: absolute; top: 50%; left: .75rem; transform: translateY(-50%); color: var(--muted-foreground); }
.results-count { margin-top: 1rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.empty { border: 1px dashed var(--border); padding: 3rem; text-align: center; }
.empty__title { font-weight: 600; color: var(--secondary-color); }
.empty__text { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.empty__text a, .empty__link { font-weight: 600; color: var(--primary-color); text-decoration: underline; }
.empty__link { margin-top: .75rem; display: inline-block; }

/* ---------- Product detail ---------- */
.product { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .product { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.product > * { min-width: 0; }
.product__main { width: 100%; border: 1px solid var(--border); object-fit: cover; }
.product__thumbs { margin-top: .75rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.product__thumb { display: block; padding: 0; }
.product__thumb img { aspect-ratio: 4 / 3; width: 100%; border: 1px solid var(--border); object-fit: cover; transition: border-color .15s var(--ease); }
.product__thumb:hover img, .product__thumb.is-active img { border-color: var(--primary-color); }
.product__title { margin-top: .5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 800; color: var(--secondary-color); text-transform: uppercase; }
@media (min-width: 40rem) { .product__title { font-size: 1.875rem; line-height: 2.25rem; } }
.product__details { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--border); background: var(--border); font-size: .875rem; line-height: 1.25rem; }
.product__details > div { background: var(--background); padding: 1rem; min-width: 0; }
.product__details dt { font-size: .75rem; line-height: 1rem; letter-spacing: .05em; color: var(--muted-foreground); text-transform: uppercase; }
.product__details dd { margin-top: .25rem; font-weight: 600; overflow-wrap: break-word; color: var(--secondary-color); }
.mini-title { font-family: var(--font-display); font-size: .875rem; line-height: 1.25rem; font-weight: 700; letter-spacing: .1em; color: var(--secondary-color); text-transform: uppercase; }
.specs { margin-top: .75rem; border-block: 1px solid var(--border); }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; padding-block: .625rem; font-size: .875rem; line-height: 1.25rem; }
.specs > div + div { border-top: 1px solid var(--border); }
.specs dt { color: var(--muted-foreground); }
.specs dd { font-weight: 500; color: var(--foreground); }
.product__apps { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--muted-foreground); }
.product__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 40rem) { .product__actions { flex-direction: row; } }

/* ---------- Footer ---------- */
.footer { background: var(--secondary-deep); color: rgb(255 255 255 / .7); }
.footer__grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 40rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 4rem; } }
.footer__grid > * { min-width: 0; }
.footer__brand { display: flex; align-items: center; gap: .75rem; }
.footer__logo { width: 3rem; height: 3rem; object-fit: contain; }
.footer__name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; font-weight: 800; color: #fff; text-transform: uppercase; }
.footer__text { margin-top: 1.25rem; font-size: .875rem; line-height: 1.625; }
.footer__title { color: #fff; }
.footer__title--spaced { margin-top: 2rem; }
.footer__list { margin-top: 1.25rem; font-size: .875rem; line-height: 1.25rem; }
.footer__list > li + li { margin-top: .75rem; }
.footer__list--tight { margin-top: 1rem; }
.footer__list--tight > li + li { margin-top: .5rem; }
.footer__list a { transition: color .15s var(--ease); }
.footer__list a:hover, .footer__contact a:hover, .footer__bottom a:hover { color: #fff; }
.footer__contact { margin-top: 1.25rem; font-size: .875rem; line-height: 1.25rem; }
.footer__contact > li { display: flex; gap: .75rem; }
.footer__contact > li + li { margin-top: 1rem; }
.footer__icon { margin-top: .125rem; color: var(--third-color); }
.footer__stack { display: flex; flex-direction: column; }
.footer__wa {
  margin-top: 1.5rem; display: inline-flex; height: 2.75rem; align-items: center; justify-content: center;
  border: 1px solid var(--primary-color); padding-inline: 1.25rem; font-size: .875rem; font-weight: 600;
  letter-spacing: .025em; color: #fff; text-transform: uppercase; transition: background-color .15s var(--ease);
}
.footer__wa:hover { background: var(--primary-color); }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.footer__bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; font-size: .75rem; line-height: 1rem; text-align: center; }
.footer__bottom a { transition: color .15s var(--ease); }
@media (min-width: 40rem) { .footer__bottom-inner { flex-direction: row; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: inline-flex; width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--primary-color); color: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  transition: transform .2s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.05); }
.wa-float__icon { width: 1.75rem; height: 1.75rem; }
@media (min-width: 40rem) { .wa-float { right: 1.5rem; bottom: 1.5rem; } }

/* ---------- Toasts (sonner-style, top-center, rich colors) ---------- */
.toaster { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; width: min(356px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 16px; border-radius: 8px;
  border: 1px solid hsl(0 0% 93%); background: #fff; color: hsl(0 0% 9%);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 13px; line-height: 1.4;
  box-shadow: 0 4px 12px rgb(0 0 0 / .1);
  animation: toast-in .4s ease;
}
.toast svg { width: 20px; height: 20px; flex-shrink: 0; margin-right: 4px; }
.toast--success { background: hsl(143 85% 96%); border-color: hsl(145 92% 87%); color: hsl(140 100% 27%); }
.toast--error { background: hsl(359 100% 97%); border-color: hsl(359 100% 94%); color: hsl(360 100% 45%); }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--background); padding-inline: 1rem; }
.notfound__box { max-width: 28rem; text-align: center; }
.notfound__code { font-size: 4.5rem; line-height: 1; font-weight: 700; color: var(--foreground); }
.notfound__title { margin-top: 1rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--foreground); }
.notfound__text { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.notfound__btn { display: inline-flex; align-items: center; justify-content: center; border-radius: calc(.25rem - 2px); background: var(--primary-color); padding: .5rem 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #fff; transition: background-color .15s var(--ease); }
.notfound__btn:hover { background: color-mix(in oklab, var(--primary-color) 90%, transparent); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
