/* ==========================================================================
   Naleng Technology — stylesheet
   Colours are the three logo colours, used flat (no gradients, tints or blends):
   orange #F6921E · sky blue #0B95C6 · navy #1E4574 — on pure white.
   ========================================================================== */

:root {
  --orange: #f6921e;
  --blue: #0b95c6;
  --navy: #1e4574;
  --white: #ffffff;
  --text: #1e4574;
  --muted: #5f6b7a;          /* neutral grey for secondary text */
  --line: #e3e8ee;           /* neutral hairline */

  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 2.4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 80px;
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 1.4rem + 6vw, 6.75rem); letter-spacing: -0.05em; line-height: .95; }
h2 { font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--white); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: var(--muted); max-width: 34rem; line-height: 1.55; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }

/* ---------- Section heads with the orange bar ---------- */
.head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 50rem; }
.head h2 { margin-bottom: .35em; }
.head p { color: var(--muted); font-size: 1.125rem; margin: 0; max-width: 34rem; }
.head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.bar { display: block; width: 56px; height: 6px; background: var(--orange); border-radius: 3px; margin-bottom: 1.5rem; transform-origin: 0 50%; transition: width .5s var(--ease), background-color .3s; }
.section:hover .bar { width: 104px; }
.js main section:not(.hero):not(.phero) .container > :not(.is-in) .bar { transform: scaleX(0); }
.js .is-in .bar { animation: barGrow .8s var(--ease) .2s backwards; }
@keyframes barGrow { from { transform: scaleX(0); } }
.label { display: inline-block; font-size: .875rem; font-weight: 800; color: var(--orange); margin-bottom: .75rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: var(--navy); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9375rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } .btn-row .btn { width: 100%; } }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--navy); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.link:hover { background-size: 100% 2px; color: var(--navy); }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { flex: none; display: block; transition: transform .3s var(--ease); }
.brand:hover { transform: scale(1.03); }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: .5rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__link, .nav__toggle { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; background: none; border: 0; font-weight: 700; font-size: .975rem; color: var(--navy); text-decoration: none; }
.nav__link::after, .nav__toggle::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__toggle:hover { color: var(--navy); }
.nav__link:hover::after, .nav__toggle:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__toggle::after { transform: scaleX(1); }
.nav__toggle svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__cta { margin-left: .5rem; }

