/* ==========================================================================
   REKLAMENESIA — CMS Theme
   Faithful conversion of the Framer site (reklamenesia.framer.website)
   Design language: brand red (#C21F1F) + near-black (#0C0C0C),
   Instrument Sans display / Inter body, ticker marquees, scroll reveals.
   --------------------------------------------------------------------------
   00 Tokens   01 Reset/Base   02 Typography   03 Layout   04 Buttons
   05 Navbar   06 Mobile nav   07 Hero         08 Marquees 09 About/Stats
   10 Services 11 Testimonials 12 FAQ          13 CTA      14 Footer
   15 WA float 16 Page hero    17 Gallery      18 Blog     19 Produk
   20 Reveal/Motion            21 Responsive
   ========================================================================== */

/* ===== 00 · DESIGN TOKENS ================================================ */
:root {
  /* Brand — overridable from admin (Appearance) but defaults to Framer red */
  --rk-red:        #C21F1F;
  --rk-red-700:    #A51A1A;
  --rk-red-900:    #7A0F12;
  --rk-red-soft:   rgba(194, 31, 31, 0.10);

  --rk-ink:        #0C0C0C;   /* near-black surfaces / text */
  --rk-ink-2:      #111111;
  --rk-ink-3:      #161616;

  --rk-cream:      #FFF5EC;   /* warm light section bg */
  --rk-cream-2:    #F7F4F0;
  --rk-paper:      #F5F5F5;   /* neutral light bg */
  --rk-white:      #FFFFFF;

  --rk-text:       #0C0C0C;
  --rk-text-soft:  rgba(12, 12, 12, 0.72);
  --rk-text-mute:  #8B8A87;
  --rk-on-dark:    #F5F5F5;
  --rk-on-dark-mute: rgba(245, 245, 245, 0.62);

  --rk-line:       rgba(12, 12, 12, 0.10);
  --rk-line-dark:  rgba(255, 255, 255, 0.12);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Type scale (fluid) */
  --fs-display: clamp(42px, 7.2vw, 92px);
  --fs-h1:      clamp(36px, 5.4vw, 72px);
  --fs-h2:      clamp(30px, 4vw, 52px);
  --fs-h3:      clamp(22px, 2.4vw, 30px);
  --fs-lead:    clamp(16px, 1.3vw, 19px);
  --fs-body:    16px;
  --fs-sm:      14px;
  --fs-xs:      12px;

  /* Spacing rhythm */
  --pad-x: clamp(20px, 5vw, 80px);
  --sec-y: clamp(72px, 9vw, 140px);
  --maxw: 1280px;

  /* Motion — Framer default ease */
  --ease: cubic-bezier(.44, 0, .56, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s;
  --t-med:  .4s;
  --t-slow: .7s;

  --shadow-sm: 0 2px 8px rgba(12,12,12,.06);
  --shadow-md: 0 18px 50px rgba(12,12,12,.10);
  --shadow-lg: 0 30px 80px rgba(12,12,12,.16);

  /* CMS bridge: legacy vars some partials reference */
  --accent: var(--rk-red);
  --text-dark: var(--rk-ink);
  --text-muted: var(--rk-text-mute);
  --bg-dark: var(--rk-ink);
  --bg-cream: var(--rk-cream);
  --bg-cream-2: var(--rk-cream-2);
  --border: var(--rk-line);
  --radius-md: var(--r-md);
}

/* ===== 01 · RESET / BASE ================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--rk-text);
  background: var(--rk-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: var(--rk-red); color: #fff; }

/* ===== 02 · TYPOGRAPHY ==================================================== */
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--rk-ink);
}
.display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.035em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rk-text-soft);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rk-red); flex: none;
  box-shadow: 0 0 0 4px var(--rk-red-soft);
}
.eyebrow.on-dark { color: var(--rk-on-dark-mute); }
.eyebrow.center { justify-content: center; }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--rk-text-soft); }
.on-dark .lead, .lead.on-dark { color: var(--rk-on-dark-mute); }

