/* Flexiwork Services
   Layout: "sunrise" - a dark navy hero where the logo's gold sun rises behind the headline,
   then alternating white and navy bands that carry the page down to a closing sunrise CTA.
   One deliberate brand look (no light/dark switching): every surface sets its own colors. */
:root {
  --ink: #0C0D16;        /* near-black with a navy bias */
  --navy: #1B1E30;       /* logo navy */
  --navy-2: #252A42;
  --navy-line: #353A56;
  --gold: #CFB054;       /* brand accent */
  --gold-hi: #E6CF83;
  --white: #FFFFFF;
  --mist: #F4F4F7;       /* cool neutral for light bands */
  --line: #E2E3EA;
  --text: #1B1E30;
  --muted: #565A70;
  --on-dark: #E9EAF2;
  --on-dark-muted: #A9ADC4;

  --f-head: Tahoma, "Verdana", "Segoe UI", Geneva, sans-serif;
  --f-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --s-1: clamp(2.4rem, 1.3rem + 4.2vw, 4.6rem);  /* hero */
  --s-2: clamp(2rem, 1.3rem + 2.8vw, 3.2rem);    /* section titles */
  --s-3: 1.35rem;
  --s-body: 1.0625rem;

  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --ubar-h: 38px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--s-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem;
  padding: .95em 1.5em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background-color .25s, color .25s, box-shadow .3s;
  will-change: transform;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 30px -10px rgba(207, 176, 84, .7); }