.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(720px, 94vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; box-shadow: 0 24px 48px -24px rgba(30, 69, 116, .35); }
.mega--narrow { width: min(460px, 94vw); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__link { display: flex; align-items: center; gap: .85rem; padding: .75rem .85rem; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: .95rem; transition: background-color .2s, color .2s; }
.mega__link:hover { background: var(--navy); color: #fff; }
.mega__icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 2px solid var(--blue); color: var(--blue); transition: border-color .2s, color .2s; }
.mega__link:hover .mega__icon { border-color: var(--orange); color: var(--orange); }
.mega__icon svg { width: 18px; height: 18px; }
.mega__all { grid-column: 1 / -1; margin-top: .25rem; padding: .85rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.menu-btn:hover { background: var(--navy); color: #fff; }
.menu-btn svg { width: 22px; height: 22px; }
.nav__head { display: none; }
.icon-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.icon-btn svg { width: 18px; height: 18px; }
body.nav-locked { overflow: hidden; }

@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; background: #fff; z-index: 150; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 1rem); margin-bottom: 1rem; }
  .nav__head img { height: 38px; width: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
  .nav__link::after, .nav__toggle::after { left: 0; right: auto; width: 40px; bottom: -2px; }
  .nav.is-open .nav__list > li { animation: slideIn .5s var(--ease) both; }
  .nav.is-open .nav__list > li:nth-child(2) { animation-delay: .04s; } .nav.is-open .nav__list > li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__list > li:nth-child(4) { animation-delay: .12s; } .nav.is-open .nav__list > li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__list > li:nth-child(6) { animation-delay: .2s; } .nav.is-open .nav__list > li:nth-child(7) { animation-delay: .24s; }
  .mega, .mega--narrow { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: .5rem 0 1rem; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .nav__item.is-open > .mega { display: grid; transform: none; }
  .nav__cta { margin: 1.5rem 0 0; }
  .nav__cta .btn { width: 100%; }
}
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(4rem, 3rem + 5vw, 8rem); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 5.6vw, 6rem); }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .o { color: var(--orange); }
.hero .lead { margin-bottom: 2.25rem; }
.hero__brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.75rem; margin-top: 3rem; color: var(--muted); font-size: .95rem; }
.hero__brands strong { font-size: 1.75rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; transition: color .2s, transform .3s var(--ease); display: inline-block; }
.hero__brands strong:hover { color: var(--blue); transform: translateY(-3px); }
.js .hero .l { opacity: 0; transform: translateY(40px); animation: rise .9s var(--ease) forwards; }
.js .hero .l:nth-child(2) { animation-delay: .12s; }
.js .hero .fade { opacity: 0; animation: fade .8s var(--ease) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 899px) { .hero .container { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Media frame (the sketches) with hover tilt ---------- */
.media { position: relative; border: 2px solid var(--navy); border-radius: 22px; background: #fff; overflow: hidden; transition: transform .5s var(--ease), border-color .3s; transform-style: preserve-3d; }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.media:hover { border-color: var(--blue); }
.media:hover img { transform: scale(1.04); }
.media--offset { box-shadow: 14px 14px 0 var(--orange); }
.media--offset:hover { box-shadow: 18px 18px 0 var(--orange); }
.media--offset { transition: transform .5s var(--ease), border-color .3s, box-shadow .4s var(--ease); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .tiles, .tiles--3 { grid-template-columns: minmax(0, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--navy); transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { border-color: var(--blue); transform: translateY(-6px); color: var(--navy); }
.tile__img { border-bottom: 2px solid var(--line); overflow: hidden; transition: border-color .3s; }
.tile:hover .tile__img { border-color: var(--blue); }
.tile__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.07); }
.tile__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.tile__body h3 { font-size: 1.2rem; margin: 0; }
.tile__body p { font-size: .95rem; color: var(--muted); margin: 0; }
.tile__go { margin-top: auto; padding-top: 1rem; }
.tile__go span { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.tile__go svg { width: 18px; height: 18px; }
.tile:hover .tile__go span { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg); }
[data-filter-item].is-hidden { display: none; }

/* ---------- Split (big words + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split h2 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.25rem); }
@media (max-width: 859px) { .split { grid-template-columns: minmax(0, 1fr); } .split--flip > :first-child { order: 0; } }

/* ---------- Big word list (who we serve / values) ---------- */
.words { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.words li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: center; gap: 1rem 2rem; padding: clamp(1rem, .8rem + .8vw, 1.6rem) 0; border-bottom: 2px solid var(--line); transition: border-color .3s; cursor: default; }
.words strong { font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy); transition: color .3s; display: inline-flex; align-items: center; }
.words strong::before { content: ""; width: 0; margin-right: 0; height: .5em; background: var(--orange); border-radius: 4px; transition: width .45s var(--ease), margin-right .45s var(--ease); }
.words span { color: var(--muted); font-size: 1rem; transition: color .3s; }
.words li:hover { border-bottom-color: var(--blue); }
.words li:hover strong { color: var(--blue); }
.words li:hover strong::before { width: .5em; margin-right: .35em; }
.words li:hover span { color: var(--navy); }
@media (max-width: 699px) { .words li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Trio (mission, vision, goal) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 2vw, 3rem); }
.trio > div { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line); transition: transform .4s var(--ease); }
.trio > div::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--orange); transition: width .5s var(--ease); }
.trio > div:hover::before { width: 100%; }
.trio > div:hover { transform: translateY(-4px); }
.trio h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.trio p { color: var(--muted); margin: 0; }
@media (max-width: 859px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Points (icon + title + line) ---------- */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 859px) { .points--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .points, .points--3 { grid-template-columns: minmax(0, 1fr); } }
.point { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border: 2px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.point:hover { border-color: var(--navy); transform: translateY(-4px); }
.point__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.point__icon svg { width: 22px; height: 22px; }
.point:hover .point__icon { background: var(--blue); color: #fff; transform: rotate(-12deg) scale(1.06); }
.point h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .25rem; }
.checklist li { position: relative; padding: .7rem .75rem .7rem 2.1rem; border-radius: 10px; font-weight: 600; transition: background-color .25s, padding-left .35s var(--ease); }
.checklist li::before { content: ""; position: absolute; left: .75rem; top: 1.2em; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); transition: background-color .25s, transform .35s var(--ease); }
.checklist li:hover { background: #fff; padding-left: 2.5rem; }
.checklist li:hover::before { background: var(--blue); transform: rotate(225deg); }

/* ---------- Big talk CTA ---------- */
.talk { border-top: 2px solid var(--navy); padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: end; }
.talk h2 { font-size: clamp(3rem, 1.5rem + 6.5vw, 7.5rem); margin: 0; letter-spacing: -0.05em; }
.talk h2 .o { color: var(--orange); }
.talk__phone { display: inline-block; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); text-decoration: none; margin-bottom: .5rem; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 4px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.talk__phone:hover { background-size: 100% 4px; color: var(--blue); }
.talk p { color: var(--muted); }
@media (max-width: 859px) { .talk { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.phero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.phero--solo .container { grid-template-columns: minmax(0, 1fr); }
.phero h1 { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.75rem); margin-bottom: 1.25rem; }
.phero .lead { margin-bottom: 2rem; }
.js .phero h1, .js .phero .lead, .js .phero .btn-row, .js .phero .media { opacity: 0; animation: rise .9s var(--ease) forwards; transform: translateY(30px); }
.js .phero .lead { animation-delay: .1s; } .js .phero .btn-row { animation-delay: .18s; } .js .phero .media { animation-delay: .25s; }
@media (max-width: 859px) { .phero .container { grid-template-columns: minmax(0, 1fr); } .phero .media { max-width: 520px; } }
.breadcrumb { font-size: .9rem; font-weight: 600; margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li { display: inline-flex; gap: .5rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--orange); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); }

/* ---------- Two columns ---------- */
.cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 859px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 859px) { .sticky { position: static; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn { min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .95rem; transition: border-color .2s, background-color .2s, color .2s; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { color: var(--muted); font-size: .9rem; margin: -1.5rem 0 1.75rem; }

/* ---------- Accordion ---------- */
.accordion { border-top: 2px solid var(--navy); }
.acc-item { border-bottom: 2px solid var(--line); transition: border-color .3s; }
.acc-item:hover { border-bottom-color: var(--blue); }
.acc-item h3 { margin: 0; font-size: inherit; letter-spacing: normal; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; background: none; border: 0; text-align: left; font-weight: 800; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--navy); letter-spacing: -0.01em; transition: color .2s, padding-left .35s var(--ease); }
.acc-btn:hover { color: var(--blue); padding-left: .5rem; }
.acc-icon { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s; }
.acc-icon svg { width: 16px; height: 16px; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel p { color: var(--muted); margin: 0; padding-bottom: 1.4rem; max-width: 46rem; }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: .25rem; }
.faq-nav a { padding: .6rem .9rem; border-radius: 10px; font-weight: 700; color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s, padding-left .3s var(--ease); }
.faq-nav a:hover, .faq-nav a.is-active { background: var(--navy); color: #fff; padding-left: 1.2rem; }
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group > h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.search { position: relative; max-width: 34rem; margin-bottom: 2.5rem; }
.search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--navy); }
.search .input { padding-left: 3.1rem; border-radius: 999px; }
@media (max-width: 859px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 599px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 800; font-size: .9rem; color: var(--navy); }
.field .req { color: var(--orange); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); transition: border-color .2s; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--blue); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4574' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat; padding-right: 2.75rem; }
.input::placeholder, .textarea::placeholder { color: #9aa3ae; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--orange); }
.field__error { display: none; font-size: .85rem; font-weight: 700; color: var(--navy); }
.field__error::before { content: "! "; color: var(--orange); font-weight: 800; }
.field.has-error .field__error { display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 12px; border: 2px solid var(--navy); font-size: .95rem; }
.form-status.is-visible { display: block; }
.form-status--err { border-color: var(--orange); }
.form-status .btn-row { margin-top: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 959px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-lines { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.contact-lines li { padding: 1.25rem 0; border-bottom: 2px solid var(--line); transition: border-color .3s, padding-left .35s var(--ease); }
.contact-lines li:hover { border-bottom-color: var(--blue); padding-left: .5rem; }
.contact-lines small { display: block; color: var(--orange); font-weight: 800; font-size: .85rem; margin-bottom: .2rem; }
.contact-lines a, .contact-lines span { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 800; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: var(--blue); }
.panel { border: 2px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; transition: border-color .3s; }
.panel:hover { border-color: var(--navy); }

/* ---------- Brand word row ---------- */
.brandwords { display: flex; flex-wrap: wrap; gap: 1rem clamp(2rem, 1rem + 4vw, 5rem); align-items: baseline; }
.brandwords strong { font-size: clamp(3rem, 1.5rem + 6vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--navy); transition: color .3s, transform .4s var(--ease); display: inline-block; cursor: default; }
.brandwords strong:hover { color: var(--orange); transform: translateY(-6px); }

/* ---------- Empty states ---------- */
.empty { border: 2px dashed var(--line); border-radius: 22px; padding: clamp(2rem, 1.5rem + 3vw, 4rem); text-align: center; transition: border-color .3s; }
.empty:hover { border-color: var(--blue); }
.empty h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.empty p { color: var(--muted); max-width: 30rem; margin-inline: auto; }
.empty .btn-row { justify-content: center; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tabs__tab { min-height: 48px; padding: .6rem 1.3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--navy); transition: border-color .2s, background-color .2s, color .2s; }
.tabs__tab:hover { border-color: var(--navy); }
.tabs__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fade .4s var(--ease); }

/* ---------- Post cards (blog / projects) ---------- */
.post { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--navy); background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.post:hover { border-color: var(--blue); transform: translateY(-6px); color: var(--navy); }
.post__img { overflow: hidden; } .post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.post__body p { color: var(--muted); margin: 0; font-size: .95rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .85rem; font-weight: 700; color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .2rem .7rem; border-radius: 999px; border: 2px solid var(--blue); color: var(--navy); font-size: .8rem; font-weight: 700; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 899px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.article { max-width: 44rem; margin-inline: auto; font-size: 1.125rem; line-height: 1.8; }
.article h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); margin-top: 1.5em; }
.article img { border-radius: var(--r); margin-block: 1.5rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.toolbar .search, .toolbar .filters { margin: 0; }

/* ---------- Product rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.35rem 0; border-bottom: 2px solid var(--line); transition: border-color .3s, padding-left .35s var(--ease); }
.rows li:hover { border-bottom-color: var(--blue); padding-left: .6rem; }
.rows h3 { margin: 0 0 .15rem; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.rows p { margin: 0; color: var(--muted); font-size: .95rem; }
.rows .point__icon { transition: background-color .3s, color .3s, transform .5s var(--ease); }
.rows li:hover .point__icon { background: var(--blue); color: #fff; transform: rotate(-12deg); }
@media (max-width: 599px) { .rows li { grid-template-columns: 48px minmax(0, 1fr); } .rows li .btn { grid-column: 2; justify-self: start; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(30, 69, 116, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__box { width: min(540px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; border-radius: 22px; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); transform: translateY(20px) scale(.98); transition: transform .35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.modal__head h2 { font-size: 2rem; margin: 0 0 .25rem; }

/* ---------- Footer (white) ---------- */
.site-footer { border-top: 2px solid var(--navy); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-top h2 { font-size: .95rem; letter-spacing: 0; color: var(--orange); margin-bottom: 1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--navy); text-decoration: none; font-weight: 600; transition: color .2s, padding-left .3s var(--ease); display: inline-block; }
.site-footer ul a:hover { color: var(--blue); padding-left: .35rem; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--muted); max-width: 20rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.social a:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .875rem; color: var(--muted); }
.footer-bottom strong { color: var(--navy); }
@media (max-width: 959px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), background-color .2s, visibility 0s .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--orange); transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }


/* ---------- Cart button in header ---------- */
.cart-btn { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; color: var(--navy); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.cart-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: var(--navy); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.site-header .container > .cart-btn { margin-left: auto; }
@media (min-width: 1100px) { .site-header .container > .cart-btn { margin-left: 0; order: 3; } .nav { order: 2; margin-left: auto; } .brand { order: 1; } }
@media (max-width: 1099px) { .site-header .container { gap: .75rem; } }

/* ---------- Steps (process) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: st; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; padding: 1.5rem 1.25rem 1.4rem; border: 2px solid var(--line); border-radius: var(--r); counter-increment: st; transition: border-color .3s, transform .4s var(--ease); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--orange); line-height: 1; margin-bottom: .9rem; transition: color .3s; }
.steps li:hover { border-color: var(--navy); transform: translateY(-4px); }
.steps li:hover::before { color: var(--blue); }
.steps h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1023px) { .steps, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .steps, .steps--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Product grid & cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .6rem + 1vw, 1.5rem); }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 419px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
.pcard { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.pcard:hover { border-color: var(--blue); transform: translateY(-6px); }
.pcard.is-hidden { display: none; }
.pcard__img { position: relative; display: block; border-bottom: 2px solid var(--line); overflow: hidden; transition: border-color .3s; }
.pcard:hover .pcard__img { border-color: var(--blue); }
.pcard__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pbadge { position: absolute; top: .75rem; left: .75rem; padding: .2rem .7rem; border-radius: 999px; background: var(--orange); color: var(--navy); font-size: .75rem; font-weight: 800; }
.pcard__body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.pcard__cat { margin: 0; font-size: .8rem; font-weight: 800; color: var(--orange); }
.pcard h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.pcard h3 a { color: var(--navy); text-decoration: none; }
.pcard h3 a:hover { color: var(--blue); }
.pcard__spec { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.pcard__foot { margin-top: auto; padding-top: .85rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pcard__foot .btn { min-height: 40px; padding: .45rem .9rem; }
.pcard__foot .btn svg { width: 16px; height: 16px; }
.pcard__foot .btn:hover svg { transform: none; }
.price { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.price--big { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); margin: 1rem 0 1.5rem; }
.pcard__old { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.price--big .pcard__old { display: inline; font-size: 1.1rem; margin-left: .75rem; }
.btn.is-added { background: var(--blue); color: #fff; }
.shopbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.shopbar .search { flex: 1 1 320px; margin: 0; }
.shopbar__sort { flex: 0 0 240px; }
.shopbar__sort .select { border-radius: 999px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.product__img img { aspect-ratio: 1; object-fit: contain; }
.product h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); margin-bottom: 1rem; }
.product .label { margin-bottom: .5rem; }
.buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.assure { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.assure li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; transition: transform .3s var(--ease), color .2s; }
.assure li:hover { transform: translateX(4px); color: var(--blue); }
.assure svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
@media (max-width: 859px) { .product { grid-template-columns: minmax(0, 1fr); } .product__img { max-width: 440px; } }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: #fff; font-size: 1.35rem; font-weight: 800; color: var(--navy); transition: background-color .2s, color .2s; }
.qty button:hover { background: var(--navy); color: #fff; }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font-weight: 800; color: var(--navy); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Cart & checkout ---------- */
.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 959px) { .cartgrid { grid-template-columns: minmax(0, 1fr); } }
.cart-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1.25rem; }
.cart-h .muted { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.citems { list-style: none; margin: 0 0 3rem; padding: 0; border-top: 2px solid var(--navy); }
.citem { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 2px solid var(--line); transition: border-color .3s; }
.citem:hover { border-bottom-color: var(--blue); }
.citem__img img { width: 80px; height: 80px; border: 2px solid var(--line); border-radius: 12px; object-fit: contain; }
.citem__info { display: grid; gap: .15rem; }
.citem__info a { color: var(--navy); text-decoration: none; }
.citem__info a:hover { color: var(--blue); }
.citem .qty { height: 44px; }
.citem .qty button { width: 36px; font-size: 1.1rem; }
.citem .qty input { width: 38px; }
.citem__line { min-width: 110px; text-align: right; }
.citem__rm { font-size: 1.4rem; line-height: 1; width: 38px; height: 38px; }
@media (max-width: 639px) { .citem { grid-template-columns: 64px minmax(0, 1fr) auto; } .citem__img img { width: 64px; height: 64px; } .citem .qty { grid-column: 2; } .citem__line { grid-column: 3; grid-row: 1; } .citem__rm { grid-column: 3; grid-row: 2; justify-self: end; } }
.summary { border: 2px solid var(--navy); border-radius: 22px; padding: 1.75rem; }
.sum-row, .sum-total { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.sum-total { padding-top: .9rem; margin-top: .5rem; border-top: 2px solid var(--line); font-size: 1.25rem; font-weight: 800; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { font-weight: 800; font-size: .9rem; color: var(--navy); margin-bottom: .6rem; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 639px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: .1rem; height: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 12px; transition: border-color .2s, background-color .2s, color .2s; }
.choice small { color: var(--muted); font-size: .8rem; }
.choice:hover span { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:checked + span small { color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.fieldset.has-error .choice span { border-color: var(--orange); }
.checkout .field__error { display: none; }
.checkout .has-error .field__error { display: block; }
.order-done { max-width: 60rem; }
.order-done h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.done-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0 1.5rem; }
@media (max-width: 767px) { .done-grid { grid-template-columns: minmax(0, 1fr); } }
.done-grid h3 { margin-bottom: .75rem; }
.done-grid ol { padding-left: 1.2em; } .done-grid li { margin-bottom: .4rem; }
.sum-list { list-style: none; margin: 0; padding: 0; }
.sum-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 400; max-width: min(520px, calc(100% - 2rem)); padding: 1rem 1.25rem; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; transform: translate(-50%, 140%); transition: transform .4s var(--ease); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast a { color: var(--orange); font-weight: 800; margin-left: .35rem; }

/* ---------- Home logo strip ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 899px) { .logo-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 499px) { .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logo-chip { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: var(--r); transition: border-color .3s, transform .4s var(--ease); }
.logo-chip img { width: 44%; height: auto; transition: transform .4s var(--ease); }
.logo-chip:hover { border-color: var(--blue); transform: translateY(-4px); }
.logo-chip:hover img { transform: scale(1.15); }

/* ---------- Technologies grid ---------- */
.filters--center { justify-content: center; }
.center-text { text-align: center; }
.tools { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199px) { .tools { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 419px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tool { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.4rem .75rem 1.2rem; border: 2px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .3s, transform .4s var(--ease); }
.tool img { width: 52px; height: 52px; object-fit: contain; margin-bottom: .5rem; transition: transform .45s var(--ease); }
.tool strong { font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.tool span { font-size: .8rem; color: var(--muted); }
.tool:hover { border-color: var(--blue); transform: translateY(-6px); }
.tool:hover img { transform: scale(1.12) rotate(-4deg); }
.tool.is-hidden { display: none; }
.area-rows { border-top: 2px solid var(--navy); }
.area-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.35rem 0; border-bottom: 2px solid var(--line); transition: border-color .3s, padding-left .35s var(--ease); }
.area-row:hover { border-bottom-color: var(--blue); padding-left: .5rem; }
.area-row h3 { margin: 0 0 .25rem; }
.area-row p { margin: 0; max-width: 46rem; }

/* ---------- Services: rows and guide ---------- */
.svc-rows { display: grid; gap: 1.25rem; }
.svc-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.25rem, 1rem + 2vw, 3rem); align-items: center; padding: 1.25rem; border: 2px solid var(--line); border-radius: 22px; transition: border-color .3s; }
.svc-row:hover { border-color: var(--navy); }
.svc-row .media { border-width: 2px; border-radius: 16px; }
.svc-row h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.svc-row p { margin-bottom: .75rem; }
@media (max-width: 767px) { .svc-row { grid-template-columns: minmax(0, 1fr); } .svc-row .media { max-width: 360px; } }
.guide { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.guide__toc ol { list-style: none; counter-reset: g; padding: 0; margin: 1.5rem 0 0; border-top: 2px solid var(--navy); }
.guide__toc li { counter-increment: g; border-bottom: 2px solid var(--line); transition: border-color .3s; }
.guide__toc li:hover { border-bottom-color: var(--blue); }
.guide__toc a { display: flex; gap: .75rem; padding: .7rem 0; font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; transition: color .2s, padding-left .3s var(--ease); }
.guide__toc a::before { content: counter(g, decimal-leading-zero); color: var(--orange); font-weight: 800; }
.guide__toc a:hover { color: var(--blue); padding-left: .35rem; }
.guide__part { padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 2px solid var(--line); transition: border-color .3s; }
.guide__part:last-child { border-bottom: 0; margin-bottom: 0; }
.guide__part:hover { border-bottom-color: var(--blue); }
.guide__part h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.guide__part p { font-size: 1.1rem; line-height: 1.75; max-width: 44rem; }
@media (max-width: 899px) { .guide { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Articles ---------- */
.article-title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem) !important; }
.article-layout { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 959px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }
.article-layout .article { margin: 0; max-width: 46rem; }
.article h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.article p { margin-bottom: 1.25em; }
.article .checklist li { font-weight: 500; }
.toc { list-style: none; padding: 0; margin: .5rem 0 2rem; border-top: 2px solid var(--navy); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: .55rem 0; font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: color .2s, padding-left .3s var(--ease); }
.toc a:hover { color: var(--blue); padding-left: .35rem; }
.aside-card { padding: 1.4rem; border: 2px solid var(--line); border-radius: var(--r); transition: border-color .3s; }
.aside-card:hover { border-color: var(--navy); }
.aside-card h3 { font-size: 1.2rem; }
.article-cta { margin-top: 3rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 2px solid var(--navy); border-radius: 22px; transition: border-color .3s; }
.article-cta:hover { border-color: var(--orange); }
.article-cta h2 { margin-top: 0 !important; }
.post-meta span + span::before, .post-meta time + span::before { content: "/"; margin-right: .75rem; color: var(--line); }
.post .link { margin-top: .5rem; align-self: flex-start; }
.post.is-hidden { display: none; }

/* ---------- Scroll reveal ----------
   Content in every section starts hidden (before first paint, via the .js class set in <head>)
   and rises in once when it scrolls into view. The one-time animation doesn't lock styles,
   so hover effects keep working afterwards. Grid and list items arrive one after another. */
.js main section:not(.hero):not(.phero) > .container > :not(.tiles):not(.points):not(.trio):not(.words):not(.rows):not(.grid-3):not(.grid-2):not(.contact-lines):not(.brandwords):not(.accordion):not(.pgrid):not(.tools):not(.steps):not(.svc-rows):not(.area-rows):not(.logo-strip):not(template):not(.visually-hidden):not(.is-in),
.js main section:not(.hero):not(.phero) > .container > :is(.tiles, .points, .trio, .words, .rows, .grid-3, .grid-2, .contact-lines, .brandwords, .accordion, .pgrid, .tools, .steps, .svc-rows, .area-rows, .logo-strip) > :not(.is-in) { opacity: 0; }
.js main section .guide__part:not(.is-in) { opacity: 0; }
.js .is-in { animation: revealUp .9s var(--ease) var(--d, 0s) backwards; }
.js .media.is-in { animation-name: revealImg; }
@keyframes revealUp { from { opacity: 0; transform: translateY(48px); } }
@keyframes revealImg { from { opacity: 0; transform: scale(.93); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js main section .container > *, .js main section .container > * > *, .js .hero .l, .js .hero .fade, .js .phero h1, .js .phero .lead, .js .phero .btn-row, .js .phero .media { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .to-top, .progress { display: none !important; } }
.cart-count[hidden] { display: none; }
.phero--solo { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (max-width: 399px) {
  .site-header .container { gap: .5rem; }
  .brand img { height: 30px; }
  .cart-btn, .menu-btn { width: 42px; height: 42px; }
}
.split .points { grid-template-columns: minmax(0, 1fr); }
.guide__toc h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); overflow-wrap: anywhere; }

/* ---------- Centred section headings ---------- */
.head { margin-left: auto; margin-right: auto; text-align: center; }
.head .bar { margin-left: auto; margin-right: auto; transform-origin: 50% 50%; }
.head p { margin-left: auto; margin-right: auto; }
.more { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); margin-bottom: 0; }
.nav__cta { display: none; }
@media (max-width: 1099px) { .nav__cta { display: block; } }

/* ---------- Home: four strengths as big links ---------- */
.line-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 959px) { .line-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .line-links { grid-template-columns: minmax(0, 1fr); } }
.line-link { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 1.25rem 1.6rem; border: 2px solid var(--line); border-radius: var(--r); color: var(--navy); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.line-link strong { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.25; letter-spacing: -0.02em; }
.line-link > svg { width: 22px; height: 22px; margin-top: auto; color: var(--orange); transition: transform .35s var(--ease); }
.line-link .point__icon { width: 64px; height: 64px; }
.line-link .point__icon svg { width: 28px; height: 28px; }
.line-link:hover { border-color: var(--blue); transform: translateY(-6px); color: var(--navy); }
.line-link:hover .point__icon { background: var(--blue); color: #fff; transform: rotate(-12deg) scale(1.06); }
.line-link:hover > svg { transform: translateX(6px); }

/* ---------- Home: big statement ---------- */
.statement-band { text-align: center; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 1.25rem; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transition: border-color .4s; }
.statement-band:hover { border-color: var(--orange); }
.statement-band .bar { margin: 0 auto 1.5rem; }
.statement-band h2 { font-size: clamp(2.75rem, 1.4rem + 6vw, 7rem); letter-spacing: -0.05em; margin-bottom: .3em; }
.statement-band h2 .o { color: var(--orange); }
.statement-band p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }

/* ---------- Home: compact blog cards ---------- */
.posts--compact .post__body > p:not(.post-meta) { display: none; }

/* ---------- Readability: larger supporting text ---------- */
.head p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 42rem; line-height: 1.6; }
.tile__body h3 { font-size: 1.3rem; }
.tile__body p { font-size: 1.02rem; line-height: 1.55; }
.point h3 { font-size: 1.25rem; }
.point p { font-size: 1.02rem; line-height: 1.6; }
.steps h3 { font-size: 1.25rem; }
.steps p { font-size: 1.02rem; line-height: 1.6; }
.pcard h3 { font-size: 1.15rem; }
.pcard__spec { font-size: .95rem; }
.pcard__cat, .post-meta { font-size: .9rem; }
.post__body h3 { font-size: 1.3rem; }
.post__body p { font-size: 1.02rem; line-height: 1.6; }
.words span { font-size: 1.05rem; line-height: 1.55; }
.trio p { font-size: 1.05rem; line-height: 1.65; }
.tool span { font-size: .9rem; }
.muted { line-height: 1.65; }

/* Home: strength cards with a line of explanation */
.line-link__text { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.home-perks { margin-top: 1.5rem; }
.checklist--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: 0 0 2rem; }
.checklist--inline li { font-size: 1.05rem; }
@media (min-width: 1100px) {
  .mega--narrow { left: auto; right: 0; transform: translateY(10px); }
  .nav__item.is-open > .mega--narrow { transform: none; }
}

/* ---------- Home: "No need to overpay" with sketch ---------- */
.overpay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.overpay h2 { font-size: clamp(2.75rem, 1.4rem + 4.8vw, 5.5rem); letter-spacing: -0.05em; line-height: .98; margin-bottom: .35em; }
.overpay h2 .o { color: var(--orange); display: block; }
.overpay .lead { margin-bottom: 1.75rem; }
.overpay__points { display: grid; gap: .75rem; margin-bottom: 2rem; }
.overpay__points .point { padding: 1rem 1.2rem; align-items: center; }
.overpay__points .point h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.overpay__points .point p { font-size: 1rem; }
.overpay__points .point__icon { width: 46px; height: 46px; }
@media (max-width: 859px) { .overpay { grid-template-columns: minmax(0, 1fr); } .overpay > .media { max-width: 520px; } }

/* ---------- Product app screens ---------- */
.screen { margin: 0; }
.screen__frame { border: 2px solid var(--navy); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 14px 14px 0 var(--orange); transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.screen__frame img { width: 100%; height: auto; }
.screen:hover .screen__frame { border-color: var(--blue); box-shadow: 18px 18px 0 var(--orange); transform: translateY(-4px); }
.screen figcaption { margin-top: 1.4rem; text-align: center; font-size: .9rem; color: var(--muted); }
.svc-row--screen { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.svc-row--screen .screen__frame { box-shadow: 8px 8px 0 var(--orange); border-radius: 12px; }
.svc-row--screen .screen figcaption { margin-top: 1rem; font-size: .8rem; }
@media (max-width: 767px) { .svc-row--screen { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Real product screenshots in cards and page tops ---------- */
.tile--shot .tile__img { background: #f7f9fb; }
.tile--shot .tile__img img { aspect-ratio: 16 / 11; object-fit: cover; object-position: left top; }
.media--shot img { aspect-ratio: 16 / 11; object-fit: cover; object-position: left top; }
