/* ==========================================================================
   LOKA REKA DIGITAL — remake of the original site, elevated.
   Same identity (red hero, Raleway light/extrabold headings, alternating
   product sections, maroon contact block) — richer depth, motion & polish.
   ========================================================================== */

:root {
  --red:    #E3001B;
  --red-2:  #B80018;
  --maroon: #5C0910;
  --brown:  #7B5B57;
  --ink:    #1E1416;
  --text:   #2B2224;
  --fog:    #6F6567;
  --bg:     #FFFFFF;
  --bg-alt: #FBF7F5;
  --line:   rgba(60, 20, 25, 0.09);

  --grad-title: linear-gradient(90deg, #D6001A 0%, #A01B28 45%, #7B5B57 100%);
  --shadow:     0 1px 0 var(--line), 0 24px 50px -30px rgba(110, 10, 25, .28);
  --shadow-hi:  0 1px 0 var(--line), 0 40px 70px -30px rgba(160, 0, 25, .35);

  --f-head: "Raleway", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-title: clamp(2.3rem, 1.3rem + 3.1vw, 4.1rem);
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --maxw:   1240px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-stopped { overflow: hidden; }
body { font-family: var(--f-body); font-size: clamp(1rem, .97rem + .15vw, 1.075rem); line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; }

/* ---- Titles: the original two-tone heading, refined ----------------------- */
.title { font-family: var(--f-head); font-size: var(--fs-title); line-height: 1.04; letter-spacing: -.025em; }
.title .lt, .title .bd { display: block; }
.title .lt { font-weight: 300; color: var(--red); }
.title .bd { font-weight: 800; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.title--center { text-align: center; }
.title--light .lt { color: #FF97A2; }
.title--light .bd { background: linear-gradient(90deg, #FFFFFF, #FFD3D8); -webkit-background-clip: text; background-clip: text; }
.kick { font-weight: 500; font-size: .98rem; color: var(--text); margin-bottom: 1.4rem; }
.kick::after { content: ""; display: block; width: 84px; height: 10px; margin-top: .8rem; background: linear-gradient(90deg, var(--red), #FF6B7B);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 5 Q7 0 14 5 T28 5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 10px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 5 Q7 0 14 5 T28 5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 10px;
  }
.kick--center { text-align: center; }
.kick--center::after { margin-inline: auto; }
.kick--light { color: rgba(255, 255, 255, .85); }
.lead { color: var(--fog); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); max-width: 40em; }
.head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--split { display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 900px) { .head--split { grid-template-columns: 1.3fr 1fr; } }
.head--center { text-align: center; }
.head--center .title { max-width: 20em; margin-inline: auto; }
.head--center .lead { margin: 1.2rem auto 0; }

/* ---- Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.7em; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn { translate: var(--mx, 0px) var(--my, 0px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { color: #fff; background: linear-gradient(180deg, #F2142F 0%, #C40019 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.15), 0 14px 30px -12px rgba(220, 0, 27, .65); }
.btn--red:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 20px 40px -12px rgba(220, 0, 27, .75); }
.btn--white { color: var(--red-2); background: #fff; box-shadow: 0 16px 34px -14px rgba(60, 0, 8, .6); }
.btn--white:hover { box-shadow: 0 22px 44px -14px rgba(60, 0, 8, .7); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ar { display: inline-block; transition: transform .4s var(--ease); }
a:hover .ar { transform: translateX(3px); }

/* ---- Header: full-width, glassy on scroll, wavy link underline ------------ */
.hdr { position: fixed; inset: 0 0 auto; z-index: 300; padding-block: 1.3rem; transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s, transform .6s var(--ease); }
.hdr.solid { padding-block: .75rem; background: rgba(255, 255, 255, .82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(60, 20, 25, .06), 0 14px 40px -24px rgba(80, 10, 20, .35); }
.hdr.away { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { position: relative; display: block; }
.nav__logo img { height: 36px; width: auto; transition: opacity .4s, height .5s var(--ease); }
.nav__logo .logo-c { position: absolute; inset: 0; opacity: 0; }
.hdr.solid .nav__logo img { height: 31px; }
.hdr.solid .logo-w { opacity: 0; }
.hdr.solid .logo-c { opacity: 1; }
.nav__menu { display: flex; align-items: center; gap: 2.4rem; }
.nav__link { position: relative; display: block; padding-block: .35rem; font-family: var(--f-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em; color: rgba(255,255,255,.9); transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3 Q6 0 12 3 T24 3' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 6px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3 Q6 0 12 3 T24 3' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 6px;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.nav__link:hover::after, .nav__link.on::after { clip-path: inset(0 0 0 0); }
.nav__link:hover, .nav__link.on { color: #fff; }
.hdr.solid .nav__link { color: var(--text); }
.hdr.solid .nav__link:hover, .hdr.solid .nav__link.on { color: var(--red); }
.nav__cta { padding: .75em 1.5em; color: var(--red-2); background: #fff; box-shadow: 0 12px 26px -12px rgba(40,0,6,.55); }
.hdr.solid .nav__cta { color: #fff; background: linear-gradient(180deg, #F2142F, #C40019); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 22px -12px rgba(220,0,27,.7); }
.nav__toggle { display: none; width: 42px; height: 42px; position: relative; z-index: 320; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease), background .3s; }
.hdr.solid .nav__toggle span, .nav.open .nav__toggle span { background: var(--text); }
.nav__toggle span:nth-child(1) { top: 16px; } .nav__toggle span:nth-child(2) { top: 25px; }
.nav.open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
/* ---- HERO ----------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(255, 60, 80, .55) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(70, 0, 10, .55) 0%, transparent 70%),
    linear-gradient(135deg, #D5001B 0%, #AE0018 48%, #6C0711 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* flowing sine lines — quiet, slow, in the background */
.hero__lines { position: absolute; left: 0; top: 8%; width: 200%; height: 80%; scale: 1 .45; animation: flow 40s linear infinite; } /* scale flattens the swell; transform stays free for GSAP */
.hero__lines path { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.hero__lines path:nth-child(odd) { stroke: rgba(255, 255, 255, .15); }
@keyframes flow { to { transform: translateX(-50%); } }

/* layered waves at the foot of the hero — gentle */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 9vw, 120px); }
.waves svg { width: 100%; height: 100%; display: block; }
.waves__p use { animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite; }
.waves__p use:nth-child(1) { fill: rgba(255, 210, 215, .14); animation-delay: -2s; animation-duration: 12s; }
.waves__p use:nth-child(2) { fill: rgba(255, 170, 180, .16); animation-delay: -3s; animation-duration: 16s; }
.waves__p use:nth-child(3) { fill: rgba(255, 255, 255, .35); animation-delay: -4s; animation-duration: 20s; }
.waves__p use:nth-child(4) { fill: var(--bg); animation-delay: -5s; animation-duration: 28s; }
@keyframes wave { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }

/* wavy, softly coloured sections: the section and its crests share one
   horizontal gradient, so the colour runs unbroken through the wave */
.wavy { --wave-bg: linear-gradient(90deg, #FFF1F2 0%, #FFF7EF 100%); background: var(--wave-bg); z-index: 1; }
#rekapos.wavy { --wave-bg: linear-gradient(90deg, #EEF4FF 0%, #F6F2FF 100%); }
#rekapay.wavy { --wave-bg: linear-gradient(90deg, #FFEFF1 0%, #FFF5EA 100%); }
#klien.wavy   { --wave-bg: linear-gradient(90deg, #FFF6F1 0%, #F2F6FF 100%); }
.cs  { --wave-bg: #6A0A12; }
.ftr { position: relative; --wave-bg: #1C0B0E; }
.wavy::before, .wavy::after, .cs::before, .ftr::before { content: ""; position: absolute; left: 0; right: 0; height: 56px; pointer-events: none; background: var(--wave-bg);
  -webkit-mask: var(--wave-mask) repeat-x 0 0 / 1200px 56px; mask: var(--wave-mask) repeat-x 0 0 / 1200px 56px; animation: crest 40s linear infinite; }
.wavy::before, .cs::before, .ftr::before { top: -55px;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='56' viewBox='0 0 1200 56'%3E%3Cpath d='M0 30 Q300 0 600 30 T1200 30 V56 H0Z'/%3E%3C/svg%3E"); }
.wavy::after { bottom: -55px; animation-direction: reverse;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='56' viewBox='0 0 1200 56'%3E%3Cpath d='M0 26 Q300 56 600 26 T1200 26 V0 H0Z'/%3E%3C/svg%3E"); }
@keyframes crest { to { -webkit-mask-position: 1200px 0; mask-position: 1200px 0; } }.hero__inner { display: grid; gap: 2rem; align-items: center; padding-top: clamp(7rem, 11vw, 8.5rem); padding-bottom: clamp(14rem, 22vw, 19rem); }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }
.hero__copy { display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; }
.slide.is-on { visibility: visible; }
.hero__title { font-family: var(--f-head); font-size: clamp(2.5rem, 1.2rem + 4vw, 4.9rem); line-height: 1.02; letter-spacing: -.03em; }
.hero__title .lt { font-weight: 300; }
.hero__title .bd { font-weight: 800; background: linear-gradient(90deg, #FFFFFF 0%, #FFD5DA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.hero__lead { margin: 1.6rem 0 2.3rem; max-width: 34em; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: rgba(255,255,255,.88); }

.hero__art { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 620px; margin-inline: auto; will-change: transform; }
.hero__halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.28), rgba(255,255,255,0) 70%); filter: blur(10px); }
.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; scale: .9; transition: opacity .9s var(--ease), scale 1.2s var(--ease);
  filter: drop-shadow(0 40px 50px rgba(50, 0, 8, .35)); }
.art.is-on { opacity: 1; scale: 1; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

.hero__ctrl { position: absolute; left: 0; right: 0; bottom: clamp(8rem, 15vw, 13rem); z-index: 2; }
.pager { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.pager button { display: grid; grid-template-columns: 1fr; gap: .1rem .6rem; align-items: baseline; text-align: left; color: rgba(255,255,255,.6); transition: color .3s; }
.pager button[aria-selected="true"], .pager button:hover { color: #fff; }

.pager span { font-size: .85rem; }
.pager i { grid-column: 1 / -1; display: block; width: clamp(56px, 8vw, 110px); height: 2px; margin-top: .5rem; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.pager em { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.pager button[aria-selected="true"] em { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.no-motion .pager button[aria-selected="true"] em { animation: none; transform: none; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 600px) { .pager span { font-size: .78rem; } }


/* ---- Sections ------------------------------------------------------------- */
.sec { position: relative; padding-block: clamp(5rem, 10vw, 8rem); }
.prod--alt { background: var(--bg-alt); }
.prod--alt.wavy, .clients.wavy { background: var(--wave-bg); }

/* products overview */
.pcards { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pcards { grid-template-columns: repeat(4, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 2rem 1.7rem 1.8rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red), #FF7A88); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pcard { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.pcard:hover { --ty: -8px; box-shadow: var(--shadow-hi); }
.pcard:hover::before { transform: none; }
.pcard img { width: 64px; height: 64px; margin-bottom: .6rem; filter: drop-shadow(0 12px 16px rgba(0,0,0,.14)); transition: transform .6s var(--ease); }
.pcard:hover img { transform: rotate(-8deg) scale(1.08); }
.pcard b { font-family: var(--f-head); font-weight: 800; font-size: 1.65rem; letter-spacing: -.02em; color: var(--ink); }
.pcard > span { color: var(--fog); font-size: .95rem; line-height: 1.55; }
.pcard i { margin-top: auto; padding-top: .8rem; font-style: normal; font-weight: 600; font-size: .92rem; color: var(--red); }

/* product sections */
.prod__grid { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 960px) {
  .prod__grid { grid-template-columns: 1fr 1fr; }
  .prod__grid--flip .prod__art { order: 2; }
}
.prod__art { position: relative; display: grid; place-items: center; }
.prod__art > img { position: relative; z-index: 1; width: 100%; max-width: 600px; filter: drop-shadow(0 40px 50px rgba(40, 10, 15, .18)); }
.blob { position: absolute; z-index: 0; width: 82%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; animation: morph 14s ease-in-out infinite alternate; }
.blob--green { background: radial-gradient(circle at 35% 35%, rgba(120, 200, 90, .28), rgba(120, 200, 90, .05) 70%); }
.blob--blue  { background: radial-gradient(circle at 35% 35%, rgba(60, 140, 240, .22), rgba(60, 140, 240, .04) 70%); }
.blob--navy  { background: radial-gradient(circle at 35% 35%, rgba(30, 80, 170, .2), rgba(30, 80, 170, .04) 70%); }
.blob--red   { background: radial-gradient(circle at 35% 35%, rgba(227, 0, 27, .18), rgba(227, 0, 27, .03) 70%); }
.blob--grey  { background: radial-gradient(circle at 35% 35%, rgba(70, 70, 90, .14), rgba(70, 70, 90, .03) 70%); }
@keyframes morph { to { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; rotate: 25deg; } }
.prod__copy .lead { margin-top: 1.4rem; }

.feats { display: grid; gap: 1.5rem 2rem; margin-top: 2.4rem; }
@media (min-width: 560px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats li { display: grid; grid-template-columns: 50px 1fr; gap: .15rem 1rem; align-items: start; }
.feats img { grid-row: span 2; width: 50px; height: 50px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 22px -12px rgba(80, 10, 20, .3); transition: translate .5s var(--ease), rotate .5s var(--ease); }
.feats li:hover img { translate: 0 -3px; rotate: -4deg; }
.feats b { font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.feats span { color: var(--fog); font-size: .9rem; line-height: 1.5; }

.cta-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.cta-bar > span { font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.chips li { padding: .55rem 1.15rem; border-radius: 999px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .93rem; }

/* clients marquee */
.clients { background: var(--bg-alt); }
.marquee { display: grid; gap: 1.2rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 1.2rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee li { flex: none; display: grid; place-items: center; width: clamp(170px, 18vw, 240px); height: clamp(88px, 9vw, 116px); padding: 1rem 1.6rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.marquee img { max-height: 70px; width: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.marquee li:hover img { transform: scale(1.06); }
.no-motion .marquee__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }

/* about + stats + points */
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 0; margin-top: 2.6rem; }
.stats div { display: grid; padding-right: clamp(1.4rem, 3vw, 2.6rem); margin-right: clamp(1.4rem, 3vw, 2.6rem); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats b { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { margin-top: .5rem; color: var(--fog); font-size: .95rem; }
.points { margin-top: clamp(6rem, 11vw, 9rem); }
.pts { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .pts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pts { grid-template-columns: repeat(3, 1fr); } }
.pts li { display: grid; gap: .45rem; padding: 2rem 1.8rem; border-radius: 22px; background: var(--bg-alt); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.pts li:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-hi); }
.pts svg { width: 54px; height: 54px; padding: 13px; margin-bottom: .7rem; border-radius: 16px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(135deg, #F2142F, #9E0016); box-shadow: 0 12px 24px -10px rgba(200, 0, 25, .6); }
.pts b { font-family: var(--f-head); font-weight: 700; font-size: 1.22rem; color: var(--ink); }
.pts span { color: var(--fog); font-size: .95rem; }

/* contact (maroon) */
.cs { position: relative; color: #fff; padding-block: clamp(6rem, 11vw, 9rem) clamp(5rem, 10vw, 8rem);
  background: radial-gradient(45% 55% at 78% 58%, rgba(230, 20, 45, .38), transparent 70%), linear-gradient(180deg, #6A0A12 0%, #4C060C 100%); }
.cs .lead { color: rgba(255,255,255,.8); margin-top: 1.4rem; }
.contacts { display: grid; gap: .8rem; margin: 2.2rem 0 2.4rem; }
@media (min-width: 560px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contacts a { display: grid; gap: .15rem; padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .4s, transform .4s var(--ease); }
.contacts a:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.contacts small { font-size: .8rem; color: rgba(255,255,255,.65); }
.contacts b { font-weight: 600; font-size: .98rem; }
.cs__art img { max-width: 420px; filter: none; animation: float 7s ease-in-out infinite; }
.cs__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 70, 90, .35), transparent 70%); filter: blur(20px); }

/* ---- Footer --------------------------------------------------------------- */
.ftr { background: #1C0B0E; color: rgba(255,255,255,.66); padding-top: clamp(4rem, 8vw, 5.5rem); }
.ftr__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .ftr__top { grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; } }
.ftr__logo { height: 36px; width: auto; }
.ftr__blurb { margin-top: 1.2rem; max-width: 34ch; font-size: .95rem; }
.fcol { display: grid; gap: .6rem; align-content: start; font-size: .95rem; }
.fcol .h { font-family: var(--f-head); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.fcol a { width: fit-content; transition: color .3s; }
.fcol a:hover { color: #fff; }
.ftr__bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.45); }

/* ---- Laptop mockup (Rekapos screen) ------------------------------------- */
.device { position: relative; z-index: 1; width: 100%; max-width: 620px; perspective: 1600px; }
.laptop { transform: rotateY(-12deg) rotateX(4deg); transform-style: preserve-3d; filter: drop-shadow(0 50px 50px rgba(30, 40, 90, .22)); }
.laptop__lid { position: relative; padding: 2.2%; border-radius: 16px 16px 4px 4px; background: linear-gradient(180deg, #2E2F33, #18191C); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.laptop__lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3B3C41; }
.laptop__screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #0b0b0c; }
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.laptop__base { position: relative; width: 114%; margin-left: -7%; height: 16px; border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%; background: linear-gradient(180deg, #ECEBE8, #C6C5C1 60%, #A8A7A3); }
.laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 45%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #B6B5B1; }
.device__glare { position: absolute; inset: 2.2% 2.2% auto; aspect-ratio: 16 / 10; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%); border-radius: 3px; }

/* ---- Animated extras ------------------------------------------------------ */
.hdr__progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--red), #FF7A88); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .4s; }
.hdr.solid .hdr__progress { opacity: 1; }
.nav__link { padding-block: .2rem; }

@keyframes bob { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -18px; rotate: 6deg; } }

.prod__grid--flip .prod__badge { position: absolute !important; z-index: 2 !important; width: clamp(54px, 5vw, 76px) !important; right: 8%; top: 6%; border-radius: 18px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.2)) !important; animation: bob 7s ease-in-out infinite; }
.prod__grid--flip .prod__badge { right: auto; left: 8%; }

.cs__art { position: relative; }
.bubble { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: .92rem; box-shadow: 0 20px 40px -16px rgba(20, 0, 4, .55); white-space: nowrap; }
.bubble img { width: 26px; height: 26px; }
.bubble--in { left: -2%; top: 8%; animation: bob 8s ease-in-out infinite; rotate: 0deg; }
.bubble--typing { right: 4%; bottom: 10%; gap: 5px; padding: .9rem 1.1rem; border-radius: 18px 18px 4px 18px; }
.bubble--typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: typing 1.2s ease-in-out infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; } .bubble--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }
@media (max-width: 560px) { .bubble { font-size: .8rem; } .bubble--in { left: 0; } }

.ftr__mega { overflow: hidden; margin-top: 1rem; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.8rem, 1rem + 8.4vw, 9.5rem); line-height: .95; letter-spacing: -.045em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr__mega span { display: block; }

.js-motion .pts svg * { stroke-dasharray: 1; stroke-dashoffset: 1; } /* JS sets pathLength=1, then draws */

/* ---- Screen compositions (hero + product art) ----------------------------- */
.stack { position: absolute; inset: 0; }
.stack--solo { position: relative; inset: auto; width: 100%; max-width: 600px; aspect-ratio: 16 / 11; z-index: 1; }
.win { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 34px 60px -24px rgba(40, 0, 6, .55); }
.win__bar { display: flex; align-items: center; gap: 5px; height: 20px; padding-inline: 9px; background: #F3F1EE; border-bottom: 1px solid rgba(0,0,0,.06); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: #DCD7CF; }
.win img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.win--main { width: 82%; left: 9%; top: 24%; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.win--a { width: 44%; right: -3%; top: 4%; transform: rotate(4deg); animation: drift-y 7s ease-in-out infinite; }
.win--b { width: 42%; left: -5%; bottom: 7%; transform: rotate(-5deg); animation: drift-y 8s ease-in-out infinite reverse; }
.stack--2 .stack__phones { position: absolute; width: 74%; left: 18%; top: 4%; }
.stack--2 .win--b { width: 46%; left: -4%; bottom: 10%; }
.stack--3 .win--main { left: 6%; top: 20%; transform: perspective(1400px) rotateY(9deg) rotateX(3deg); }
.stack--3 .win--a { right: auto; left: -4%; top: 2%; transform: rotate(-4deg); }
.stack--3 .win--b { left: auto; right: -5%; bottom: 6%; transform: rotate(5deg); }
.stack--4 .win--main { top: 18%; }
.stack--solo .win--main { width: 100%; left: 0; top: 0; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.stack__badge { position: absolute; z-index: 2; right: -2%; top: -8%; width: clamp(56px, 6vw, 80px); border-radius: 20px; filter: drop-shadow(0 16px 22px rgba(0,0,0,.22)); animation: drift-y 6s ease-in-out infinite; }
@keyframes drift-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.bubble--hero { left: 2%; top: 4%; white-space: nowrap; animation: drift-y 7s ease-in-out infinite; }
.badge247 { position: absolute; right: 0; bottom: 6%; display: grid; padding: .9rem 1.2rem; border-radius: 18px; background: #fff; box-shadow: 0 24px 40px -18px rgba(40,0,6,.55); animation: drift-y 8s ease-in-out infinite reverse; }
.badge247 b { font-family: var(--f-head); font-weight: 800; font-size: 1.9rem; line-height: 1; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge247 span { font-size: .8rem; font-weight: 600; color: var(--fog); }

/* desktop monitor mockup (Lemon) */
.mon { position: relative; z-index: 1; width: 100%; max-width: 600px; filter: drop-shadow(0 44px 44px rgba(30, 50, 30, .22)); }
.mon__screen { padding: 2.2% 2.2% 5%; border-radius: 18px; background: linear-gradient(180deg, #2A2B2F, #131416); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.mon__screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 4px; }
.mon__neck { display: block; width: 15%; height: clamp(34px, 5vw, 60px); margin: 0 auto; background: linear-gradient(90deg, #BEBEBE, #F2F2F2 45%, #C9C9C9); }
.mon__foot { display: block; width: 34%; height: 10px; margin: 0 auto; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #ECECEC, #B9B9B9); }

/* language switch: ID | EN toggle; the thumb rests on the current language */
.lang { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 84px; height: 36px; padding: 3px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 2px 6px rgba(60,0,8,.25); }
.lang__opt { position: relative; z-index: 2; text-align: center; font-family: var(--f-head); font-weight: 800; font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.72); transition: color .45s var(--ease); }
.lang__thumb { position: absolute; z-index: 1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff;
  box-shadow: 0 4px 10px -2px rgba(60,0,8,.45), inset 0 -1px 0 rgba(0,0,0,.06); transition: transform .55s cubic-bezier(.34,1.56,.64,1), width .35s var(--ease), left .35s var(--ease); }
.lang--en .lang__thumb { transform: translateX(100%); }
.lang--id .lang__opt--id, .lang--en .lang__opt--en { color: var(--red-2); }
/* hover: the thumb stretches toward the other language, a faint wave runs through the track */
.lang--id:hover .lang__thumb { width: calc(57% - 3px); }
.lang--en:hover .lang__thumb { left: calc(-7% + 3px); width: calc(57% - 3px); }
.lang__wave { position: absolute; inset: 0; z-index: 0; opacity: 0; background: rgba(255,255,255,.5);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 0 12 4 T24 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 50% / 24px 8px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q6 0 12 4 T24 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 50% / 24px 8px; transition: opacity .4s; }
.lang:hover .lang__wave { opacity: .6; animation: langwave 1.4s linear infinite; }
@keyframes langwave { to { -webkit-mask-position: 24px 50%; mask-position: 24px 50%; } }
/* click: thumb glides across before the page changes (set by main.js) */
.lang.is-going.lang--id .lang__thumb { width: calc(50% - 3px); transform: translateX(100%); }
.lang.is-going.lang--en .lang__thumb { left: 3px; width: calc(50% - 3px); transform: none; }
.lang.is-going.lang--id .lang__opt--id, .lang.is-going.lang--en .lang__opt--en { color: rgba(255,255,255,.72); }
.lang.is-going.lang--id .lang__opt--en, .lang.is-going.lang--en .lang__opt--id { color: var(--red-2); }
/* light header: red thumb, dark labels */
.hdr.solid .lang { background: #F4EFEE; box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 5px rgba(60,20,25,.08); }
.hdr.solid .lang__opt { color: var(--fog); }
.hdr.solid .lang__thumb { background: linear-gradient(135deg, #F2142F, #A80015); box-shadow: 0 6px 14px -4px rgba(200,0,25,.6); }
.hdr.solid .lang--id .lang__opt--id, .hdr.solid .lang--en .lang__opt--en,
.hdr.solid .lang.is-going.lang--id .lang__opt--en, .hdr.solid .lang.is-going.lang--en .lang__opt--id { color: #fff; }
.hdr.solid .lang.is-going.lang--id .lang__opt--id, .hdr.solid .lang.is-going.lang--en .lang__opt--en { color: var(--fog); }
.hdr.solid .lang__wave { background: rgba(200,0,25,.35); }
@media (max-width: 900px) {
  .lang { width: 104px; height: 44px; background: #F4EFEE; box-shadow: inset 0 0 0 1px var(--line); }
  .lang__opt { color: var(--fog); font-size: .9rem; }
  .lang__thumb { background: linear-gradient(135deg, #F2142F, #A80015); }
  .lang--id .lang__opt--id, .lang--en .lang__opt--en { color: #fff; }
}
/* in-place language swap: a quick dip while the text changes */
.lang-swapping main, .lang-swapping .ftr, .lang-swapping .nav__menu > li:not(.nav__lang) { transition: opacity .17s ease; }
.lang-swap main, .lang-swap .ftr, .lang-swap .nav__menu > li:not(.nav__lang) { opacity: .15; }

/* ---- Nav dropdown ---------------------------------------------------------- */
.nav__dd { position: relative; }
.caret { display: inline-block; width: 10px; height: 6px; margin-left: .3rem; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: middle; transition: transform .4s var(--ease); }
.dd { position: absolute; left: 50%; top: calc(100% + 14px); width: 300px; padding: .6rem; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -20px rgba(60, 10, 20, .4), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .35s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__dd:hover .dd, .nav__dd:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.nav__dd:hover .caret, .nav__dd:focus-within .caret { transform: rotate(180deg); }
.dd a { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; padding: .6rem .7rem; border-radius: 12px; color: var(--text); transition: background .3s; }
.dd a:hover { background: #FFF3F4; }
.dd img { width: 40px; height: 40px; border-radius: 11px; }
.dd b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1rem; }
.dd small { display: block; color: var(--fog); font-size: .8rem; }

/* ---- Page hero (sub-pages) ------------------------------------------------- */
.phero { position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: radial-gradient(60% 70% at 80% 40%, rgba(255, 60, 80, .5) 0%, transparent 60%), linear-gradient(135deg, #D5001B 0%, #AE0018 50%, #6C0711 100%); }
.phero--photo { background: linear-gradient(105deg, rgba(200, 0, 24, .94) 0%, rgba(160, 0, 22, .86) 45%, rgba(90, 6, 16, .62) 100%), url("/assets/img/sections/kantor.jpg") center 35% / cover; }
.phero__inner { display: grid; gap: 2.5rem; align-items: center; padding-top: clamp(8rem, 13vw, 10rem); padding-bottom: clamp(6.5rem, 11vw, 9rem); min-height: min(72svh, 720px); }
@media (min-width: 960px) { .phero__inner--art { grid-template-columns: 1.05fr .95fr; } }
.phero__copy { max-width: 44rem; }
.phero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.phero__art { position: relative; display: grid; place-items: center; }
.phero__img { width: 100%; max-width: 560px; filter: drop-shadow(0 40px 50px rgba(50, 0, 8, .4)); animation: float 7s ease-in-out infinite; }
.phero__art .device { max-width: 560px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---- Feature grid (product pages) ----------------------------------------- */
.fgrid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fgrid { grid-template-columns: repeat(3, 1fr); } }
.fgrid li { display: grid; gap: .5rem; padding: 1.8rem 1.6rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fgrid li:hover { transform: translateY(-6px); box-shadow: var(--shadow-hi); }
.fgrid img { width: 58px; height: 58px; padding: 8px; margin-bottom: .5rem; border-radius: 16px; background: #FFF6F6; }
.fgrid b { font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.fgrid span { color: var(--fog); font-size: .95rem; }
.pcards--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .pcards--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- About page ------------------------------------------------------------ */
.photo { position: relative; margin: 0; width: 100%; max-width: 560px; }
.photo img { width: 100%; border-radius: 28px; box-shadow: 0 40px 70px -30px rgba(60, 10, 20, .45); }
.photo figcaption { position: absolute; z-index: 2; right: -4%; bottom: 8%; display: grid; padding: 1rem 1.3rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow-hi); }
.photo figcaption b { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; color: var(--red); }
.photo figcaption span { font-size: .85rem; color: var(--fog); }
.prose { display: grid; gap: 1.1rem; margin-top: 1.6rem; color: var(--fog); }
.prose strong { color: var(--ink); }
.journey { display: grid; gap: 2rem; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(3, 1fr); gap: 2.6rem; } }
.journey li { position: relative; padding-top: 1.6rem; border-top: 2px solid rgba(200, 0, 25, .15); }
.journey li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227,0,27,.14); }
.journey__y { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.journey b { display: block; margin-top: .6rem; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.journey p { margin-top: .4rem; color: var(--fog); font-size: .95rem; }
.stats--center { justify-content: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.flow { position: relative; display: grid; gap: 1.4rem; max-width: 900px; margin-inline: auto; }
.flow::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--red), rgba(227,0,27,.1)); }
.flow__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; align-items: start; }
.flow__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, #F2142F, #9E0016); box-shadow: 0 14px 26px -12px rgba(200,0,25,.6); }
.flow__dot svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow__card { padding: 1.5rem 1.7rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.flow__card small { color: var(--red); font-weight: 600; font-size: .82rem; }
.flow__card b { display: block; margin-top: .2rem; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.flow__card p { margin-top: .5rem; color: var(--fog); font-size: .96rem; }
.eco-icons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.eco-icons a { display: grid; justify-items: start; gap: .2rem; padding: 1.4rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.eco-icons a:hover { transform: translateY(-6px); box-shadow: var(--shadow-hi); }
.eco-icons img { width: 56px; height: 56px; margin-bottom: .6rem; border-radius: 16px; }
.eco-icons b { font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.eco-icons small { color: var(--fog); }

/* ---- Office / contact ------------------------------------------------------ */
.addr { display: grid; gap: 1rem; margin: 2rem 0 2.2rem; }
.addr div { display: grid; gap: .2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.addr dt { font-size: .82rem; font-weight: 600; color: var(--red); }
.addr dd { margin: 0; color: var(--text); }
.addr a:hover { color: var(--red); }
.map { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 40px 70px -30px rgba(60, 10, 20, .4); aspect-ratio: 4 / 3.4; background: #EEE; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ccards { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .ccards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ccards { grid-template-columns: repeat(4, 1fr); } }
.ccards a { display: grid; gap: .3rem; height: 100%; padding: 1.8rem 1.6rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.ccards a:hover { transform: translateY(-6px); box-shadow: var(--shadow-hi); }
.ccards svg { width: 52px; height: 52px; padding: 12px; margin-bottom: .8rem; border-radius: 16px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, #F2142F, #9E0016); }
.ccards small { color: var(--fog); font-size: .85rem; }
.ccards b { font-family: var(--f-head); font-weight: 800; font-size: 1.1rem; color: var(--ink); word-break: break-word; }
.ccards span { color: var(--fog); font-size: .9rem; }

/* ---- Server page ----------------------------------------------------------- */
@media (min-width: 1000px) { .pts--5 { grid-template-columns: repeat(5, 1fr); } }
.ticks { display: grid; gap: .6rem; margin-top: 1.8rem; }
@media (min-width: 560px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.ticks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #F2142F, #9E0016); color: #fff; font-size: .72rem; font-weight: 700; }

/* ---- Rich product pages ---------------------------------------------------- */
.hchips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.8rem; }
.hchips li { padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.stack__phone { position: absolute; z-index: 2; right: -6%; bottom: -18%; width: 30%; border-radius: 22px; box-shadow: 0 30px 50px -20px rgba(30, 0, 6, .6); animation: drift-y 7s ease-in-out infinite; }
.stack--tilt-r .win--main { transform: perspective(1400px) rotateY(8deg) rotateX(3deg); }
.pain { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .pain { grid-template-columns: 1.1fr .9fr; gap: 5rem; } }
.pain .lead { margin-top: 1.3rem; }
.pain__list { display: grid; gap: .8rem; }
.pain__list li { position: relative; padding: 1.1rem 1.3rem 1.1rem 3.2rem; border-radius: 18px; background: var(--bg-alt); font-weight: 500; }
.pain__list li::before { content: "✕"; position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(227,0,27,.1); color: var(--red); font-size: .7rem; font-weight: 700; }
.cgroups { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .cgroups { grid-template-columns: repeat(2, 1fr); } }
.cgroup { padding: 1.8rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.cgroup h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin-bottom: 1rem; }
.cgroup ul { display: grid; gap: .8rem; }
.cgroup li { position: relative; display: grid; gap: .1rem; padding-left: 1.6rem; }
.cgroup li::before { content: "✓"; position: absolute; left: 0; top: .15rem; color: var(--red); font-weight: 700; font-size: .85rem; }
.cgroup b { font-weight: 600; color: var(--ink); }
.cgroup span { color: var(--fog); font-size: .9rem; }
.fgrid--plain em { justify-self: start; padding: .25rem .7rem; border-radius: 999px; background: rgba(227,0,27,.08); color: var(--red-2); font-style: normal; font-size: .78rem; font-weight: 600; margin-bottom: .4rem; }
.day { position: relative; display: grid; gap: 1rem; }
@media (min-width: 900px) { .day { grid-template-columns: repeat(5, 1fr); } .day::before { content: ""; position: absolute; left: 4%; right: 4%; top: 1.15rem; height: 2px; background: linear-gradient(90deg, var(--red), rgba(227,0,27,.15)); } }
.day li { position: relative; display: grid; align-content: start; gap: .35rem; padding: 3rem 1.3rem 1.4rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.day time { position: absolute; top: .6rem; left: 1.3rem; padding: .2rem .7rem; border-radius: 999px; background: linear-gradient(135deg, #F2142F, #9E0016); color: #fff; font-size: .8rem; font-weight: 700; }
.day b { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.day span { color: var(--fog); font-size: .9rem; }
.dual { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .dual { grid-template-columns: 1fr 1fr; } }
.dual__col { padding: 2rem; border-radius: 24px; background: var(--bg-alt); }
.dual__col h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; color: var(--red-2); margin-bottom: 1.2rem; }
.ticks--1 { grid-template-columns: 1fr !important; margin-top: 0; }
.testi { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .testi { grid-template-columns: repeat(3, 1fr); } }
.testi li { display: grid; align-content: space-between; gap: 1.4rem; padding: 2rem 1.8rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.testi blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.testi p { display: grid; gap: .1rem; }
.testi b { font-family: var(--f-head); font-weight: 800; color: var(--ink); }
.testi span { color: var(--fog); font-size: .85rem; }
.howto { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto li { display: grid; align-content: start; gap: .5rem; padding: 2rem 1.8rem; border-radius: 24px; background: var(--bg-alt); }
.howto b { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.howto span { color: var(--fog); }
.plans { display: grid; gap: 1.2rem; align-items: stretch; }
@media (min-width: 760px) { .plans--1, .plans--2 { grid-template-columns: repeat(auto-fit, minmax(0, 420px)); justify-content: center; } }
@media (min-width: 980px) { .plans--3 { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 2.2rem 1.9rem 1.9rem; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.plan--hot { box-shadow: 0 0 0 2px var(--red), var(--shadow-hi); }
.plan > em { position: absolute; top: -.8rem; left: 1.9rem; padding: .3rem .8rem; border-radius: 999px; background: linear-gradient(135deg, #F2142F, #9E0016); color: #fff; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.plan h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.plan__price { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__sub { color: var(--fog); font-size: .88rem; }
.plan ul, .module ul { display: grid; gap: .55rem; margin: 1rem 0 1.6rem; }
.plan li, .module li { position: relative; padding-left: 1.5rem; font-size: .93rem; }
.plan li::before, .module li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.plan .btn { margin-top: auto; justify-content: center; }
.plans__note { margin: 1.6rem auto 0; text-align: center; color: var(--fog); font-size: .92rem; max-width: 60em; }
.addons { margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.addons summary, .faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-head); font-weight: 800; font-size: 1.1rem; color: var(--ink); list-style: none; }
.addons summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.addons summary::after, .faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; transition: rotate .4s var(--ease); }
.addons[open] summary::after, .faq details[open] summary::after { rotate: 45deg; }
.addons > p { margin-top: 1rem; color: var(--fog); font-size: .93rem; }
.addons ul { display: grid; gap: .6rem 2rem; margin-top: 1.2rem; }
@media (min-width: 760px) { .addons ul { grid-template-columns: 1fr 1fr; } }
.addons li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.addons li b { font-weight: 600; }
.addons li span { grid-column: 1; color: var(--fog); font-size: .85rem; }
.addons li em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 600; font-size: .85rem; color: var(--red-2); white-space: nowrap; }
.modules { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 760px) { .modules { grid-template-columns: 1fr 1fr; } }
.module { padding: 1.9rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.module h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.faq { max-width: 900px; }
.faq__list { display: grid; gap: .8rem; }
.faq details { padding: 1.3rem 1.5rem; border-radius: 18px; background: var(--bg-alt); transition: background .4s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq details p { margin-top: .8rem; color: var(--fog); }

/* ---- Motion states -------------------------------------------------------- */
.js-motion [data-fade], .js-motion [data-stagger] > li { opacity: 0; transform: translateY(30px); }
.js-motion .slide.is-on .mask > span { transform: translateY(110%); }
.js-motion .slide.is-on .hero__lead, .js-motion .slide.is-on .btn { opacity: 0; }

/* ---- Mobile nav ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hdr.solid { background: rgba(255, 255, 255, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 0; z-index: 310; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: var(--gutter);
    background: #fff; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s cubic-bezier(.76,0,.24,1), visibility 0s linear .7s; }
  .nav.open .nav__menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s cubic-bezier(.76,0,.24,1), visibility 0s; }
  .nav__menu .nav__link { padding: 0; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; color: var(--text); }
  .nav__menu .nav__link::after { display: none; }
  .nav__menu { overflow-y: auto; justify-content: flex-start; padding-top: 6rem; }
  .dd { position: static; width: auto; padding: .4rem 0 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; }
  .nav__dd:hover .dd, .nav__dd:focus-within .dd { transform: none; } /* the desktop flyout centring must not apply here */
  .dd::before, .caret { display: none; }
  .dd a { padding: .45rem 0; }
  .nav__cta { color: #fff; background: linear-gradient(180deg, #F2142F, #C40019); font-size: 1rem; margin-top: .8rem; }
  .hero__inner { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__art { max-width: 420px; order: -1; }
  .pager { justify-content: center; }
}

/* ---- Skip link ------------------------------------------------------------ */
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: .7rem 1rem; border-radius: 10px; background: var(--red); color: #fff; font-weight: 600; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }
