/* =========================================================
   Renova Business Solutions: site styles
   Brand colours come from --brand / --accent (Admin > Settings).
   ========================================================= */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #0f2a44;
  --accent: #7ac143;
  --brand-ink: color-mix(in srgb, var(--brand) 88%, black);
  --brand-soft: color-mix(in srgb, var(--brand) 8%, white);
  --accent-strong: color-mix(in srgb, var(--accent) 60%, black); /* AA (4.5:1+) on white for text, links and white-text buttons */
  --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
  --accent-on-dark: color-mix(in srgb, var(--accent) 55%, white);
  --ink: #16202c;
  --ink-2: #44505e;
  --ink-3: #5f6b78;
  --line: #e2e6eb;
  --surface: #ffffff;
  --surface-2: #f5f7f9;
  --success: #17703d;
  --error: #b42318;
  --warning: #8a5a00;

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --radius: 14px; --radius-sm: 8px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .08);
  --shadow: 0 10px 30px -12px rgb(16 24 40 / .18);
  --shadow-lg: 0 24px 60px -20px rgb(15 42 68 / .35);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--surface); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--brand-ink); margin: 0 0 var(--s-4); letter-spacing: -.02em; font-weight: 650; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: var(--s-3); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--accent-on-dark); }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.section-title--sm { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-top: var(--s-6); }