/* ===== 03 · LAYOUT ======================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); }
.section.tight { padding-block: clamp(48px, 6vw, 88px); }
.bg-cream  { background: var(--rk-cream); }
.bg-paper  { background: var(--rk-paper); }
.bg-ink    { background: var(--rk-ink); color: var(--rk-on-dark); }
.bg-white  { background: var(--rk-white); }

.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--fs-h2); margin-top: 16px; }
.sec-head .lead { margin-top: 18px; }
.on-dark .sec-head h2 { color: var(--rk-on-dark); }

/* ===== 04 · BUTTONS ====================================================== */
.btn {
  --bg: var(--rk-ink); --fg: #fff; --circ: var(--rk-red); --circ-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 22px 9px 9px;
  background: var(--bg); color: var(--fg);
  border-radius: var(--r-pill);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  will-change: transform;
}
.btn .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--circ); color: var(--circ-fg);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-med) var(--ease);
  flex: none;
}
.btn .ic svg { transition: transform var(--t-med) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12,12,12,.20); }
.btn:hover .ic { transform: rotate(45deg); }
.btn.light { --bg: #fff; --fg: var(--rk-ink); --circ: var(--rk-red); --circ-fg: #fff; box-shadow: var(--shadow-sm); }
.btn.red   { --bg: var(--rk-red); --fg: #fff; --circ: #fff; --circ-fg: var(--rk-red); }
.btn.ghost { --bg: transparent; --fg: var(--rk-ink); box-shadow: inset 0 0 0 1px var(--rk-line); }
.btn.ghost.on-dark { --fg: #fff; box-shadow: inset 0 0 0 1px var(--rk-line-dark); }
.btn.sm { padding: 7px 18px 7px 7px; font-size: 14px; }
.btn.sm .ic { width: 30px; height: 30px; }

/* round arrow chip (service cards, carousel nav) */
.chip-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.32);
  transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease-spring), border-color var(--t-med) var(--ease);
}
.chip-arrow svg { transition: transform var(--t-med) var(--ease); }

/* ===== 05 · NAVBAR ======================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 18px var(--pad-x);
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; height: 34px; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .wordmark { font-family: 'Instrument Sans'; font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--rk-on-dark); }
.nav-logo .wordmark b { color: var(--rk-red); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > a, .nav-drop > a {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 15px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--rk-on-dark);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-menu > a::after, .nav-drop > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease); opacity: .8;
}
.nav-menu > a:hover::after, .nav-drop:hover > a::after, .nav-menu > a.active::after { transform: scaleX(1); }

/* dropdown — generous hover area + invisible bridge so it never drops on diagonal travel */
.nav-drop { position: relative; }
.nav-drop > a svg { transition: transform var(--t-med) var(--ease); }
.nav-drop:hover > a svg, .nav-drop:focus-within > a svg { transform: rotate(180deg); }
/* invisible bridge covering the gap between toggle and menu */
.nav-drop::after {
  content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 22px;
  z-index: 109;
}
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  margin-top: 14px; transform: translateX(-50%) translateY(8px);
  min-width: 248px; padding: 8px; z-index: 110;
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--rk-line);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med);
}
/* keep open while hovering the trigger, the bridge, or the menu itself; also on keyboard focus */
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop-menu:hover {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--rk-text-soft);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-drop-item:hover { background: var(--rk-cream); color: var(--rk-ink); }
.nav-drop-item.all { color: var(--rk-red); font-weight: 600; }
.nav-drop-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--rk-red-soft); display: grid; place-items: center; color: var(--rk-red); flex: none; }
.nav-drop-ic svg { width: 14px; height: 14px; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: var(--rk-on-dark); border: 1px solid var(--rk-line-dark); }

/* scrolled / solid state */
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--rk-line), 0 12px 30px rgba(12,12,12,.06);
  padding-block: 12px;
}
.nav.scrolled .nav-logo .wordmark { color: var(--rk-ink); }
.nav.scrolled .nav-menu > a, .nav.scrolled .nav-drop > a { color: var(--rk-text-soft); }
.nav.scrolled .nav-menu > a:hover, .nav.scrolled .nav-menu > a.active { color: var(--rk-ink); }
.nav.scrolled .nav-toggle { color: var(--rk-ink); border-color: var(--rk-line); }
.nav.scrolled .nav-logo img.logo-light { display: none; }
.nav-logo img.logo-dark { display: none; }
.nav.scrolled .nav-logo img.logo-dark { display: block; }

