/* ==========================================================================
   KI Packaging: hand-coded theme styles
   1. Tokens  2. Base  3. Layout  4. Buttons & atoms  5. Header  6. Heroes
   7. Sections  8. Footer & floats  9. Modal & forms  10. WooCommerce
   11. Motion  12. Responsive
   ========================================================================== */

/* ---- 1. Tokens & fonts -------------------------------------------------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KI Display"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KI Body"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--brand: #F58220;
	--brand-600: #E4700F;
	--brand-700: #B95400;
	--brand-100: #FFE6CF;
	--brand-50: #FFF5EB;
	--ink: #0F0F12;
	--ink-2: #1A1A1F;
	--ink-3: #26262D;
	--text: #3B3B42;
	--muted: #6A6A73;
	--line: #E8E3DD;
	--paper: #FAF6F1;
	--white: #fff;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow-sm: 0 2px 12px rgba(15, 15, 18, .06);
	--shadow: 0 24px 60px -24px rgba(15, 15, 18, .28);
	--shadow-brand: 0 18px 40px -14px rgba(245, 130, 32, .55);
	--font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 84px;
	--topbar-h: 40px;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--white); color: var(--text);
	font: 400 1rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.modal-open, body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--ink); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.img-fallback { display: block; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.ico { flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.prose { max-width: 820px; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--brand-700); text-decoration: underline; }
.post-row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.big-404 { font: 800 clamp(6rem, 20vw, 12rem)/1 var(--font-display); color: var(--brand); margin: 0; letter-spacing: -.05em; }

/* ---- 3. Layout ---------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(68px, 8.5vw, 124px); }
.section--first { padding-top: clamp(48px, 6vw, 84px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #c9c9cf; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.05rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.65; }
.section--dark .lead { color: #aeaeb6; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.split-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-2--rev > :first-child { order: 0; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); opacity: .5; }
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(245, 130, 32, .55), transparent 70%); top: -180px; right: -140px; }
.glow-b { width: 560px; height: 560px; background: radial-gradient(circle, rgba(245, 130, 32, .4), transparent 70%); bottom: -220px; left: -160px; }

/* ---- 4. Buttons & atoms ------------------------------------------------- */
.btn {
	--b-bg: var(--brand); --b-fg: var(--ink); --b-hover-bg: var(--ink); --b-hover-fg: #fff;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .95em 1.7em; border: 2px solid var(--b-bg); border-radius: 14px; background: var(--b-bg); color: var(--b-fg);
	font: 600 .98rem/1 var(--font-display); letter-spacing: .01em; cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--b-hover-bg); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: var(--b-hover-fg); border-color: var(--b-hover-bg); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn .btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-primary { box-shadow: var(--shadow-brand); }
.btn-dark { --b-bg: var(--ink); --b-fg: #fff; --b-hover-bg: var(--brand); --b-hover-fg: var(--ink); }
.btn-ghost { --b-bg: transparent; --b-fg: #fff; --b-hover-bg: #fff; --b-hover-fg: var(--ink); border-color: rgba(255, 255, 255, .45); }
.btn-outline { --b-bg: transparent; --b-fg: var(--ink); --b-hover-bg: var(--ink); --b-hover-fg: #fff; border-color: var(--ink); }
.btn-outline-dark { --b-bg: transparent; --b-fg: var(--ink); --b-hover-bg: var(--ink); --b-hover-fg: #fff; border-color: rgba(15, 15, 18, .55); }
.btn-whatsapp { --b-bg: #1FAF5A; --b-fg: #fff; --b-hover-bg: #14833F; --b-hover-fg: #fff; }
.btn-lg { padding: 1.1em 2em; font-size: 1.05rem; }
.btn-sm { padding: .7em 1.15em; font-size: .88rem; border-radius: 11px; }

.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.1rem; font: 600 .8rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--brand); }
.eyebrow--dark { color: var(--ink); }
.section-head.center .eyebrow { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font: 600 .95rem var(--font-display); color: var(--ink); position: relative; }
.link-arrow .ico { transition: transform .3s var(--ease); color: var(--brand-600); }
.link-arrow:hover .ico { transform: translateX(5px); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.6em; bottom: -4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4rem; }
.chip-row--center { justify-content: center; margin-top: 36px; }
.chip-row li { padding: .45em 1em; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: .85rem; font-weight: 500; color: var(--ink-2); transition: all .3s var(--ease); }
.chip-row li:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

.pill { display: inline-flex; align-items: center; padding: .6em 1.2em; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink-2); font: 500 .9rem var(--font-body); transition: all .3s var(--ease); }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.check-list { margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: center; gap: .8em; font-weight: 500; color: var(--ink-2); }
.check-list .ico { padding: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--ink); stroke-width: 2.6; }
.tick-list { display: grid; gap: .6rem; margin: 1.6rem 0; }
.tick-list li { display: flex; align-items: center; gap: .7em; color: #d6d6db; }
.tick-list .ico { color: var(--brand); }
.tick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.4rem; margin-top: 1.4rem; }
.tick-grid li { display: flex; align-items: center; gap: .6em; font-weight: 500; color: var(--ink-2); }
.tick-grid .ico { color: var(--brand-600); }
.dot-list { margin: 0 0 1.2rem; display: grid; gap: .35rem; }
.dot-list li { position: relative; padding-left: 1.2em; font-size: .95rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }

/* ---- 5. Loader, progress, topbar, header ------------------------------- */
.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--ink); animation: loaderOut .6s var(--ease) 1.5s forwards; }
.loader img { animation: loaderPulse 1.1s var(--ease) infinite alternate; }
.loader-bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: translateX(-100%); animation: loaderBar 1.2s var(--ease) forwards; }
.no-loader .loader { display: none; }
.loader.is-done { animation: none; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.no-js .loader { display: none; }
@keyframes loaderPulse { to { transform: scale(1.12) rotate(-4deg); } }
@keyframes loaderBar { to { transform: translateX(0); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), #ffb066); transform: scaleX(0); transform-origin: left; }

.topbar { background: var(--ink); color: #b9b9c1; font-size: .82rem; height: var(--topbar-h); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.topbar-info { display: flex; gap: 26px; }
.topbar-info li { display: flex; align-items: center; gap: .55em; }
.topbar-info .ico { color: var(--brand); }
.topbar a:hover { color: var(--brand); }
.topbar-tag { letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; color: #8d8d96; }
.social-list { display: flex; gap: 6px; align-items: center; }
.social-list a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: all .3s var(--ease); }
.social-list a:hover { background: var(--brand); color: var(--ink); transform: translateY(-2px); }
.social-list--footer a { width: 40px; height: 40px; background: rgba(255, 255, 255, .07); color: #fff; }
.social-list--solid { margin-top: 28px; }
.social-list--solid a { width: 44px; height: 44px; background: var(--ink); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 1100; height: var(--header-h); transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
body.has-hero .site-header { margin-bottom: calc(var(--header-h) * -1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: block; position: relative; flex: none; width: 214px; height: 56px; }
.brand img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; height: 56px; max-width: none; transition: opacity .35s var(--ease); }
.brand-dark { opacity: 0; }
.site-header.is-scrolled, body.header-solid .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 6px 30px -12px rgba(15, 15, 18, .22); --header-h: 76px; }
.site-header.is-scrolled .brand-light, body.header-solid .brand-light { opacity: 0; }
.site-header.is-scrolled .brand-dark, body.header-solid .brand-dark { opacity: 1; }
body.header-solid .site-header { margin-bottom: 0; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-list a { position: relative; display: block; padding: 10px 2px; font: 500 .96rem var(--font-display); letter-spacing: .01em; color: #fff; transition: color .3s; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after, .nav-list .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--brand); }
.site-header.is-scrolled .nav-list a, body.header-solid .nav-list a { color: var(--ink); }
.site-header.is-scrolled .nav-list .current-menu-item > a, body.header-solid .nav-list .current-menu-item > a { color: var(--brand-700); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { padding: .8em 1.4em; font-size: .92rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); position: relative; z-index: 1300; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), background .3s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.site-header.is-scrolled .nav-toggle, body.header-solid .nav-toggle { background: var(--ink); }
body.nav-open .nav-toggle { background: var(--brand); }
body.nav-open .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---- 6. Heroes ---------------------------------------------------------- */
.hero { position: relative; display: grid; align-items: center; min-height: calc(100svh - var(--topbar-h)); padding: calc(var(--header-h) + 56px) 0 118px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slides, .hero-slide, .page-hero-bg { position: absolute; inset: 0; }
.hero-slides { z-index: -3; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: kenburns 11s ease-out forwards; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(10, 10, 13, .95) 0%, rgba(10, 10, 13, .78) 46%, rgba(10, 10, 13, .38) 100%), radial-gradient(900px 500px at 8% 100%, rgba(245, 130, 32, .35), transparent 65%); }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .5; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 140px); mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.shape { position: absolute; pointer-events: none; z-index: -1; }
.shape-a { right: 0; bottom: 0; width: min(36vw, 560px); aspect-ratio: 1; background: var(--brand); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .95; animation: shapeIn 1.4s var(--ease) both; }
.shape-b { left: 46%; bottom: 14%; width: 110px; height: 110px; border: 2px solid rgba(245, 130, 32, .55); border-radius: 22px; animation: spinSlow 26s linear infinite; }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.035em; color: #fff; margin: 0 0 1.4rem; font-weight: 800; }
.hero-title .accent { color: var(--brand); }
.hero-lead { max-width: 580px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d3d3d9; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 30px; font-weight: 500; color: #e9e9ee; }
.hero-points li { display: flex; align-items: center; gap: .6em; }
.hero-points .ico { color: var(--brand); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(112%); animation: wordIn .95s var(--ease) forwards; animation-delay: calc(.35s + var(--i, 0) * .08s); }
.hero-eyebrow, .hero-lead, .hero-actions, .hero-points { animation: fadeUp .9s var(--ease) both; }
.hero-eyebrow { animation-delay: .15s; } .hero-lead { animation-delay: .75s; } .hero-actions { animation-delay: .9s; } .hero-points { animation-delay: 1.05s; }

.hero-visual { position: relative; height: clamp(380px, 46vw, 560px); animation: fadeUp 1.1s var(--ease) .5s both; }
.hv-card { position: absolute; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 6px solid #fff; }
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { top: 4%; right: 0; width: 88%; aspect-ratio: 5 / 4; animation: floatY 7s ease-in-out infinite; }
.hv-sub { --r: -5deg; bottom: 2%; left: 0; width: 46%; aspect-ratio: 1; transform: rotate(-5deg); animation: floatY2 8s ease-in-out infinite; }
.hv-chip { position: absolute; display: flex; align-items: center; gap: .6em; padding: .75em 1.1em; border-radius: 14px; background: rgba(15, 15, 18, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font: 600 .88rem var(--font-display); }
.hv-chip .ico { color: var(--brand); }
.hv-chip-a { top: 0; left: 6%; animation: floatY2 6s ease-in-out infinite; }
.hv-chip-b { bottom: 12%; right: -2%; animation: floatY 7.5s ease-in-out infinite; }
.hv-badge { position: absolute; top: -14px; right: 4%; width: 118px; height: 118px; padding: 0; border-radius: 50%; background: var(--brand); animation: spinSlow 18s linear infinite; z-index: 3; }
.hv-badge text { font: 700 11.5px var(--font-display); fill: var(--ink); letter-spacing: 2.4px; }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; width: 26px; height: 44px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brand); animation: cue 1.8s ease-in-out infinite; }

.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 clamp(72px, 9vw, 120px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-bg { z-index: -3; inset: -12% 0 0; will-change: transform; }
.page-hero-bg img { transform: scale(1.12); }
.page-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(95deg, rgba(10, 10, 13, .94), rgba(10, 10, 13, .66) 62%, rgba(10, 10, 13, .45)), radial-gradient(700px 360px at 0% 100%, rgba(245, 130, 32, .32), transparent 65%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--brand), rgba(245, 130, 32, 0) 70%); }
.page-hero .shape-a { width: min(24vw, 340px); opacity: .92; }
.page-hero .shape-b { left: auto; right: 12%; bottom: 18%; width: 70px; height: 70px; }
.page-title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); color: #fff; margin-bottom: .5rem; font-weight: 800; letter-spacing: -.03em; }
.page-lead { max-width: 640px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d0d0d6; margin: 0; animation: fadeUp .9s var(--ease) .6s both; }
.crumbs { margin-bottom: 1.6rem; font-size: .86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; color: #b3b3bb; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--brand); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: #fff; }

/* ---- 7. Sections -------------------------------------------------------- */
/* Marquee */
.marquee { background: var(--brand); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(15, 15, 18, .12); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem; font: 600 1.02rem var(--font-display); white-space: nowrap; letter-spacing: .01em; }
.marquee li .ico { fill: var(--ink); stroke: none; opacity: .8; }

/* Intro / about media */
.intro-media { position: relative; min-height: 560px; }
.intro-img, .about-img, .gar-img { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink-3); }
.intro-img img, .about-img img, .gar-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-img-a { top: 0; left: 0; width: 72%; height: 82%; }
.intro-img-b { right: 0; bottom: 0; width: 52%; height: 48%; border: 8px solid #fff; }
.intro-badge { position: absolute; left: 4%; bottom: 6%; padding: 1.4rem 1.7rem; border-radius: 18px; background: var(--brand); color: var(--ink); box-shadow: var(--shadow-brand); display: grid; z-index: 2; animation: floatY2 7s ease-in-out infinite; }
.intro-badge strong { font: 800 2.8rem/1 var(--font-display); }
.intro-badge span { font-weight: 600; font-size: .92rem; }
.intro-copy .btn { margin-top: .4rem; }
.about-media { position: relative; min-height: 520px; }
.about-img-a { top: 0; left: 0; width: 80%; height: 74%; }
.about-img-b { right: 0; bottom: 0; width: 54%; height: 46%; border: 8px solid #fff; }
.about-ring { position: absolute; right: 6%; top: -26px; width: 130px; height: 130px; border-radius: 50%; border: 18px solid var(--brand); opacity: .9; z-index: -1; }
.about-media--single .about-img-a { width: 86%; height: 78%; }
.gar-media { position: relative; min-height: 460px; }
.gar-img-a { top: 0; left: 0; width: 62%; height: 78%; }
.gar-img-b { right: 0; bottom: 0; width: 56%; height: 62%; border: 8px solid #fff; }

/* Stats */
.stats { background: var(--ink); color: #fff; border-top: 4px solid var(--brand); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(34px, 5vw, 60px) 24px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 800 clamp(2.8rem, 6vw, 4.6rem)/1 var(--font-display); color: var(--brand); letter-spacing: -.03em; }
.stat span { display: block; margin-top: .5rem; color: #b7b7bf; font-weight: 500; }

/* Service duo */
.svc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: box-shadow .5s var(--ease), border-color .4s; }
.svc-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 15, 18, .45), transparent 55%); }
.svc-body { position: relative; padding: 2.6rem 2.2rem 2.2rem; }
.svc-ico { position: absolute; top: -32px; left: 2.2rem; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: var(--ink); box-shadow: var(--shadow-brand); transition: transform .5s var(--ease); z-index: 2; }
.svc-card:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc-body h3 { font-size: 1.7rem; margin-bottom: .6rem; }

/* Product grid & cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; will-change: transform; }
.pcard:hover { box-shadow: var(--shadow); border-color: transparent; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.08); }
.pcard-cat { position: absolute; left: 12px; top: 12px; padding: .35em .85em; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 600 .72rem var(--font-display); letter-spacing: .04em; }
.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 1.3rem 1.3rem 1.4rem; }
.pcard-title { font-size: 1.12rem; margin-bottom: .45rem; }
.pcard-title a:hover { color: var(--brand-700); }
.pcard-text { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.1rem; }
.pcard-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.value-card { position: relative; padding: 2.1rem 1.7rem 1.9rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .45s var(--ease), background .45s, border-color .45s; overflow: hidden; }
.value-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.value-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); border-color: rgba(245, 130, 32, .5); }
.value-card:hover::before { transform: scaleX(1); }
.value-num { position: absolute; top: 14px; right: 20px; font: 800 3.4rem/1 var(--font-display); color: rgba(255, 255, 255, .07); }
.value-ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 1.3rem; border-radius: 16px; background: var(--brand); color: var(--ink); }
.value-card h3 { font-size: 1.3rem; color: #fff; }
.value-card p { margin: 0; color: #b4b4bc; font-size: .96rem; }
.values-grid--light .value-card { background: #fff; border-color: var(--line); }
.values-grid--light .value-card:hover { background: #fff; box-shadow: var(--shadow); }
.values-grid--light .value-card h3 { color: var(--ink); }
.values-grid--light .value-card p { color: var(--muted); }
.values-grid--light .value-num { color: rgba(15, 15, 18, .05); }

/* Machines */
.machines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.machine { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.machine:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.machine-media { aspect-ratio: 4 / 3; background: #f1efec; overflow: hidden; }
.machine-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .8s var(--ease); mix-blend-mode: multiply; }
.machine:hover .machine-media img { transform: scale(1.06); }
.machine-body { padding: 1.3rem 1.4rem 1.5rem; border-top: 3px solid var(--brand); }
.machine-body h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.machine-body p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Industries & sectors */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.industry-ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); transition: background .4s, color .4s, transform .5s var(--ease); }
.industry:hover .industry-ico { background: var(--brand); color: var(--ink); transform: rotate(-10deg); }
.industry-name { font: 600 1.04rem var(--font-display); color: var(--ink); }
.industry-grid--dark .industry { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.industry-grid--dark .industry-name { color: #fff; }
.industry-grid--dark .industry-ico { background: rgba(245, 130, 32, .15); color: var(--brand); }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: 600 1.02rem var(--font-display); color: var(--ink); transition: all .35s var(--ease); }
.sector .ico { color: var(--brand-600); transition: transform .4s var(--ease); }
.sector:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.sector:hover .ico { color: var(--brand); transform: scale(1.15); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px); opacity: .6; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-no { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--ink); color: var(--brand); font: 800 1.3rem var(--font-display); box-shadow: 0 0 0 8px #fff; transition: transform .5s var(--ease), background .4s, color .4s; }
.step:hover .step-no { transform: scale(1.12) rotate(-8deg); background: var(--brand); color: var(--ink); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.process--dark .step-no { background: var(--brand); color: var(--ink); box-shadow: 0 0 0 8px var(--ink); }
.process--dark .step h3 { color: #fff; }
.process--dark .step p { color: #adadb5; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: var(--ink); padding-block: clamp(56px, 7vw, 92px); isolation: isolate; }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .35), transparent 70%), repeating-linear-gradient(135deg, rgba(15, 15, 18, .05) 0 2px, transparent 2px 22px); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 18ch; margin-bottom: .6rem; }
.cta-band p { max-width: 560px; margin: 0; color: rgba(15, 15, 18, .8); font-size: 1.08rem; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Mission & vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.mv-card { padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: transform .5s var(--ease), border-color .4s; }
.mv-card:hover { transform: translateY(-6px); border-color: var(--brand); }
.mv-ico { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 1.5rem; border-radius: 20px; background: var(--brand); color: var(--ink); box-shadow: var(--shadow-brand); }
.mv-card h2 { font-size: 2rem; }
.mv-card p { color: #b9b9c1; }

/* Range cards (printing & packaging) */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.range-card { display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .5s var(--ease), border-color .3s; will-change: transform; }
.range-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.range-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.range-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.range-card:hover .range-media img { transform: scale(1.08); }
.range-ico { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand); color: var(--ink); box-shadow: var(--shadow-brand); }
.range-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.range-body h3 { font-size: 1.35rem; }
.range-body p { color: var(--muted); font-size: .96rem; }
.range-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink-3); cursor: zoom-in; }
.g-item.g-wide { grid-column: span 2; }
.g-item.g-tall { grid-row: span 2; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.1); }
.g-cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2.4rem 1.1rem 1rem; background: linear-gradient(to top, rgba(15, 15, 18, .85), transparent); color: #fff; font: 600 .95rem var(--font-display); opacity: 0; transform: translateY(12px); transition: all .45s var(--ease); }
.g-cap .ico { padding: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--ink); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: rgba(8, 8, 10, .94); animation: fadeIn .3s ease; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1100px, 88vw); text-align: center; }
.lb-figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomIn .45s var(--ease); }
.lb-figure figcaption { margin-top: 1rem; color: #e1e1e6; font: 500 1rem var(--font-display); }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s, transform .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--brand); color: var(--ink); transform: scale(1.08); }
.lb-close { top: 22px; right: 22px; } .lb-prev { left: 22px; } .lb-next { right: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-cards { display: grid; gap: 14px; margin-top: 2rem; }
.info-card { display: flex; gap: 1.1rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--brand); }
.info-ico { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: var(--ink); }
.info-card--wa .info-ico { background: #1FAF5A; color: #fff; }
.info-card h3 { font-size: 1rem; margin: 0 0 .15rem; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a:hover { color: var(--brand-700); }
.contact-next { margin-top: 22px; overflow: hidden; border-radius: 22px; background: var(--ink); color: #c9c9cf; }
.contact-next-media { aspect-ratio: 16 / 7; overflow: hidden; }
.contact-next-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.contact-next-body { padding: 1.5rem 1.7rem 1.7rem; }
.contact-next-body h3 { color: #fff; font-size: 1.25rem; }
.contact-next-body ol { display: grid; gap: .7rem; }
.contact-next-body li { display: flex; align-items: center; gap: .9rem; }
.contact-next-body li span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--ink); font: 700 .85rem var(--font-display); }
.quote-card { padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.quote-card::before { content: ""; position: absolute; top: 0; left: 36px; right: 36px; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--brand), #ffb066); }
.quote-card-head { margin-bottom: 1.6rem; }
.quote-card-head p { color: var(--muted); margin: 0; }
.map-section { height: 440px; background: var(--ink-3); }
.map-section iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.map-section:hover iframe { filter: none; }

/* ---- 8. Footer & floating actions -------------------------------------- */
.site-footer { position: relative; background: var(--ink); color: #aaaab3; overflow: hidden; }
.footer-glow { position: absolute; width: 640px; height: 640px; right: -240px; top: -260px; background: radial-gradient(circle, rgba(245, 130, 32, .28), transparent 65%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 96px) 48px; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 38ch; }
.footer-col h3 { font-size: 1.05rem; color: #fff; margin-bottom: 1.3rem; position: relative; padding-bottom: .8rem; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--brand); }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { transition: color .3s, padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact li { display: flex; gap: .8em; align-items: flex-start; }
.footer-contact .ico { color: var(--brand); margin-top: .2em; }
.footer-contact .btn { margin-top: 1rem; }
.footer-contact a:hover { padding-left: 0; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

.float-actions { position: fixed; right: 22px; bottom: 22px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-wa { display: inline-flex; align-items: center; gap: .6em; height: 60px; padding: 0 20px 0 16px; border-radius: 99px; background: #1FAF5A; color: #fff; box-shadow: 0 16px 36px -10px rgba(31, 175, 90, .7); font: 600 .95rem var(--font-display); animation: waPulse 2.6s infinite; transition: transform .35s var(--ease); }
.float-wa:hover { transform: translateY(-4px) scale(1.03); }
.float-wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.float-wa:hover .float-wa-label { max-width: 130px; }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); color: var(--ink); }

/* ---- 9. Modal & forms --------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 13, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .35s ease; }
.modal-panel { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; width: min(1040px, 100%); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7); animation: modalIn .55s var(--ease); }
.modal-side { position: relative; padding: clamp(28px, 3.6vw, 48px); background: var(--ink); color: #c4c4cb; overflow: hidden; }
.modal-side::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 130, 32, .6), transparent 70%); }
.modal-side h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; }
.modal-logo { position: absolute; right: 26px; bottom: 26px; opacity: .9; }
.modal-main { padding: clamp(24px, 3.2vw, 44px); overflow-y: auto; max-height: calc(100vh - 40px); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); transition: all .3s var(--ease); }
.modal-close:hover { background: var(--brand); transform: rotate(90deg); }

.kiq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
.kiq-full { grid-column: 1 / -1; }
.kiq-field label { display: block; margin-bottom: .4rem; font: 600 .86rem var(--font-display); color: var(--ink); }
.kiq-field label span { color: var(--brand-600); }
.kiq-field input, .kiq-field select, .kiq-field textarea {
	width: 100%; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
	font: 400 .98rem var(--font-body); transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none;
}
.kiq-field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F0F12' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.kiq-field textarea { resize: vertical; min-height: 110px; }
.kiq-field input:hover, .kiq-field select:hover, .kiq-field textarea:hover { border-color: #cfc8bf; }
.kiq-field input:focus, .kiq-field select:focus, .kiq-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(245, 130, 32, .18); }
.kiq-field input[type="file"] { padding: .6em; background: var(--paper); }
.kiq-field input[type="file"]::file-selector-button { margin-right: 12px; padding: .55em 1em; border: 0; border-radius: 9px; background: var(--ink); color: #fff; font: 600 .85rem var(--font-display); cursor: pointer; }
.kiq-field small { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.kiq-field.has-error input, .kiq-field.has-error select, .kiq-field.has-error textarea { border-color: #D93025; background: #FFF8F7; }
.kiq-err { display: block; margin-top: .35rem; font-size: .82rem; color: #C5221F; font-style: normal; }
.kiq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kiq-status { min-height: 1.4em; margin-bottom: 12px; font-weight: 500; }
.kiq-status.is-error { color: #C5221F; }
.kiq-submit { width: 100%; }
.kiq-submit[disabled] { opacity: .7; cursor: progress; }
.kiq-form.is-sending .kiq-submit .btn-label::after { content: "..."; }
.kiq-note { margin: 14px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.kiq-success { text-align: center; padding: 2rem 1rem; }
.kiq-success h3 { font-size: 1.8rem; }
.kiq-check { width: 84px; height: 84px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); animation: pop .6s var(--ease); }
.kiq-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s var(--ease) forwards; }
.kiq-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s var(--ease) .5s forwards; }
.kiq-ref { display: inline-block; margin: .4rem 0; padding: .5em 1.1em; border-radius: 99px; background: var(--paper); font: 500 .95rem var(--font-display); }
.kiq-next { color: var(--muted); margin-bottom: 1.4rem; }

/* ---- 10. WooCommerce ---------------------------------------------------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.shop-toolbar .filter-bar { margin-bottom: 36px; flex: 1 1 520px; }
.shop-search { position: relative; flex: 0 1 300px; }
.shop-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.shop-search input { width: 100%; padding: .8em 1.1em .8em 2.9em; border: 1.5px solid var(--line); border-radius: 99px; font: 400 .95rem var(--font-body); transition: all .25s; }
.shop-search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(245, 130, 32, .18); }
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products li.product { margin: 0; padding: 0; width: auto; float: none; }
.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; transition: all .3s; }
.woocommerce-pagination .page-numbers:hover { border-color: var(--ink); }
.woocommerce-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-noreviews { padding: 1.2rem 1.5rem; border-radius: 14px; background: var(--brand-50); border-left: 4px solid var(--brand); }
.woocommerce-breadcrumb, .woocommerce-result-count, .woocommerce-ordering { display: none; }

.single-product div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.single-product div.product > * { min-width: 0; }
.single-product .woocommerce-product-gallery { position: relative; opacity: 1 !important; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
.woocommerce-product-gallery .flex-viewport { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; opacity: .6; cursor: pointer; transition: opacity .3s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.single-product .summary { position: sticky; top: 110px; }
.single-product .product_title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.single-product .woocommerce-product-details__short-description { font-size: 1.08rem; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0; }
.product-points { display: grid; gap: .7rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.product-points li { display: flex; gap: .7em; align-items: flex-start; }
.product-points .ico { color: var(--brand-600); margin-top: .22em; }
.product-points a { color: var(--brand-700); text-decoration: underline; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.single-product .woocommerce-tabs ul.tabs { display: none; }
.single-product .woocommerce-Tabs-panel h2 { display: none; }
.single-product .woocommerce-Tabs-panel { max-width: 820px; }
.single-product .related, .single-product .upsells { grid-column: 1 / -1; margin-top: 40px; }
.single-product .related > h2, .single-product .upsells > h2 { font-size: 1.9rem; margin-bottom: 1.6rem; }

/* ---- 11. Motion --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="img"] { opacity: 1; transform: none; }
[data-reveal="img"]::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--brand); transform-origin: top; transition: transform 1.15s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="img"] img { transform: scale(1.22); transition: transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="img"].is-in::after { transform: scaleY(0); }
[data-reveal="img"].is-in img { transform: none; }
[data-reveal].is-done { transition: transform .4s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .3s; transition-delay: 0s; }
.no-js [data-reveal], .no-js [data-reveal="img"] { opacity: 1; transform: none; }
.no-js [data-reveal="img"]::after { display: none; }
.no-js .split .w > span { transform: none; animation: none; }

/* Class-based reveals: add rv / rv-left / rv-img (and d1..d4 for delay) to any Elementor container or widget. */
.js .rv, .js .rv-left { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv { transform: translateY(34px); }
.js .rv-left { transform: translateX(-40px); }
.js .rv.is-in, .js .rv-left.is-in { opacity: 1; transform: none; }
.js .rv.is-done, .js .rv-left.is-done { transition: transform .4s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .3s; transition-delay: 0s; }
.js .rv-img { position: relative; overflow: hidden; }
.js .rv-img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--brand); transform-origin: top; transition: transform 1.15s var(--ease); transition-delay: var(--d, 0s); pointer-events: none; }
.js .rv-img img { transform: scale(1.22); transition: transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-img.is-in::after { transform: scaleY(0); }
.js .rv-img.is-in img { transform: none; }
.d1 { --d: .1s; } .d2 { --d: .2s; } .d3 { --d: .3s; } .d4 { --d: .4s; } .d5 { --d: .5s; }
.js .split:not(.is-split) { visibility: hidden; }
.elementor-editor-active .split, .elementor-editor-active .rv, .elementor-editor-active .rv-left, .elementor-editor-active .rv-img { visibility: visible !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
.elementor-editor-active .rv-img::after, .elementor-editor-active .loader { display: none !important; }
.elementor-editor-active .rv-img img { transform: none !important; }

@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.2); } }
@keyframes wordIn { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(12px) rotate(var(--r, 0deg)); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes shapeIn { from { transform: translate(60px, 60px); opacity: 0; } to { transform: none; opacity: .95; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes waPulse { 0% { box-shadow: 0 16px 36px -10px rgba(31, 175, 90, .7), 0 0 0 0 rgba(31, 175, 90, .5); } 70% { box-shadow: 0 16px 36px -10px rgba(31, 175, 90, .7), 0 0 0 20px rgba(31, 175, 90, 0); } 100% { box-shadow: 0 16px 36px -10px rgba(31, 175, 90, .7), 0 0 0 0 rgba(31, 175, 90, 0); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	[data-reveal], [data-reveal="img"] { opacity: 1; transform: none; }
	[data-reveal="img"]::after { display: none; }
	[data-reveal="img"] img { transform: none; }
	.split .w > span { transform: none; }
	.marquee-track { animation: none; }
	.loader { display: none; }
	.js .rv, .js .rv-left { opacity: 1; transform: none; }
	.js .rv-img::after { display: none; }
	.js .rv-img img { transform: none; }
	.js .split:not(.is-split) { visibility: visible; }
}

/* ---- 12. Responsive ----------------------------------------------------- */
@media (max-width: 1180px) {
	.pgrid, .machines { grid-template-columns: repeat(2, 1fr); }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.industry-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.primary-nav {
		position: fixed; inset: 0; z-index: 1250; display: flex; flex-direction: column; justify-content: center; gap: 2rem;
		padding: 110px var(--gutter) 40px; margin: 0; background: var(--ink); overflow-y: auto;
		clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
	}
	.primary-nav::before { content: ""; position: absolute; width: 480px; height: 480px; right: -180px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 130, 32, .45), transparent 70%); pointer-events: none; }
	body.nav-open .primary-nav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
	.nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
	.nav-list a, .site-header.is-scrolled .nav-list a, body.header-solid .nav-list a { font: 600 clamp(1.7rem, 7vw, 2.4rem) var(--font-display); color: #fff; padding: .25em 0; }
	.nav-list a::after { bottom: 6px; }
	.nav-list li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
	body.nav-open .nav-list li { opacity: 1; transform: none; }
	body.nav-open .nav-list li:nth-child(1) { transition-delay: .25s; } body.nav-open .nav-list li:nth-child(2) { transition-delay: .3s; } body.nav-open .nav-list li:nth-child(3) { transition-delay: .35s; } body.nav-open .nav-list li:nth-child(4) { transition-delay: .4s; } body.nav-open .nav-list li:nth-child(5) { transition-delay: .45s; } body.nav-open .nav-list li:nth-child(6) { transition-delay: .5s; } body.nav-open .nav-list li:nth-child(7) { transition-delay: .55s; }
	.nav-extra { display: grid; gap: 14px; justify-items: start; color: #aeaeb6; position: relative; }
	.nav-extra p { margin: 0; font-size: .92rem; }
	.nav-phone { display: inline-flex; gap: .5em; align-items: center; color: #fff; font-weight: 600; }
	.site-header.is-scrolled, body.header-solid .site-header { --header-h: 72px; }
	body.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
	body.nav-open .brand-light { opacity: 1 !important; } body.nav-open .brand-dark { opacity: 0 !important; }
	.brand { z-index: 1300; }
}
@media (max-width: 980px) {
	.topbar { display: none; }
	:root { --topbar-h: 0px; }
	.hero { min-height: auto; padding-bottom: 96px; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { display: none; }
	.scroll-cue { display: none; }
	.split-2, .contact-grid, .mv-grid, .svc-duo { grid-template-columns: 1fr; }
	.split-2--rev .gar-media { order: 2; }
	.intro-media, .about-media { min-height: 460px; max-width: 640px; }
	.range-grid { grid-template-columns: repeat(2, 1fr); }
	.sector-grid { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
	.process::before { display: none; }
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product .summary { position: static; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
	.modal-panel { grid-template-columns: 1fr; }
	.modal-side { display: none; }
	.modal-main { padding-top: 64px; }
	.cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
	:root { --header-h: 72px; }
	.brand { width: 170px; height: 46px; } .brand img { height: 46px; }
	.stats-grid { grid-template-columns: 1fr; }
	.stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-block: 28px; }
	.stat:last-child { border-bottom: 0; }
	.pgrid, .machines, .values-grid, .range-grid, .industry-grid, .sector-grid, .process, .footer-grid { grid-template-columns: 1fr; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
	.g-item.g-wide { grid-column: span 2; }
	.kiq-grid { grid-template-columns: 1fr; }
	.hero-actions .btn, .cta-band-actions .btn { width: 100%; }
	.intro-media, .about-media { min-height: 380px; }
	.tick-grid { grid-template-columns: 1fr; }
	.footer-bottom-inner { flex-direction: column; }
	.float-actions { right: 14px; bottom: 14px; }
	.float-wa { height: 54px; padding: 0 16px; }
	.float-wa-label { display: none; }
	.lb-prev, .lb-next { top: auto; bottom: 22px; }
	.lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
	.split-head { align-items: flex-start; }
	.map-section { height: 340px; }
}