.btn-gold:hover { background: var(--gold-hi); box-shadow: 0 12px 40px -10px rgba(207, 176, 84, .9); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); color: var(--gold-hi); }
.btn-sm { padding: .65em 1.15em; font-size: .92rem; }
.btn-lg { font-size: 1.1rem; padding: 1.05em 1.8em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled { background: rgba(27, 30, 48, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { color: var(--on-dark); text-decoration: none; font-size: .95rem; position: relative; padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav ul a.active { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    background: var(--navy); padding: 20px max(20px, env(safe-area-inset-right, 0px)) 28px max(20px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--navy-line);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .site-nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; font-size: 1.15rem; padding: 10px 0; font-family: var(--f-head); }
  .site-nav .btn { justify-content: center; }
  .site-header.menu-open { background: var(--navy); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 110%, #2B2F4A 0%, var(--navy) 45%, var(--ink) 100%);
  color: var(--white);
  padding-top: calc(var(--header-h) + var(--ubar-h) + env(safe-area-inset-top, 0px) + clamp(36px, 6vw, 72px));
  padding-bottom: clamp(150px, 17vw, 210px);
  text-align: center;
}
.hero::after { /* faint grain of horizon lines */
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0 13px, rgba(207, 176, 84, .05) 13px 14px);
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.eyebrow {
  font-family: var(--f-head); font-weight: 700; font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hero-title { font-size: var(--s-1); line-height: 1.04; letter-spacing: -0.025em; max-width: 17ch; }
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(120ms + var(--w, 0) * 70ms); }
.hero-title .gold { color: var(--gold); }
.lead { max-width: 60ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-dark); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: .95rem; color: var(--on-dark-muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--gold); }
.load-in { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }

/* The rising sun, drawn from the logo's mark */
.sun {
  --size: clamp(220px, 30vw, 380px);
  position: absolute; left: 50%; bottom: 0; z-index: -1;
  width: var(--size); height: var(--size);
  transform: translate(-50%, calc(52% - var(--rise, 0px)));
  animation: sunrise 2.2s var(--ease) both .2s;
}
.sun-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--gold-hi), var(--gold) 55%, #B8973C 100%);
  box-shadow: 0 0 120px 30px rgba(207, 176, 84, .35);
}
.sun-glow {
  position: absolute; inset: -60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 176, 84, .32) 0%, rgba(207, 176, 84, .08) 38%, transparent 62%);
  animation: breathe 6s ease-in-out infinite;
}
.sun-rays {
  position: absolute; inset: -150%;
  background: repeating-conic-gradient(from 0deg, rgba(207, 176, 84, .4) 0deg 1.4deg, transparent 1.4deg 15deg);
  mask-image: radial-gradient(circle, transparent 17%, #000 19%, rgba(0, 0, 0, .5) 34%, transparent 58%);
  -webkit-mask-image: radial-gradient(circle, transparent 17%, #000 19%, rgba(0, 0, 0, .5) 34%, transparent 58%);
  animation: spin 140s linear infinite, raysIn 2.6s var(--ease) both .5s;
}

/* ---------- Marquee ---------- */
.marquee-band { background: var(--ink); color: var(--on-dark-muted); padding-block: 26px 30px; border-top: 1px solid rgba(207, 176, 84, .25); }
.marquee-label { text-align: center; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; padding-inline: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--on-dark); white-space: nowrap; display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee-track li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.kicker { font-family: var(--f-head); font-weight: 700; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: #8F7428; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.section h2 { font-size: var(--s-2); }
.sub { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* Why */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card { padding: 32px 28px; border-radius: var(--radius); background: var(--mist); display: grid; gap: 14px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s; }
.why-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 24px 50px -24px rgba(27, 30, 48, .35); }
.why-card h3 { font-size: var(--s-3); }
.why-card p { color: var(--muted); }
.why-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.why-num svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.why-num svg .fill { fill: var(--gold); stroke: none; }
.why-card:hover .why-num svg { animation: wiggle .7s var(--ease); }

/* Services: rays from a rising sun */
.services { background: var(--navy); color: var(--white); position: relative; isolation: isolate; overflow: hidden; }
.services::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: min(1200px, 150vw); aspect-ratio: 1; translate: -50% 0; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(207, 176, 84, .22), transparent 60%); pointer-events: none; }
.services .kicker { color: var(--gold); }
.services .sub { color: var(--on-dark-muted); }
.services .ray-tip .ic { background: #262B47; border: 2px solid rgba(207, 176, 84, .6); color: var(--gold-hi); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.services .ray-tip span { color: #E6E7EF; }
.services .ray:hover .ray-tip .ic, .services .ray.on .ray-tip .ic { background: var(--gold); border-color: var(--gold-hi); color: var(--navy); box-shadow: 0 0 0 6px rgba(207, 176, 84, .2), 0 0 36px rgba(207, 176, 84, .55); }
.services .ray.on .ray-tip span, .services .ray:hover .ray-tip span { color: var(--gold-hi); }
.services .ray:focus-visible .ray-tip .ic { outline-color: var(--gold-hi); }
.services .sr-sun { box-shadow: 0 0 120px 24px rgba(207, 176, 84, .45); }
.sr { container-type: inline-size; }
.sr-stage { position: relative; width: 100%; aspect-ratio: 2 / 1.08; max-width: 1100px; margin-inline: auto; overflow: visible; }
.ray { all: unset; position: absolute; left: 50%; bottom: 0; width: 0; height: 47cqw; transform: rotate(var(--a)); transform-origin: 50% 100%; cursor: pointer; }
.ray-beam { position: absolute; left: -1.5px; bottom: 18cqw; width: 3px; height: calc(100% - 26.5cqw); background: linear-gradient(to top, var(--gold), rgba(207, 176, 84, .45)); border-radius: 2px; transition: width .3s, left .3s, background .3s, box-shadow .3s; }
.ray-tip { position: absolute; left: 0; top: 0; translate: -50% 0; rotate: calc(-1 * var(--a)); display: grid; justify-items: center; gap: 4px; width: 11cqw; text-align: center; }
.ray-tip .ic { width: clamp(46px, 4.6cqw, 60px); height: clamp(46px, 4.6cqw, 60px); padding: clamp(11px, 1.15cqw, 15px); stroke-width: 2.2; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--navy); transition: all .3s var(--ease); }
.ray-tip span { font: 700 clamp(.76rem, .6rem + .4vw, 1rem)/1.2 var(--f-head); color: var(--muted); transition: color .3s; }
.ray:hover .ray-beam, .ray.on .ray-beam { left: -2.5px; width: 5px; background: linear-gradient(to top, var(--gold), var(--gold-hi)); box-shadow: 0 0 18px rgba(207, 176, 84, .8); }
.ray:hover .ray-tip .ic, .ray.on .ray-tip .ic { background: var(--gold); border-color: var(--gold); transform: scale(1.18); }
.ray.on .ray-tip span, .ray:hover .ray-tip span { color: var(--navy); }
.ray:focus-visible .ray-tip .ic { outline: 3px solid var(--navy); outline-offset: 3px; }
.sr-sun { position: absolute; left: 50%; bottom: 0; width: 40cqw; height: 20cqw; translate: -50% 0; border-radius: 20cqw 20cqw 0 0; background: radial-gradient(circle at 50% 100%, var(--gold-hi), var(--gold) 60%, #B8973C); box-shadow: 0 0 80px 10px rgba(207, 176, 84, .35); display: grid; place-items: end center; padding: 0 5cqw 2.2cqw; text-align: center; color: var(--navy); }
.sr-detail { display: grid; gap: .5cqw; }
.sr-detail.swap > * { animation: fadeUp .4s var(--ease) both; }
.sr-cat { font: 700 clamp(.62rem, .5rem + .3vw, .78rem) var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #5C4A14; }
.sr-detail h3 { font-size: clamp(1.1rem, .7rem + 1.4vw, 2rem); }
.sr-detail p:last-child { font-size: clamp(.8rem, .7rem + .3vw, .98rem); color: #2A2510; }

/* How it works: a chat with your project manager */
.how { background: linear-gradient(180deg, #FBF5E3, #F6EDD2); color: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.how::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(207, 176, 84, .35), transparent 62%); pointer-events: none; }
.how .chat { box-shadow: 0 40px 80px -36px rgba(27, 30, 48, .55); }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.how-head .section-head { margin-bottom: 0; }
.chat { max-width: 720px; margin-inline: auto; border-radius: calc(var(--radius) + 8px); background: var(--navy-2); border: 1px solid var(--navy-line); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--navy-line); background: rgba(0, 0, 0, .15); }
.chat-top img { width: 20px; height: auto; }
.chat-top span { display: grid; font-size: .82rem; color: var(--on-dark-muted); }
.chat-top b { color: var(--white); font-family: var(--f-head); font-size: 1rem; }
.chat-list { display: grid; gap: 12px; padding: 26px 22px; }
.msg { max-width: 78%; display: grid; gap: 6px; opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.msg.in { opacity: 1; translate: 0 0; }
.msg p { padding: 13px 16px; border-radius: 18px; line-height: 1.45; }
.msg-you { justify-self: end; }
.msg-you p { background: #3B5BDB; color: var(--white); border-bottom-right-radius: 6px; }
.msg-fw p { background: var(--white); color: var(--navy); border-bottom-left-radius: 6px; }
.msg-step { justify-self: start; font: 700 .7rem var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 9px; border-radius: 99px; }
.msg.typing p { color: transparent; position: relative; min-width: 64px; min-height: 44px; }
.msg.typing p::after { content: "\2022\2022\2022"; position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: #8F93A8; letter-spacing: 3px; animation: dots 1s steps(3) infinite; }
@keyframes dots { 0% { clip-path: inset(0 66% 0 0); } 100% { clip-path: inset(0 0 0 0); } }

/* Pricing */
.pricing { background: var(--white); }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.rate { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); display: grid; gap: 14px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.rate:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -30px rgba(27, 30, 48, .35); }
.rate h3 { font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 2px; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.price .cur { font-size: 1.6rem; }
.price .amt { font-size: 3.6rem; line-height: 1; letter-spacing: -0.03em; }
.price .per { font-family: var(--f-body); font-weight: 400; font-size: 1rem; color: var(--muted); margin-left: 6px; }
.rate ul { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.rate li { padding-left: 22px; position: relative; color: var(--muted); }
.rate li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); }
.rate-featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rate-featured h3 { color: var(--gold); }
.rate-featured .price { color: var(--white); }
.rate-featured .per, .rate-featured li { color: var(--on-dark-muted); }
.rate-featured ul { border-color: var(--navy-line); }
.rate-featured li::before { background: var(--gold); }
.badge { position: absolute; top: -13px; right: 24px; background: var(--gold); color: var(--navy); font-family: var(--f-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

.pricing-more { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--mist); }
.pricing-more p { color: var(--muted); }
.pricing-more strong { color: var(--navy); }
.estimator { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); }
.est-controls { padding: 32px; display: grid; gap: 18px; background: var(--mist); }
.est-controls h3 { font-size: var(--s-3); }
.est-tier { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.est-tier legend { font-size: .85rem; color: var(--muted); margin-bottom: 8px; padding: 0; }
.est-tier label { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); cursor: pointer; font-weight: 700; transition: border-color .25s, background-color .25s, color .25s; }
.est-tier label span { font-weight: 400; color: var(--muted); }
.est-tier input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.est-tier label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.est-tier label:has(input:checked) span { color: var(--gold); }
.est-tier label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.est-hours { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.est-hours output { font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1rem; font-variant-numeric: tabular-nums; }
input[type="range"] { --fill: 14%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--gold) var(--fill), var(--line) var(--fill)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(27, 30, 48, .3); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); }
.est-result { padding: 32px; background: var(--navy); color: var(--white); display: grid; gap: 8px; align-content: center; }
.est-label { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.est-total { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.8rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.est-pack { color: var(--on-dark); }
.est-pack strong { color: var(--gold-hi); }
.est-fine { font-size: .82rem; color: var(--on-dark-muted); margin-top: 8px; }

.packs-title { font-size: var(--s-3); margin: 64px 0 20px; }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pack { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 4px; transition: border-color .3s, transform .45s var(--ease); }
.pack:hover { border-color: var(--gold); transform: translateY(-4px); }
.pack.suggested { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(207, 176, 84, .25); }
.pack h4 { font-size: 1rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.pack-price { font-family: var(--f-head); font-weight: 700; font-size: 2.1rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.pack-bonus { color: #8F7428; font-weight: 700; font-size: .95rem; }
.pack-hours { color: var(--muted); font-size: .95rem; }
.included { margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--mist); }
.included-title { font-family: var(--f-head); font-weight: 700; margin-bottom: 14px; }
.included ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.included li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.included .ic { color: #8F7428; margin-top: .25em; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 85% 120%, #2B2F4A 0%, var(--navy) 45%, var(--ink) 100%); color: var(--white); padding-top: calc(var(--header-h) + var(--ubar-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero-inner { display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); max-width: 18ch; letter-spacing: -0.02em; }
.page-hero .gold { color: var(--gold); }
.page-hero .lead { max-width: 56ch; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.sun-sm { --size: clamp(180px, 22vw, 300px); left: auto; right: 8%; transform: translate(0, 52%); }
.pricing-page { padding-top: clamp(48px, 6vw, 72px); }

/* Clients */
.clients { background: var(--mist); overflow: hidden; }
.clients-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: end; margin-bottom: 36px; }
.clients-head .section-head { margin-bottom: 0; }
.quote { margin: 0; padding: clamp(26px, 3.5vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.quote::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-family: Georgia, serif; font-size: 11rem; line-height: 1; color: var(--gold); opacity: .18; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.3; max-width: 32ch; }
.quote figcaption { margin-top: 14px; color: var(--on-dark-muted); }
.quote figcaption strong { color: var(--gold); }
.story-tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8F7428; font-weight: 700; }
.sl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.sl-list { display: grid; gap: 4px; align-content: start; }
.sl-name { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; cursor: pointer; transition: background-color .3s; }
.sl-name span { font: 700 1.08rem var(--f-head); color: var(--muted); transition: color .3s; }
.sl-name em { font-style: normal; font-size: .78rem; color: var(--muted); text-align: right; }
.sl-name:hover span { color: var(--navy); }
.sl-name.on { background: var(--white); box-shadow: 0 10px 30px -18px rgba(27, 30, 48, .4); }
.sl-name.on span { color: var(--navy); }
.sl-name.on em { color: #8F7428; }
.sl-name:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.sl-stage { position: relative; border-radius: calc(var(--radius) + 8px); background: var(--navy); color: var(--on-dark); padding: clamp(32px, 5vw, 60px); display: grid; align-content: center; overflow: hidden; isolation: isolate; min-height: 420px; }
.sl-stage::before { content: "\201C"; position: absolute; right: 24px; top: -50px; z-index: -1; font: 700 18rem/1 Georgia, serif; color: var(--gold); opacity: .12; }
.sl-body { display: grid; gap: 14px; }
.sl-body.swap > * { animation: fadeUp .55s var(--ease) both; }
.sl-body.swap > *:nth-child(2) { animation-delay: .05s; } .sl-body.swap > *:nth-child(3) { animation-delay: .1s; }
.sl-tag { font: 700 .78rem var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sl-body h3 { font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem); color: var(--white); }
.sl-text { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.5; max-width: 40ch; }
.sl-who { color: var(--gold-hi); font-weight: 700; }
.sl-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.sl-timer i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.sl-timer i.run { animation: slfill 6s linear forwards; }
.sl.paused .sl-timer i { animation-play-state: paused; }
@keyframes slfill { to { transform: scaleX(1); } }


/* FAQ */
.faq { background: var(--white); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--mist); overflow: hidden; transition: background-color .3s; }
.faq details[open] { background: var(--navy); color: var(--white); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--gold); transition: transform .4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(135deg); }
.faq-a { padding: 0 24px 22px; color: var(--on-dark); }
.faq-a a { color: var(--gold-hi); }
.faq details[open] .faq-a { animation: fadeUp .45s var(--ease) both; }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); text-align: center; padding-block: clamp(90px, 12vw, 150px); }
.cta-rays {
  position: absolute; left: 50%; top: 100%; width: 1800px; height: 1800px; z-index: -1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(207, 176, 84, .35) 0%, rgba(207, 176, 84, .08) 18%, transparent 36%),
    repeating-conic-gradient(from 0deg, rgba(207, 176, 84, .28) 0deg 1deg, transparent 1deg 12deg);
  mask-image: radial-gradient(circle, #000 10%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 55%);
  animation: spin 160s linear infinite reverse;
}
.cta-inner { display: grid; justify-items: center; gap: 22px; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--navy-line); font-size: .95rem; color: var(--on-dark-muted); }
.cta-contact a, .cta-contact span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-dark); }
.cta-contact a:hover { color: var(--gold-hi); }
.cta-contact .ic { color: var(--gold); }
.cta-mark { width: 54px; height: auto; animation: float 5s ease-in-out infinite; }
.cta h2 { font-size: var(--s-2); max-width: 18ch; }
.cta p { color: var(--on-dark); max-width: 52ch; font-size: 1.12rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 64px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand img { width: 150px; height: auto; }
.footer-title { font-family: var(--f-head); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex !important; gap: 10px !important; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--navy-line); transition: background-color .25s, border-color .25s; }
.social a:hover { background: var(--gold); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; fill: var(--on-dark); }
.social a:hover svg { fill: var(--navy); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: .88rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sunrise { from { translate: 0 60%; opacity: .4; } }
@keyframes raysIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.1); } 60% { transform: rotate(5deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sl { grid-template-columns: minmax(0, 1fr); }
  .sl-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .sl-name em { display: none; }
  .sl-stage { min-height: 360px; }
}
@media (max-width: 700px) {
  .sr-stage { aspect-ratio: auto; overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ray { position: relative; left: auto; bottom: auto; width: auto; height: auto; transform: none; display: block; }
  .ray-beam { display: none; }
  .ray-tip { position: static; translate: none; rotate: none; width: auto; display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
  .ray-tip span { font-size: .9rem; }
  .ray-tip .ic { width: 44px; height: 44px; padding: 11px; flex: none; }
  .ray.on .ray-tip { border-color: var(--gold); }
  .services .ray-tip { background: #232843; border-color: #343957; }
  .services .ray.on .ray-tip { border-color: var(--gold); }
  .sr-sun { position: relative; grid-column: 1 / -1; order: -1; left: auto; translate: none; width: 100%; height: auto; border-radius: 160px 160px 16px 16px; padding: 48px 24px 24px; }
  .sr-detail h3 { font-size: 1.5rem; }
  .sr-detail p:last-child { font-size: .95rem; }
  .sr-cat { font-size: .72rem; }
  .msg { max-width: 90%; }
}
@media (max-width: 1024px) {
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .why-grid, .rates { grid-template-columns: minmax(0, 1fr); }
  .faq-inner, .estimator { grid-template-columns: minmax(0, 1fr); }
  .clients-head { grid-template-columns: minmax(0, 1fr); }
  .rate-featured { order: -1; }
}
@media (max-width: 560px) {
  .packs, .included ul { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sun-sm { right: -20%; }
  .est-controls, .est-result { padding: 24px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; translate: 0 0; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
@media (max-width: 480px) {
  .eyebrow { letter-spacing: .22em; font-size: .72rem; }
  .eyebrow::before, .eyebrow::after { display: none; }
}
.pricing-page + .faq { padding-top: clamp(24px, 3vw, 40px); }

/* ==========================================================================
   Added in the build: network bar, Services menu, grouped rays, video
   testimonials, service pages, services hub and lightbox.
   ========================================================================== */

/* ---------- Network bar (John Javier companies) ---------- */
.ubar { height: var(--ubar-h, 38px); background: var(--ub-bg); color: var(--ub-fg); border-bottom: 1px solid var(--ub-line); overflow: hidden; }
.ubar-in { display: flex; align-items: center; justify-content: center; justify-content: safe center; height: 100%; font: 700 .72rem/1 Tahoma, Verdana, "Segoe UI", Geneva, sans-serif; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ubar-in::-webkit-scrollbar { display: none; }
.ubar-tag { color: var(--ub-acc); }
.ubar-net { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ubar-net li { display: flex; align-items: center; }
.ubar-net li::before { content: ""; width: 1px; height: 12px; margin: 0 15px; background: var(--ub-sep); }
.ubar-net a, .ubar-cur { position: relative; padding: 6px 0; color: inherit; text-decoration: none; transition: color .2s; }
.ubar-net a:hover { color: var(--ub-hover); }
.ubar-cur { color: var(--ub-acc); text-shadow: 0 0 14px var(--ub-glow); }
.ubar-cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--ub-acc); box-shadow: 0 0 10px var(--ub-glow); }
@media (max-width: 1180px) { .ubar-in { justify-content: flex-start; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); } .ubar-net li::before { margin: 0 14px; } .ubar-net li:last-child { padding-right: 40px; } }
.ubar { --ub-bg: linear-gradient(90deg, var(--ink), var(--navy) 50%, var(--ink)); --ub-fg: var(--on-dark); --ub-line: rgba(207, 176, 84, .25); --ub-sep: rgba(255, 255, 255, .2); --ub-acc: var(--gold); --ub-hover: var(--gold-hi); --ub-glow: rgba(207, 176, 84, .6); transition: margin-top .35s var(--ease); }
.site-header.scrolled .ubar { margin-top: calc(-1 * var(--ubar-h)); }

/* ---------- Services menu: groups first, then the service pages ---------- */
.header-inner { position: relative; }
.site-nav > ul { align-items: center; }
.mega-trigger { display: inline-flex; align-items: center; gap: 4px; }
.site-nav .caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-mega.open .caret { transform: rotate(180deg); }
.mega .mega-link, .mega .mega-all, .mega .mega-hub { text-decoration: none; }
.mega .mega-link::after, .mega .mega-all::after, .mega .mega-hub::after { display: none; }
.mega-cat { all: unset; box-sizing: border-box; cursor: pointer; }
.mega-cat:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

@media (min-width: 921px) {
  .has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
  .mega {
    position: absolute; top: calc(100% - 4px); right: max(20px, env(safe-area-inset-right, 0px));
    width: min(780px, calc(100% - 40px));
    display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: repeat(3, auto) 1fr;
    border-radius: 20px; background: linear-gradient(90deg, var(--navy) 250px, var(--white) 250px);
    box-shadow: 0 40px 90px -30px rgba(6, 7, 12, .7), 0 0 0 1px rgba(207, 176, 84, .25);
    opacity: 0; visibility: hidden; translate: 0 10px;
    transition: opacity .2s, translate .35s var(--ease), visibility 0s .35s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s, translate .35s var(--ease); }
  .has-mega.shut .mega { opacity: 0; visibility: hidden; }
  .mega-grp { display: contents; }
  .mega-cat { grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin: 6px 10px 0; padding: 14px 16px; border-radius: 12px; transition: background-color .25s; }
  .mega-grp:first-child .mega-cat { margin-top: 12px; }
  .mega-cat b { font: 700 1.02rem var(--f-head); color: var(--white); transition: color .25s; }
  .mega-cat span { font-size: .8rem; color: var(--on-dark-muted); }
  .mega-cat .ic { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
  .mega-grp.on .mega-cat { background: rgba(255, 255, 255, .07); }
  .mega-grp.on .mega-cat b { color: var(--gold-hi); }
  .mega-grp.on .mega-cat .ic { opacity: 1; transform: none; }
  .mega-pane { grid-column: 2; grid-row: 1 / -1; display: none; align-content: start; gap: 6px; padding: 16px; }
  .mega-grp.on .mega-pane { display: grid; animation: fadeUp .35s var(--ease) both; }
  .site-nav .mega ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .mega .mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--navy); font-size: 1rem; transition: background-color .2s; }
  .mega-link .ic { width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: var(--mist); color: var(--navy); transition: background-color .2s, transform .3s var(--ease); }
  .mega-link b { display: block; font: 700 .98rem/1.25 var(--f-head); }
  .mega-link em { display: block; margin-top: 3px; font-style: normal; font-size: .82rem; line-height: 1.35; color: var(--muted); }
  .mega .mega-link:hover, .mega .mega-link.on { background: #FBF5E3; }
  .mega-link:hover .ic { background: var(--gold); transform: scale(1.06); }
  .mega .mega-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 12px 4px; padding: 0; font: 700 .9rem var(--f-head); color: #8F7428; }
  .mega .mega-hub { grid-column: 1; grid-row: 4; align-self: end; display: inline-flex; align-items: center; gap: 6px; margin: 14px 26px 20px; padding: 0; font: 700 .88rem var(--f-head); color: var(--gold); }
  .mega .mega-all:hover, .mega .mega-hub:hover { text-decoration: underline; }
}
@media (max-width: 920px) {
  .site-nav { max-height: calc(100vh - var(--header-h) - var(--ubar-h)); max-height: calc(100dvh - var(--header-h) - var(--ubar-h)); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav ul .mega-trigger { display: flex; justify-content: space-between; align-items: center; }
  .site-nav .caret { width: 20px; height: 20px; color: var(--gold); }
  .mega { display: none; padding: 0 0 10px; }
  .has-mega.open .mega { display: block; }
  .mega-grp { border-top: 1px solid var(--navy-line); }
  .mega-cat { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 0; }
  .mega-cat b { font: 700 1rem var(--f-head); color: var(--white); }
  .mega-cat span { flex: 1; font-size: .8rem; color: var(--on-dark-muted); }
  .mega-cat .ic { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
  .mega-grp.on .mega-cat .ic { transform: rotate(90deg); }
  .mega-pane { display: none; padding: 0 0 10px; }
  .mega-grp.on .mega-pane { display: block; }
  .site-nav .mega ul { display: grid; gap: 2px; }
  .mega .mega-link { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; font: 400 1rem var(--f-body); color: var(--on-dark); }
  .mega .mega-link.on { background: rgba(255, 255, 255, .06); color: var(--gold-hi); }
  .mega-link .ic { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: #262B47; color: var(--gold-hi); }
  .mega-link b { font-weight: 400; }
  .mega-link em { display: none; }
  .mega .mega-all { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font: 700 .9rem var(--f-head); color: var(--gold); }
  .mega .mega-hub { display: flex; align-items: center; gap: 6px; padding: 14px 0 4px; border-top: 1px solid var(--navy-line); font: 700 .95rem var(--f-head); color: var(--gold); }
}

/* ---------- Homepage services: three groups, four rays each ---------- */
.sr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto clamp(18px, 3vw, 34px); }
.sr-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; min-width: 190px; padding: 13px 22px; border-radius: 16px; text-align: center; border: 1px solid rgba(207, 176, 84, .35); background: rgba(255, 255, 255, .03); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.sr-tab b { font: 700 1.05rem var(--f-head); color: var(--white); }
.sr-tab span { font-size: .8rem; letter-spacing: .04em; color: var(--on-dark-muted); }
.sr-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.sr-tab.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 12px 34px -14px rgba(207, 176, 84, .8); }
.sr-tab.on b { color: var(--navy); }
.sr-tab.on span { color: #3A3014; }
.sr-tab:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.ray { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.ray.off { opacity: 0; pointer-events: none; transform: rotate(var(--a)) scaleY(.35); }
.sr-detail > p:nth-of-type(2) { font-size: clamp(.8rem, .7rem + .3vw, .98rem); color: #2A2510; }
.sr-more { justify-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: .4cqw; font: 700 clamp(.72rem, .6rem + .35vw, .95rem) var(--f-head); color: var(--navy); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.sr-more:hover .ic { transform: translateX(3px); }
.sr-more .ic { transition: transform .3s var(--ease); }
.sr-foot { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 701px) {
  .ray-tip { width: 17cqw; gap: 8px; }
  .ray-tip .ic { width: clamp(58px, 6.4cqw, 84px); height: clamp(58px, 6.4cqw, 84px); padding: clamp(14px, 1.55cqw, 20px); }
  .ray-tip span { font-size: clamp(.86rem, .62rem + .55vw, 1.2rem); }
}
@media (max-width: 700px) {
  .ray.off { display: none; }
  .sr-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sr-tab { min-width: 0; padding: 10px 6px; border-radius: 12px; }
  .sr-tab b { font-size: .86rem; }
  .sr-tab span { display: none; }
  .sr-detail > p:nth-of-type(2) { font-size: .95rem; }
  .sr-more { font-size: .9rem; margin-top: 4px; }
}

/* ---------- Video testimonials ---------- */
.vt { background: var(--white); }
.vt-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.vt-head .section-head { margin-bottom: 0; }
.vt-head .sub { max-width: 42ch; }
.vt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vt-card { all: unset; box-sizing: border-box; width: 100%; display: grid; gap: 14px; cursor: pointer; }
.vt-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 80% 115%, #3A3F63, var(--navy) 50%, var(--ink)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.vt-thumb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from -90deg at 50% 125%, rgba(207, 176, 84, .2) 0deg 1deg, transparent 1deg 9deg); }
.vt-thumb img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.vt-card.has-video .vt-thumb::before { background: linear-gradient(to top, rgba(12, 13, 22, .55), transparent 60%); z-index: 0; }
.vt-play { position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); box-shadow: 0 0 0 10px rgba(207, 176, 84, .2); transition: transform .35s var(--ease), box-shadow .35s; }
.vt-play .ic { width: 28px; height: 28px; margin-left: 4px; fill: var(--navy); stroke: none; }
.vt-soon { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 700 .68rem var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.vt-card.has-video .vt-soon { display: none; }
.vt-card:hover .vt-thumb { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27, 30, 48, .6); }
.vt-card:hover .vt-play { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(207, 176, 84, .25); }
.vt-card:focus-visible .vt-thumb { outline: 3px solid var(--gold); outline-offset: 3px; }
.vt-meta b { display: block; font: 700 1.1rem var(--f-head); color: var(--navy); }
.vt-meta em { font-style: normal; font-size: .92rem; color: var(--muted); }

/* ---------- Service pages ---------- */
.svc-cat { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.svc-cat .ic { width: 22px; height: 22px; }
.svc-cta { justify-content: flex-start; margin-top: 4px; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 6px; font-size: .95rem; color: var(--on-dark-muted); }
.svc-facts li { display: inline-flex; align-items: center; gap: 8px; }
.svc-facts .ic { color: var(--gold); }
.svc-facts b { color: var(--white); }
.svc-hero h1 { max-width: 20ch; }

.svc-incl { background: var(--white); }
.incl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.incl { display: grid; gap: 10px; align-content: start; padding: 26px 26px 28px; border-radius: var(--radius); background: var(--mist); border-top: 3px solid var(--gold); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s; }
.incl:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 24px 50px -24px rgba(27, 30, 48, .35); }
.incl-n { font: 700 .85rem var(--f-head); letter-spacing: .12em; color: #8F7428; }
.incl h3 { font-size: 1.15rem; }
.incl p { color: var(--muted); }

.work { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.work::before { content: ""; position: absolute; right: -20%; top: -40%; width: min(900px, 120vw); aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(207, 176, 84, .16), transparent 62%); pointer-events: none; }
.work .kicker { color: var(--gold); }
.work .sub { color: var(--on-dark-muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.work-card { all: unset; box-sizing: border-box; width: 100%; display: grid; gap: 12px; cursor: pointer; }
.work-card:focus-visible .work-thumb { outline: 3px solid var(--gold); outline-offset: 3px; }
.work-meta em { display: block; font: 700 .72rem var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.work-meta b { font: 700 1.08rem var(--f-head); color: var(--white); }
.work-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; isolation: isolate; background: var(--bg); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.work-card:hover .work-thumb { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); }
.work-thumb > img { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; }
.work-thumb > span { position: absolute; display: block; }
.work-ic { right: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.work-ic .ic { width: 20px; height: 20px; }
.p0 { --bg: linear-gradient(135deg, #FBF5E3, #E9D9A6); --fg: var(--navy); --ac: #B8973C; }
.p1 { --bg: linear-gradient(135deg, #2B2F4A, #12141F); --fg: #E9EAF2; --ac: var(--gold); }
.p2 { --bg: linear-gradient(135deg, var(--gold-hi), var(--gold)); --fg: var(--navy); --ac: var(--white); }
.p3 { --bg: linear-gradient(135deg, #FFFFFF, #E2E3EA); --fg: var(--navy); --ac: var(--gold); }
.p4 { --bg: linear-gradient(135deg, #3B5BDB, #24357F); --fg: var(--white); --ac: var(--gold-hi); }
.p5 { --bg: linear-gradient(135deg, #0C0D16, #252A42); --fg: var(--gold-hi); --ac: #5B7BF0; }
/* placeholder art per kind of work */
.wa-bar { left: 10%; right: 10%; top: 12%; height: 9%; display: flex !important; align-items: center; gap: 5px; padding-left: 3%; border-radius: 8px 8px 0 0; background: var(--fg); }
.wa-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
.wa-hero { left: 10%; right: 10%; top: 21%; height: 36%; background: var(--ac); opacity: .9; }
.wa-row { left: 10%; right: 10%; top: 61%; height: 25%; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5%; }
.wa-row i { border-radius: 6px; background: var(--fg); opacity: .22; }
.da-a { left: 12%; top: 16%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--ac); }
.da-b { right: 13%; top: 26%; width: 32%; aspect-ratio: 1; border-radius: 14px; background: var(--fg); opacity: .88; transform: rotate(12deg); }
.da-c { left: 12%; bottom: 14%; width: 52%; height: 9%; border-radius: 99px; background: var(--fg); opacity: .3; }
.va-play { left: 50%; top: 45%; width: 22%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid !important; place-items: center; background: var(--ac); }
.va-play .ic { width: 42%; height: 42%; margin-left: 8%; fill: var(--fg); stroke: none; }
.va-time { left: 10%; right: 10%; bottom: 14%; height: 5px; border-radius: 5px; background: var(--fg); opacity: .5; }
.va-time i { display: block; width: 38%; height: 100%; border-radius: 5px; background: var(--ac); }
.xa-card { left: 18%; right: 18%; top: 13%; bottom: 13%; display: grid !important; align-content: start; gap: 9%; padding: 9% 9%; border-radius: 10px; background: var(--fg); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5); }
.xa-card i { height: 7px; border-radius: 4px; background: var(--ac); opacity: .75; }
.xa-card i:first-child { width: 62%; height: 12px; opacity: 1; }
.xa-card i:nth-child(3) { width: 88%; } .xa-card i:nth-child(5) { width: 66%; }
.ca-bars { left: 14%; right: 14%; top: 20%; bottom: 16%; display: flex !important; align-items: flex-end; gap: 6%; border-bottom: 3px solid var(--fg); }
.ca-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--ac); }
.ca-bars i:nth-child(1) { height: 30%; } .ca-bars i:nth-child(2) { height: 46%; } .ca-bars i:nth-child(3) { height: 40%; } .ca-bars i:nth-child(4) { height: 66%; } .ca-bars i:nth-child(5) { height: 92%; }
.ha-b { height: 16%; border-radius: 16px; }
.ha-l { left: 12%; width: 56%; top: 16%; background: var(--fg); border-bottom-left-radius: 4px; }
.ha-r { right: 12%; width: 46%; top: 41%; background: var(--ac); border-bottom-right-radius: 4px; }
.ha-s { top: 66%; width: 36%; opacity: .7; }
.fa-n { width: 18%; aspect-ratio: 1; border-radius: 14px; background: var(--ac); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.fa-n:nth-child(1) { left: 12%; top: 44%; } .fa-n:nth-child(2) { left: 41%; top: 16%; } .fa-n:nth-child(3) { left: 70%; top: 48%; }
.fa-l { left: 20%; right: 22%; top: 28%; height: 38%; z-index: -1; border: 3px dashed var(--fg); border-radius: 22px; opacity: .4; }

.svc-how { background: linear-gradient(180deg, #FBF5E3, #F6EDD2); }
.svc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.svc-steps li { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 50px -32px rgba(27, 30, 48, .45); }
.svc-steps span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 700 1.1rem var(--f-head); }
.svc-steps h3 { font-size: 1.2rem; }
.svc-steps p { color: var(--muted); }
.svc-how .pricing-more { background: var(--white); }
.related { background: var(--mist); }

/* Service cards (hub and related) */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.svc-card { height: 100%; box-sizing: border-box; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 28px 56px -30px rgba(27, 30, 48, .45); }
.svc-card-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: var(--navy); color: var(--gold); transition: background-color .3s, color .3s; }
.svc-card-ic .ic { width: 28px; height: 28px; }
.svc-card:hover .svc-card-ic { background: var(--gold); color: var(--navy); }
.svc-card h3 { font-size: 1.2rem; }
.svc-card p { color: var(--muted); font-size: .98rem; }
.svc-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 .9rem var(--f-head); color: #8F7428; }
.svc-card:hover .svc-card-go .ic { transform: translateX(4px); }
.svc-card-go .ic { transition: transform .3s var(--ease); }
.hub-cat { background: var(--white); }
.hub-alt { background: var(--mist); }
.hub-alt .svc-card { border-color: transparent; }
.hub-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hub-jump a { display: grid; gap: 2px; padding: 12px 20px; border-radius: 14px; border: 1px solid rgba(207, 176, 84, .4); text-decoration: none; transition: background-color .25s, border-color .25s; }
.hub-jump b { font: 700 1rem var(--f-head); color: var(--white); }
.hub-jump span { font-size: .82rem; color: var(--on-dark-muted); }
.hub-jump a:hover { background: var(--gold); border-color: var(--gold); }
.hub-jump a:hover b, .hub-jump a:hover span { color: var(--navy); }

/* ---------- Lightbox for samples and videos ---------- */
.lb { width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.lb::backdrop { background: rgba(8, 9, 15, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb[open] .lb-box { animation: fadeUp .4s var(--ease) both; }
.lb-box { position: relative; display: grid; gap: 14px; padding-top: 56px; }
.lb-media { position: relative; display: grid; aspect-ratio: 16 / 10; max-height: calc(100vh - 200px); border-radius: 18px; overflow: hidden; background: var(--ink); }
.lb-media.is-video { aspect-ratio: 16 / 9; }
.lb-media > * { grid-area: 1 / 1; width: 100%; height: 100%; border: 0; }
.lb-media > .work-thumb, .lb-media > .vt-thumb { aspect-ratio: auto; border-radius: 0; transform: none !important; box-shadow: none !important; }
.lb-media img, .lb-media video { object-fit: contain; background: #000; }
.lb-cap { display: grid; gap: 4px; text-align: center; }
.lb-tag { font: 700 .74rem var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lb-title { font: 700 1.3rem var(--f-head); }
.lb-note { font-size: .9rem; color: var(--on-dark-muted); }
.lb-x, .lb-nav { all: unset; box-sizing: border-box; position: absolute; display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: background-color .2s, transform .2s; }
.lb-x { top: 0; right: 0; width: 44px; height: 44px; background: rgba(255, 255, 255, .14); color: var(--white); }
.lb-x:hover { background: var(--gold); color: var(--navy); }
.lb-nav { top: calc(56px + (100% - 56px - 80px) / 2 - 24px); width: 48px; height: 48px; background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.lb-nav:hover { background: var(--gold); transform: scale(1.06); }
.lb-prev { left: -22px; } .lb-next { right: -22px; }
.lb-x .ic, .lb-nav .ic { width: 22px; height: 22px; }
.lb-x:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lb.single .lb-nav { display: none; }
body.lb-on { overflow: hidden; }

/* ---------- Footer with the service groups ---------- */
.footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer-title a { color: inherit; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .incl-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .vt-grid, .svc-steps { grid-template-columns: minmax(0, 1fr); }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incl-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid { gap: 18px 12px; }
  .work-meta b { font-size: .95rem; }
  .work-ic { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .work-ic .ic { width: 16px; height: 16px; }
  .svc-cta .btn { width: 100%; justify-content: center; }
  .hub-jump { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
}

/* ---------- Homepage update 2026-11-06: pricing with packs and calculator, seven-step how it works ---------- */
.home-pricing { background: var(--mist); }
.home-pricing .rate:not(.rate-featured), .home-pricing .pack { background: var(--white); }
.home-pricing .est-controls { background: var(--white); }
.home-pricing .pricing-more { background: var(--white); }
.home-pricing .estimator { margin-top: 28px; }
.home-pricing .packs-title { margin-top: 56px; }

/* How it works: a timeline that fills with gold as you scroll */
.tl { position: relative; max-width: 1000px; margin: 0 auto; display: grid; gap: 14px; }
.tl-line { position: absolute; left: 50%; top: 26px; bottom: 26px; width: 4px; translate: -50% 0; border-radius: 4px; background: rgba(27, 30, 48, .12); overflow: hidden; }
.tl-line i { display: block; width: 100%; height: var(--tl, 0%); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 14px rgba(207, 176, 84, .7); transition: height .25s linear; }
.tl-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; }
.tl-dot { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 700 1.15rem var(--f-head); border: 3px solid #F6EDD2; transition: background-color .4s, color .4s, box-shadow .4s, transform .4s var(--ease); }
.tl-step.on .tl-dot { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 7px rgba(207, 176, 84, .25), 0 0 30px rgba(207, 176, 84, .6); transform: scale(1.06); }
.tl-card { grid-row: 1; grid-column: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 50px -32px rgba(27, 30, 48, .5); border: 1px solid transparent; transition: border-color .4s, box-shadow .4s; }
.tl-step:nth-child(odd) .tl-card { grid-column: 3; }
.tl-step.on .tl-card { border-color: rgba(207, 176, 84, .55); box-shadow: 0 28px 56px -30px rgba(27, 30, 48, .55); }
.tl-ic { grid-row: 1 / 3; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #FBF5E3; color: #8F7428; transition: background-color .4s, color .4s; }
.tl-ic .ic { width: 26px; height: 26px; }
.tl-step.on .tl-ic { background: var(--navy); color: var(--gold); }
.tl-card h3 { font-size: 1.15rem; }
.tl-card p { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.tl-note { margin-top: 28px; text-align: center; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .tl-line { left: 26px; translate: -50% 0; }
  .tl-step { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .tl-dot { grid-column: 1; width: 46px; height: 46px; font-size: 1rem; }
  .tl-card, .tl-step:nth-child(odd) .tl-card { grid-column: 2; padding: 18px; gap: 4px 12px; }
  .tl-ic { width: 42px; height: 42px; border-radius: 12px; }
  .tl-ic .ic { width: 22px; height: 22px; }
}

/* ---------- Web design: real website samples (2026-11-13) ---------- */
.work-grid.sites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.sites > li { display: grid; gap: 10px; align-content: start; }
.site-frame { display: block; border-radius: 14px; overflow: hidden; background: #F4F4F7; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.site-card:hover .site-frame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(207, 176, 84, .6), 0 30px 60px -28px rgba(0, 0, 0, .85); }
.site-card:focus-visible .site-frame { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-card:hover .work-thumb { transform: none; box-shadow: none; }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E6E7EC; }
.site-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C6C8D1; }
.site-bar i:first-child { background: #E86A5F; } .site-bar i:nth-child(2) { background: #E9BE4F; } .site-bar i:nth-child(3) { background: #62C26A; }
.site-bar em { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; font: 400 .74rem/1.4 var(--f-body, Arial, sans-serif); font-style: normal; color: #555A6E; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-shot { aspect-ratio: 716 / 328; border-radius: 0; background: #1B1E30; }
.site-shot > img { object-fit: cover; object-position: top center; }
.site-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 700 .85rem var(--f-head); color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(207, 176, 84, .4); padding-bottom: 2px; }
.site-link:hover { border-color: var(--gold); }
.site-link .ic { width: 15px; height: 15px; }
.site-next { box-sizing: border-box; height: 100%; min-height: 220px; display: grid; align-content: center; gap: 10px; padding: 32px; border-radius: 14px; border: 1.5px dashed rgba(207, 176, 84, .55); color: var(--white); text-decoration: none; background: radial-gradient(circle at 85% 15%, rgba(207, 176, 84, .18), transparent 60%); transition: border-color .3s, background-color .3s; }
.site-next:hover { border-style: solid; border-color: var(--gold); background-color: rgba(207, 176, 84, .06); }
.site-next-k { font: 700 .72rem var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.site-next b { font: 700 1.5rem/1.25 var(--f-head); max-width: 18ch; }
.site-next-go { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--f-head); color: var(--gold); }
.site-next-go .ic { width: 18px; height: 18px; }
.lb-media:has(> img) { aspect-ratio: auto; }
.lb-media > img { height: auto; max-height: calc(100vh - 200px); }
@media (max-width: 640px) {
  .work-grid.sites { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .site-next { min-height: 0; padding: 24px; }
  .site-next b { font-size: 1.25rem; }
}

/* Home video testimonials: two real videos (2026-11-13) */
@media (min-width: 821px) { .vt-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }

/* ---------- Real sample work on service pages (2026-11-13) ---------- */
.k-shot { background: #0E1020; }
.work-thumb.k-shot > img { z-index: 1; }
.work-fit .k-shot > img { object-fit: contain; background: #fff; }
.ws-play { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; display: grid !important; place-items: center; background: var(--gold); box-shadow: 0 0 0 8px rgba(207, 176, 84, .22); transition: transform .3s var(--ease); }
.ws-play .ic { width: 24px; height: 24px; margin-left: 3px; fill: var(--navy); stroke: none; }
.work-card:hover .ws-play { transform: scale(1.1); }
.ws-badge { position: absolute; z-index: 4; left: 12px; top: 12px; display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--navy); font: 700 .68rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; }
.ws-badge .ic { width: 13px; height: 13px; }
.k-audio { background: radial-gradient(120% 120% at 80% 110%, #3A3F63, var(--navy) 55%, #0E1020); }
.au-wave { inset: 22% 10%; display: flex !important; align-items: center; gap: 3%; }
.au-wave i { flex: 1; border-radius: 4px; background: linear-gradient(180deg, var(--gold-hi, #E6CF86), var(--gold)); opacity: .55; height: 30%; }
.au-wave i:nth-child(3n) { height: 70%; } .au-wave i:nth-child(4n+1) { height: 45%; } .au-wave i:nth-child(5n+2) { height: 90%; } .au-wave i:nth-child(7n) { height: 20%; }
.work-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-posts .work-thumb { aspect-ratio: 1; }
.work-posts .work-meta b { font-size: .95rem; }
.work-grid > li[hidden] { display: none; }
.work-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.work-filter button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); color: var(--white); font: 700 .85rem var(--f-head); transition: background-color .2s, color .2s, border-color .2s; }
.work-filter button:hover { border-color: var(--gold); }
.work-filter button.on { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.work-filter button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mail-strip { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; padding: 0; }
.mail-strip .work-thumb { aspect-ratio: 829 / 191; border-radius: 12px; }
.mail-strip .work-thumb > img { object-fit: contain; background: #fff; }
.work-docs .work-thumb { aspect-ratio: 4 / 3; }
.work-docs .ws-badge { background: var(--gold); }
/* Flexiweb Media case studies */
.case-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 20px; }
.case-card .work-thumb { aspect-ratio: 4 / 3; }
.case-card .work-thumb > img { object-position: top center; }
.case-stat { display: grid; gap: 2px; color: var(--on-dark-muted); font-size: .9rem; }
.case-stat b { font: 700 1.9rem/1.1 var(--f-head); color: var(--gold); }
.frame-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }
.frame-cta .btn { border: 0; cursor: pointer; font: inherit; }
.frame-link { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); font-size: .92rem; text-decoration: none; }
.frame-link:hover { color: var(--gold); }
.frame-link .ic { width: 15px; height: 15px; }
/* Podcast packages */
.svc-packs { background: var(--mist); }
.svc-pack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.svc-pack { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 50px -34px rgba(27, 30, 48, .5); border: 1px solid rgba(27, 30, 48, .08); }
.svc-pack.is-featured { background: var(--navy); color: var(--white); border-color: var(--gold); }
.svc-pack h3 { font-size: 1.25rem; }
.svc-pack-price { color: var(--muted); }
.svc-pack.is-featured .svc-pack-price { color: var(--on-dark-muted); }
.svc-pack-price b { font: 700 2.2rem var(--f-head); color: var(--navy); margin-right: 4px; }
.svc-pack.is-featured .svc-pack-price b { color: var(--gold); }
.svc-pack ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-pack li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .96rem; line-height: 1.45; }
.svc-pack li .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.svc-pack .btn { align-self: flex-start; }
/* Popup: audio, vertical video and embedded page */
.lb-media.is-short { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - 200px) * 9 / 16)); justify-self: center; }
.lb-media.is-audio { aspect-ratio: auto; background: radial-gradient(120% 120% at 80% 110%, #3A3F63, var(--navy) 55%, #0E1020); }
.lb-audio { display: grid; gap: 24px; padding: clamp(28px, 5vw, 56px); height: auto !important; }
.lb-audio .au-wave { position: static; display: flex; height: 140px; }
.lb-audio audio { width: 100%; height: 48px; }
.lb.wide { width: min(1240px, calc(100vw - 32px)); }
.lb-media.is-frame { aspect-ratio: auto; height: calc(100vh - 190px); max-height: none; background: #fff; }
.lb-note a { color: var(--gold); margin-left: 6px; }
@media (max-width: 1024px) { .work-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-pack-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 640px) {
  .work-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mail-strip { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .case-stat b { font-size: 1.4rem; }
  .ws-play { width: 46px; height: 46px; }
  .lb-media.is-frame { height: calc(100vh - 170px); }
}