/* navbar on light page-hero (inner pages) — always solid, never transparent */
.nav.on-light {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--rk-line), 0 12px 30px rgba(12,12,12,.06);
  padding-block: 12px;
}
.nav.on-light .nav-logo .wordmark { color: var(--rk-ink); }
.nav.on-light .nav-menu > a, .nav.on-light .nav-drop > a { color: var(--rk-text-soft); }
.nav.on-light .nav-menu > a:hover, .nav.on-light .nav-menu > a.active { color: var(--rk-ink); }
.nav.on-light .nav-toggle { color: var(--rk-ink); border-color: var(--rk-line); }
.nav.on-light .nav-logo img.logo-light { display: none; }
.nav.on-light .nav-logo img.logo-dark { display: block; }

/* ===== 06 · MOBILE NAV =================================================== */
.m-overlay { position: fixed; inset: 0; background: rgba(12,12,12,.55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; z-index: 1100; transition: opacity var(--t-med) var(--ease), visibility var(--t-med); }
.m-overlay.open { opacity: 1; visibility: visible; }
.m-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1110;
  width: min(86vw, 360px); padding: 26px 22px;
  background: var(--rk-ink); color: var(--rk-on-dark);
  transform: translateX(105%); transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto;
}
.m-nav.open { transform: translateX(0); }
.m-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.m-nav-head .wordmark { font-family: 'Instrument Sans'; font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.m-nav-head .wordmark b { color: var(--rk-red); }
.m-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rk-line-dark); display: grid; place-items: center; font-size: 18px; }
.m-nav a.m-link { padding: 15px 4px; font-size: 19px; font-weight: 500; border-bottom: 1px solid var(--rk-line-dark); transition: color var(--t-fast); }
.m-nav a.m-link:hover { color: var(--rk-red); }
.m-sub { padding: 6px 0 10px 14px; }
.m-sub a { display: block; padding: 9px 0; font-size: 14px; color: var(--rk-on-dark-mute); }
.m-sub a::before { content: "—"; color: var(--rk-red); margin-right: 8px; }
.m-nav .btn { margin-top: auto; justify-content: center; }

/* ===== 07 · HERO ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 150px var(--pad-x) 90px;
  color: var(--rk-on-dark); overflow: hidden; text-align: center;
  background: var(--rk-red);
}
.hero::before {
  /* soft top highlight + gentle bottom deepen — stays bright red overall */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255,150,120,.28), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(94,13,15,.32) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: saturate(.7); }
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.hero-copy { max-width: 920px; margin-inline: auto; }
.hero h1 { font-size: var(--fs-h1); color: #fff; font-weight: 700; letter-spacing: -0.03em; margin-inline: auto; }
.hero p { margin: 22px auto 0; max-width: 600px; font-size: var(--fs-lead); color: rgba(255,255,255,.88); }
.hero .hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; z-index: 2; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: mouseDot 1.8s var(--ease) infinite; }
@keyframes mouseDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, 10px); } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ===== 08 · MARQUEES (image gallery + service pills) ===================== */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: var(--gap, 18px); animation: marqueeMove var(--speed, 48s) linear infinite; will-change: transform; }
.marquee[data-dir="right"] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* image marquee tiles */
.img-marquee { padding-top: 26px; }
.img-marquee .marquee-track { --gap: 18px; }
.mq-img { width: clamp(190px, 22vw, 300px); aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; flex: none; background: var(--rk-ink-3); box-shadow: var(--shadow-sm); }
.mq-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mq-img:hover img { transform: scale(1.06); }

/* service pills marquee — single row, WHITE background, slides right (matches Framer) */
.pill-marquee { padding: 14px 0 clamp(40px, 6vw, 80px); background: var(--rk-white); }
.pill-marquee .marquee-track { --gap: 16px; --speed: 48s; }
.svc-pill {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  padding: 14px 28px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--rk-line); color: var(--rk-ink);
  box-shadow: 0 1px 2px rgba(12,12,12,.04);
  font-family: 'Instrument Sans'; font-size: 18px; font-weight: 500; white-space: nowrap;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.svc-pill:hover { border-color: var(--rk-red); box-shadow: 0 6px 18px rgba(194,31,31,.12); transform: translateY(-2px); }