.section-title--sm:first-child { margin-top: 0; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); line-height: 1.7; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--brand); --fg: #fff; --bd: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--primary { --bg: var(--brand); }
.btn--primary:hover { --bg: var(--brand-ink); }
.btn--accent { --bg: var(--accent-strong); }
.btn--accent:hover { --bg: color-mix(in srgb, var(--accent) 50%, black); }
.btn--outline { --bg: transparent; --fg: var(--brand); --bd: color-mix(in srgb, var(--brand) 30%, white); }
.btn--outline:hover { --bd: var(--brand); --fg: var(--brand); }
.btn--ghost-light { --bg: rgb(255 255 255 / .06); --fg: #fff; --bd: rgb(255 255 255 / .35); }
.btn--ghost-light:hover { --bg: rgb(255 255 255 / .14); --bd: #fff; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(16 24 40 / .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-4); }
.site-header__brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.logo-img--plate { background: #fff; padding: 6px 10px; border-radius: 10px; height: 52px; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: var(--brand); }
.wordmark__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff; font: 700 1.25rem/1 var(--font-display); box-shadow: inset -6px -6px 0 color-mix(in srgb, var(--accent) 70%, transparent); }
.wordmark__text { font: 700 1.3rem/1 var(--font-display); letter-spacing: -.02em; display: flex; flex-direction: column; }
.wordmark__text small { font: 500 .66rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.wordmark--light { color: #fff; }
.wordmark--light .wordmark__mark { background: #fff; color: var(--brand); }
.wordmark--light small { color: rgb(255 255 255 / .7); }

.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav__list { display: flex; list-style: none; gap: var(--s-1); }
.site-nav__link { position: relative; display: block; padding: .55rem .85rem; border-radius: 999px; color: var(--ink-2); font-weight: 550; font-size: .97rem; text-decoration: none; transition: color .2s, background-color .2s; }
.site-nav__link:hover { color: var(--brand); background: var(--surface-2); }
.site-nav__link.is-active { color: var(--brand); }
.site-nav__link.is-active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--accent); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--s-4); padding: var(--s-4) 16px var(--s-6); background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__link { padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .site-nav__link.is-active { background: var(--brand-soft); }
  .site-nav__link.is-active::after { left: 0; right: auto; top: .7rem; bottom: .7rem; width: 3px; height: auto; }
  .site-nav__cta { min-height: 50px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (light, animated background) ---------- */
.hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(180deg, #fbfcfa 0%, color-mix(in srgb, var(--accent) 7%, white) 100%); isolation: isolate; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: -160px; background: color-mix(in srgb, var(--accent) 45%, white); animation: hero-drift-a 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 420px; height: 420px; right: 22%; bottom: -220px; background: color-mix(in srgb, var(--brand) 22%, white); animation: hero-drift-b 22s ease-in-out infinite alternate; }
@keyframes hero-drift-a { to { transform: translate(-90px, 60px) scale(1.08); } }
@keyframes hero-drift-b { to { transform: translate(110px, -50px) scale(.94); } }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: color-mix(in srgb, var(--brand) 9%, transparent); mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 20%, transparent 75%); }
.hero__network { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(58vw, 720px); height: auto; opacity: .9; }
.hero__links path { fill: none; stroke: color-mix(in srgb, var(--brand) 22%, transparent); stroke-width: 1.4; stroke-dasharray: 5 7; animation: hero-dash 30s linear infinite; }
@keyframes hero-dash { to { stroke-dashoffset: -480; } }
.hero__nodes circle { fill: #fff; stroke: color-mix(in srgb, var(--brand) 45%, white); stroke-width: 2; }
.hero__nodes .is-hub { fill: var(--brand); stroke: color-mix(in srgb, var(--accent) 60%, white); stroke-width: 4; animation: hero-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hero-pulse { 50% { stroke-width: 9; stroke-opacity: .45; } }
.hero__pulses circle { fill: var(--accent); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 80%, transparent)); }
@media (max-width: 899px) { .hero__network { right: -30%; top: auto; bottom: -40px; transform: none; width: 520px; opacity: .35; } }
.hero__inner { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero__copy { max-width: 640px; }
.hero__title { color: var(--brand-ink); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: var(--s-4); }
.hero__highlight { color: var(--accent-strong); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 52ch; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (prefers-reduced-motion: reduce) { .hero__pulses { display: none; } }

/* ---------- Page hero (inner pages: light, animated motif) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--ink); background: linear-gradient(180deg, #fbfcfa 0%, color-mix(in srgb, var(--accent) 6%, white) 100%); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.page-hero__glow--a { width: 380px; height: 380px; right: 4%; top: -180px; background: color-mix(in srgb, var(--accent) 45%, white); animation: hero-drift-a 20s ease-in-out infinite alternate; }
.page-hero__glow--b { width: 300px; height: 300px; right: 30%; bottom: -200px; background: color-mix(in srgb, var(--brand) 20%, white); animation: hero-drift-b 24s ease-in-out infinite alternate; }
.page-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: color-mix(in srgb, var(--brand) 8%, transparent); -webkit-mask-image: radial-gradient(ellipse 55% 90% at 82% 50%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 55% 90% at 82% 50%, #000 15%, transparent 75%); }
.page-hero__motif { position: absolute; right: max(2%, calc((100vw - var(--container)) / 2 - 40px)); top: 50%; width: 320px; height: 320px; transform: translateY(-50%); display: none; }
@media (min-width: 960px) { .page-hero__motif { display: block; } }
.page-hero__orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: color-mix(in srgb, var(--brand) 16%, transparent); stroke-width: 1.2; }
.page-hero__orbits .is-dashed { stroke-dasharray: 4 8; animation: orbit-spin 60s linear infinite; transform-origin: 200px 200px; }
.page-hero__orbit { position: absolute; inset: 0; animation: orbit-spin 16s linear infinite; }
.page-hero__orbit i { position: absolute; left: 50%; top: 15%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.page-hero__orbit--2 { animation-duration: 26s; animation-direction: reverse; }
.page-hero__orbit--2 i { top: 2.5%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.page-hero__tile { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; display: grid; place-items: center; border-radius: 28px; background: #fff; color: var(--brand); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--brand) 45%, transparent), inset 0 -4px 0 color-mix(in srgb, var(--accent) 70%, white); }
.page-hero__tile .icon { stroke-width: 1.5; }
.page-hero__inner { position: relative; padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.page-hero__title { color: var(--brand-ink); font-size: clamp(1.85rem, 1.35rem + 2vw, 2.8rem); max-width: 24ch; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 960px) { .page-hero__title, .page-hero__lead { max-width: min(24ch, 58%); } .page-hero__lead { max-width: min(56ch, 58%); } }
.page-hero__lead { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; margin-bottom: var(--s-5); color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--brand); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--surface-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-7); }
.section-head .section-title { margin-bottom: 0; }
.section-head__text { max-width: 46ch; color: var(--ink-2); margin: 0; }

.intro__grid { display: grid; gap: var(--s-5) var(--s-8); }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1.4fr; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: stretch; }
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5) var(--s-5) 0; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, white); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.service-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); }
.service-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); transition: background-color .25s, color .25s; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__num { font: 600 .8rem/1 var(--font-display); color: var(--ink-3); letter-spacing: .1em; }
.service-card__title { font-size: 1.2rem; margin-bottom: var(--s-2); }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a:focus-visible { outline: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.service-card__summary { color: var(--ink-2); font-size: .97rem; line-height: 1.6; margin-bottom: var(--s-5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-block: var(--s-4); border-top: 1px solid var(--line); font-size: .9rem; }
.service-card__count { color: var(--ink-3); font-weight: 500; }
.service-card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent-strong); }
.service-card__more .icon { transition: transform .2s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why__grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .why__grid { grid-template-columns: .9fr 1.1fr; align-items: start; } .why__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.why__intro > p { color: var(--ink-2); }
.why__img { border-radius: var(--radius-lg); margin-top: var(--s-5); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.why__list { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: var(--s-4); padding: var(--s-5); border-radius: var(--radius); background: var(--surface-2); border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.why-item:hover { background: #fff; border-color: var(--line); }
.why-item__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; }
.why-item__title { font-size: 1.08rem; margin-bottom: .3rem; }
.why-item p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- Logo wall ---------- */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: var(--s-3); }
.logo-wall__item { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s var(--ease); }
.logo-wall__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-wall__item img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(.2); transition: filter .2s; }
.logo-wall__item:hover img { filter: none; }
.logo-wall__name { font: 600 1rem/1.25 var(--font-display); color: var(--brand); text-align: center; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.about-grid__img { border-radius: var(--radius-lg); margin-bottom: var(--s-4); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fact-card { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: var(--s-6); }
.fact-card__title { color: #fff; font-size: 1.1rem; }
.fact-list { margin: 0; display: grid; gap: var(--s-4); }
.fact-list div { border-top: 1px solid rgb(255 255 255 / .15); padding-top: var(--s-3); }
.fact-list dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .65); }
.fact-list dd { margin: 0; font-weight: 600; }
.value-grid { list-style: none; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.value-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: var(--s-4); }
.value-card__title { font-size: 1.12rem; margin-bottom: .35rem; }
.value-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.area-list a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand); font-weight: 550; text-decoration: none; transition: border-color .2s, background-color .2s; }
.area-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.area-list .icon { color: var(--accent-strong); }

/* ---------- Services page ---------- */
.jump-nav { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-3); margin-bottom: var(--s-7); scrollbar-width: thin; }
.jump-nav a { flex-shrink: 0; padding: .45rem .9rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .9rem; font-weight: 550; text-decoration: none; }
.jump-nav a:hover { background: var(--brand); color: #fff; }
.service-list { display: grid; gap: var(--s-8); }
.service-row { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .service-row { grid-template-columns: 1fr 1.15fr; gap: var(--s-8); } .service-row:nth-child(even) .service-row__media { order: 2; } }
.service-row__media img, .service-row__art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.service-row__art { position: relative; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 60%, var(--accent)) 100%); color: #fff; overflow: hidden; }
.service-row__art .icon { width: 30%; height: auto; opacity: .95; stroke-width: 1.2; }
.service-row__art span { position: absolute; right: 20px; bottom: 6px; font: 700 5rem/1 var(--font-display); color: rgb(255 255 255 / .1); }
.service-row__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.service-row__body > p { color: var(--ink-2); }
.check-list { list-style: none; display: grid; gap: .55rem; margin: var(--s-4) 0; }
@media (min-width: 560px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .98rem; }
.check-list .icon { flex-shrink: 0; margin-top: .2rem; color: var(--accent-strong); }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.6fr 1fr; } .detail-grid__aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.detail-img { border-radius: var(--radius-lg); margin-bottom: var(--s-6); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature-grid { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 600px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-grid li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 550; background: #fff; }
.feature-grid__icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); }
.inquiry-card { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: var(--s-6); display: grid; gap: var(--s-3); box-shadow: var(--shadow-lg); }
.inquiry-card p { color: rgb(255 255 255 / .8); margin: 0 0 var(--s-2); }
.inquiry-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgb(255 255 255 / .1); color: var(--accent-on-dark); }
.inquiry-card__title { color: #fff; font-size: 1.35rem; margin: var(--s-2) 0 0; }
.pager__nav { display: flex; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.pager__link { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--brand); font-weight: 600; padding: var(--s-3) var(--s-4); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pager__link small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.pager__link--next { text-align: right; margin-left: auto; }
.pager__link:hover { border-color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.contact-cards { list-style: none; display: grid; gap: var(--s-3); }
.contact-card { display: flex; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; font-family: var(--font-body); font-weight: 600; }
.contact-card a { font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-card__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-card__intro { color: var(--ink-3); font-size: .92rem; }
.field-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #c9d0d8; border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa5b1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field__error { color: var(--error); font-size: .88rem; margin: .35rem 0 0; min-height: 0; }
.field__error:empty { display: none; }
.field__error:not(:empty)::before { content: "⚠ "; }
.field__hint { color: var(--ink-3); font-size: .85rem; margin: .35rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-4); }
.form-privacy { margin: 0; font-size: .85rem; color: var(--ink-3); }
.form-note { display: flex; gap: .5rem; align-items: flex-start; background: #fff7e6; border: 1px solid #f3d9a4; color: var(--warning); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); font-size: .93rem; }
.form-note .icon { flex-shrink: 0; margin-top: .15rem; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--radius-sm); margin-bottom: var(--s-4); font-weight: 500; border: 1px solid; }
.alert p { margin: 0; }
.alert .icon { flex-shrink: 0; margin-top: .1rem; }
.alert--success { background: #ecfdf3; border-color: #abefc6; color: var(--success); }
.alert--error { background: #fef3f2; border-color: #fecdca; color: var(--error); }
.alert--pending { background: #fff7e6; border-color: #f3d9a4; color: var(--warning); flex-direction: column; }
.queue-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); width: 100%; }
.queue-item strong { font-weight: 650; }
.queue-item button { font: inherit; font-size: .88rem; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: .25rem; }
.status-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; border: 1px solid currentColor; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: rgb(255 255 255 / .78); padding-top: var(--s-8); font-size: .97rem; }
.site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 35%, var(--brand)) 0%, var(--brand) 100%); border: 1px solid rgb(255 255 255 / .1); margin-bottom: var(--s-8); }
.site-footer__cta-title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); margin: 0; max-width: 22ch; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.site-footer__cta .btn:hover { text-decoration: none; }
.site-footer__grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.3fr .7fr 1.4fr 1.2fr; } }
.site-footer__brand { display: inline-block; margin-bottom: var(--s-4); }
.site-footer__heading { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s-4); }
.site-footer__links { list-style: none; display: grid; gap: .55rem; }
@media (min-width: 480px) { .site-footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); } }
.site-footer__contact { list-style: none; display: grid; gap: var(--s-3); }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { flex-shrink: 0; margin-top: .25rem; color: var(--accent-on-dark); }
.site-footer__social { list-style: none; display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); }
.site-footer__social a:hover { background: rgb(255 255 255 / .1); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Offline ---------- */
.offline__inner { max-width: 720px; text-align: center; }
.offline__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: var(--s-5); }
.offline__cached, .offline__contact { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.offline .area-list { justify-content: center; }
.offline__contact a { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; }
.empty-state { text-align: center; color: var(--ink-3); padding: var(--s-7); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Toasts (PWA) ---------- */
.toast-region { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: var(--s-2); justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: var(--s-3); max-width: 520px; width: 100%; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); background: var(--brand-ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: toast-in .3s var(--ease); }
.toast p { margin: 0; flex: 1; font-size: .93rem; line-height: 1.4; }
.toast .icon { flex-shrink: 0; color: var(--accent-on-dark); }
.toast__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: rgb(255 255 255 / .75); cursor: pointer; }
.toast__close:hover { background: rgb(255 255 255 / .1); color: #fff; }
.toast--status { background: #3a2a00; }
.toast--status.is-online { background: var(--success); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .toast-region, .nav-toggle { display: none !important; } }

/* ---------- Client logo marquee (home) ---------- */
.marquee { position: relative; }
.marquee__viewport { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: var(--s-2) var(--s-4);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee__viewport::-webkit-scrollbar { display: none; }
.marquee__viewport:focus-visible { outline-offset: -3px; }
.marquee__track { list-style: none; display: flex; gap: var(--s-4); padding-right: var(--s-4); flex-shrink: 0; }
.marquee__item { flex: 0 0 auto; width: clamp(150px, 38vw, 200px); height: 104px; display: grid; place-items: center; padding: var(--s-4) var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.marquee__item:hover { border-color: color-mix(in srgb, var(--accent) 35%, white); box-shadow: var(--shadow-sm); }
.marquee__item img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.marquee__name { font: 600 .98rem/1.25 var(--font-display); color: var(--brand); text-align: center; letter-spacing: -.01em; }
.marquee__controls { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-3); }
.marquee__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; transition: border-color .2s, background-color .2s; }
.marquee__btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.marquee__play { display: none; }
.marquee__btn[aria-pressed="true"] .marquee__pause { display: none; }
.marquee__btn[aria-pressed="true"] .marquee__play { display: block; }
.marquee.is-static [data-marquee-clone], .marquee.is-static [data-marquee-toggle] { display: none; }
