/* Xplore NXT — site styles (hand-written, no frameworks) */

:root {
  --brand: #2fd0c0;
  --brand-dark: #1aa999;
  --ink: #0b0f10;
  --ink-2: #151b1d;
  --ink-3: #222a2d;
  --text: #1d2426;
  --muted: #5d6a6e;
  --line: #e3e8e9;
  --bg: #ffffff;
  --bg-alt: #f4f7f7;
  --wa: #25d366;
  --wa-dark: #1da851;
  --danger: #c62828;
  --success: #1b7f4b;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 15, 16, .08);
  --container: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px rgba(47, 208, 192, .3); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.icon-wa { flex: none; }

/* ---------- top bar + header ---------- */
.topbar { background: linear-gradient(90deg, #061011 0%, #0e2726 50%, #061011 100%); color: #cfe0e0; font-size: .82rem; border-bottom: 1px solid rgba(47, 208, 192, .18); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 38px; }
.ticker { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.ticker__item { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; gap: .5rem; white-space: nowrap; letter-spacing: .02em; opacity: 0; transform: translateY(100%); transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.ticker__item svg { color: var(--brand); flex: none; }
.ticker__item.is-active { opacity: 1; transform: none; }
.ticker__item.is-leaving { opacity: 0; transform: translateY(-100%); }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
.topbar__links a { color: #cfe0e0; transition: color .2s; }
.topbar__links a:hover { color: var(--brand); text-decoration: none; }
.topbar__links .topbar__phone { color: var(--brand); font-weight: 600; padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .15); }

.header { background: var(--ink-2); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ink-3); transition: box-shadow .3s, background .3s; }
.header.is-scrolled { background: rgba(17, 22, 24, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; transition: min-height .3s; }
.header.is-scrolled .header__inner { min-height: 60px; }
.logo { flex-shrink: 0; }
.logo img { width: 190px; height: auto; transition: width .3s; }
.header.is-scrolled .logo img { width: 165px; }

.header__wa { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.05rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; animation: wa-pulse 2.8s ease-out infinite; transition: background .2s, transform .2s; }
.header__wa:hover { background: var(--wa-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.header__wa .icon-wa { width: 18px; height: 18px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.nav { display: flex; align-items: center; gap: 1.25rem; flex: 1; justify-content: flex-end; }
.nav__list { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: .6rem .6rem; color: #e8eeee; font-weight: 600; font-size: .93rem; border-radius: 6px; white-space: nowrap; }
.nav__list a { transition: color .2s, background .2s, padding-left .2s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--brand); text-decoration: none; }
.nav__list > li > a { position: relative; }
.nav__list > li > a::before { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav__list > li > a:hover::before, .nav__list > li > a.is-active::before, .has-sub:hover > a::before, .has-sub:focus-within > a::before { transform: scaleX(1); }
.has-sub > a::after { content: ""; display: inline-block; margin-left: .4rem; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 2px; transition: transform .25s; transform-origin: 50% 25%; }
.has-sub:hover > a::after, .has-sub:focus-within > a::after { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--ink-2); border: 1px solid var(--ink-3); border-top: 2px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .25s; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub li { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.has-sub:hover .nav__sub li, .has-sub:focus-within .nav__sub li { opacity: 1; transform: none; }
.nav__sub li:nth-child(2) { transition-delay: .04s; }
.nav__sub li:nth-child(3) { transition-delay: .08s; }
.nav__sub li:nth-child(4) { transition-delay: .12s; }
.nav__sub li:nth-child(5) { transition-delay: .16s; }
.nav__sub li:nth-child(n+6) { transition-delay: .2s; }
.nav__sub a { font-weight: 500; }
.nav__sub a:hover { background: var(--ink-3); padding-left: 1rem; }

/* desktop: a round search icon; the box slides out to the left over the menu, so nothing else moves */
.search { position: relative; display: flex; flex-shrink: 0; background: var(--ink-3); border-radius: 999px; transition: border-radius .2s; }
.search:focus-within { border-radius: 0 999px 999px 0; }
.search input { position: absolute; right: 100%; top: 0; bottom: 0; z-index: 2; width: 0; border: 0; border-radius: 999px 0 0 999px; background: var(--ink-3); color: #fff; padding: 0; font: inherit; font-size: .9rem; opacity: 0; transition: width .35s cubic-bezier(.2, .8, .2, 1), padding .35s, opacity .2s; }
.search:focus-within input { width: 240px; padding: 0 .4rem 0 1rem; opacity: 1; box-shadow: -12px 0 24px rgba(0, 0, 0, .35); }
.search button { min-height: 40px; min-width: 40px; }
.search input::placeholder { color: #8a9a9d; }
.search input:focus { outline: none; }
.search button { border: 0; background: transparent; color: var(--brand); padding: 0 .8rem; cursor: pointer; }

.nav-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(5, 8, 9, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nav-open { overflow: hidden; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

.nav-toggle { display: none; margin-left: .25rem; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- alerts ---------- */
.alert { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: var(--radius); border: 1px solid; }
.alert--success { background: #e9f7ef; border-color: #b6e2c8; color: var(--success); }
.alert--error { background: #fdecec; border-color: #f3c0c0; color: var(--danger); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #dfe7e8; background: radial-gradient(1100px 520px at 80% 10%, rgba(47, 208, 192, .2), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(47, 208, 192, .08), transparent 60%), var(--ink); }
.hero__slides { display: grid; touch-action: pan-y; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.slide__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 1.5rem; }
.slide__title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); margin-bottom: .45em; }
.hero .lead { color: #b7c4c6; max-width: 560px; }
.hero .eyebrow { color: var(--brand); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* text slides up one line after another */
.slide__anim { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.slide.is-active .slide__anim { opacity: 1; transform: none; }
.slide.is-active .slide__anim:nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide__anim:nth-child(2) { transition-delay: .25s; }
.slide.is-active .slide__anim:nth-child(3) { transition-delay: .35s; }
.slide.is-active .slide__anim:nth-child(4) { transition-delay: .45s; }

/* photo settles in */
.slide__media { position: relative; }
.slide__media::before { content: ""; position: absolute; inset: 8% -5% -5% 8%; border-radius: 24px; background: linear-gradient(135deg, rgba(47, 208, 192, .45), rgba(47, 208, 192, 0) 70%); }
.slide__media img { position: relative; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.92) rotate(-2deg); transition: opacity .8s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.slide.is-active .slide__media img { opacity: 1; transform: none; transition-delay: .1s; }

.hero__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 2.25rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.hero__points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: .4rem; }
.hero__controls { display: flex; align-items: center; gap: .75rem; }
.hero__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.hero__arrow:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); transform: scale(1.08); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { position: relative; width: 30px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .22); cursor: pointer; overflow: hidden; transition: width .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
.hero__dot:hover { background: rgba(255, 255, 255, .4); }
.hero__dot.is-active { width: 56px; }
.hero__dot-fill { position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
/* The progress bar is the slide timer: when it fills up, the next slide shows (main.js). */
.hero__dot.is-active .hero__dot-fill { animation: dot-progress 5s linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; }
.section--tight { padding: 2rem 0 3rem; }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.section__head h2 { margin: 0; }

.page-head { background: var(--bg-alt); padding: 1.5rem 0 1.75rem; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .4rem; }
.page-head__intro { color: var(--muted); max-width: 760px; }
.page-head__intro p:last-child { margin-bottom: 0; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 .75rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .25rem; color: #b5c0c2; }
.breadcrumbs a { color: var(--muted); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cat-card { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--ink); color: #fff; aspect-ratio: 1; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .3s, opacity .3s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 16, .9)); }
.cat-card:hover { text-decoration: none; }
.cat-card:hover img { transform: scale(1.05); opacity: .9; }
.cat-card__name { position: absolute; left: 1rem; bottom: 2.1rem; z-index: 1; font-weight: 700; font-size: 1.2rem; }
.cat-card__count { position: absolute; left: 1rem; bottom: .9rem; z-index: 1; font-size: .85rem; color: var(--brand); }

/* ---------- product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { position: relative; display: block; background: #fff; aspect-ratio: 1; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__img img { transform: scale(1.07); }
.card__title a { transition: color .2s; }
.card:hover .card__title a { color: var(--brand-dark); }
.badge { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: #fff; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); }
.card__title { font-size: 1rem; margin-bottom: .35rem; }
.card__title a { color: var(--ink); }
.card__price { margin: 0; font-size: 1.05rem; }
.card__price strong { color: var(--ink); }
.card__price span { color: var(--muted); font-size: .85rem; }
.card__moq { margin: .1rem 0 0; font-size: .8rem; color: var(--muted); }
.card__actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.card__actions .btn { flex: 1; }

.result-count { margin-bottom: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--bg-alt); border-radius: 14px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.chip { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 500; transition: border-color .2s, background .2s, color .2s, transform .2s; }
a.chip:hover { border-color: var(--brand-dark); color: var(--brand-dark); text-decoration: none; transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips--static { margin-top: .4rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2rem; }
.pagination a, .pagination span { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.pagination span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: .5rem; }
.gallery__main { border: 1px solid var(--line); border-radius: 16px; background: #fff; aspect-ratio: 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: opacity .25s ease, transform .4s ease; }
.gallery__main img.is-swapping { opacity: 0; transform: scale(.97); }
.gallery__thumb { transition: border-color .2s, transform .2s; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.gallery__thumb { width: 84px; height: 84px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--brand); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.product__title { margin-bottom: .3rem; }
.stock { font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.stock--in_stock { color: var(--success); }
.stock--out_of_stock { color: var(--danger); }
.stock--preorder { color: #b26a00; }

.price-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.price-box__main { margin: 0; }
.price-box__main strong { font-size: 1.75rem; color: var(--ink); }
.price-box__main span { color: var(--muted); margin-left: .25rem; }
.moq { margin: .6rem 0 0; }
.tiers { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .95rem; }
.tiers caption { text-align: left; font-weight: 700; margin-bottom: .35rem; }
.tiers th, .tiers td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
.tiers th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.options { margin-bottom: 1rem; }
.options__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }

.order { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin: 1.5rem 0 .75rem; }
.order label { width: 100%; font-weight: 600; font-size: .9rem; margin-bottom: -.4rem; }
.order input { width: 130px; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.order .btn { flex: 1; min-width: 220px; }

.description { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 860px; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.page-cta { margin-top: 2rem; }

/* ---------- steps + CTA ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding: 0; margin: 2rem 0 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.25rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--brand); font-weight: 700; margin-bottom: .9rem; }
.steps strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.steps span { color: var(--muted); font-size: .95rem; }

.cta { background: var(--ink); color: #c9d3d4; padding: 3rem 0; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* ---------- contact + forms ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact__wa { background: var(--ink); color: #c9d3d4; border-radius: 16px; padding: 1.75rem; margin-bottom: 1.5rem; }
.contact__wa h2 { color: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .85rem; border: 1px solid #cfd8da; border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-dark); outline: 2px solid rgba(47, 208, 192, .35); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .85rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9fb0b2; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; }
.footer__logo { width: 170px; margin-bottom: 1rem; }
.footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: #c9d3d4; }
.footer a:hover { color: var(--brand); }
.social { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.footer__bottom { border-top: 1px solid var(--ink-3); padding: 1.1rem 0; font-size: .82rem; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; animation: wa-pulse 2.8s ease-out infinite; transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon-wa { width: 30px; height: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile / tablet menu: logo + full category menu + WhatsApp button need ~1240px on one line */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem; padding: 5rem 1.25rem 2rem; background: var(--ink-2); transform: translateX(100%); transition: transform .25s; overflow-y: auto; z-index: 40; }
  .nav > * { flex-shrink: 0; }
  .nav-open .nav { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); }
  .nav-toggle { z-index: 45; }
  .nav__list { flex-direction: column; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; min-width: 0; }
  .nav__sub li { opacity: 1; transform: none; }
  .has-sub > a::after, .nav__list > li > a::before { display: none; }
  .search, .search:focus-within { border-radius: 999px; }
  .search input, .search:focus-within input { position: static; width: 100%; padding: .55rem .9rem; opacity: 1; box-shadow: none; border-radius: 0; background: transparent; }
  .search { order: -1; }
  .header__wa { margin-left: auto; }
  /* menu items slide in one after another */
  .nav__list > li, .nav .search { opacity: 0; transform: translateX(24px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .nav-open .nav__list > li, .nav-open .nav .search { opacity: 1; transform: none; }
  .nav-open .nav__list > li:nth-child(1) { transition-delay: .08s; }
  .nav-open .nav__list > li:nth-child(2) { transition-delay: .12s; }
  .nav-open .nav__list > li:nth-child(3) { transition-delay: .16s; }
  .nav-open .nav__list > li:nth-child(4) { transition-delay: .2s; }
  .nav-open .nav__list > li:nth-child(5) { transition-delay: .24s; }
  .nav-open .nav__list > li:nth-child(n+6) { transition-delay: .28s; }
  .topbar__links a:not(.topbar__phone) { display: none; }
  .topbar__links .topbar__phone { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .slide__inner { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; padding-bottom: 1rem; }
  .slide__media { order: -1; width: min(300px, 70%); margin: 0 auto; }
  .hero__bar { flex-direction: column-reverse; align-items: flex-start; padding-bottom: 1.75rem; }
  .product { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar__links { display: none; }
  .ticker__item { justify-content: center; }
  .logo img, .header.is-scrolled .logo img { width: 140px; }
  .header__wa { padding: .5rem .7rem; }
  .header__wa span { display: none; }
  .slide__title { font-size: 1.85rem; }
  .hero__actions .btn { flex: 1; white-space: nowrap; padding: .8rem .9rem; font-size: .95rem; }
  .wa-float { display: none; }   /* the header WhatsApp button is always visible on phones */
  .hero__points { font-size: .82rem; gap: .35rem 1rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .card__body { padding: .75rem; }
  .card__actions { flex-direction: column; }
  .section { padding: 2.5rem 0; }
  .section__head { flex-direction: column; gap: .25rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .order input { width: 100%; }
}

/* ---------- scroll reveal (main.js adds .reveal only to things below the fold) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- smooth page-to-page transitions (Chrome, Edge, Safari 18+; others just load normally) ---------- */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.header { view-transition-name: site-header; }
.wa-float { view-transition-name: wa-float; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__dot.is-active .hero__dot-fill { transform: scaleX(1); }
  @view-transition { navigation: none; }
}