.svc-pill .star { color: var(--rk-red); display: inline-flex; }
.svc-pill .star svg { width: 18px; height: 18px; }

/* ===== 09 · ABOUT + STATS =============================================== */
.about { background: var(--rk-cream); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-copy h2 { font-size: var(--fs-h2); margin-top: 18px; }
.about-copy p { margin-top: 20px; max-width: 480px; }
.about-copy .btn { margin-top: 30px; }

.stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--rk-line); border-radius: var(--r-lg);
  padding: 26px 24px; min-height: 158px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--rk-cream); display: grid; place-items: center; color: var(--rk-red); }
.stat-ic svg { width: 22px; height: 22px; }
.stat-num { font-family: 'Instrument Sans'; font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: var(--rk-ink); line-height: 1; }
.stat-num b { color: var(--rk-red); }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--rk-text-mute); }
.stats .asterisk { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; color: var(--rk-red); z-index: 2; background: var(--rk-cream); border-radius: 50%; display: grid; place-items: center; animation: spin 16s linear infinite; }
.stats .asterisk svg { width: 34px; height: 34px; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ===== 10 · SERVICES (sticky watermark + stacking image tiles) ========== */
.services { position: relative; background: var(--rk-paper); padding-block: var(--sec-y); }
.services .container { position: relative; z-index: 2; }
.services-watermark {
  position: sticky; top: 34vh; z-index: 1;
  text-align: center; pointer-events: none; user-select: none;
  font-family: 'Instrument Sans'; font-weight: 700;
  font-size: clamp(64px, 15vw, 220px); line-height: .9; letter-spacing: -0.04em;
  white-space: nowrap; margin: 24px 0 -18vh;
  color: transparent;
  background: linear-gradient(180deg, rgba(12,12,12,.14), rgba(12,12,12,.03));
  -webkit-background-clip: text; background-clip: text;
}
.services-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.svc-card {
  position: relative;
  display: block; overflow: hidden;
  border-radius: var(--r-xl); aspect-ratio: 16/7.2; min-height: 300px;
  background: var(--rk-ink-3); box-shadow: var(--shadow-lg);
}
/* sticky stacking ONLY inside the home services list — narrow + centered like Framer */
.services-list .svc-card {
  position: sticky; top: 100px;
  width: min(860px, 100%); margin-inline: auto;
  aspect-ratio: 16 / 10; min-height: 0;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-card:has(.svc-card-meta)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.10) 0%, transparent 34%, rgba(12,12,12,.16) 62%, rgba(12,12,12,.72) 100%); }
.svc-card:hover img { transform: scale(1.05); }
/* arrow chip top-right (matches Framer) */
.svc-card .chip-arrow { position: absolute; top: 22px; right: 22px; z-index: 3; }
.svc-card:hover .chip-arrow { background: var(--rk-red); border-color: var(--rk-red); transform: rotate(-45deg); }
/* title bottom-left */
.svc-card-meta { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 2; }
.svc-card-title { display: block; font-family: 'Instrument Sans'; color: #fff; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.svc-card-num { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: .04em; margin-bottom: 8px; }

/* compact grid variant (services index page) — no sticky */
.svc-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-grid .svc-card { position: relative; aspect-ratio: 16/9; min-height: 240px; }

/* ===== 11 · TESTIMONIALS (center-featured carousel) ===================== */
.testi { background: var(--rk-cream); overflow: hidden; }
.testi .sec-head { text-align: center; margin-inline: auto; margin-bottom: 48px; }
.testi-stage { position: relative; }
.testi-viewport { overflow: hidden; padding: 8px 0; }
.testi-track { display: flex; transition: transform .7s var(--ease-out); will-change: transform; }
.testi-slide { flex: 0 0 100%; padding-inline: 8px; }
.testi-card {
  background: #fff; border: 1px solid var(--rk-line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 40px);
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 3vw, 44px); align-items: center;
  max-width: 860px; margin-inline: auto;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.testi-photo { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--rk-cream-2); }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-photo .ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: 'Instrument Sans'; font-size: 56px; font-weight: 700; color: var(--rk-red); }
