:root {
  --blue: #111111;
  --blue-deep: #000000;
  --orange: #111111;
  --orange-deep: #000000;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --max: 1860px;

  /* Theme surfaces (light) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #eef1f6;
  --text: #111111;
  --border: #e2e2e2;
  --header-bg: #ffffff;
  --header-border: #f0f0f0;
}

[data-theme="dark"] {
  --ink: #f2f2f2;
  --muted: #a8a8a8;
  --line: #2c2c2c;
  --blue: #f2f2f2;
  --orange: #f2f2f2;

  --bg: #0e0e0e;
  --surface: #161616;
  --surface-2: #121212;
  --surface-3: #242424;
  --text: #f2f2f2;
  --border: #333333;
  --header-bg: #161616;
  --header-border: #2a2a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
/* Honeypot anti-spam field — hidden from real users, bots fill it in */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
  overflow-x: clip;
  max-width: 100%;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

a { text-decoration: none; color: inherit; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; cursor: pointer; border: 0; transition: all .18s ease; white-space: nowrap; }
.btn-pill-outline { border: 2px solid var(--orange); color: var(--text); background: transparent; border-radius: 999px; padding: 12px 28px; }
.btn-pill-outline:hover { background: var(--orange); color: var(--bg); }
.btn-pill-primary { background: var(--orange); color: var(--bg); border-radius: 999px; padding: 13px 30px; }
.btn-pill-primary:hover { opacity: .85; }

/* ===== Navbar ===== */
/* ===== Top utility bar (semi-navbar above the header) ===== */
.topbar { background: #111; color: #cfcfcf; font-size: 13px; }
[data-theme="dark"] .topbar { background: #000; border-bottom: 1px solid #1d1d1d; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact a { color: #cfcfcf; display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.topbar-contact a:hover { color: #fff; }
.topbar-ico { opacity: .75; font-size: 14px; }
.topbar-ctas { display: flex; align-items: center; gap: 14px; }
/* Theme toggle adapted to the slim dark top bar */
.topbar .theme-switch { gap: 8px; }
.topbar .ts-label { font-size: 13px; transition: color .2s, font-weight .2s; }
/* Active mode label is bright + bold; the other is dimmed */
.topbar .ts-light { color: #fff; font-weight: 800; }
.topbar .ts-dark { color: #7e8590; font-weight: 500; }
[data-theme="dark"] .topbar .ts-light { color: #7e8590; font-weight: 500; }
[data-theme="dark"] .topbar .ts-dark { color: #fff; font-weight: 800; }
.topbar .ts-track { width: 50px; height: 26px; }
.topbar .ts-knob { width: 20px; height: 20px; top: 3px; left: 3px; }
[data-theme="dark"] .topbar .ts-knob { left: 27px; }
.topbar-cta { color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.35); padding: 5px 18px; border-radius: 999px; transition: background .15s, color .15s; white-space: nowrap; }
.topbar-cta:hover, .topbar-cta.active { background: #fff; color: #111; }
@media (max-width: 768px) {
  /* Compact single-row mini header on mobile: hide the long contact text,
     keep the theme toggle + Get a Quote centered. */
  .topbar-contact { display: none; }
  .topbar-inner { justify-content: center; gap: 12px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .topbar-ctas { gap: 12px; }
  .topbar .ts-label { font-size: 12px; }
}

.site-header {
  background: var(--header-bg); border-bottom: 1px solid var(--header-border);
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, top .3s ease, max-width .3s ease, border-radius .3s ease, backdrop-filter .3s ease;
}
/* Floating glassmorphism when scrolled */
.site-header.scrolled {
  top: 22px; margin: 0 auto; max-width: calc(100% - 40px); border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .site-header.scrolled {
  background: rgba(22, 22, 22, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
}
.site-header.scrolled .nav { height: 76px; }
.site-header.scrolled .logo-img { height: 66px; transition: height .3s ease; }
.nav { display: flex; align-items: center; height: 96px; gap: 36px; transition: height .3s ease; }

.logo { display: inline-flex; align-items: center; }
.logo-img { height: 84px; width: auto; display: block; transition: height .3s ease; }

.nav-links { display: flex; align-items: center; gap: 30px; margin-left: 30px; }
.has-mega { position: relative; }

/* Mega menu (Services hover dropdown) */
.mega-menu {
  position: absolute; top: 100%; left: 0; z-index: 90;
  padding: 16px 0 30px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  width: min(800px, calc(100vw - 32px)); padding: 18px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.35);
}
[data-theme="dark"] .mega-grid { box-shadow: 0 24px 60px -16px rgba(0,0,0,.7); }
.mega-item { display: flex; flex-direction: column; gap: 8px; padding: 6px; border-radius: 9px; transition: background .15s ease; }
.mega-item:hover { background: var(--surface-3); }
.mega-thumb { aspect-ratio: 1 / 1; border-radius: 8px; background: linear-gradient(135deg, #8a8a8a, #2a2a2a); background-size: cover; background-position: center; }
.mega-item:nth-child(3n) .mega-thumb { background-image: linear-gradient(160deg, #6f6f6f, #1f1f1f); }
.mega-item:nth-child(4n) .mega-thumb { background-image: linear-gradient(120deg, #aaa, #444); }
.mega-label { font-size: 13px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.3; }
.nav-links > a, .nav-item > a { font-size: 19px; font-weight: 500; color: var(--text); padding: 6px 0; position: relative; }
.nav-links > a.active { font-weight: 600; }
.nav-links > a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--orange); border-radius: 2px; }
.nav-links > a:hover, .nav-item > a:hover { color: var(--orange); }
.caret { font-size: 12px; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.account-wrap { position: relative; }
.account { display: inline-flex; align-items: center; width: 46px; height: 46px; border: 2px solid var(--border); border-radius: 50%; justify-content: center; background: transparent; color: var(--text); cursor: pointer; padding: 0; transition: border-color .15s; }
.account:hover, .account-wrap.open .account { border-color: var(--text); }
.account-icon { font-size: 18px; filter: grayscale(1); }

/* Account dropdown */
.account-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 150px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.35); padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
[data-theme="dark"] .account-menu { box-shadow: 0 16px 40px -12px rgba(0,0,0,.7); }
.account-wrap.open .account-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu a { padding: 10px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text); text-align: center; transition: background .15s; }
.account-menu a:hover { background: var(--surface-3); }
.account:hover { border-color: var(--orange); }

/* Theme switch (Light / Dark slider) */
.theme-switch {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.ts-label { font-size: 17px; font-weight: 700; transition: color .2s; }
.ts-light { color: var(--text); }
.ts-dark { color: #b9bfc9; }
[data-theme="dark"] .ts-light { color: #6b6b6b; }
[data-theme="dark"] .ts-dark { color: var(--text); }

.ts-track {
  position: relative; width: 70px; height: 34px; border-radius: 999px;
  background: #aebbf5; transition: background .25s ease;
}
[data-theme="dark"] .ts-track { background: #5566cc; }
.ts-knob {
  position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25);
  transition: left .25s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] .ts-knob { left: 40px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero carousel ===== */
/* Slightly inset from the page edges with rounded corners (overflow:hidden
   clips the slides to the radius). */
.hero-carousel { position: relative; width: 100%; max-width: min(1400px, calc(100% - 36px)); margin: 18px auto 0; overflow: hidden; background: #1a1a1a; border-radius: 24px; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
/* Long landscape banner (not full 16:9 widescreen). Each slide is a fixed
   24:9 strip; images fill it with object-fit: cover, so only the top/bottom is
   trimmed and the right-side text + faces stay intact. */
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 21 / 10; }

.slide-image { display: block; width: 100%; height: 100%; object-fit: fill; object-position: center; }
.slide-placeholder { background-color: #2a2a2a; background-image: linear-gradient(135deg, #5a5a5a, #222); }

/* On phones a 24:9 strip gets too short, so show the full 16:9 design (no crop). */
@media (max-width: 768px) {
  .slide { aspect-ratio: 16 / 9; }
  .hero-carousel { max-width: calc(100% - 20px); margin-top: 12px; border-radius: 16px; }
}

.slide-overlay { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); }
.slide-content { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-left: auto; }
.slide-content h1 { color: #fff; font-size: clamp(40px, 5vw, 86px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.slide-content p { color: #fff; font-size: clamp(18px, 2vw, 32px); font-weight: 400; margin-top: 14px; letter-spacing: 1px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.awards { display: flex; gap: 22px; margin-top: 34px; }
.award {
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .5px; line-height: 1.25;
  display: grid; place-items: center; text-align: center;
  background: rgba(0,0,0,.25);
}

/* Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9); color: #111; font-size: 30px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; z-index: 5;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,.35);
  transition: background .15s, box-shadow .15s;
}
.carousel-arrow:hover { background: #fff; box-shadow: 0 6px 20px -2px rgba(0,0,0,.45); }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }

/* Counter */
.carousel-counter {
  position: absolute; top: 20px; right: 24px; z-index: 5;
  background: rgba(255,255,255,.9); color: #1a1a1a;
  font-size: 14px; font-weight: 700; padding: 5px 13px; border-radius: 8px;
}
[data-theme="dark"] .carousel-counter { background: rgba(20,20,20,.78); color: #f2f2f2; }

/* Dots */
.carousel-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; }
.dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .15s; }
.dot.active { background: #fff; }

/* ===== Upload section ===== */
.upload-section { background: var(--surface-2); padding: 64px 0 80px; transition: background .25s ease; }
.upload-page { display: flex; align-items: center; min-height: calc(100vh - 150px); }
.upload-inner { max-width: 1280px; }
.upload-title { text-align: center; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.upload-title span { color: var(--muted); font-weight: 400; margin: 0 6px; }
.upload-sub { text-align: left; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 22px 0 40px; max-width: 1280px; }

.dropzone {
  border: 2px dashed var(--border); border-radius: 14px; background: var(--surface);
  min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: border-color .2s, background .2s; cursor: pointer; padding: 40px 20px;
}
.dropzone.dragover { border-color: var(--text); background: var(--surface-3); }
.upload-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: var(--bg); font-size: 16px; font-weight: 700; letter-spacing: .4px;
  border: 0; border-radius: 999px; padding: 13px 30px; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); transition: transform .15s, box-shadow .2s;
}
.upload-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55); }
.upload-ico { font-size: 17px; }
.upload-ico-lg { font-size: 40px; color: var(--muted); }
.trial-cta { gap: 14px; }
.dropzone-hint { color: var(--muted); font-size: 17px; }
.file-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin-top: 6px; }
.file-list li { background: var(--surface-3); color: var(--text); font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 8px; }

/* Quote / upload form */
.quote-flash { max-width: 760px; margin: 0 auto 22px; text-align: center; background: var(--surface-3); color: var(--text); border-radius: 10px; padding: 14px 18px; font-weight: 600; }
.quote-flash.error { background: #fdecec; color: #b42318; }
.quote-form { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-field { display: flex; flex-direction: column; gap: 7px; text-align: left; min-width: 0; }
.quote-field input, .quote-field textarea { box-sizing: border-box; max-width: 100%; }
.quote-field > span { font-size: 14px; font-weight: 600; color: var(--text); }
.quote-field em { font-style: normal; color: var(--muted); font-weight: 500; }
.quote-field input, .quote-field textarea { padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; background: var(--surface); color: var(--text); }
.quote-field textarea { min-height: 110px; resize: vertical; }
.quote-field input:focus, .quote-field textarea:focus { outline: none; border-color: var(--text); }
.quote-dropzone {
  border: 2px dashed var(--border); border-radius: 14px; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 44px 20px; cursor: pointer; transition: border-color .2s, background .2s;
}
.quote-dropzone.dragover { border-color: var(--text); background: var(--surface-3); }
.quote-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 600px) { .quote-row { grid-template-columns: 1fr; } }

/* ===== Services we provide ===== */
.services-section { background: var(--bg); padding: 72px 0 90px; transition: background .25s ease; }
.services-heading { text-align: center; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; color: var(--text); margin-bottom: 50px; letter-spacing: -.5px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 100px; width: 95%; max-width: 1720px; margin: 0 auto; }

.svc-card { display: flex; flex-direction: column; }
/* Portrait (taller-than-wide) before/after slider for landing service cards */
.svc-card .ba-slider { aspect-ratio: 4 / 5; width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; }
.svc-card-img { aspect-ratio: 4 / 5; width: 100%; max-width: 460px; margin: 0 auto; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: transparent; }
.svc-card-img:not([style]) { background-image: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
.svc-desc a { color: var(--text); text-decoration: underline; }
.svc-desc strong { color: var(--text); }
.svc-desc ul, .svc-desc ol { text-align: left; margin: 8px 0; padding-left: 20px; }
.svc-desc p { margin: 0 0 8px; }
.svc-card h3 { font-size: 24px; font-weight: 700; color: var(--text); margin: 22px 0 12px; text-align: center; }
.svc-desc { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.svc-desc strong { color: var(--text); }
.svc-included { font-size: 16px; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.svc-features { list-style: none; padding: 0; margin: 0 0 22px; }
.svc-features li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.svc-features li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }
.svc-more { align-self: center; margin-top: auto; }

/* Before/After comparison slider */
.ba-slider { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden; user-select: none; cursor: ew-resize; background: var(--surface-3); }
/* Both layers fill the card edge-to-edge and sit at the exact same size so they
   stay aligned; the "before" layer is wiped via clip-path. */
.ba-after, .ba-before { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.ba-after { background-color: var(--surface-3); background-image: linear-gradient(135deg, #8a8a8a, #3a3a3a); }
.ba-before { background-color: var(--surface-3); background-image: linear-gradient(135deg, #5a5a5a, #222); clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 3px; background: #fff; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::after {
  content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(0,0,0,.72);
}
.ba-arrow { position: relative; z-index: 1; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ba-arrow-l { border-right: 7px solid #fff; margin-right: 5px; }
.ba-arrow-r { border-left: 7px solid #fff; margin-left: 5px; }

/* ===== How does it work ===== */
.how-section { background: var(--surface-2); padding: 72px 0 84px; transition: background .25s ease; }
.how-heading { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--text); margin-bottom: 54px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto 56px; }
.how-step { text-align: center; }
.how-icon { position: relative; display: inline-block; }
.how-svg { display: inline-block; color: var(--text); }
.how-svg svg { width: 76px; height: 76px; display: block; }
.how-num {
  position: absolute; top: -4px; right: -6px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: var(--bg);
  font-size: 15px; font-weight: 700; display: grid; place-items: center;
}
.how-label { margin-top: 16px; font-size: 19px; color: var(--text); font-weight: 500; }

.how-text { max-width: 1100px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.7; }
.how-text p { margin-bottom: 18px; }
.how-text ol { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: step; }
.how-text ol li { counter-increment: step; margin-bottom: 4px; }
.how-text ol li::before { content: counter(step) ". "; color: var(--text); font-weight: 600; }

.how-cta { display: flex; gap: 18px; justify-content: center; margin-top: 36px; }

/* ===== Photo retouching video carousel ===== */
.video-section { background: var(--bg); padding: 72px 0 90px; transition: background .25s ease; }
.video-heading { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--text); margin-bottom: 22px; }
.video-sub { max-width: 1200px; margin: 0 auto 40px; color: var(--muted); font-size: 18px; line-height: 1.6; }

.video-carousel { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; border-radius: 18px; }
.video-track { display: flex; width: 100%; flex-wrap: nowrap; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.video-slide { flex: 0 0 100%; width: 100%; min-width: 100%; }
.video-card {
  position: relative; width: 100%; aspect-ratio: 16 / 8.5; border-radius: 18px; overflow: hidden;
  background-color: #1b2230; background-image: linear-gradient(120deg, #232c3d, #0d1018);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.video-card.playing { display: block; background: #000; }
.video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 90px; z-index: 2; transition: transform .15s; padding: 0; border: 0; background: none; cursor: pointer; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.play-btn svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.video-title { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; text-align: right; color: #fff; line-height: 1.05; }
.video-title span { font-size: clamp(22px, 3vw, 46px); font-weight: 300; letter-spacing: 2px; }
.video-title strong { font-size: clamp(30px, 4.4vw, 66px); font-weight: 800; letter-spacing: 1px; }

.video-counter { position: absolute; top: 18px; right: 18px; z-index: 3; background: rgba(255,255,255,.9); color: #1a1a1a; font-size: 14px; font-weight: 700; padding: 5px 13px; border-radius: 8px; }
[data-theme="dark"] .video-counter { background: rgba(20,20,20,.78); color: #f2f2f2; }
.video-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 26px; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.video-arrow:hover { background: var(--surface-3); }
.video-arrow.prev { left: 18px; }
.video-arrow.next { right: 18px; }
.video-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 12px; justify-content: center; }
.vdot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: transparent; cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.vdot.active { background: #fff; border-color: #fff; }

/* ===== Experience / stats ===== */
.exp-section { background: var(--surface-2); padding: 70px 0; transition: background .25s ease; }
.exp-grid { display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 50px; align-items: center; }
.exp-number { font-size: clamp(140px, 18vw, 300px); font-weight: 800; line-height: .85; color: var(--text); letter-spacing: -6px; }

.exp-copy { }
.exp-title { position: relative; font-size: 22px; font-weight: 700; letter-spacing: 1.5px; color: var(--text); line-height: 1.25; padding-left: 16px; margin-bottom: 18px; }
.exp-bar { position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--orange); border-radius: 2px; }
.exp-desc { color: var(--muted); font-size: 19px; line-height: 1.6; margin-bottom: 28px; max-width: 320px; }
.exp-btn { font-size: 16px; letter-spacing: .5px; }

.exp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.exp-stat { padding: 26px 32px; text-align: center; }
.exp-stat:nth-child(1), .exp-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
.exp-stat:nth-child(1), .exp-stat:nth-child(3) { border-right: 1px solid var(--border); }
.exp-stat strong { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--text); line-height: 1; }
.exp-stat span { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: .5px; color: var(--muted); }

/* ===== Our Photo Editors Works (parallax) ===== */
.works-parallax { position: relative; height: 240vh; background: var(--bg); transition: background .25s ease; }
.works-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 32px; overflow: hidden; }
.works-heading { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.works-sub { max-width: 1100px; text-align: center; color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }

.works-viewport { position: relative; width: 100%; max-width: 1280px; flex: 1; min-height: 0; display: grid; place-items: center; }

/* The grid of images is masked to the shape of the word "Works". */
.works-clip {
  width: 100%; height: 100%; max-height: 70vh;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1300 500'%3E%3Ctext x='650' y='250' font-family='Arial,Helvetica,sans-serif' font-size='300' font-weight='900' letter-spacing='-10' text-anchor='middle' dominant-baseline='central' fill='white'%3EWorks%3C/text%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1300 500'%3E%3Ctext x='650' y='250' font-family='Arial,Helvetica,sans-serif' font-size='300' font-weight='900' letter-spacing='-10' text-anchor='middle' dominant-baseline='central' fill='white'%3EWorks%3C/text%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 92% auto; mask-size: 92% auto;
  will-change: -webkit-mask-size, mask-size;
}
.works-clip.revealed { -webkit-mask-image: none; mask-image: none; }
.works-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 10px;
  width: 100%; height: 100%;
}
.work-tile {
  position: relative; overflow: hidden; min-height: 110px;
  background-size: cover; background-position: center; background-color: #555;
  background-image: linear-gradient(135deg, #8a8a8a, #2a2a2a);
  display: flex; align-items: flex-end;
}
/* Varied tones so the mask reveal reads clearly with placeholders */
.work-tile:nth-child(1) { background-image: linear-gradient(135deg, #9a9a9a, #3a3a3a); }
.work-tile:nth-child(2) { background-image: linear-gradient(160deg, #6f6f6f, #202020); }
.work-tile:nth-child(3) { background-image: linear-gradient(120deg, #b0b0b0, #4a4a4a); }
.work-tile:nth-child(4) { background-image: linear-gradient(200deg, #7c7c7c, #161616); }
.work-tile:nth-child(5) { background-image: linear-gradient(135deg, #888, #2c2c2c); }
.work-tile:nth-child(6) { background-image: linear-gradient(150deg, #a4a4a4, #404040); }
.work-tile:nth-child(7) { background-image: linear-gradient(180deg, #6b6b6b, #1a1a1a); }
.work-tile.tall { grid-row: span 2; }
.work-tile.more { background-image: linear-gradient(135deg, #3a3a3a, #111) !important; }
.work-label { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; padding: 12px 14px; }
.work-tile.more .work-label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 800; padding: 0; }

.works-cta { display: flex; gap: 18px; justify-content: center; margin-top: 28px; transition: opacity .25s ease; }

/* ===== Customer reviews (paginated) ===== */
.reviews-section { background: var(--surface-2); padding: 72px 0 84px; transition: background .25s ease; }
.reviews-heading { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--text); margin-bottom: 46px; }

.reviews-pages { max-width: 1100px; margin: 0 auto; }
.reviews-grid { display: none; grid-template-columns: 1fr 1fr; gap: 26px; }
.reviews-grid.active { display: grid; animation: reviewFade .35s ease; }
@keyframes reviewFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.review-stars { color: var(--orange); font-size: 19px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text { color: var(--text); font-size: 17px; line-height: 1.65; margin-bottom: 22px; flex: 1; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.review-author strong { display: block; color: var(--text); font-size: 16px; }
.review-author em { font-style: normal; color: var(--muted); font-size: 14px; }

.reviews-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 42px; }
.rpage-btn, .rpage-num {
  min-width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 17px; font-weight: 600; cursor: pointer;
  display: grid; place-items: center; padding: 0 6px; transition: all .15s ease;
}
.rpage-btn:hover, .rpage-num:hover { border-color: var(--text); }
.rpage-num.active { background: var(--orange); color: var(--bg); border-color: var(--orange); }

/* Reviews: flash, empty, submit form */
.review-flash { text-align: center; background: var(--surface-3); color: var(--text); border-radius: 10px; padding: 12px 18px; max-width: 560px; margin: 0 auto 26px; font-weight: 600; }
.review-flash.error { background: #fdecec; color: #b42318; }
.reviews-empty { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.review-form-wrap { max-width: 640px; margin: 44px auto 0; text-align: center; }
.review-form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: left; }
.review-form h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.review-form-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.review-form-row select, .review-form-row input { flex: 1; min-width: 160px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-family: inherit; background: var(--bg); color: var(--text); }
.review-form textarea { width: 100%; min-height: 100px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-family: inherit; background: var(--bg); color: var(--text); resize: vertical; margin-bottom: 14px; }
.review-form-row select:focus, .review-form-row input:focus, .review-form textarea:focus { outline: none; border-color: var(--text); }
.review-cta-login { text-align: center; color: var(--muted); font-size: 16px; }
.review-cta-login a { color: var(--text); font-weight: 700; text-decoration: underline; }

/* ===== Navbar-service page ===== */
.svc-page { padding: 56px 0 90px; background: var(--bg); transition: background .25s ease; }
.svc-page-title { text-align: center; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 34px; }
.svc-page-hero { max-width: 1000px; margin: 0 auto 36px; border-radius: 16px; overflow: hidden; background: var(--surface-3); }
/* Hero image display size (set per service in admin) */
.svc-page-hero.hero-small { max-width: 600px; }
.svc-page-hero.hero-medium { max-width: 800px; }
.svc-page-hero.hero-large { max-width: 1000px; }
.svc-page-hero.hero-full { max-width: 100%; }
.svc-page-hero img { width: 100%; height: auto; display: block; }
.svc-page-hero-ph { aspect-ratio: 21 / 9; background: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
.svc-page-desc { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--muted); white-space: pre-line; }
/* Rich-text (HTML) service description */
.svc-page-desc.is-rich { white-space: normal; text-align: left; }
.svc-page-desc.is-rich p { margin-bottom: 16px; }
.svc-page-desc.is-rich h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 26px 0 14px; letter-spacing: -.3px; }
.svc-page-desc.is-rich h3 { font-size: 21px; font-weight: 700; color: var(--text); margin: 22px 0 12px; }
.svc-page-desc.is-rich ul, .svc-page-desc.is-rich ol { margin: 14px 0 18px; padding-left: 24px; }
.svc-page-desc.is-rich li { margin-bottom: 8px; }
.svc-page-desc.is-rich strong { color: var(--text); }
.svc-page-desc.is-rich a { color: #2563eb; text-decoration: underline; }
[data-theme="dark"] .svc-page-desc.is-rich a { color: #6ea8fe; }
.svc-page-desc.is-rich blockquote { margin: 18px 0; padding: 4px 18px; border-left: 3px solid var(--text); color: var(--muted); font-style: italic; }
.svc-page-cta { text-align: center; margin-top: 44px; }
.svc-page-cta .btn-lg { padding: 15px 38px; font-size: 17px; }

/* ===== Legal / static content pages (Privacy, Terms, Cookies) ===== */
.legal-page { padding: 56px 0 90px; background: var(--bg); transition: background .25s ease; }
.legal-container { max-width: 820px; }
.legal-container-wide { max-width: 1100px; }
.legal-container-wide .legal-title { font-size: clamp(38px, 6vw, 60px); }
.legal-container-wide .contact-intro { font-size: 19px; max-width: 720px; }
.legal-container-wide .contact-cards { gap: 20px; margin-bottom: 44px; }
.legal-container-wide .contact-card { padding: 22px 24px; }
.legal-container-wide .contact-form .quote-field input,
.legal-container-wide .contact-form .quote-field textarea { padding: 15px 18px; font-size: 16px; }
.legal-container-wide .contact-form .quote-field > span { font-size: 15px; }
.legal-container-wide .contact-form .btn-lg { padding: 16px 42px; font-size: 18px; }
.legal-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal-body { color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal-body h2 { color: var(--text); font-size: 22px; font-weight: 700; margin: 34px 0 12px; letter-spacing: -.3px; }
.legal-body p { margin-bottom: 18px; }
.legal-body ul { margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 10px; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--text); text-decoration: underline; }
.legal-body a:hover { opacity: .7; }

/* ===== Contact Us page ===== */
.contact-intro { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 28px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-decoration: none !important; transition: border-color .15s; }
.contact-card:hover { border-color: var(--text); opacity: 1; }
.contact-card-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.contact-card-value { font-size: 15px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .quote-actions { justify-content: flex-start; }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }

/* ===== Per-service FAQ accordion (service page) ===== */
.svc-faq { max-width: 820px; margin: 64px auto 0; }
.svc-faq-heading { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.5px; color: var(--text); margin-bottom: 28px; }
.svc-faq-list { display: flex; flex-direction: column; gap: 14px; }
.svc-faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.svc-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 600; color: var(--text); }
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-icon { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.svc-faq-icon::before, .svc-faq-icon::after { content: ""; position: absolute; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
.svc-faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.svc-faq-icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.svc-faq-item[open] .svc-faq-icon::after { transform: scaleY(0); }
.svc-faq-answer { padding: 0 22px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; white-space: pre-line; }

/* ===== Landing page FAQ section ===== */
.faq-section { background: var(--bg); padding: 80px 0 90px; transition: background .25s ease; }
.faq-heading { text-align: center; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.5px; color: var(--text); margin-bottom: 40px; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

/* Service-page before/after item grid (3 per row) */
.svc-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; margin-top: 64px; }
/* Service-item slider: no radius, container height follows the image */
.ba-slider-auto { aspect-ratio: auto; border-radius: 0; }
.ba-base { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.ba-base-ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
.svc-item h3 { text-align: center; font-size: 24px; font-weight: 800; color: var(--text); margin: 20px 0 12px; }
.svc-item p { text-align: center; color: var(--muted); font-size: 16px; line-height: 1.6; }
/* Before / After tags on the comparison sliders */
.ba-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(20,20,20,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 6px; }
.ba-tag-after { left: auto; right: 14px; }
@media (max-width: 1000px) { .svc-items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-items { grid-template-columns: 1fr; } }

/* ===== Blog ===== */
.blog-wrap { padding: 56px 0 90px; background: var(--bg); transition: background .25s ease; min-height: 60vh; }
.blog-title { text-align: center; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; color: var(--text); }
.blog-sub { text-align: center; color: var(--muted); font-size: 18px; margin: 12px 0 8px; }
.blog-searching { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.blog-searching a { color: var(--text); font-weight: 600; text-decoration: underline; }
.blog-empty { text-align: center; color: var(--muted); font-size: 17px; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; max-width: 1180px; margin: 36px auto 0; }

/* Blog index cards: one per row — image on top, title, meta pills, excerpt, Read More */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface); transition: transform .15s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -20px rgba(0,0,0,.3); }
.blog-card-img { display: block; height: 300px; background-size: cover; background-position: center; background-color: var(--surface-3); background-image: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
.blog-card-body { padding: 26px 30px 30px; }
.blog-card-body h3 { font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: -.3px; margin: 0 0 16px; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { opacity: .65; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.blog-meta-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface-3); border-radius: 999px; padding: 6px 14px; }
.blog-meta-pill svg { width: 14px; height: 14px; }
.blog-card-body p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 22px; }
.blog-readmore { display: inline-flex; align-items: center; gap: 10px; background: #1a1a1a; color: #fff; font-weight: 600; font-size: 15px; padding: 11px 13px 11px 24px; border-radius: 999px; transition: background .15s, transform .15s; }
.blog-readmore:hover { background: #000; transform: translateX(2px); }
.blog-readmore-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 15px; }
[data-theme="dark"] .blog-readmore { background: #2a2a2a; }
[data-theme="dark"] .blog-readmore:hover { background: #3a3a3a; }

/* Blog article (show page) */
.blog-article { max-width: 800px; }
.blog-back { display: inline-block; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.blog-back:hover { color: var(--text); }
.blog-post-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 8px; }
.blog-post-cover { width: 100%; height: auto; border-radius: 14px; margin: 22px 0 28px; display: block; }
.blog-post-body { font-size: 18px; line-height: 1.8; color: var(--text); }

/* Blog post (show page) — hero, breadcrumb, content sections, share */
.blog-post { max-width: 880px; margin: 0 auto; }
.blog-hero { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 22px; }
.blog-hero-img { height: 420px; background-size: cover; background-position: center; background-color: var(--surface-3); background-image: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
.blog-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 34px; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.15) 58%, rgba(0,0,0,.05)); }
.blog-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #e8e8e8; font-size: 14px; font-weight: 600; }
.blog-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.blog-hero-meta svg { width: 15px; height: 15px; }
.blog-hero-title { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.blog-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.blog-breadcrumb a { color: var(--muted); }
.blog-breadcrumb a:hover { color: var(--text); }
.blog-breadcrumb .current { color: var(--text); font-weight: 600; }
.blog-section { margin-top: 36px; }
.blog-section h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; letter-spacing: -.4px; color: var(--text); margin-bottom: 16px; }
.blog-section-img { width: 100%; height: auto; border-radius: 14px; margin: 4px 0 18px; display: block; }
.blog-section-body { font-size: 17px; line-height: 1.8; color: var(--text); }
/* Markdown-rendered content (post body + sections): tables, lists, headings */
.blog-post-body table, .blog-section-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.blog-post-body th, .blog-post-body td, .blog-section-body th, .blog-section-body td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; }
.blog-post-body th, .blog-section-body th { font-weight: 700; color: var(--text); background: var(--surface-3); }
.blog-post-body td, .blog-section-body td { color: var(--muted); }
.blog-post-body tbody tr:nth-child(even), .blog-section-body tbody tr:nth-child(even) { background: var(--surface-2); }
.blog-post-body ul, .blog-post-body ol, .blog-section-body ul, .blog-section-body ol { margin: 14px 0 18px; padding-left: 24px; }
.blog-post-body li, .blog-section-body li { margin-bottom: 8px; }
.blog-post-body h2, .blog-section-body h2 { font-size: 25px; font-weight: 800; color: var(--text); margin: 28px 0 14px; letter-spacing: -.3px; }
.blog-post-body h3, .blog-section-body h3 { font-size: 21px; font-weight: 700; color: var(--text); margin: 24px 0 12px; }
.blog-post-body blockquote, .blog-section-body blockquote { margin: 18px 0; padding: 4px 18px; border-left: 3px solid var(--text); color: var(--muted); font-style: italic; }
.blog-post-body u, .blog-section-body u { text-decoration: underline; }
.blog-post-body p, .blog-section-body p { margin-bottom: 16px; }
.blog-post-body a, .blog-section-body a { color: #2563eb; text-decoration: underline; }
.blog-post-body a:hover, .blog-section-body a:hover { color: #1d4ed8; }
[data-theme="dark"] .blog-post-body a, [data-theme="dark"] .blog-section-body a { color: #6ea8fe; }
[data-theme="dark"] .blog-post-body a:hover, [data-theme="dark"] .blog-section-body a:hover { color: #93c0ff; }
.blog-post-body strong, .blog-section-body strong { color: var(--text); }
/* Text alignment set in the rich-text editor (Quill ql-align-* classes) */
.blog-post-body .ql-align-center, .blog-section-body .ql-align-center, .svc-page-desc .ql-align-center, .svc-desc .ql-align-center { text-align: center; }
.blog-post-body .ql-align-right, .blog-section-body .ql-align-right, .svc-page-desc .ql-align-right, .svc-desc .ql-align-right { text-align: right; }
.blog-post-body .ql-align-justify, .blog-section-body .ql-align-justify, .svc-page-desc .ql-align-justify, .svc-desc .ql-align-justify { text-align: justify; }
/* Visual table builder output */
.blog-table-wrap { margin: 22px 0; overflow-x: auto; }
.blog-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.blog-table th, .blog-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; }
.blog-table th { font-weight: 700; color: var(--text); background: var(--surface-3); }
.blog-table td { color: var(--muted); }
.blog-table tbody tr:nth-child(even) { background: var(--surface-2); }
.blog-share { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 46px 0 26px; padding-top: 26px; border-top: 1px solid var(--border); }
.blog-share-label { font-weight: 700; color: var(--text); }
.blog-share-links { display: flex; gap: 10px; }
.blog-share-links a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); transition: background .15s, color .15s, border-color .15s; }
.blog-share-links a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.blog-share-links svg { width: 17px; height: 17px; }
@media (max-width: 640px) {
  .blog-hero-img { height: 280px; }
  .blog-hero-overlay { padding: 22px; }
}

/* Blog pagination */
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.blog-pagination .rpage-btn.disabled { opacity: .35; cursor: default; }

/* Blog sidebar widgets (Search + Categories) */
.blog-sidebar { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 24px; }
.blog-widget { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.blog-widget-title { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 18px; }
.blog-widget-title::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--text); }
.blog-search { display: flex; align-items: stretch; }
.blog-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--border); border-right: 0; border-radius: 999px 0 0 999px; background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit; }
.blog-search input:focus { outline: none; border-color: var(--text); }
.blog-search button { flex: 0 0 auto; width: 54px; border: 0; border-radius: 0 999px 999px 0; background: var(--text); color: var(--bg); cursor: pointer; display: grid; place-items: center; transition: opacity .15s; }
.blog-search button:hover { opacity: .85; }
.blog-search button svg { width: 18px; height: 18px; }
.blog-cats { display: flex; flex-direction: column; gap: 12px; }
.blog-cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-size: 15px; font-weight: 600; color: var(--text); transition: box-shadow .15s, border-color .15s, transform .15s; }
.blog-cat:hover { box-shadow: 0 10px 24px -16px rgba(0,0,0,.4); transform: translateX(2px); }
.blog-cat.active { border-color: var(--text); }
.blog-cat-count { min-width: 34px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--surface-3); color: var(--text); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 1000px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-card-img { height: 200px; }
  .blog-card-body { padding: 22px; }
}

/* ===== Back to top button ===== */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--text); color: var(--bg);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ===== Footer ===== */
.site-footer { background: #0d0d0d; color: #b8b8b8; padding: 72px 0 0; }
[data-theme="dark"] .site-footer { background: #060606; border-top: 1px solid #1d1d1d; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }

.footer-logo { height: 110px; width: auto; margin: -18px 0 8px -8px; }
.footer-brand p { font-size: 15px; line-height: 1.7; max-width: 360px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; color: #cfcfcf; transition: all .15s ease; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; letter-spacing: .3px; }
.footer-col a { display: block; color: #b8b8b8; font-size: 15px; padding: 6px 0; transition: color .15s; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }

.footer-contact a { font-weight: 500; }
.footer-newsletter-label { color: #fff; font-size: 14px; margin: 20px 0 10px; font-weight: 600; }
.footer-newsletter { display: flex; max-width: 280px; }
.footer-newsletter input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #3a3a3a; border-right: 0; border-radius: 8px 0 0 8px; background: #1c1c1c; color: #fff; font-size: 14px; font-family: inherit; }
.footer-newsletter input::placeholder { color: #8a8a8a; }
.footer-newsletter input:focus { outline: none; border-color: #fff; }
/* Footer is always dark — keep the button white with a dark arrow so it stays visible in both themes. */
.footer-newsletter button { width: 46px; border: 0; border-radius: 0 8px 8px 0; background: #fff; color: #111; font-size: 20px; font-weight: 700; cursor: pointer; transition: opacity .15s; }
.footer-newsletter button:hover { opacity: .85; }
.footer-newsletter-ok { color: #5fd07a; font-size: 14px; font-weight: 600; max-width: 280px; }
.footer-newsletter-err { color: #ff7a7a; font-size: 13px; margin-top: 6px; max-width: 280px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 32px; border-top: 1px solid #1f1f1f; font-size: 14px; color: #8a8a8a; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: #8a8a8a; transition: color .15s; }
.footer-legal a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav { height: 70px; }
  .logo-img { height: 56px; }
  .site-header.scrolled .nav { height: 60px; }
  .site-header.scrolled .logo-img { height: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* ===== Mobile menu (opened via hamburger) — theme-aware ===== */
  /* Force a SOLID, opaque, full-width header so menu items don't bleed over content. */
  body.nav-open .site-header,
  body.nav-open .site-header.scrolled {
    position: sticky; top: 0; margin: 0; max-width: 100%; border-radius: 0;
    background: #ffffff; border-color: var(--header-border);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  [data-theme="dark"] body.nav-open .site-header,
  [data-theme="dark"] body.nav-open .site-header.scrolled { background: #121212; }
  body.nav-open .site-header .nav { height: auto; flex-wrap: wrap; gap: 0; row-gap: 0; padding-bottom: 18px; background: inherit; }
  body.nav-open .nav-links,
  body.nav-open .nav-actions {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; order: 3; margin: 14px 0 0; gap: 12px;
  }
  body.nav-open .nav-links a,
  body.nav-open .nav-item > a { text-align: center; font-size: 17px; padding: 10px 0; }
  body.nav-open .nav-actions .btn { width: 100%; text-align: center; }
  body.nav-open .nav-actions .account-wrap { align-self: center; }
  /* Services stays a plain link on mobile — don't expand the desktop mega-menu. */
  body.nav-open .mega-menu { display: none; }
  body.nav-open .nav-item .caret { display: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .how-cta { flex-direction: column; align-items: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .video-arrow.prev { left: 10px; }
  .video-arrow.next { right: 10px; }
  .exp-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; justify-items: center; }
  .exp-title, .exp-desc { padding-left: 0; max-width: none; }
  .exp-bar { display: none; }
  .exp-stats { width: 100%; max-width: 480px; }
  /* Mobile: drop the sticky parallax mask — show the gallery + buttons normally */
  .works-parallax { height: auto; }
  .works-stage { position: static; height: auto; padding: 48px 22px; overflow: visible; display: block; }
  .works-viewport { display: block; flex: none; min-height: 0; }
  .works-clip { -webkit-mask-image: none !important; mask-image: none !important; max-height: none; height: auto; }
  .works-grid { grid-template-columns: repeat(2, 1fr); height: auto; grid-auto-rows: auto; }
  .work-tile { min-height: 150px; aspect-ratio: 1 / 1; }
  .work-tile.tall { grid-row: span 1; }
  .works-cta { opacity: 1 !important; flex-direction: column; align-items: center; margin-top: 32px; position: relative; z-index: 2; }
}

/* ===== Service sample pages (e.g. /clipping-path-samples) ===== */
.sample-page { padding: 56px 0 90px; background: var(--bg); transition: background .25s ease; }

/* Hero */
.sample-hero { text-align: center; max-width: 1000px; margin: 0 auto 64px; }
.sample-title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 30px; }
.sample-hero-img { border-radius: 16px; overflow: hidden; background: var(--surface-3); margin-bottom: 28px; }
.sample-hero-img img { width: 100%; height: auto; display: block; }
.sample-intro { max-width: 760px; margin: 0 auto 30px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.sample-intro.is-rich { text-align: left; }
.sample-intro.is-rich p { margin-bottom: 14px; }
.sample-intro.is-rich strong { color: var(--text); }
.sample-intro.is-rich a { color: #2563eb; text-decoration: underline; }
[data-theme="dark"] .sample-intro.is-rich a { color: #6ea8fe; }
.sample-hero-cta { text-align: center; margin: 40px 0; }

/* Alternating sub-service blocks */
.sample-blocks { display: flex; flex-direction: column; gap: 64px; margin: 56px 0; }
/* Image (left) + text (right) as a centered group in the middle of the page,
   vertically aligned to each other — instead of stretching edge to edge. */
.sample-block { display: grid; grid-template-columns: 440px minmax(0, 560px); gap: 48px; align-items: center; justify-content: center; }
.sample-block-right { grid-template-columns: minmax(0, 560px) 440px; }
.sample-block-right .sample-block-text { order: 1; }
.sample-block-right .sample-block-media { order: 2; }
.sample-block-media img { width: 100%; height: auto; display: block; }
.sample-block-ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #8a8a8a, #2a2a2a); }
/* Compact before/after media, square-ish, no rounded corners. */
.sample-block-media .ba-slider,
.sample-block-media > img,
.sample-block-media .sample-block-ph { width: 100%; max-width: 440px; border-radius: 0; }
.sample-block-media .ba-slider { aspect-ratio: 1 / 1; }
.sample-block-media .ba-base { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sample-block-media .ba-before { background-size: cover; background-position: center; }
.sample-block-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.4px; color: var(--text); margin: 0 0 14px; }
.sample-block-desc { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
.sample-block-wwd { font-size: 19px; font-weight: 700; color: var(--text); margin: 0 0 14px; }

/* Arrow list (instead of bullets) */
.sample-arrow-list { list-style: none; margin: 0; padding: 0; }
.sample-arrow-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--text); }
.sample-arrow-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }
[data-theme="dark"] .sample-arrow-list li::before { color: #ffb27a; }

@media (max-width: 820px) {
  .sample-block,
  .sample-block-right { grid-template-columns: 1fr; gap: 24px; }
  /* Always show the image above the text on mobile, regardless of side. */
  .sample-block-right .sample-block-media { order: 0; }
  .sample-block-right .sample-block-text { order: 1; }
}

/* ===== Homepage welcome popup ad ===== */
.promo-overlay { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .72); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.promo-overlay.is-open { opacity: 1; visibility: visible; }
.promo-overlay[hidden] { display: none; }
body.promo-open { overflow: hidden; }
.promo-modal { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: transparent; border-radius: 18px; padding: 0; box-shadow: none; text-align: center; transform: translateY(12px) scale(.98); transition: transform .25s ease; }
.promo-overlay.is-open .promo-modal { transform: translateY(0) scale(1); }
.promo-image-link { display: block; }
.promo-image { display: block; width: 100%; height: auto; border-radius: 12px; }
.promo-cta { display: inline-block; margin: 18px 0 8px; }
.promo-skip { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.promo-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.promo-close:hover { background: rgba(0, 0, 0, .8); }
@media (max-width: 560px) {
  .promo-overlay { padding: 16px; }
  .promo-modal { padding: 16px 16px 14px; }
}
