/* ==========================================================================
   Grow UP Services — Red & White Social theme
   ========================================================================== */

:root {
  --red: #E11D2E;
  --red-dk: #B3121F;
  --red-deep: #7A0A14;
  --red-lt: #FFE4E6;
  --blush: #FFF5F5;
  --white: #FFFFFF;
  --ink: #17090B;
  --body: #3D2F31;
  --muted: #7A6A6C;
  --line: #F1D9DB;

  --ig: #E1306C; --tt: #111111; --fb: #1877F2; --x: #000000; --yt: #FF0000; --li: #0A66C2; --pin: #E60023; --snap: #FFFC00; --th: #101010;

  --r: 14px; --r-lg: 22px; --r-xl: 32px; --pill: 999px;
  --sh: 0 14px 40px -18px rgba(122, 10, 20, 0.35);
  --sh-lg: 0 30px 60px -24px rgba(122, 10, 20, 0.45);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-body); background: var(--white); color: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
p { color: var(--body); }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dk); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.on-red :focus-visible, .r-hero :focus-visible, .r-page-hero :focus-visible, .r-footer :focus-visible, .cta-r :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 3000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
.skip-link:focus { top: 12px; color: #fff; }

section { padding: 110px 0; position: relative; }
.bg-blush { background: var(--blush); }
.on-red { background: var(--red); color: #fff; }
.on-red h1, .on-red h2, .on-red h3 { color: #fff; }
.on-red p { color: rgba(255,255,255,.9); }
.on-dark { background: var(--ink); color: #fff; overflow: hidden; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: #D9C8CA; }

/* ---------- Type ---------- */
.r-display { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.r-title { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; }
.r-lead { font-size: 1.15rem; line-height: 1.7; }
.txt-red { color: var(--red); }
.hl-white { background: #fff; color: var(--red); padding: 0 .18em; border-radius: 12px; display: inline-block; transform: rotate(-2deg); }
.hl-red { background: var(--red); color: #fff; padding: 0 .18em; border-radius: 12px; display: inline-block; transform: rotate(-1.5deg); }
.badge-r { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 7px 16px; border-radius: var(--pill); background: var(--red-lt); color: var(--red-dk); margin-bottom: 1.4rem; }
.badge-r i { font-size: 1rem; }
.badge-r.white { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn-r { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; padding: 15px 28px; border-radius: var(--pill); border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn-r:hover { transform: translateY(-3px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 28px -10px rgba(225,29,46,.6); }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 12px 28px -12px rgba(0,0,0,.35); }
.btn-white:hover { color: var(--red-dk); }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-w:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-outline-r { background: #fff; color: var(--red); border-color: var(--red); }
.btn-outline-r:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* ---------- Header ---------- */
.r-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.r-header.scrolled { box-shadow: 0 10px 30px -18px rgba(122,10,20,.4); }
.r-header .container { min-height: 78px; }
.r-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.03em; }
.r-logo:hover { color: var(--ink); }
.r-logo .mark { width: 42px; height: 42px; border-radius: 13px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: 0 8px 18px -8px rgba(225,29,46,.7); }
.r-logo b { color: var(--red); }
.r-header .nav-link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: 8px 16px !important; border-radius: var(--pill); }
.r-header .nav-link:hover { color: var(--red); }
.r-header .nav-link.active { background: var(--red-lt); color: var(--red-dk); }
.r-header .head-socials { display: flex; gap: 6px; margin-right: 12px; }
.r-header .head-socials a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--blush); transition: background .2s, color .2s; }
.r-header .head-socials a:hover { background: var(--red); color: #fff; }
.r-toggler { border: 0; background: var(--red); color: #fff; border-radius: 12px; padding: 7px 11px; font-size: 1.35rem; line-height: 1; }
.r-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.r-hero { background: var(--red); color: #fff; padding: 80px 0 150px; overflow: hidden; }
.r-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 35%, rgba(255,255,255,.2), transparent 45%), radial-gradient(circle at 5% 95%, rgba(122,10,20,.55), transparent 50%); }
.r-hero::after, .r-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 85%); }
.r-hero .container { position: relative; z-index: 2; }
.r-hero h1 { color: #fff; }
.r-hero .r-lead { color: rgba(255,255,255,.92); max-width: 540px; }
.r-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.25rem; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-proof .icons { display: flex; }
.hero-proof .icons span { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 3px solid var(--red); margin-left: -10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.hero-proof .icons span:first-child { margin-left: 0; }
.hero-proof p { margin: 0; font-size: .95rem; color: #fff; font-weight: 500; }

/* Orbit + phone */
.orbit-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); animation: spin 40s linear infinite; }
.orbit-ring.inner { inset: 15%; border-style: solid; border-color: rgba(255,255,255,.18); animation-duration: 55s; animation-direction: reverse; }
.orbit-ring .o-ico { position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); animation: spin 40s linear infinite reverse; }
.orbit-ring.inner .o-ico { animation-duration: 55s; animation-direction: normal; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-r { position: absolute; left: 50%; top: 50%; width: 236px; height: 470px; transform: translate(-50%, -50%) rotate(-6deg); background: #111; border-radius: 40px; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55); z-index: 3; }
.phone-r .scr { background: #fff; border-radius: 31px; height: 100%; overflow: hidden; position: relative; }
.phone-r .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #111; border-radius: 14px; z-index: 2; }
.pr-top { padding: 38px 14px 10px; display: flex; align-items: center; gap: 10px; }
.pr-avatar { width: 52px; height: 52px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #FFC300, var(--red), #8A2BE2); flex-shrink: 0; }
.pr-avatar span { width: 100%; height: 100%; border-radius: 50%; background: var(--red); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; }
.pr-stats { display: flex; gap: 6px; flex: 1; justify-content: space-around; text-align: center; }
.pr-stats b { display: block; font-family: var(--font-head); font-size: .82rem; color: var(--ink); }
.pr-stats small { font-size: .6rem; color: var(--muted); }
.pr-name { padding: 0 14px; font-size: .7rem; color: var(--ink); line-height: 1.35; }
.pr-name b { font-family: var(--font-head); font-size: .76rem; }
.pr-btn { margin: 8px 14px 10px; background: var(--red); color: #fff; text-align: center; border-radius: 8px; font-size: .72rem; font-weight: 700; padding: 6px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pr-grid img, .pr-grid div { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--red-lt); }
.pr-grid div { display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.3rem; }
.bubble-pop { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: var(--pill); padding: 10px 16px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; box-shadow: 0 18px 36px -14px rgba(0,0,0,.45); animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.bubble-pop i { color: var(--red); font-size: 1.1rem; }
.bp-1 { left: -4%; top: 22%; }
.bp-2 { right: -6%; top: 58%; animation-delay: 2s; }
.bp-3 { left: 4%; bottom: 6%; animation-delay: 4s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hearts { position: absolute; right: 20%; bottom: 20%; z-index: 4; pointer-events: none; }
.hearts i { position: absolute; color: #fff; font-size: 1.4rem; opacity: 0; animation: rise 4s ease-in infinite; }
.hearts i:nth-child(2) { left: 18px; animation-delay: 1.3s; font-size: 1rem; }
.hearts i:nth-child(3) { left: -14px; animation-delay: 2.6s; font-size: 1.2rem; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-160px) scale(1.2); opacity: 0; } }

/* Brand colours for icons */
.c-ig { color: var(--ig); } .c-tt { color: var(--tt); } .c-fb { color: var(--fb); } .c-x { color: var(--x); } .c-yt { color: var(--yt); } .c-li { color: var(--li); } .c-pin { color: var(--pin); } .c-th { color: var(--th); } .c-wa { color: #25D366; } .c-snap { color: #111; }
.bg-snap { background: var(--snap) !important; }

/* ---------- Icon marquee ---------- */
.icon-marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.icon-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.icon-marquee:hover .icon-track { animation-play-state: paused; }
.icon-track span { display: inline-flex; align-items: center; gap: 12px; margin-right: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); white-space: nowrap; }
.icon-track span i { font-size: 1.9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Platform cards ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.plat::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.plat > * { position: relative; z-index: 1; }
.plat:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--red); }
.plat:hover::before { transform: translateY(0); }
.plat .p-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--blush); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.25rem; transition: background .3s; }
.plat:hover .p-ic { background: #fff; }
.plat h3 { font-size: 1.2rem; margin-bottom: .4rem; transition: color .3s; }
.plat p { font-size: .93rem; margin: 0; transition: color .3s; }
.plat:hover h3, .plat:hover p { color: #fff; }
.plat .p-tag { position: absolute; top: 22px; right: 20px; font-size: .7rem; font-weight: 700; color: var(--red); background: var(--red-lt); padding: 3px 10px; border-radius: var(--pill); transition: background .3s; }
.plat:hover .p-tag { background: #fff; }

/* ---------- Service cards ---------- */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; height: 100%; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); color: inherit; }
a.svc-card:hover { color: inherit; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.svc-card .s-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.4rem; box-shadow: 0 10px 22px -10px rgba(225,29,46,.7); }
.svc-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.svc-card p { font-size: .97rem; margin-bottom: 1.1rem; }
.svc-card .plats { display: flex; gap: 10px; margin-top: auto; font-size: 1.2rem; }
.svc-card .more { font-family: var(--font-head); font-weight: 700; color: var(--red); margin-top: 1rem; display: inline-flex; gap: 6px; align-items: center; }
.svc-card .more i { transition: transform .25s; }
.svc-card:hover .more i { transform: translateX(5px); }
.svc-card.feat { background: var(--red); border-color: var(--red); }
.svc-card.feat h3, .svc-card.feat p, .svc-card.feat .more { color: #fff; }
.svc-card.feat .s-ic { background: #fff; color: var(--red); }
.svc-card.feat .plats i { color: #fff !important; }

/* ---------- DM thread (process) ---------- */
.dm-window { background: #fff; border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; max-width: 600px; margin-left: auto; }
.dm-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dm-head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.dm-head strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.dm-head small { color: #16A34A; font-size: .78rem; font-weight: 600; }
.dm-head .acts { margin-left: auto; display: flex; gap: 14px; color: var(--ink); font-size: 1.15rem; }
.dm-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; background: var(--blush); }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 20px; font-size: .95rem; line-height: 1.5; margin: 0; }
.msg.them { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: 0 4px 14px -8px rgba(0,0,0,.2); }
.msg.us { background: var(--red); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.us b { font-family: var(--font-head); display: block; margin-bottom: 2px; }
.msg-time { font-size: .7rem; color: var(--muted); text-align: center; letter-spacing: .04em; margin: 0; }
.typing { align-self: flex-start; background: #fff; border-radius: 20px; padding: 12px 16px; display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.dm-input { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.dm-input span { flex: 1; background: var(--blush); border-radius: var(--pill); padding: 9px 16px; }
.dm-input i { color: var(--red); font-size: 1.2rem; }
.step-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.step-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.step-list li span { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.step-list strong { color: #fff; font-family: var(--font-head); display: block; }
.step-list small { color: #D9C8CA; font-size: .92rem; }

/* ---------- Post-style cards (formats & work) ---------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); color: var(--ink); }
a.post:hover { color: var(--ink); }
.post:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post-head .av { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .7rem; flex-shrink: 0; }
.post-head strong { font-family: var(--font-head); font-size: .85rem; display: block; line-height: 1.2; }
.post-head small { font-size: .74rem; color: var(--muted); }
.post-head .plat-ic { margin-left: auto; font-size: 1.25rem; }
.post-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--red-lt); }
.post-media.tall { aspect-ratio: 4 / 5; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-media img { transform: scale(1.05); }
.post-media .fmt { position: absolute; top: 12px; right: 12px; background: rgba(23,9,11,.75); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: var(--pill); display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); }
.post-media .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-media .play i { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; padding-left: 4px; }
.post-acts { display: flex; gap: 16px; padding: 12px 14px 4px; font-size: 1.2rem; color: var(--ink); }
.post-acts .bi-heart-fill { color: var(--red); }
.post-acts .bi-bookmark { margin-left: auto; }
.post-body { padding: 4px 14px 18px; flex: 1; display: flex; flex-direction: column; }
.post-body h3 { font-size: 1.1rem; margin: 4px 0 4px; }
.post-body p { font-size: .9rem; margin: 0; color: var(--muted); }
.post-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.post-body .tags span { font-size: .74rem; font-weight: 600; color: var(--red-dk); background: var(--red-lt); padding: 3px 9px; border-radius: var(--pill); }

/* ---------- X-style testimonials ---------- */
.xpost { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; height: 100%; margin: 0; display: flex; flex-direction: column; }
.xpost .xp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.xpost .xp-head .av { width: 44px; height: 44px; border-radius: 50%; background: var(--red-lt); color: var(--red-dk); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.xpost .xp-head strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.xpost .xp-head small { color: var(--muted); font-size: .82rem; }
.xpost .xp-head .x-ic { margin-left: auto; font-size: 1.15rem; color: var(--ink); }
.xpost blockquote { margin: 0 0 14px; color: var(--ink); font-size: 1rem; flex: 1; }
.xpost .ph-text { color: var(--muted); font-style: italic; }
.xpost .xp-foot { display: flex; gap: 22px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 12px; }
.xpost .xp-foot .bi-heart-fill { color: var(--red); }

/* ---------- Growth dashboard ---------- */
.dash-r { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 26px; color: var(--ink); }
.dash-r .dr-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-r .dr-head strong { font-family: var(--font-head); }
.dash-r .dr-tabs { display: flex; gap: 6px; }
.dash-r .dr-tabs span { width: 34px; height: 34px; border-radius: 10px; background: var(--blush); display: flex; align-items: center; justify-content: center; }
.dash-r .dr-tabs span.on { background: var(--red); color: #fff; }
.dr-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dr-metric { background: var(--blush); border-radius: var(--r); padding: 14px; }
.dr-metric small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.dr-metric b { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.dr-metric em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--red); display: block; }
.dr-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin-top: 16px; padding: 14px; background: var(--blush); border-radius: var(--r); }
.dr-bars span { flex: 1; background: var(--red-lt); border-radius: 6px 6px 0 0; }
.dr-bars span:nth-last-child(-n+4) { background: var(--red); }

/* ---------- Stat strip ---------- */
.stat-r { text-align: center; padding: 10px; }
.stat-r .sr-ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 14px; color: #fff; }
.stat-r .sr-val { font-family: var(--font-head); font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.04em; }
.stat-r h3 { font-size: 1.05rem; margin: .6rem 0 .1rem; }
.stat-r small { color: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.r-faq .accordion-item { border: 1px solid var(--line); border-radius: var(--r) !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.r-faq .accordion-button { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); padding: 20px 22px; background: #fff; box-shadow: none; gap: 14px; }
.r-faq .accordion-button i.q-ic { color: var(--red); font-size: 1.2rem; }
.r-faq .accordion-button:not(.collapsed) { background: var(--red); color: #fff; }
.r-faq .accordion-button:not(.collapsed) i.q-ic { color: #fff; }
.r-faq .accordion-button:focus { box-shadow: none; }
.r-faq .accordion-button:focus-visible { outline: 3px solid var(--red-dk); outline-offset: -3px; }
.r-faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; width: auto; height: auto; font-size: 1.2rem; transition: transform .3s; }
.r-faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.r-faq .accordion-body { padding: 18px 22px 22px; }

/* ---------- CTA ---------- */
.cta-r { background: var(--red); border-radius: var(--r-xl); padding: 80px 48px; text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-r::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-r h2 { color: #fff; }
.cta-r p { color: rgba(255,255,255,.92); }
.cta-r .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.cta-r .float-ic { position: absolute; width: 64px; height: 64px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 16px 30px -12px rgba(0,0,0,.4); animation: floaty 7s ease-in-out infinite; }
.cta-r .fi-1 { left: 5%; top: 18%; rotate: -12deg; }
.cta-r .fi-2 { left: 12%; bottom: 14%; animation-delay: 1.5s; rotate: 8deg; }
.cta-r .fi-3 { right: 6%; top: 16%; animation-delay: 3s; rotate: 10deg; }
.cta-r .fi-4 { right: 13%; bottom: 16%; animation-delay: 4.5s; rotate: -8deg; }
.cta-r > .inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

/* ---------- Inner hero ---------- */
.r-page-hero { background: var(--red); color: #fff; padding: 90px 0 140px; overflow: hidden; }
.r-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%); }
.r-page-hero .container { position: relative; z-index: 1; }
.r-page-hero h1 { color: #fff; }
.r-page-hero p { color: rgba(255,255,255,.92); max-width: 620px; }
.r-page-hero .crumbs { font-size: .9rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.85); }
.r-page-hero .crumbs a { color: #fff; font-weight: 600; }
.hero-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-icons span { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.hero-icons span:hover { transform: translateY(-5px) rotate(-6deg); }
.ph-deco { position: absolute; right: -40px; top: 46%; transform: translateY(-50%) rotate(-12deg); font-size: 24rem; color: rgba(255,255,255,.09); line-height: 1; pointer-events: none; z-index: 0; }

/* ---------- About ---------- */
.about-collage { position: relative; }
.about-collage img { border-radius: var(--r-xl); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--sh-lg); }
.about-collage .ac-card { position: absolute; left: -24px; bottom: 32px; background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-lg); display: flex; gap: 12px; align-items: center; }
.about-collage .ac-card .s-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.about-collage .ac-card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.about-collage .ac-card small { color: var(--muted); }
.about-collage .ac-icons { position: absolute; right: -16px; top: 28px; display: flex; flex-direction: column; gap: 10px; }
.about-collage .ac-icons span { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; box-shadow: var(--sh); }
.value-r { display: flex; gap: 18px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: border-color .3s, box-shadow .3s; }
.value-r:hover { border-color: var(--red); box-shadow: var(--sh); }
.value-r .v-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--red-lt); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.value-r h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.value-r p { margin: 0; font-size: .95rem; }
.team-r { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: transform .3s var(--ease), box-shadow .3s; }
.team-r:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.team-r .t-img { aspect-ratio: 1; overflow: hidden; position: relative; }
.team-r .t-img img { width: 100%; height: 100%; object-fit: cover; }
.team-r .t-img .t-plat { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 8px 16px -8px rgba(0,0,0,.4); }
.team-r .t-body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.team-r h3 { font-size: 1.05rem; margin: 0 0 2px; }
.team-r p { margin: 0; color: var(--red); font-weight: 600; font-size: .88rem; }
.team-r .t-in { width: 36px; height: 36px; border-radius: 50%; background: var(--blush); display: inline-flex; align-items: center; justify-content: center; color: var(--li); flex-shrink: 0; }
.team-r .t-in:hover { background: var(--li); color: #fff; }

/* ---------- Services page ---------- */
.plat-pack { border-radius: var(--r-xl); padding: 40px; height: 100%; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.plat-pack:hover { box-shadow: var(--sh-lg); border-color: var(--red); }
.plat-pack .pp-big { position: absolute; right: -20px; top: -20px; font-size: 9rem; opacity: .07; line-height: 1; }
.plat-pack .pp-ic { width: 68px; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 1.25rem; }
.plat-pack h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.plat-pack ul { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.plat-pack li { display: flex; gap: 8px; font-size: .95rem; color: var(--ink); }
.plat-pack li i { color: var(--red); }
.g-ig { background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); }
.g-tt { background: #111; box-shadow: -3px -3px 0 #25F4EE, 3px 3px 0 #FE2C55; }
.g-yt { background: var(--yt); } .g-li { background: var(--li); } .g-fb { background: var(--fb); } .g-x { background: #000; }
.svc-list { border-top: 1px solid var(--line); }
.svc-line { display: grid; grid-template-columns: 70px 1fr 1.4fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-line .sl-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.svc-line h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.svc-line p { margin: 0 0 .9rem; }
.svc-line .plats { display: flex; gap: 10px; font-size: 1.2rem; }
.chk { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.chk li { display: flex; gap: 10px; color: var(--ink); font-size: .96rem; }
.chk li i { color: var(--red); font-size: 1.05rem; line-height: 1.5; }

/* ---------- Work page ---------- */
.r-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: var(--pill); cursor: pointer; white-space: nowrap; transition: all .2s; }
.filter-btn i { font-size: 1.05rem; }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-btn.active i { color: #fff !important; }
.portfolio-item { transition: opacity .3s, transform .3s; }
.portfolio-item.is-hiding { opacity: 0; transform: scale(.96); }
.portfolio-item.is-hidden { display: none; }
.case-r { background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.case-r .cr-img { position: relative; min-height: 420px; height: 100%; }
.case-r .cr-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-r .cr-img .cr-plats { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; }
.case-r .cr-img .cr-plats span { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.case-r .cr-body { padding: 48px; }
.case-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.case-steps li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.case-steps li i { width: 38px; height: 38px; border-radius: 12px; background: var(--red-lt); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; }
.case-steps strong { display: block; color: var(--ink); font-family: var(--font-head); }
.case-steps span { color: var(--muted); font-style: italic; font-size: .94rem; }

/* ---------- Contact ---------- */
.form-r { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 44px; border-top: 6px solid var(--red); }
.form-r h2 { font-size: 1.5rem; }
.form-r .form-label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-r .req { color: var(--red); }
.form-r .form-control, .form-r .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: .97rem; color: var(--ink); background-color: var(--blush); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-r .form-control::placeholder { color: #B19FA1; }
.form-r .form-control:focus, .form-r .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-lt); background-color: #fff; }
.form-r .form-control.is-invalid, .form-r .form-select.is-invalid { border-color: var(--red-dk); background-image: none; }
.form-r .invalid-feedback { color: var(--red-dk); font-weight: 600; font-size: .84rem; }
.plat-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.plat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plat-pick label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; color: var(--ink); }
.plat-pick label i { font-size: 1.05rem; }
.plat-pick label:hover { border-color: var(--red); }
.plat-pick input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.plat-pick input:checked + label i { color: #fff !important; }
.plat-pick input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.sent-r { text-align: center; padding: 40px 10px; }
.sent-r .s-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.3); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
.sent-r h3 { margin: 1.25rem 0 .5rem; }
.dm-list { display: grid; gap: 12px; }
.dm-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
a.dm-item:hover { border-color: var(--red); transform: translateX(4px); color: var(--ink); }
.dm-item .di-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; background: var(--red-lt); color: var(--red); }
.dm-item small { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.dm-item strong { font-family: var(--font-head); font-size: 1rem; }
.dm-item address { margin: 0; }
.dm-item .bi-chevron-right { margin-left: auto; color: var(--muted); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.social-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: var(--r); background: var(--blush); color: var(--ink); font-size: .78rem; font-weight: 600; transition: background .2s, color .2s, transform .2s var(--ease); }
.social-grid a i { font-size: 1.5rem; }
.social-grid a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.social-grid a:hover i { color: #fff !important; }

/* ---------- Legal ---------- */
.legal-r { padding: 60px 0 110px; }
.legal-r .l-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 48px; }
.legal-r .l-card h2 { font-size: 1.35rem; margin: 2.25rem 0 .7rem; scroll-margin-top: 110px; display: flex; gap: 10px; align-items: center; }
.legal-r .l-card h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--red); flex-shrink: 0; }
.legal-r .l-card h2:first-of-type { margin-top: 0; }
.legal-r .l-toc { position: sticky; top: 110px; background: var(--blush); border-radius: var(--r-lg); padding: 24px; }
.legal-r .l-toc h2 { font-size: 1rem; margin: 0 0 .8rem; }
.legal-r .l-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-r .l-toc li { padding: 3px 0; font-size: .9rem; color: var(--red); }
.legal-r .l-toc a { color: var(--ink); }
.legal-r .l-toc a:hover { color: var(--red); }
.legal-note { background: var(--red); color: #fff; border-radius: var(--r); padding: 16px 20px; margin-bottom: 2rem; display: flex; gap: 12px; align-items: flex-start; }
.legal-note p { margin: 0; color: #fff; }

/* ---------- Footer ---------- */
.r-footer { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.r-footer .f-top { background: var(--red-dk); padding: 40px 0; }
.r-footer .f-top h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.r-footer .f-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.r-footer .f-socials a { width: 50px; height: 50px; border-radius: 15px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; transition: transform .25s var(--ease); }
.r-footer .f-socials a:hover { transform: translateY(-5px) rotate(-6deg); }
.r-footer .f-main { padding: 64px 0 0; }
.r-footer .r-logo { color: #fff; }
.r-footer .r-logo .mark { background: #fff; color: var(--red); }
.r-footer .r-logo b { color: #fff; }
.r-footer .f-about { color: rgba(255,255,255,.88); max-width: 340px; margin: 1.25rem 0 0; }
.r-footer .f-head { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.r-footer ul { list-style: none; padding: 0; margin: 0; }
.r-footer li { margin-bottom: 10px; }
.r-footer ul a { color: rgba(255,255,255,.92); }
.r-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.r-footer .f-contact li { display: flex; gap: 10px; color: rgba(255,255,255,.92); }
.r-footer .f-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.r-footer .f-bottom p { color: rgba(255,255,255,.88); margin: 0; }
.r-footer .f-bottom nav { display: flex; gap: 22px; }
.r-footer .f-bottom a { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

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