.testi-quote { font-family: 'Instrument Sans'; font-size: clamp(18px, 2vw, 26px); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; color: var(--rk-ink); }
.testi-author { margin-top: 22px; }
.testi-name { font-weight: 600; font-size: 17px; }
.testi-role { font-size: 13px; color: var(--rk-text-mute); margin-top: 2px; }
.testi-stars { margin-top: 12px; display: inline-flex; gap: 3px; color: var(--rk-red); }
.testi-stars svg { width: 17px; height: 17px; }
.testi-nav { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rk-line); display: grid; place-items: center; color: var(--rk-ink); background: #fff; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.testi-btn:hover { background: var(--rk-red); color: #fff; border-color: var(--rk-red); transform: translateY(-2px); }
.testi-dots { display: inline-flex; gap: 7px; margin: 0 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rk-line); transition: width var(--t-med) var(--ease), background var(--t-med) var(--ease); }
.testi-dot.active { width: 24px; border-radius: 6px; background: var(--rk-red); }

/* ===== 12 · FAQ ========================================================== */
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-aside h2 { font-size: var(--fs-h2); margin-top: 16px; }
.faq-aside .lead { margin-top: 18px; }
.faq-aside .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--rk-line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.faq-item.active { border-color: transparent; box-shadow: var(--shadow-md); }
.faq-q { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; }
.faq-n { font-family: 'Instrument Sans'; font-size: 13px; font-weight: 600; color: var(--rk-red); flex: none; width: 26px; }
.faq-q span.txt { flex: 1; font-family: 'Instrument Sans'; font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; letter-spacing: -0.01em; color: var(--rk-ink); }
.faq-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--rk-cream); display: grid; place-items: center; position: relative; transition: background var(--t-med) var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--rk-ink); border-radius: 2px; transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease); }
.faq-ic::before { width: 13px; height: 2px; }
.faq-ic::after { width: 2px; height: 13px; }
.faq-item.active .faq-ic { background: var(--rk-red); }
.faq-item.active .faq-ic::before, .faq-item.active .faq-ic::after { background: #fff; }
.faq-item.active .faq-ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 24px 22px 66px; color: var(--rk-text-soft); font-size: 15px; line-height: 1.7; }
.faq-item.active .faq-a { max-height: 420px; }

