/* ==========================================================
   Sparkup Branding – white theme
   ========================================================== */
:root {
  --accent: #F26722; --accent-rgb: 242, 103, 34;
  --ink: #23232F; --slate: #57585A; --muted: #6B6E76; --line: #E7E8EC;
  --soft: #F6F7F9; --white: #fff; --radius: 18px; --shadow: 0 10px 30px rgba(20, 20, 40, .06);
  --header-h: 78px; --logo-h: 46px; --footer-logo-h: 52px;
}
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--slate); background: var(--white); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.25; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .45); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Buttons ---------- */
.btn-accent, .btn-outline, .btn-light, .btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 50px; font-weight: 500; font-size: 15px; line-height: 1.2; border: 2px solid transparent; transition: all .25s ease; cursor: pointer; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.btn-link i { color: var(--accent); transition: transform .2s; }
.btn-link:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 20, 40, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand img { height: var(--logo-h, 46px); width: auto; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 10px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--accent); }
.main-nav > ul > li > a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.caret { font-size: 10px; transition: transform .25s; }
.sub-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(20, 20, 40, .12); opacity: 0; visibility: hidden; transition: all .25s ease; }
.sub-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.sub-menu a img { width: 28px; height: 28px; object-fit: contain; }
.sub-menu a:hover { background: var(--soft); color: var(--accent); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .caret { transform: rotate(180deg); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-accent { padding: 11px 22px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 991.98px) {
  /* mobile --header-h and --logo-h come from the inline settings style */

  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; border-left: 1px solid var(--line); padding: 16px 18px 30px; overflow-y: auto; z-index: 1001; visibility: hidden; clip-path: inset(0 0 0 100%); transition: clip-path .35s ease, visibility 0s linear .35s; }
  .nav-open .main-nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .35s ease, visibility 0s; }
  .nav-backdrop { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(20, 20, 40, .35); opacity: 0; visibility: hidden; transition: .3s; z-index: 999; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  html.nav-lock { overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > ul > li > a.active::after { display: none; }
  .caret, .sub-menu { display: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
  .nav-mobile-extra a { color: var(--ink); font-size: 15px; display: flex; gap: 10px; align-items: center; word-break: break-all; }
  .nav-mobile-extra i { color: var(--accent); width: 18px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head p { color: var(--muted); margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: left; }
.section-head-row .section-title { margin-bottom: 0; }
.lead-text { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.rich p { margin-bottom: 16px; }
.rich h3 { font-size: 20px; margin: 28px 0 12px; }
.rich ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 20px; }
.rich ul li { position: relative; padding-left: 28px; color: var(--ink); }
.rich ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: rgba(var(--accent-rgb), .12); color: var(--accent); font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; background: radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), .08), transparent 40%), linear-gradient(180deg, #fff 0%, var(--soft) 100%); overflow: hidden; }
.hero-title { font-size: clamp(36px, 5vw, 62px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-text { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { color: var(--ink); font-weight: 500; font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.hero-points i { color: var(--accent); }
.hero-media { position: relative; padding: 0 0 60px 60px; }
.hm-main { width: 100%; border-radius: 24px; box-shadow: 0 30px 60px rgba(20, 20, 40, .12); aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.hm-small { position: absolute; left: 0; bottom: 0; width: 42%; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(20, 20, 40, .15); aspect-ratio: 1 / 1; object-fit: cover; }
.hm-badge { position: absolute; right: 20px; bottom: 20px; background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px rgba(20, 20, 40, .2); }
.hm-badge strong { font-size: 34px; line-height: 1; color: var(--accent); }
.hm-badge span { font-size: 13px; line-height: 1.35; }

/* ---------- Clients marquee ---------- */
.clients-strip { padding: 40px 0 50px; border-bottom: 1px solid var(--line); }
.strip-label { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { width: 160px; height: 86px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.logo-item img { max-height: 62px; width: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- About ---------- */
.about-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vm-grid { display: grid; gap: 16px; margin-bottom: 26px; }
.vm { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.vm i { font-size: 26px; color: var(--accent); margin-top: 4px; }
.vm strong { color: var(--ink); display: block; }
.vm p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat .num { font-size: clamp(34px, 4vw, 48px); font-weight: 700; color: var(--ink); line-height: 1; }
.stat .num { color: var(--accent); }
.stat .num .count { color: var(--ink); }
.stat .lbl { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* ---------- Service cards ---------- */
.svc-card { display: flex; flex-direction: column; height: 100%; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--slate); transition: all .3s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 20, 40, .1); border-color: transparent; color: var(--slate); }
.svc-icon { width: 72px; height: 72px; border-radius: 18px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background .3s; }
.svc-icon img { width: 48px; height: 48px; object-fit: contain; }
.svc-card:hover .svc-icon { background: rgba(var(--accent-rgb), .1); }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.svc-more { color: var(--accent); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.svc-more i { transition: transform .2s; }
.svc-card:hover .svc-more i { transform: translateX(4px); }
.svc-card-cta { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); justify-content: center; }
.svc-card-cta h3 { color: #fff; }
.svc-card-cta p { color: rgba(255, 255, 255, .7); }
.svc-card-cta:hover { color: rgba(255, 255, 255, .75); background: #2e2e3d; }

/* ---------- Work grid + filters ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover img { transform: scale(1.06); }
.work-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(20, 20, 30, .78)); color: #fff; display: flex; flex-direction: column; transform: translateY(8px); opacity: .95; transition: .3s; }
.work-meta small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.work-meta strong { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.work-card:hover .work-meta { transform: none; opacity: 1; }
.work-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transform: scale(.8); transition: .3s; }
.work-card:hover .work-zoom { opacity: 1; transform: none; }
.work-card.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 40px; padding: 9px 18px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: .2s; font-family: inherit; }
.filter span { color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.active span { color: rgba(255, 255, 255, .7); }

/* ---------- Why / steps / testimonials ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-grid-4 { grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-item i { font-size: 30px; color: var(--accent); margin-bottom: 14px; display: block; }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: 15px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-no { position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 700; color: var(--soft); line-height: 1; -webkit-text-stroke: 1px var(--line); }
.step i { font-size: 30px; color: var(--accent); margin-bottom: 14px; display: block; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
.testi { height: 100%; margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.testi .stars { color: #FFB400; margin-bottom: 12px; }
.testi blockquote { color: var(--ink); margin-bottom: 18px; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi figcaption span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.testi figcaption strong { color: var(--ink); }

/* ---------- FAQ (native details) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 10px 30px rgba(var(--accent-rgb), .08); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink); transition: transform .25s, background .25s, color .25s; }
.faq[open] summary i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 50px 56px; border-radius: 26px; background: linear-gradient(120deg, var(--ink), #3a3a4a); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(var(--accent-rgb), .35); filter: blur(10px); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta-box p { color: rgba(255, 255, 255, .75); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-phone { color: #fff; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.cta-phone:hover { color: var(--accent); }

/* ---------- Page hero ---------- */
.page-hero { padding: 70px 0 60px; background: radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), .08), transparent 40%), var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: 9px; opacity: .6; }
.crumbs span { color: var(--ink); font-weight: 500; }

/* ---------- About page ---------- */
.about-stack { position: relative; padding-bottom: 90px; }
.about-stack img:first-child { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.about-stack img:last-child { position: absolute; right: -10px; bottom: 0; width: 58%; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(20, 20, 40, .12); aspect-ratio: 4 / 3; object-fit: cover; }
.vm-card { height: 100%; padding: 36px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.vm-card > i { font-size: 34px; color: var(--accent); margin-bottom: 16px; display: block; }
.vm-card h2 { font-size: 24px; margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 12px; color: var(--ink); }
.check-list i { color: var(--accent); margin-top: 6px; }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 100px; display: flex; align-items: center; justify-content: center; padding: 12px; transition: .25s; }
.client img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .25s; }
.client:hover { box-shadow: var(--shadow); }
.client:hover img { filter: none; opacity: 1; }

/* ---------- Service detail ---------- */
.svc-hero-media { border-radius: 22px; overflow: hidden; margin-bottom: 34px; background: var(--soft); }
.svc-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.svc-hero-icon { aspect-ratio: 16 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(circle at 70% 20%, rgba(var(--accent-rgb), .14), transparent 50%), var(--soft); }
.svc-hero-icon img { width: 120px; height: 120px; object-fit: contain; aspect-ratio: auto; }
.svc-hero-icon span { font-size: 26px; font-weight: 600; color: var(--ink); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.side-title { font-size: 19px; margin-bottom: 14px; }
.side-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.side-list a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 15px; transition: .2s; }
.side-list a img { width: 26px; height: 26px; object-fit: contain; }
.side-list a span { flex: 1; }
.side-list a i { font-size: 11px; opacity: .4; }
.side-list a:hover { background: var(--soft); }
.side-list a.active { background: var(--ink); color: #fff; }
.side-list a.active i { opacity: .8; }
.side-help { border-radius: var(--radius); padding: 28px 24px; background: linear-gradient(140deg, var(--accent), #d4501a); color: #fff; }
.side-help h2 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.side-help p { color: rgba(255, 255, 255, .9); margin-bottom: 16px; }
.side-phone, .side-mail { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; margin-top: 6px; word-break: break-all; }
.side-phone:hover, .side-mail:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.info-card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--slate); transition: .25s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--slate); }
.info-card .ic { width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; background: rgba(var(--accent-rgb), .1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.info-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.info-card small { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-card strong { color: var(--ink); font-weight: 600; word-break: break-word; }
.info-card em { font-style: normal; font-size: 14px; color: var(--muted); }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.fl { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.fi { width: 100%; border: 1px solid var(--line); background: var(--soft); border-radius: 12px; padding: 13px 16px; font-size: 15px; color: var(--ink); font-family: inherit; transition: border-color .2s, background .2s, box-shadow .2s; }
.fi:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
select.fi { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2323232F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.fi { resize: vertical; min-height: 130px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note i { color: var(--accent); }
.form-msg { font-size: 15px; }
.form-msg.ok { color: #16a34a; }
.form-msg.err { color: #dc2626; }
.alert-ok, .alert-err { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.alert-ok { background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.contact-side { padding: 30px; border-radius: 22px; background: var(--soft); height: 100%; }
.addr { display: flex; gap: 12px; color: var(--ink); margin-bottom: 12px; }
.addr i { color: var(--accent); margin-top: 5px; width: 16px; }
.map-wrap { border-radius: 16px; overflow: hidden; margin: 18px 0 20px; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 0; font-size: 15px; }
.footer-brand img { height: var(--footer-logo-h, 52px); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.footer-tag { color: var(--accent); font-weight: 500; margin: 14px 0 8px; letter-spacing: .02em; }
.footer-about { margin-bottom: 18px; }
.footer-h { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--accent); margin-top: 5px; width: 16px; }
.footer-contact span { word-break: break-word; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-news { position: relative; display: flex; }
.footer-news input { flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 50px; padding: 12px 54px 12px 18px; font-family: inherit; font-size: 14.5px; }
.footer-news input::placeholder { color: rgba(255, 255, 255, .5); }
.footer-news button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.footer-news .form-msg { position: absolute; top: 100%; left: 6px; margin-top: 6px; font-size: 13px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 20px; bottom: 84px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 25px rgba(37, 211, 102, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 15, 22, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 12px; object-fit: contain; background: #fff; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: .2s; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- 404 ---------- */
.nf-code { font-size: clamp(90px, 16vw, 160px); font-weight: 700; line-height: 1; color: var(--soft); -webkit-text-stroke: 2px var(--accent); margin-bottom: 10px; }

/* ---------- Reveal on scroll (progressive: content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .logo-track { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199.98px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 70px; }
  .hero-media { padding: 0 0 50px 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .side { position: static; }
  .cta-box { padding: 40px 34px; }
  .about-stack { padding-bottom: 70px; margin-bottom: 10px; }
}
@media (max-width: 767.98px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .section-head { margin-bottom: 34px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 575.98px) {
  body { font-size: 15.5px; }
  .section { padding: 58px 0; }
  .hero-text { font-size: 16.5px; }
  .hero-actions .btn-accent, .hero-actions .btn-outline { flex: 1 1 auto; }
  .hero-media { padding: 0 0 40px 24px; }
  .hm-badge { right: 10px; bottom: 10px; padding: 12px 14px; }
  .hm-badge strong { font-size: 26px; }
  .stats-row { gap: 12px; }
  .stat { padding: 20px 10px; }
  .work-grid { gap: 10px; }
  .work-meta { padding: 30px 10px 10px; }
  .work-meta strong { font-size: 13.5px; }
  .work-meta small { font-size: 10.5px; }
  .work-zoom { display: none; }
  .why-grid-4, .steps { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-item { width: 130px; height: 72px; }
  .cta-box { padding: 32px 22px; border-radius: 20px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn-light { flex: 1 1 auto; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .page-hero { padding: 44px 0 40px; }
  .vm-card { padding: 26px; }
  .about-stack img:last-child { right: 0; }
  .footer-bottom { flex-direction: column; }
  .wa-float { right: 16px; bottom: 76px; width: 50px; height: 50px; font-size: 26px; }
  .to-top { right: 20px; bottom: 20px; }
}

/* Wide Bootstrap gutters must not exceed the page padding on small screens */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
  .row.g-4 { --bs-gutter-x: 1.5rem; }
}
html { overflow-x: clip; }

/* Mobile menu: the header's backdrop blur would make the fixed menu size itself to the header,
   so on small screens the header is solid white without the blur. */
@media (max-width: 991.98px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); box-shadow: -20px 0 40px rgba(20, 20, 40, .08); }
}
.nav-mobile-extra a.nav-cta { color: #fff; justify-content: center; margin-bottom: 6px; word-break: normal; }

/* ---------- Full-screen mobile menu ---------- */
@media (max-width: 991.98px) {
  .main-nav {
    left: 0; right: 0; width: 100%; border-left: 0; box-shadow: none;
    padding: 24px 24px 36px; display: flex; flex-direction: column;
    clip-path: inset(0 0 100% 0);
  }
  .nav-open .main-nav { clip-path: inset(0 0 0 0); }
  .nav-backdrop { display: none !important; }
  .main-nav > ul > li > a { font-size: 22px; font-weight: 600; padding: 16px 4px; }
  .main-nav > ul > li > a.active { color: var(--accent); }
  .main-nav > ul > li > a::after { content: "\f054"; font-family: "Font Awesome 6 Pro"; font-weight: 900; font-size: 13px; margin-left: auto; color: var(--line); position: static; background: none; height: auto; }
  .main-nav > ul > li > a.active::after { display: block; color: var(--accent); }
  .nav-mobile-extra { margin-top: auto; padding-top: 28px; gap: 14px; }
  .nav-mobile-extra a.nav-cta { padding: 16px; font-size: 16px; }
  .nav-open .main-nav > ul > li { animation: navIn .4s ease both; }
  .nav-open .main-nav > ul > li:nth-child(2) { animation-delay: .04s; }
  .nav-open .main-nav > ul > li:nth-child(3) { animation-delay: .08s; }
  .nav-open .main-nav > ul > li:nth-child(4) { animation-delay: .12s; }
  .nav-open .main-nav > ul > li:nth-child(5) { animation-delay: .16s; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-open .main-nav > ul > li { animation: none; } }
@media (max-width: 991.98px) {
  .main-nav > ul > li > a.active::after { content: "\f054"; display: block; position: static; left: auto; right: auto; bottom: auto; width: auto; height: auto; background: none; border-radius: 0; color: var(--accent); }
}

/* ---------- Hero work collage ---------- */
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 0 20px; }
.hc-tile { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(20, 20, 40, .1); }
.hc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.hc-tile:hover img { transform: scale(1.05); }
.hc-1 { aspect-ratio: 4 / 3; }
.hc-2 { aspect-ratio: 4 / 5; grid-row: span 2; }
.hc-3 { aspect-ratio: 4 / 3.4; }
.hc-4 { aspect-ratio: 16 / 7; grid-column: 1 / -1; }
.hc-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; box-shadow: 0 18px 40px rgba(20, 20, 40, .18); font-size: 13px; line-height: 1.35; }
.hc-badge-1 { left: -18px; top: 46%; background: var(--ink); color: #fff; }
.hc-badge-1 strong { font-size: 32px; line-height: 1; color: var(--accent); }
.hc-badge-2 { right: -12px; top: 8px; background: #fff; color: var(--ink); font-weight: 500; }
.hc-badge-2 i { width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--accent-rgb), .12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; }
@media (max-width: 991.98px) {
  .hero-collage { max-width: 620px; margin: 0 auto; }
  .hc-badge-1 { left: 8px; }
  .hc-badge-2 { right: 8px; }
}
@media (max-width: 575.98px) {
  .hero-collage { gap: 10px; }
  .hc-tile { border-radius: 14px; }
  .hc-badge { padding: 10px 12px; font-size: 11.5px; gap: 8px; }
  .hc-badge-1 strong { font-size: 24px; }
  .hc-badge-2 i { width: 30px; height: 30px; font-size: 13px; }
}

/* ==========================================================
   Service detail page (deep)
   ========================================================== */
.benefit-list { list-style: none; padding: 0; margin: 6px 0 28px; display: grid; gap: 10px; }
.benefit-list li { display: flex; gap: 12px; color: var(--ink); font-weight: 500; }
.benefit-list i { color: var(--accent); margin-top: 6px; }
.svc-visual { position: relative; padding-bottom: 40px; }
.svc-visual > img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); display: block; }
.svc-visual-icon { aspect-ratio: 4 / 3; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle at 70% 25%, rgba(var(--accent-rgb), .16), transparent 55%), var(--soft); border: 1px solid var(--line); }
.svc-visual-icon img { width: 130px; height: 130px; object-fit: contain; }
.svc-visual-icon span { font-size: 24px; font-weight: 600; color: var(--ink); }
.deliver-card { position: absolute; right: -16px; bottom: 0; width: min(320px, 80%); background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 24px 50px rgba(20, 20, 40, .14); border: 1px solid var(--line); }
.deliver-card h3 { font-size: 16px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.deliver-card h3 i { color: var(--accent); }
.deliver-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.deliver-card li { position: relative; padding-left: 18px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.deliver-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.inc-card { height: 100%; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s ease; }
.inc-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(20, 20, 40, .09); border-color: transparent; }
.inc-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(var(--accent-rgb), .1); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; transition: .3s; }
.inc-card:hover .inc-icon { background: var(--accent); color: #fff; }
.inc-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.inc-card p { margin: 0; color: var(--muted); font-size: 15px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.flow-step { position: relative; text-align: center; padding: 0 10px; }
.flow-no { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; }
.flow-step h3 { font-size: 18.5px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 15px; margin: 0; }
.quote-card { padding: 32px 30px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 20px); }
.quote-card h3 { font-size: 21px; margin-bottom: 8px; }
.quote-card p { color: var(--muted); margin-bottom: 18px; }
.qc-line { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 500; padding: 10px 0; border-top: 1px solid var(--line); word-break: break-all; }
.qc-line i { color: var(--accent); width: 16px; }
.qc-line:hover { color: var(--accent); }
.pt-small { padding-top: 70px; }
.other-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; transition: .25s; }
.other-item img { width: 40px; height: 40px; object-fit: contain; }
.other-item span { flex: 1; }
.other-item i { color: var(--accent); font-size: 13px; transition: transform .2s; }
.other-item:hover { color: var(--accent); box-shadow: var(--shadow); }
.other-item:hover i { transform: translateX(4px); }
@media (max-width: 991.98px) {
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .flow::before { display: none; }
  .quote-card { position: static; }
  .other-svc { grid-template-columns: repeat(2, 1fr); }
  .deliver-card { right: 12px; }
}
@media (max-width: 575.98px) {
  .flow { grid-template-columns: 1fr; text-align: left; }
  .flow-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 0; }
  .flow-no { width: 52px; height: 52px; font-size: 16px; margin: 0; grid-row: span 2; box-shadow: none; }
  .flow-step h3 { margin: 4px 0 4px; }
  .other-svc { grid-template-columns: 1fr; }
  .svc-visual { padding-bottom: 0; }
  .deliver-card { position: static; width: 100%; margin-top: 16px; box-shadow: var(--shadow); }
  .inc-card { padding: 22px 20px; }
  .quote-card { padding: 24px 20px; }
}
/* compact collage: fixed rows so it sits beside the headline */
.hero-collage { grid-template-rows: 190px 170px 130px; padding: 0; }
.hc-1, .hc-2, .hc-3, .hc-4 { aspect-ratio: auto; height: 100%; }
.hc-1 { grid-column: 1; grid-row: 1; }
.hc-3 { grid-column: 1; grid-row: 2; }
.hc-2 { grid-column: 2; grid-row: 1 / 3; }
.hc-4 { grid-column: 1 / -1; grid-row: 3; }
.hc-badge-1 { top: auto; bottom: 150px; }
@media (max-width: 575.98px) {
  .hero-collage { grid-template-rows: 120px 110px 90px; }
  .hc-badge-1 { bottom: 104px; }
}
/* logo never wider than the space next to the menu button */
.brand { min-width: 0; flex-shrink: 1; }
.brand img { max-width: min(62vw, 440px); object-fit: contain; object-position: left center; }
