/* Adapticx — site styles. One file, no build step. */

/* Inter (SIL Open Font License 1.1, see assets/fonts/OFL.txt). Latin subset, variable weight and optical size. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #0b1430;
  --ink-2: #3d4766;
  --ink-3: #6a7390;
  --bg: #ffffff;
  --tint: #f5f6fa;
  --line: #e3e6ef;
  --navy: #0a1a8c;        /* logo wordmark */
  --navy-deep: #070f3d;
  --violet: #5b2a86;      /* logo gradient top */
  --cyan: #1fc4da;        /* logo gradient bottom */
  --rex: #3ddbb4;
  --rex-bg: #07110d;
  --provix: #d6a45c;
  --provix-bg: #0d1424;
  --glass: #ff7a1a;
  --glass-bg: #0b2540;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 20, 48, .06), 0 8px 24px rgba(11, 20, 48, .06);
  --shadow-lg: 0 2px 4px rgba(11, 20, 48, .06), 0 24px 60px rgba(11, 20, 48, .14);
  --wrap: 1360px;
  --dark: radial-gradient(110% 80% at 100% 0%, rgba(91, 42, 134, .5), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(31, 196, 218, .12), transparent 65%), linear-gradient(160deg, #0f1c5e, #070f3d 70%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss03";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Side margins: about 16px each side on phones, about 90px on a laptop, wider on big screens. */
.wrap { width: min(100% - clamp(32px, 14vw - 20px, 320px), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 2px; }
.eyebrow--light { color: #9fdcff; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.lead--light { color: #c6cde4; }
.lead em { font-style: normal; color: var(--ink); font-weight: 560; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 1rem; font-weight: 620; line-height: 1;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 16px; font-size: .92rem; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(10, 26, 140, .25); }
.btn--primary:hover { background: #0c22b0; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(10, 26, 140, .22); }
.btn--dark:hover { background: #13259f; }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--ink); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 26px; height: auto; }
.brand__word { width: 128px; height: auto; }
.brand--light .brand__word { filter: brightness(0) invert(1); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .97rem; font-weight: 520; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero: what we do + who we are looking for */
.cl { -webkit-font-smoothing: antialiased; background: #fbfbfd; color: #1d1d1f; padding: 80px 0 88px; }
.cl h1, .cl h2 { font-family: inherit; }
.cl-in { opacity: 0; transform: translateY(16px); animation: clIn .9s cubic-bezier(.32,.72,0,1) forwards; animation-delay: var(--d, 0s); }
@keyframes clIn { to { opacity: 1; transform: none; } }
.cl__eyebrow { font-size: 1rem; font-weight: 600; color: #6e6e73; }
.cl h1 { margin-top: 12px; max-width: 20ch; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: #1d1d1f; text-wrap: balance; }
.cl__sub { margin-top: 18px; max-width: 46ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: #6e6e73; }
.cl h1 span { background: linear-gradient(90deg, #5b2a86, #0a1a8c 55%, #0e9fb4); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cl__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.cl__card { display: flex; flex-direction: column; padding: 44px 46px 42px; border-radius: var(--radius-lg); }
.cl__card--biz { background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 24px 60px -36px rgba(0,0,0,.25); }
.cl__card--inv { color: #f5f5f7; background: var(--dark); }
.cl__who { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0e9fb4; }
.cl__card--inv .cl__who { color: #7fdcea; }
.cl__card h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: inherit; }
.cl__text { margin-top: 10px; font-size: 1.08rem; line-height: 1.5; color: #6e6e73; max-width: 48ch; }
.cl__card--inv .cl__text { color: #c3cae3; }
.cl__tags, .cl__prods { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl__tags li { padding: 7px 13px; border-radius: 999px; background: #f5f5f7; font-size: .9rem; font-weight: 500; color: #1d1d1f; }
.cl__prods li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .9rem; font-weight: 600; }
.cl__prods img { width: 20px; height: 20px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.cl__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; text-decoration: none; transition: transform .4s cubic-bezier(.32,.72,0,1), background-color .4s; }
.cl__card .cl__btn { margin-top: 28px; }
.cl__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.32,.72,0,1); }
.cl__btn:hover svg { transform: translateX(3px); }
.cl__btn:active { transform: scale(.97); }
.cl__btn--dark { background: #0a1a8c; color: #fff; }
.cl__btn--dark:hover { background: #13259f; }
.cl__btn--light { background: #fff; color: #0a1a8c; }
@media (max-width: 860px) { .cl__cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cl { padding: 56px 0 64px; } .cl__card { padding: 26px 22px 24px; border-radius: 22px; } .cl__cards { margin-top: 32px; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .cl-in { animation: none; opacity: 1; transform: none; } }



/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
/* Dark sections: alternate with light ones down the page. */
.section--dark {
  color: #e6e9f5;
  background: radial-gradient(70% 45% at 88% 0%, rgba(91, 42, 134, .38), transparent 70%),
              radial-gradient(60% 40% at 0% 100%, rgba(31, 196, 218, .10), transparent 70%),
              #070e33;
}
.section--dark h2, .section--dark .section__head h2 { color: #fff; }
.section--dark .eyebrow { color: #9fdcff; }
.section--dark .section__sub { color: #aab3d3; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head h2 { margin-bottom: 14px; }
.section__sub { color: var(--ink-2); font-size: 1.1rem; }

/* Products */
.product {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.product:last-child { margin-bottom: 0; }
.section--dark .product { color: var(--ink); border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
.product--flip .product__media { order: 2; }
.product__media { position: relative; min-height: 340px; background: #000; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__media .product__img--low { object-position: 50% 100%; }
.product__media .product__img--fit { object-fit: contain; background: linear-gradient(#e5ecea 50%, #d7e0dd 50%); }
.product__media .product__img--desk { background: #04090f; }
/* Output gallery: three real outputs per product, cross-faded, with tabs. */
.gal__img { opacity: 0; transition: opacity .6s cubic-bezier(.32,.72,0,1); }
.gal__img.is-on { opacity: 1; }
.gal__tabs { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(8, 12, 28, .62); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px -10px rgba(0,0,0,.5); max-width: calc(100% - 24px); }
.gal__tabs button { appearance: none; border: 0; margin: 0; cursor: pointer; white-space: nowrap; font: inherit; font-size: .82rem; font-weight: 600; line-height: 1;
  padding: 9px 14px; border-radius: 999px; color: rgba(255,255,255,.82); background: transparent; transition: background-color .3s, color .3s; }
.gal__tabs button:hover { color: #fff; background: rgba(255,255,255,.1); }
.gal__tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.gal__tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gal__img { transition: none; } }
.product__body { padding: 38px 40px 34px; display: flex; flex-direction: column; }
.product__brand { display: flex; align-items: center; gap: 12px; font-weight: 720; font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.product__brand img { width: 40px; height: 40px; object-fit: contain; }
.mark-dark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--provix-bg); }
.mark-dark img { width: 32px; height: 32px; }
.product__for {
  align-self: flex-start; font-size: .82rem; font-weight: 620; padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.product--rex .product__for { background: #e4f8f2; color: #0d6b52; }
.product--provix .product__for { background: #f8f0e2; color: #7d5512; }
.product--glass .product__for { background: #fff0e4; color: #a24a07; }
.product h3 { font-size: clamp(1.4rem, 2.3vw, 1.75rem); font-weight: 720; margin-bottom: 18px; }
.ticks { display: grid; gap: 10px; margin-bottom: 22px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tick, var(--navy)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.product--rex { --tick: #12a37d; }
.product--provix { --tick: #b4842f; }
.product--glass { --tick: #e06a12; }
.product__proof { font-size: .95rem; color: var(--ink-2); padding: 14px 16px; background: var(--tint); border-radius: 10px; margin-bottom: 26px; }
.product__proof b { color: var(--ink); }
.product__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card { padding: 0 0 28px; overflow: hidden; }
.card > :not(.card__top) { margin-left: 28px; margin-right: 28px; }
.card__top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; height: 132px; margin-bottom: 26px;
  padding: 0 22px 18px; background: var(--dark); color: #fff; }
.card__top svg { position: absolute; right: 22px; top: 22px; width: 56px; height: 56px; fill: none; stroke: #9fe8f4; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.card__num { position: absolute; left: 22px; top: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: #9aa6d6; }
.card__eg { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.card h3 { margin-bottom: 10px; }
.card > p { color: var(--ink-2); margin-bottom: 16px; }
.dots { display: grid; gap: 8px; margin-bottom: 22px; font-size: .96rem; color: var(--ink-2); }
.dots li { position: relative; padding-left: 18px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.card__get { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.card__get b { color: var(--ink); }

/* Steps */
/* How we work: one line fills as you scroll down, and each step lights up when the line reaches it. */
.flow-head { text-align: center; margin-inline: auto; }
.steps { --g: 22px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); text-align: center; }
.steps::before, .steps::after { content: ""; position: absolute; top: 22px; left: calc((100% - 3 * var(--g)) / 8); right: calc((100% - 3 * var(--g)) / 8); height: 2px; border-radius: 2px; }
.steps::before { background: rgba(255, 255, 255, .12); }
.steps::after { background: linear-gradient(90deg, #b48be0, #1fc4da); box-shadow: 0 0 12px rgba(31, 196, 218, .5); transform: scaleX(var(--p, 1)); transform-origin: left; }
.steps li { position: relative; }
.steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  font-weight: 720; color: #9fe8f4; background: #0b1546; box-shadow: 0 0 0 1.5px rgba(159, 232, 244, .35); transition: color .5s, background .5s, box-shadow .5s; }
.steps h3 { margin-bottom: 8px; color: #fff; }
.steps p { max-width: 30ch; margin-inline: auto; color: #aab3d3; font-size: .98rem; }
.steps.is-live li { opacity: .5; transition: opacity .5s; }
.steps.is-live li.is-lit { opacity: 1; }
.steps:not(.is-live) .steps__n, .steps li.is-lit .steps__n { color: #0b1430; background: linear-gradient(135deg, #b48be0, #1fc4da); box-shadow: 0 0 0 5px rgba(31, 196, 218, .14), 0 0 26px rgba(31, 196, 218, .5); }
@media (max-width: 860px) {
  .flow-head { text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .steps li { padding-left: 64px; min-height: 46px; }
  .steps__n { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps::before, .steps::after { top: 23px; bottom: 23px; left: 22px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--p, 1)); transform-origin: top; }
  .steps p { max-width: none; margin-inline: 0; }
}




/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 50px 110px -50px rgba(7, 15, 61, .5), 0 0 0 1px rgba(10, 26, 140, .12);
}
.section--dark .contact { box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.contact__dark {
  position: relative; padding: clamp(32px, 4.4vw, 60px); color: #fff;
  background: var(--dark);
}
.contact__k { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.contact__dark h2 { margin-top: 18px; max-width: 17ch; color: #fff; font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.contact__dark h2 span { display: block; margin-top: 10px; background: linear-gradient(90deg, #b48be0, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.contact__light { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4.4vw, 60px); background: #fff; }
.contact__title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 720; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.contact__lede { margin-top: 10px; color: var(--ink-2); }
.contact__check { list-style: none; margin: 24px 0 0; padding: 22px 0; display: grid; gap: 12px; border-block: 1px solid var(--line); }
.contact__check li { position: relative; padding-left: 36px; color: var(--ink); }
.contact__check li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: #e8ebf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.contact__btns { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; font-weight: 620; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s;
}
.cbtn:active { transform: scale(.98); }
.cbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn--mail { background: var(--navy); color: #fff; box-shadow: 0 14px 28px -16px rgba(10, 26, 140, .8); }
.cbtn--mail:hover { background: #13259f; }
.cbtn--mail svg { transition: transform .2s; }
.cbtn--mail:hover svg { transform: translateX(3px); }
.cbtn--wa { background: #25d366; color: #0b1430; box-shadow: 0 14px 28px -16px rgba(37, 211, 102, .8); }
.cbtn--wa:hover { background: #1fb857; }
.contact__nojs { margin-top: 14px; font-size: .9rem; color: var(--ink-3); }

/* Footer */
.footer { background: #050a26; color: #aab2cf; padding: 64px 0 28px; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 14px; color: #8d96b8; }
.footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 650; }
.footer nav { display: flex; flex-direction: column; gap: 9px; }
.footer nav a { color: #aab2cf; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #7d86a8; }

/* Legal page */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal .updated { color: var(--ink-3); font-size: .95rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { margin-bottom: 14px; }
.notfound p { color: var(--ink-2); margin-bottom: 28px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .product, .product--flip { grid-template-columns: 1fr; }
  .product--flip .product__media { order: 0; }
  .product__media { min-height: 0; aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__cta { margin-top: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .lead { font-size: 1.08rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .product__body { padding: 28px 22px; }
  .contact { border-radius: 18px; }
  .contact__btns { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Phones: keep the page short. Services swipe sideways. */
@media (max-width: 600px) {
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card__top { height: 106px; margin-bottom: 20px; }
  .card__top svg { width: 34px; height: 34px; top: 14px; right: 18px; }
  .product__media { aspect-ratio: 16 / 10; }
  .product__body { padding: 24px 20px 26px; }
  .product h3 { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


.legal ul + p { margin-top: 12px; }
@media (max-width: 420px) { .gal__tabs { bottom: 10px; } .gal__tabs button { font-size: .74rem; padding: 8px 10px; } }