/* ===== 13 · CTA ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--rk-ink); color: var(--rk-on-dark); border-radius: var(--r-xl); margin: clamp(48px, 6vw, 88px) var(--pad-x); padding: clamp(64px, 8vw, 104px) var(--pad-x); text-align: center; isolation: isolate; }
/* avoid a doubled gap: the section right before the CTA drops its bottom padding so the gap above == the CTA's symmetric top margin */
section:has(+ .cta), .section:has(+ .cta) { padding-bottom: 0; }
.cta::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: radial-gradient(60% 120% at 50% 120%, rgba(194,31,31,.55), transparent 70%); }
.cta::after { content: "✳"; position: absolute; right: 6%; top: 14%; font-size: 120px; color: rgba(194,31,31,.22); z-index: -1; animation: spin 20s linear infinite; }
.cta h2 { font-size: clamp(30px, 4.4vw, 60px); color: #fff; max-width: 880px; margin-inline: auto; }
.cta p { margin-top: 18px; color: rgba(245,245,245,.7); font-size: var(--fs-lead); }
.cta .btn { margin-top: 34px; }

/* ===== 14 · FOOTER (rebuilt to match Framer) ============================ */
.footer {
  position: relative; overflow: hidden;
  background: var(--rk-ink); color: var(--rk-on-dark);
  border-radius: 40px 40px 0 0;
  padding: clamp(56px, 7vw, 100px) var(--pad-x) 28px;
}
/* subtle rounded-square grid, faint, upper-center */
.footer-deco {
  position: absolute; top: 12%; left: 40%; right: 6%; height: 60%; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='62'%3E%3Crect x='3' y='3' width='52' height='52' rx='12' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(closest-side at 50% 40%, #000, transparent);
  mask-image: radial-gradient(closest-side at 50% 40%, #000, transparent);
}
/* huge faded wordmark watermark across the bottom */
.footer-watermark {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) translateY(16%);
  z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: 'Instrument Sans'; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(64px, 17vw, 280px); line-height: .8; color: rgba(255,255,255,.035);
}
.footer-inner { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto; }

.footer-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.footer-logo { display: inline-flex; align-items: center; gap: 16px; }
.footer-logo .mark { width: clamp(48px, 5vw, 68px); height: clamp(48px, 5vw, 68px); color: var(--rk-red); flex: none; }
.footer-logo img { height: clamp(40px, 4.5vw, 58px); width: auto; }
.footer-logo .wordmark { font-family: 'Instrument Sans'; font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.035em; color: #fff; }
.footer-desc { margin-top: 26px; max-width: 430px; color: var(--rk-on-dark-mute); font-size: 15px; line-height: 1.75; }

.footer-contact { text-align: right; }
.footer-contact .label, .footer-addr .label { color: var(--rk-on-dark-mute); font-size: 15px; }
.footer-contact .email { display: inline-block; margin-top: 12px; font-family: 'Instrument Sans'; font-weight: 600; font-size: clamp(20px, 3vw, 38px); letter-spacing: -0.02em; color: #fff; transition: color var(--t-fast); }
.footer-contact .email:hover { color: var(--rk-red); }

.footer-divider { height: 1px; background: var(--rk-line-dark); margin: clamp(40px, 5vw, 76px) 0; position: relative; z-index: 2; }

.footer-stay h3 { font-family: 'Instrument Sans'; font-weight: 700; font-size: clamp(30px, 4.2vw, 54px); letter-spacing: -0.02em; color: #fff; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.footer-socials a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.footer-socials a:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.32); }
.footer-socials a svg { width: 24px; height: 24px; }

.footer-addr { text-align: right; }
.footer-addr .val { margin-top: 12px; font-family: 'Instrument Sans'; font-weight: 600; font-size: clamp(17px, 2vw, 24px); line-height: 1.35; color: #fff; }

.footer-copy { position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 110px); color: var(--rk-on-dark-mute); font-size: 13px; }

/* ===== 15 · WHATSAPP FLOAT ============================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform var(--t-med) var(--ease-spring); }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-panel { position: absolute; right: 0; bottom: 74px; width: 320px; max-width: calc(100vw - 44px); background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 18px; transform: translateY(14px) scale(.96); transform-origin: bottom right; opacity: 0; visibility: hidden; transition: all var(--t-med) var(--ease); }
.wa-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-panel-title { font-family: 'Instrument Sans'; font-weight: 600; font-size: 17px; }
.wa-panel-sub { font-size: 13px; color: var(--rk-text-mute); margin: 2px 0 14px; }
.wa-contact { display: flex; align-items: center; gap: 12px; padding: 11px; border-radius: var(--r-sm); transition: background var(--t-fast); }
.wa-contact:hover { background: var(--rk-cream); }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-cname { font-weight: 600; font-size: 14px; }
.wa-crole { font-size: 12px; color: var(--rk-text-mute); }
.wa-greeting { position: absolute; right: 72px; bottom: 8px; width: 230px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 14px 16px; opacity: 0; visibility: hidden; transform: translateX(10px); transition: all var(--t-med) var(--ease); }
.wa-greeting.show { opacity: 1; visibility: visible; transform: translateX(0); }
.wa-greeting-title { font-weight: 600; font-size: 14px; }
.wa-greeting-text { font-size: 13px; color: var(--rk-text-mute); margin-top: 3px; }
.wa-greeting-close { position: absolute; top: 6px; right: 8px; font-size: 16px; color: var(--rk-text-mute); }

/* ===== 16 · PAGE HERO (inner pages) ===================================== */
.page-hero { position: relative; padding: 160px var(--pad-x) clamp(56px, 7vw, 96px); text-align: center; background: var(--rk-cream); border-bottom: 1px solid var(--rk-line); overflow: hidden; }
.page-hero::after { content: "✳"; position: absolute; left: -20px; bottom: -30px; font-size: 160px; color: var(--rk-red-soft); }
.page-hero .inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rk-text-mute); margin-bottom: 18px; }
.crumb a { transition: color var(--t-fast); } .crumb a:hover { color: var(--rk-red); }
.crumb .sep { opacity: .5; }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero p { margin-top: 18px; font-size: var(--fs-lead); color: var(--rk-text-soft); max-width: 620px; margin-inline: auto; }

/* ===== 16b · SERVICE DETAIL ============================================= */
.detail-hero {
  position: relative; isolation: isolate;
  background: var(--rk-red); color: #fff; text-align: center;
  padding: 150px var(--pad-x) clamp(110px, 13vw, 170px);
  overflow: hidden;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255,150,120,.26), transparent 60%);
}
.detail-hero .crumb { color: rgba(255,255,255,.72); justify-content: center; }
.detail-hero .crumb a { color: rgba(255,255,255,.88); }
.detail-hero .crumb a:hover { color: #fff; }
.detail-hero .crumb .sep { color: rgba(255,255,255,.5); }
.detail-hero h1 { font-size: var(--fs-h1); color: #fff; letter-spacing: -0.03em; }
.detail-hero p { margin: 20px auto 0; max-width: 620px; font-size: var(--fs-lead); color: rgba(255,255,255,.88); }
.detail-hero-actions { margin-top: 30px; display: flex; justify-content: center; gap: 14px; }

.detail-figure {
  max-width: 1000px; margin-inline: auto;
  margin-top: calc(-1 * clamp(80px, 10vw, 130px)); position: relative; z-index: 3;
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8.5;
  box-shadow: 0 30px 70px rgba(12,12,12,.22);
  background: var(--rk-ink-3);
}
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }

/* variant list — text left, image right (Framer "Berbagai Material …") */
.var-list { display: flex; flex-direction: column; gap: 20px; margin-top: 52px; }
.var-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--rk-paper); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px);
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.var-row:hover { box-shadow: 0 20px 50px rgba(12,12,12,.07); }
.var-row .var-text h3 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; letter-spacing: -0.02em; }
.var-row .var-text p { margin-top: 14px; color: var(--rk-text-soft); line-height: 1.7; font-size: 15px; }
.var-row .var-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 11; background: var(--rk-ink-3); }
.var-row .var-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.var-row:hover .var-img img { transform: scale(1.04); }
.var-row .var-img.noimg { display: grid; place-items: center; color: var(--rk-red); font-size: 40px; }

/* ===== 17 · GALLERY ===================================================== */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gal-filter { padding: 9px 20px; border-radius: var(--r-pill); border: 1px solid var(--rk-line); font-size: 14px; font-weight: 500; color: var(--rk-text-soft); transition: all var(--t-fast) var(--ease); }
.gal-filter:hover { border-color: var(--rk-red); color: var(--rk-red); }
.gal-filter.active { background: var(--rk-ink); color: #fff; border-color: var(--rk-ink); }
.gal-grid { columns: 3; column-gap: 18px; }
.gal-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden; background: var(--rk-cream-2); }
.gal-item img { width: 100%; transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-hidden { display: none; }
.gal-fade-in { animation: fadeUp .6s var(--ease) both; }
.gal-loadmore-wrap { text-align: center; margin-top: 40px; }
.gal-loadmore { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--r-pill); background: var(--rk-ink); color: #fff; font-weight: 600; font-size: 14px; transition: transform var(--t-fast); }
.gal-loadmore:hover { transform: translateY(-2px); }

/* ===== 18 · BLOG ======================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--rk-line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--rk-cream-2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px; opacity: .3; }
.blog-card-body { padding: 22px; }
.blog-card-meta { font-size: 12px; color: var(--rk-text-mute); letter-spacing: .02em; }
.blog-card-title { font-family: 'Instrument Sans'; font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 10px; color: var(--rk-ink); }
.blog-card-ex { margin-top: 10px; font-size: 14px; color: var(--rk-text-soft); line-height: 1.6; }
.blog-card-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--rk-red); }
.blog-search { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 36px; }
.blog-search input { flex: 1; padding: 13px 20px; border-radius: var(--r-pill); border: 1px solid var(--rk-line); font-size: 14px; }
.blog-search button { padding: 13px 24px; border-radius: var(--r-pill); background: var(--rk-red); color: #fff; font-weight: 600; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--rk-line); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; transition: all var(--t-fast); }
.pagination a:hover { border-color: var(--rk-red); color: var(--rk-red); }
.pagination .active { background: var(--rk-ink); color: #fff; border-color: var(--rk-ink); }
.prose { font-size: 16px; line-height: 1.85; color: var(--rk-text); }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose p { margin-bottom: 1.1em; }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; }
.prose a { color: var(--rk-red); text-decoration: underline; text-underline-offset: 3px; }

/* ===== 19 · PRODUK ====================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card { background: #fff; border: 1px solid var(--rk-line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--rk-cream-2); }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prod-card:hover .prod-card-img img { transform: scale(1.06); }
.prod-badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--rk-red); color: #fff; font-size: 11px; font-weight: 600; }
.prod-card-body { padding: 18px; }
.prod-card-title { font-family: 'Instrument Sans'; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--rk-ink); }
.prod-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.prod-price .now { font-family: 'Instrument Sans'; font-weight: 700; font-size: 18px; color: var(--rk-red); }
.prod-price .was { font-size: 13px; color: var(--rk-text-mute); text-decoration: line-through; }
.prod-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.prod-gallery-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--rk-cream-2); }
.prod-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.prod-thumb { width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.prod-thumb.active { border-color: var(--rk-red); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 20 · REVEAL / MOTION ============================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.js [data-reveal="left"]  { transform: translateX(-32px) translateY(0); }
.js [data-reveal="right"] { transform: translateX(32px) translateY(0); }
.js [data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }

/* stagger children */
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .20s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .28s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .36s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .44s; }
[data-stagger].in > *:nth-child(n+7) { transition-delay: .5s; }

/* hero load-in (runs immediately) */
.hero [data-hero] { opacity: 0; transform: translateY(30px); animation: fadeUp .9s var(--ease) forwards; }
.hero [data-hero="1"] { animation-delay: .1s; }
.hero [data-hero="2"] { animation-delay: .24s; }
.hero [data-hero="3"] { animation-delay: .38s; }
.hero [data-hero="4"] { animation-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ===== 21 · RESPONSIVE ================================================== */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --sec-y: 64px; }
  .testi-card { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .testi-photo { width: 130px; margin-inline: auto; }
  .testi-stars, .testi-author { text-align: center; }
  .testi-stars { justify-content: center; }
  .gal-grid { columns: 2; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-detail-grid { grid-template-columns: 1fr; }
  .cta { margin-inline: 16px; }
  .nav, .page-hero, .hero { --pad-x: 20px; }
  .svc-card-meta { left: 18px; right: 18px; bottom: 18px; }
  .chip-arrow { width: 40px; height: 40px; }
  .svc-card .chip-arrow { top: 16px; right: 16px; }
  /* services: keep sticky stacking on mobile too (animation preserved), just adjust offset */
  .services-list .svc-card { top: 80px; }
  .services-watermark { top: 30vh; font-size: clamp(46px, 16vw, 96px); margin: 16px 0 -14vh; }
  /* service detail */
  .detail-figure { margin-top: -56px; aspect-ratio: 16 / 10; }
  .var-row { grid-template-columns: 1fr; gap: 20px; }
  .var-row .var-text { order: 1; }
  .var-row .var-img { order: 2; }
  /* footer: stack + left align */
  .footer { border-radius: 28px 28px 0 0; }
  .footer-row { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact, .footer-addr { text-align: left; }
  .footer-deco { display: none; }
  .footer-watermark { font-size: clamp(48px, 22vw, 130px); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats .asterisk { display: none; }
  .blog-grid, .prod-grid { grid-template-columns: 1fr; }
  .gal-grid { columns: 1; }
  .mq-img { width: 64vw; }
}

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--rk-text-mute); }
