/* ==========================================================================
   Websoftlink Technology - public website styles
   Colours, fonts and corner radius come from CSS variables printed by
   layouts/front.blade.php (admin > Settings > Theme). Do not hard-code colours.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: color-mix(in srgb, var(--c-primary) 5%, #ffffff);
    --bg-tint: color-mix(in srgb, var(--c-primary) 10%, #ffffff);
    --surface: #ffffff;
    --text: color-mix(in srgb, var(--c-dark) 88%, #ffffff);
    --heading: var(--c-dark);
    --muted: color-mix(in srgb, var(--c-dark) 58%, #ffffff);
    --line: color-mix(in srgb, var(--c-dark) 11%, #ffffff);
    --shadow: 0 18px 50px -24px rgba(var(--c-dark-rgb), .35);
    --shadow-lg: 0 40px 80px -40px rgba(var(--c-dark-rgb), .5);
    --radius-sm: calc(var(--radius) * .55);
    --radius-lg: calc(var(--radius) * 1.5);
    --grad: linear-gradient(120deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-accent)));
    --grad-warm: linear-gradient(120deg, var(--c-secondary), color-mix(in srgb, var(--c-secondary) 60%, var(--c-primary)));
    --header-h: 76px;
    --btn-radius: calc(var(--radius) * .8);
}
[data-bs-theme="dark"] {
    --bg: color-mix(in srgb, var(--c-dark) 92%, #000000);
    --bg-soft: color-mix(in srgb, var(--c-dark) 90%, #ffffff);
    --bg-tint: color-mix(in srgb, var(--c-dark) 82%, var(--c-primary));
    --surface: color-mix(in srgb, var(--c-dark) 86%, #ffffff);
    --text: rgba(255, 255, 255, .82);
    --heading: #ffffff;
    --muted: rgba(255, 255, 255, .6);
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
    --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4 { font-family: var(--font-head); color: var(--heading); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { text-wrap: pretty; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-secondary); }
img { max-width: 100%; height: auto; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 3px solid rgba(var(--c-primary-rgb), .55); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--c-dark); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.text-muted-2 { color: var(--muted); }
.lead-2 { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.container { --bs-gutter-x: 2.5rem; }
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ---------- Buttons ---------- */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: var(--btn-radius); --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .7rem; font-family: var(--font-body); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .45rem; }
.btn-lg { --bs-btn-padding-x: 1.8rem; --bs-btn-padding-y: .9rem; --bs-btn-font-size: 1.05rem; }
.btn-brand { background: var(--c-primary); color: #fff; border: 0; box-shadow: 0 10px 24px -10px rgba(var(--c-primary-rgb), .8); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--c-secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(var(--c-secondary-rgb), .8); }
.btn-warm { background: var(--c-secondary); color: #fff; border: 0; }
.btn-warm:hover { background: #fff; color: var(--c-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--heading); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(var(--c-primary-rgb), .06); }
.btn-light-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.btn-light-ghost:hover { background: #fff; color: var(--c-dark); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--heading); display: inline-grid; place-items: center; font-size: 1.1rem; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.mode-icon-light { display: none; }
[data-bs-theme="dark"] .mode-icon-light { display: inline; }
[data-bs-theme="dark"] .mode-icon-dark { display: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--c-dark); color: rgba(255, 255, 255, .78); font-size: .875rem; padding: .5rem 0; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--c-accent); margin-right: .3rem; }
.topbar .ms-auto i { color: inherit; margin: 0; }
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(var(--c-dark-rgb), .6); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.site-header .nav-link { color: var(--heading); font-weight: 600; font-size: .98rem; padding: .5rem .85rem !important; border-radius: var(--btn-radius); }
.site-header .nav-link:hover, .site-header .nav-link.show { color: var(--c-primary); }
.site-header .nav-link.active { color: var(--c-primary); background: rgba(var(--c-primary-rgb), .08); }
.scroll-progress { height: 3px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-warm); }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--heading); font-family: var(--font-head); }
.brand:hover { color: var(--heading); }
.brand-img { height: 44px; width: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--c-primary); display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; place-content: center; align-items: end; }
.brand-mark i { display: block; width: 5px; border-radius: 3px; background: #fff; }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 18px; background: var(--c-accent); }
.brand-mark i:nth-child(3) { height: 14px; }
.brand-text { font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.brand-dark, .brand-dark:hover { color: #fff; }
.brand-dark .brand-text small { color: rgba(255, 255, 255, .6); }

.dropdown-menu { --bs-dropdown-bg: var(--surface); --bs-dropdown-border-color: var(--line); --bs-dropdown-border-radius: var(--radius); --bs-dropdown-link-color: var(--text); --bs-dropdown-link-hover-bg: rgba(var(--c-primary-rgb), .08); --bs-dropdown-link-hover-color: var(--c-primary); --bs-dropdown-padding-y: .6rem; box-shadow: var(--shadow-lg); margin-top: .6rem !important; }
.dropdown-item { border-radius: 8px; padding: .5rem .9rem; font-weight: 500; }
.site-header .dropdown-menu:not(.mega-menu) { padding-left: .5rem; padding-right: .5rem; min-width: 250px; }
.site-header .navbar > .container { position: relative; }
.mega { position: static; }
.site-header .mega .mega-menu { left: 50%; right: auto; top: 100%; transform: translateX(-50%); width: min(1120px, calc(100vw - 2rem)); padding: 1.6rem 1.6rem 0; overflow: hidden; }
.mega-title { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; color: var(--heading); margin-bottom: .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.mega-title i { color: var(--c-primary); font-size: 1.15rem; }
.mega-menu li a { display: block; color: var(--text); font-size: .94rem; padding: .28rem 0; transition: color .15s, padding-left .15s; }
.mega-menu li a:hover { color: var(--c-primary); padding-left: .35rem; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.4rem -1.6rem 0; padding: 1rem 1.6rem; background: var(--bg-soft); font-size: .93rem; color: var(--muted); }

.mobile-nav { --bs-offcanvas-bg: var(--bg); --bs-offcanvas-width: min(360px, 92vw); }
.mobile-nav .m-link { display: block; width: 100%; padding: .8rem 0; font-weight: 600; color: var(--heading); border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; font-size: 1.02rem; }
.mobile-nav .accordion-item { background: transparent; border: 0; }
.mobile-nav .accordion-button:not(.collapsed) { color: var(--c-primary); }
.mobile-nav .m-sub { display: block; padding: .5rem 0 .5rem 1rem; color: var(--text); font-size: .96rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--c-dark); color: rgba(255, 255, 255, .78); --heading: #fff; --text: rgba(255, 255, 255, .78); --muted: rgba(255, 255, 255, .6); --line: rgba(255, 255, 255, .14); --surface: rgba(255, 255, 255, .05); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--c-secondary) 0 60%, var(--c-primary) 60% 100%); margin-bottom: 1.1rem; }
.section-head.center::before { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: .9rem 0 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(700px 420px at 88% 8%, rgba(var(--c-primary-rgb), .16), transparent 62%),
    radial-gradient(520px 380px at 4% 96%, rgba(var(--c-accent-rgb), .15), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); opacity: .7; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .95rem .4rem .45rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--heading); margin-bottom: 1.4rem; box-shadow: var(--shadow); }
.hero-badge i { width: 28px; height: 28px; border-radius: 50%; background: var(--c-secondary); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .typed-line { display: block; min-height: 1.15em; color: var(--c-primary); }
.typed-caret { display: inline-block; width: 3px; height: .9em; background: var(--c-secondary); margin-left: 4px; vertical-align: -.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 56ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust div { line-height: 1.25; }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--heading); }
.hero-trust span { font-size: .9rem; color: var(--muted); }
.hero-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.hero .carousel-item { transition: opacity .6s ease; }

/* Hero illustration: a website assembling itself, drawn in the theme colours */
.builder { position: relative; max-width: 620px; margin-left: auto; padding: 0 0 46px 34px; }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar i:nth-child(1) { background: var(--c-secondary); }
.browser-bar i:nth-child(2) { background: color-mix(in srgb, var(--c-secondary) 45%, #ffd24a); }
.browser-bar i:nth-child(3) { background: var(--c-accent); }
.browser-url { flex: 1; margin-left: .6rem; height: 24px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; padding: 0 .7rem; white-space: nowrap; overflow: hidden; }
.browser-url .bi { color: var(--c-accent); }
.browser-body { padding: 1rem; display: grid; gap: .8rem; }
.bb-nav { display: flex; align-items: center; gap: .5rem; }
.bb-nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--c-primary); }
.bb-nav span { height: 8px; border-radius: 4px; background: var(--line); width: 12%; }
.bb-nav span:last-child { margin-left: auto; width: 20%; height: 24px; border-radius: 999px; background: var(--c-secondary); }
.bb-hero { border-radius: var(--radius); padding: 1.2rem; background: var(--grad); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; align-items: center; }
.bb-hero p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.15; }
.bb-hero small { display: block; height: 7px; width: 80%; border-radius: 4px; background: rgba(255, 255, 255, .45); margin-top: .7rem; }
.bb-hero small + small { width: 55%; margin-top: .4rem; }
.bb-hero em { display: inline-block; margin-top: .8rem; padding: .3rem .8rem; border-radius: 999px; background: #fff; color: var(--c-dark); font-style: normal; font-size: .7rem; font-weight: 700; }
.bb-chart { display: flex; align-items: flex-end; gap: 6px; height: 84px; padding: .6rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .16); }
.bb-chart i { flex: 1; border-radius: 4px 4px 0 0; background: #fff; transform-origin: bottom; }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.bb-cards div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem; }
.bb-cards b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; font-size: .85rem; margin-bottom: .6rem; }
.bb-cards div:nth-child(1) b { background: var(--c-primary); }
.bb-cards div:nth-child(2) b { background: var(--c-secondary); }
.bb-cards div:nth-child(3) b { background: var(--c-accent); }
.bb-cards div > span { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: .35rem; }
.bb-cards div > span:last-child { width: 60%; }
.phone { position: absolute; left: 0; bottom: 0; width: 150px; background: var(--c-dark); border-radius: 26px; padding: 8px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--surface); border-radius: 19px; padding: .7rem .6rem; display: grid; gap: .45rem; }
.phone-screen u { display: block; height: 62px; border-radius: 12px; background: var(--grad-warm); }
.phone-screen span { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.phone-screen span:nth-of-type(2) { width: 65%; }
.phone-screen em { display: block; height: 22px; border-radius: 999px; background: var(--c-primary); margin-top: .2rem; }
.chip { position: absolute; display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .6rem .85rem; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.2; color: var(--muted); }
.chip strong { display: block; color: var(--heading); font-family: var(--font-head); font-size: 1.05rem; }
.chip > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.chip-seo { right: -14px; top: 22%; }
.chip-seo > i { background: var(--c-accent); }
.chip-order { right: 6%; bottom: 0; }
.chip-order > i { background: var(--c-secondary); }
/* One orchestrated load sequence for the hero illustration */
.has-motion .builder .browser { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.has-motion .builder .bb-nav, .has-motion .builder .bb-hero, .has-motion .builder .bb-cards div { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.has-motion .builder .bb-nav { animation-delay: .25s; }
.has-motion .builder .bb-hero { animation-delay: .4s; }
.has-motion .builder .bb-cards div:nth-child(1) { animation-delay: .6s; }
.has-motion .builder .bb-cards div:nth-child(2) { animation-delay: .72s; }
.has-motion .builder .bb-cards div:nth-child(3) { animation-delay: .84s; }
.has-motion .builder .bb-chart i { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.7s + var(--i) * .08s); }
.has-motion .builder .phone { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .95s both; }
.has-motion .builder .chip { animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both, bob 6s ease-in-out 2s infinite; }
.has-motion .builder .chip-seo { animation-delay: 1.2s, 2s; }
.has-motion .builder .chip-order { animation-delay: 1.4s, 2.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Logo strip ---------- */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.3rem 0; overflow: hidden; background: var(--bg); }
.logo-strip-inner { display: flex; align-items: center; gap: 2rem; }
.logo-strip-label { flex: 0 0 auto; font-size: .92rem; color: var(--muted); max-width: 170px; line-height: 1.3; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.2rem; width: max-content; }
.has-motion .marquee-track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.marquee-item img { height: 38px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marquee-item:hover img { filter: none; opacity: 1; }
[data-bs-theme="dark"] .marquee-item img { filter: grayscale(1) brightness(2.2); }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 0 2rem 2rem; }
.about-panel { border-radius: var(--radius-lg); background: var(--c-dark); color: #fff; padding: clamp(1.5rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.about-panel::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -120px; border-radius: 50%; background: rgba(var(--c-primary-rgb), .55); filter: blur(10px); }
.about-panel::after { content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -90px; border-radius: 50%; background: rgba(var(--c-accent-rgb), .35); filter: blur(10px); }
.about-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
.about-stats strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.about-stats span { font-size: .93rem; color: rgba(255, 255, 255, .7); }
.about-seal { position: absolute; left: 0; bottom: 0; background: var(--c-secondary); color: #fff; border-radius: var(--radius); padding: .9rem 1.1rem; font-weight: 600; font-size: .95rem; line-height: 1.25; max-width: 210px; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; }
.about-seal i { font-size: 1.6rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .7rem 1.5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--heading); }
.check-list i { color: var(--c-accent); font-size: 1.15rem; line-height: 1.5; }
.rich { color: var(--text); }
.rich h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2rem 0 .8rem; }
.rich h3 { margin: 1.6rem 0 .6rem; }
.rich p, .rich li { max-width: 72ch; }
.rich img { border-radius: var(--radius); margin: 1rem 0; }
.rich ul, .rich ol { padding-left: 1.2rem; }
.rich li { margin-bottom: .35rem; }
.rich table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.rich td, .rich th { border: 1px solid var(--line); padding: .5rem .75rem; }
.rich blockquote { border-left: 4px solid var(--c-primary); padding: .4rem 0 .4rem 1rem; color: var(--heading); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.s-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.s-card:hover { color: var(--text); transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--c-primary-rgb), .4); }
.s-card h3 { margin: 1.1rem 0 .5rem; font-size: 1.2rem; }
.s-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.s-card .more { margin-top: auto; padding-top: 1.1rem; font-weight: 600; font-size: .95rem; color: var(--c-primary); display: inline-flex; align-items: center; gap: .4rem; }
.s-card .more i { transition: transform .2s; }
.s-card:hover .more i { transform: translateX(4px); }
.s-icon { width: 54px; height: 54px; border-radius: calc(var(--radius) * .8); display: grid; place-items: center; font-size: 1.45rem; color: var(--c-primary); background: rgba(var(--c-primary-rgb), .1); transition: background .25s, color .25s; }
.s-card:hover .s-icon { background: var(--c-primary); color: #fff; }
.row > [class*="col"]:nth-child(3n+2) .s-icon { color: var(--c-secondary); background: rgba(var(--c-secondary-rgb), .12); }
.row > [class*="col"]:nth-child(3n+2) .s-card:hover .s-icon { background: var(--c-secondary); color: #fff; }
.row > [class*="col"]:nth-child(3n+3) .s-icon { color: var(--c-accent); background: rgba(var(--c-accent-rgb), .14); }
.row > [class*="col"]:nth-child(3n+3) .s-card:hover .s-icon { background: var(--c-accent); color: #fff; }

/* Category explorer (dark section) */
.cat-tabs { display: grid; gap: .5rem; }
.cat-tab { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; transition: background .2s, border-color .2s, color .2s; }
.cat-tab i:first-child { font-size: 1.3rem; color: var(--c-accent); }
.cat-tab i:last-child { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.cat-tab:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.cat-tab.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cat-tab.active i:first-child { color: #fff; }
.cat-tab.active i:last-child { opacity: 1; transform: none; }
.cat-panel { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem, 3vw, 2.4rem); height: 100%; }
.cat-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cat-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.cat-links a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: .97rem; transition: background .2s, color .2s, border-color .2s; }
.cat-links a i { color: var(--c-accent); }
.cat-links a:hover { background: #fff; color: var(--c-dark); border-color: #fff; }

/* Process: a real sequence, so the steps are numbered */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; counter-reset: step; position: relative; }
.process-step { counter-increment: step; position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.process-step::before { content: counter(step, decimal-leading-zero); position: absolute; right: 1.1rem; top: .8rem; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: rgba(var(--c-primary-rgb), .14); }
.process-step i { font-size: 1.7rem; color: var(--c-primary); }
.process-step h3 { font-size: 1.12rem; margin: .9rem 0 .4rem; }
.process-step p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Works */
.work { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: inherit; transition: transform .25s, box-shadow .25s; height: 100%; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.work-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-tint); position: relative; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work:hover .work-thumb img { transform: scale(1.06); }
.work-mock { position: absolute; inset: 12% 10% 0; border-radius: 12px 12px 0 0; background: var(--surface); box-shadow: var(--shadow); padding: .6rem; display: grid; gap: .5rem; align-content: start; transition: transform .5s ease; }
.work:hover .work-mock { transform: translateY(-8px); }
.work-mock u { display: flex; gap: 4px; }
.work-mock u b { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.work-mock s { display: block; height: 46%; min-height: 70px; border-radius: 8px; background: var(--grad); }
.work-mock span { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.work-mock span:nth-of-type(2) { width: 55%; }
.work-mock p { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .3rem 0 0; }
.work-mock p b { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.tone-1 .work-thumb { background: rgba(var(--c-secondary-rgb), .16); }
.tone-1 .work-mock s { background: var(--grad-warm); }
.tone-2 .work-thumb { background: rgba(var(--c-accent-rgb), .18); }
.tone-2 .work-mock s { background: linear-gradient(120deg, var(--c-accent), var(--c-primary)); }
.work-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.work-body h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.work-body small { color: var(--muted); }
.work-body .bi { margin-left: auto; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--heading); transition: background .2s, color .2s, border-color .2s; }
.work:hover .work-body .bi { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-bar button { border: 1.5px solid var(--line); background: transparent; color: var(--heading); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; font-size: .95rem; }
.filter-bar button.active, .filter-bar button:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Testimonials */
.t-rail { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: none; }
.t-rail::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; flex: 0 0 min(440px, 86vw); display: flex; flex-direction: column; padding: 1.8rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); height: auto; }
.t-grid .t-card { flex: none; height: 100%; }
.t-rail > .t-card:only-child { flex-basis: min(760px, 100%); }
.t-stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; }
.t-card h3 { font-size: 1.15rem; margin: .8rem 0 .5rem; }
.t-card blockquote { margin: 0 0 1.4rem; color: var(--text); font-size: 1.03rem; }
.t-person { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.t-person img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 48px; }
.avatar { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: .95rem; }
.t-person strong { display: block; color: var(--heading); line-height: 1.2; }
.t-person small { color: var(--muted); }
.rail-nav { display: flex; gap: .5rem; }

/* Counters band */
.counter-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.counter { padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.counter i { font-size: 1.5rem; color: var(--c-secondary); }
.counter strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--heading); line-height: 1.1; margin-top: .5rem; }
.counter span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-color: var(--heading); --bs-accordion-active-color: var(--c-primary); --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-color: var(--text); --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; }
.faq .accordion-item { border-width: 0 0 1px; border-radius: 0 !important; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; box-shadow: none; }
.faq .accordion-button::after { filter: none; }
[data-bs-theme="dark"] .faq .accordion-button::after, .section-dark .accordion-button::after { filter: invert(1) grayscale(1) brightness(2); }
.faq .accordion-body { padding-top: 0; color: var(--muted); max-width: 70ch; }
.help-card { border-radius: var(--radius-lg); padding: 2rem; background: var(--grad); color: #fff; position: sticky; top: calc(var(--header-h) + 24px); }
.help-card h3 { color: #fff; font-size: 1.5rem; }
.help-card p { color: rgba(255, 255, 255, .85); }
.help-card a:not(.btn) { color: #fff; font-weight: 600; display: flex; align-items: center; gap: .6rem; margin-top: .7rem; }

/* Blog */
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: inherit; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.post-thumb { aspect-ratio: 16 / 9; background: var(--grad); position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-size: 2.6rem; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row > [class*="col"]:nth-child(3n+2) .post-thumb { background: var(--grad-warm); }
.row > [class*="col"]:nth-child(3n+3) .post-thumb { background: linear-gradient(120deg, var(--c-accent), var(--c-primary)); }
.post-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .86rem; color: var(--muted); display: flex; gap: .9rem; flex-wrap: wrap; }
.post-meta .tag { color: var(--c-primary); font-weight: 600; }
.post-body h3 { font-size: 1.18rem; margin: .6rem 0 .5rem; }
.post-body p { color: var(--muted); font-size: .97rem; margin: 0; }
.article { max-width: 780px; }
.article-cover { border-radius: var(--radius-lg); width: 100%; margin-bottom: 2rem; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--surface); margin-bottom: 1.5rem; }
.side-box h2, .side-box h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; justify-content: space-between; gap: .8rem; padding: .6rem 0; color: var(--text); font-weight: 500; }
.side-list a:hover, .side-list a.active { color: var(--c-primary); }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.7rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.price-card.popular { background: var(--c-dark); border-color: var(--c-dark); color: rgba(255, 255, 255, .8); --heading: #fff; --muted: rgba(255, 255, 255, .62); --line: rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); }
.price-flag { position: absolute; top: -13px; left: 1.7rem; background: var(--c-secondary); color: #fff; font-size: .8rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.price-card .who { color: var(--muted); font-size: .95rem; min-height: 3.4em; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 2.5rem; color: var(--heading); line-height: 1; margin: 1.1rem 0 .3rem; }
.price small { font-family: var(--font-body); font-size: .92rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; padding: 1.2rem 0 0; margin: 1.2rem 0 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .97rem; }
.price-list li { display: flex; gap: .6rem; }
.price-list i { color: var(--c-accent); }
.price-list li.off { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.price-list li.off i { color: var(--muted); }
.price-card .btn { margin-top: auto; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(2.2rem, 5vw, 4rem) 0; background: var(--bg-soft); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-primary-rgb), .2), transparent 65%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; left: 38%; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .18), transparent 65%); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 20ch; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 62ch; margin: 1rem 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--c-primary); }
.page-hero-icon { width: 76px; height: 76px; border-radius: var(--radius); background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 2.1rem; margin-bottom: 1.2rem; box-shadow: 0 16px 34px -14px rgba(var(--c-primary-rgb), .8); }

/* Forms */
.form-control, .form-select { background-color: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; color: var(--heading); }
.form-control::placeholder { color: var(--muted); opacity: .8; }
.form-control:focus, .form-select:focus { background-color: var(--bg); color: var(--heading); border-color: var(--c-primary); box-shadow: 0 0 0 .25rem rgba(var(--c-primary-rgb), .14); }
.form-label { font-weight: 600; color: var(--heading); font-size: .95rem; margin-bottom: .35rem; }
.form-card { border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); --heading: var(--c-dark); }
[data-bs-theme="dark"] .form-card { --heading: #fff; }
.form-card h2, .form-card h3 { font-size: 1.5rem; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
.alert-ok { border-radius: var(--radius-sm); background: rgba(var(--c-accent-rgb), .14); border: 1px solid rgba(var(--c-accent-rgb), .5); color: var(--heading); padding: .9rem 1.1rem; display: flex; gap: .6rem; }
.field-error { color: #d92d20; font-size: .88rem; margin-top: .25rem; }
[data-bs-theme="dark"] .field-error { color: #ff8a80; }

/* Contact */
.contact-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-item > i { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: rgba(var(--c-primary-rgb), .1); color: var(--c-primary); display: grid; place-items: center; font-size: 1.25rem; }
.contact-item strong { display: block; color: var(--heading); font-family: var(--font-head); }
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--c-primary); }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); filter: saturate(.85); }

/* Feature list on service page */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-grid li { display: flex; gap: .7rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); font-weight: 500; color: var(--heading); }
.feature-grid i { color: var(--c-accent); }
.chip-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chip-links a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--heading); font-weight: 500; font-size: .95rem; }
.chip-links a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* Jobs */
.job { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 1rem; overflow: hidden; }
.job summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 1.15rem; margin: 0; flex: 1 1 220px; }
.job summary span { font-size: .92rem; color: var(--muted); }
.job summary .bi-chevron-down { transition: transform .2s; }
.job[open] summary .bi-chevron-down { transform: rotate(180deg); }
.job-body { padding: 0 1.4rem 1.4rem; }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); background: var(--c-dark); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(var(--c-primary-rgb), .7), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(var(--c-secondary-rgb), .45), transparent 70%); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { font-size: 1.12rem; max-width: 46ch; margin: 1rem 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255, 255, 255, .7); padding-top: clamp(3rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); font-size: .97rem; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.footer-cta p { margin: .5rem 0 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.newsletter-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding-left: 1.3rem; }
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-note { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--c-accent); min-height: 1.3em; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); }
.footer-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.footer-offices address { margin: 0; display: grid; gap: .3rem; font-style: normal; align-content: start; }
.footer-offices strong { color: #fff; }
.footer-offices i { color: var(--c-accent); margin-right: .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: 1.5rem 0; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }

/* ---------- Floating tools ---------- */
.float-stack { position: fixed; right: 18px; bottom: 92px; z-index: 1040; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--heading); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); transition: transform .2s; }
.float-btn:hover { transform: translateY(-3px); color: var(--c-primary); }
.float-wa { background: #25d366; border-color: #25d366; color: #fff; }
.float-wa:hover { color: #fff; }
.palette { position: relative; }
.palette-panel { position: absolute; right: 58px; bottom: 0; width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem; font-size: .88rem; }
.palette-panel strong { color: var(--heading); font-family: var(--font-head); font-size: 1rem; }
.palette-panel p { color: var(--muted); margin: .25rem 0 .8rem; line-height: 1.4; }
.palette-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.palette-list button { padding: 0; border: 2px solid transparent; background: none; border-radius: 50%; aspect-ratio: 1; }
.palette-list button span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--surface); }
.palette-list button:hover, .palette-list button.active { border-color: var(--heading); }
.palette-reset { margin-top: .8rem; border: 0; background: none; color: var(--c-primary); font-weight: 600; padding: 0; }

/* ---------- Chatbot ---------- */
.chatbot { position: fixed; right: 18px; bottom: 18px; z-index: 1050; }
.chat-launch { display: flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.3rem 0 1.1rem; border: 0; border-radius: 999px; background: var(--c-primary); color: #fff; font-weight: 600; box-shadow: 0 16px 36px -12px rgba(var(--c-primary-rgb), .9); transition: transform .2s, background .2s; }
.chat-launch i { font-size: 1.35rem; }
.chat-launch:hover { transform: translateY(-3px); background: var(--c-secondary); }
.chatbot.is-open .chat-launch { display: none; }
.chat-panel { width: min(380px, calc(100vw - 24px)); height: min(590px, calc(100vh - 36px)); height: min(590px, calc(100dvh - 36px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .25s ease both; transform-origin: bottom right; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: var(--grad); color: #fff; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head small { opacity: .9; font-size: .8rem; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 1.25rem; }
.chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6dffb0; margin-right: 2px; }
.chat-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--bg-soft); }
.chat-msg { max-width: 86%; padding: .65rem .9rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg a.chat-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 600; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.chat-quick button { border: 1.5px solid rgba(var(--c-primary-rgb), .4); background: var(--surface); color: var(--c-primary); border-radius: 999px; padding: .35rem .8rem; font-size: .86rem; font-weight: 600; }
.chat-quick button:hover { background: var(--c-primary); color: #fff; }
.chat-lead { padding: .9rem 1rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; background: var(--surface); }
.chat-lead[hidden] { display: none; }
.chat-lead p { margin: 0; font-size: .9rem; font-weight: 600; color: var(--heading); }
.chat-lead .form-control { padding: .5rem .8rem; font-size: .95rem; }
.chat-input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: var(--surface); }
.chat-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; background: var(--bg); color: var(--heading); min-width: 0; }
.chat-input input:focus { outline: none; border-color: var(--c-primary); }
.chat-input button { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; }
.chat-foot { text-align: center; padding: 0 0 .6rem; font-size: .82rem; background: var(--surface); }
.chat-foot a { color: var(--muted); }

/* ---------- Scroll reveal (only when animations are enabled and JS is running) ---------- */
.has-motion.js-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.has-motion.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Pagination ---------- */
.pagination { --bs-pagination-color: var(--heading); --bs-pagination-bg: var(--surface); --bs-pagination-border-color: var(--line); --bs-pagination-hover-color: var(--c-primary); --bs-pagination-hover-bg: var(--bg-soft); --bs-pagination-hover-border-color: var(--line); --bs-pagination-active-bg: var(--c-primary); --bs-pagination-active-border-color: var(--c-primary); --bs-pagination-disabled-bg: var(--surface); --bs-pagination-disabled-border-color: var(--line); --bs-pagination-disabled-color: var(--muted); }

/* ---------- Error page ---------- */
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .builder { margin: 0 auto; }
}
@media (max-width: 991.98px) {
    .footer-cta { grid-template-columns: 1fr; }
    .help-card, .sticky-side { position: static; }
    .chip-seo { right: 0; }
}
@media (max-width: 575.98px) {
    :root { --header-h: 66px; }
    body { font-size: 1rem; }
    .builder { padding: 0 0 40px 18px; }
    .phone { width: 112px; border-radius: 20px; padding: 6px; }
    .phone-screen u { height: 44px; }
    .chip { padding: .45rem .6rem; font-size: .72rem; }
    .chip > i { width: 28px; height: 28px; }
    .chip strong { font-size: .9rem; }
    .chip-order { right: 0; }
    .bb-cards div > span:last-child { display: none; }
    .about-visual { padding: 0 0 3.2rem 0; }
    .about-seal { left: 12px; }
    .newsletter-form { grid-template-columns: 1fr; }
    .chat-launch span { display: none; }
    .chat-launch { width: 58px; padding: 0; justify-content: center; }
    .float-stack { right: 14px; bottom: 86px; }
    .chatbot { right: 14px; bottom: 14px; }
    .logo-strip-label { display: none; }
    .mega-foot { flex-direction: column; align-items: flex-start; }
    .palette-panel { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .has-motion.js-ready [data-reveal] { opacity: 1; transform: none; }
}


/* ==========================================================================
   Corporate graphics layer
   Inline SVG illustrations (resources/views/graphics) are coloured with these
   classes, so they always follow the theme chosen in the admin panel.
   ========================================================================== */
.gfx { display: block; width: 100%; height: auto; }
.gfx .f-primary { fill: var(--c-primary); } .gfx .f-secondary { fill: var(--c-secondary); } .gfx .f-accent { fill: var(--c-accent); } .gfx .f-dark { fill: var(--c-dark); }
.gfx .f-white { fill: #fff; } .gfx .f-surface { fill: var(--gfx-surface, #fff); } .gfx .f-soft { fill: color-mix(in srgb, var(--c-primary) 9%, var(--gfx-surface, #fff)); }
.gfx .f-soft-primary { fill: color-mix(in srgb, var(--c-primary) 45%, #fff); } .gfx .f-line { fill: color-mix(in srgb, var(--c-dark) 14%, var(--gfx-surface, #fff)); }
.gfx .f-heading { fill: var(--c-dark); } .gfx .f-shadow { fill: rgba(var(--c-dark-rgb), .12); }
.gfx .f-grad { fill: var(--c-primary); }
.gfx .s-primary { stroke: var(--c-primary); } .gfx .s-secondary { stroke: var(--c-secondary); } .gfx .s-accent { stroke: var(--c-accent); } .gfx .s-dark { stroke: var(--c-dark); }
.gfx .s-line { stroke: color-mix(in srgb, var(--c-dark) 16%, #fff); }
.gfx .stop-primary { stop-color: var(--c-primary); }
.gfx-type { font-family: var(--font-head); }
[data-bs-theme="dark"] .gfx { --gfx-surface: color-mix(in srgb, var(--c-dark) 80%, #fff); }
[data-bs-theme="dark"] .gfx .f-heading { fill: #fff; }
[data-bs-theme="dark"] .gfx .s-line { stroke: rgba(255, 255, 255, .22); }
[data-bs-theme="dark"] .gfx .f-dark { fill: color-mix(in srgb, var(--c-dark) 55%, #000); }
[data-bs-theme="dark"] .gfx .s-dark { stroke: #fff; }

/* Globe on dark backgrounds */
.on-dark .gfx-globe .f-surface { fill: rgba(255, 255, 255, .04); }
.on-dark .gfx-globe .s-line { stroke: rgba(255, 255, 255, .16); }
.gfx-globe .gfx-arcs path { stroke-dasharray: 8 10; }
.has-motion .gfx-globe .gfx-arcs path { animation: dash 14s linear infinite; }
.has-motion .gfx-globe .gfx-pulse circle:first-child { transform-origin: 372px 262px; animation: pulse 2.6s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -360; } }
@keyframes pulse { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }

/* Skyline */
.gfx-skyline .tower { fill: rgba(255, 255, 255, .07); } .gfx-skyline .tower-b { fill: rgba(255, 255, 255, .11); }
.gfx-skyline .window { fill: rgba(255, 255, 255, .09); } .gfx-skyline .window-lit { fill: var(--c-secondary); opacity: .6; }
.skyline-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(64px, 9vw, 118px); z-index: -1; pointer-events: none; overflow: hidden; }
.skyline-wrap .gfx { height: 100%; }
.skyline-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-dark) 0%, transparent 55%); }

/* ---------- Dark corporate hero ---------- */
.hero-dark { background: var(--c-dark); color: rgba(255, 255, 255, .78); padding-bottom: clamp(6rem, 11vw, 9.5rem); }
.hero-dark::before { background:
    radial-gradient(760px 480px at 84% 18%, rgba(var(--c-primary-rgb), .55), transparent 62%),
    radial-gradient(520px 420px at 0% 100%, rgba(var(--c-accent-rgb), .22), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--c-dark) 80%, #000), var(--c-dark)); }
.hero-dark::after { background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); opacity: 1; }
.hero-dark .hero-copy { --heading: #fff; --muted: rgba(255, 255, 255, .74); --line: rgba(255, 255, 255, .2); }
.hero-dark .hero-copy h1, .hero-dark .hero-copy .h1 { color: #fff; }
.hero-dark .typed-line { color: color-mix(in srgb, var(--c-primary) 45%, #fff); }
.hero-dark .hero-badge { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.hero-dark .btn-brand { background: var(--c-secondary); box-shadow: 0 12px 28px -10px rgba(var(--c-secondary-rgb), .9); }
.hero-dark .btn-brand:hover { background: #fff; color: var(--c-dark); box-shadow: none; }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero-dark .btn-ghost:hover { background: #fff; color: var(--c-dark); border-color: #fff; }
.hero-visual { position: relative; }
.hero-globe { position: absolute; width: min(118%, 720px); right: -16%; top: 50%; transform: translateY(-52%); z-index: 0; opacity: .95; pointer-events: none; }
.hero-visual .builder, .hero-visual .hero-image { position: relative; z-index: 1; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; font-size: .96rem; color: var(--muted); }
.hero-points i { color: var(--c-accent); margin-right: .35rem; }

/* Stat bar that overlaps the bottom of the hero */
.stat-bar-wrap { position: relative; z-index: 3; margin-top: clamp(-5.2rem, -6vw, -3.4rem); }
.stat-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat-bar > div { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; border-right: 1px solid var(--line); }
.stat-bar > div:last-child { border-right: 0; }
.stat-bar i { width: 52px; height: 52px; flex: 0 0 52px; border-radius: calc(var(--radius) * .8); background: rgba(var(--c-primary-rgb), .1); color: var(--c-primary); display: grid; place-items: center; font-size: 1.4rem; }
.stat-bar > div:nth-child(even) i { background: rgba(var(--c-secondary-rgb), .12); color: var(--c-secondary); }
.stat-bar strong { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1.05; color: var(--heading); }
.stat-bar span { font-size: .92rem; color: var(--muted); }
.hero-light + .stat-bar-wrap { margin-top: -1.5rem; }

/* ---------- Inner page banner (dark) ---------- */
.page-hero-dark { background: var(--c-dark); color: rgba(255, 255, 255, .78); border-bottom: 0; padding-bottom: clamp(6rem, 11vw, 9.5rem); }
.page-hero-dark::before { right: -80px; top: -200px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(var(--c-primary-rgb), .6), transparent 66%); }
.page-hero-dark::after { left: -120px; bottom: -220px; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .25), transparent 65%); }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark p { color: rgba(255, 255, 255, .76); }
.page-hero-dark .crumbs, .page-hero-dark .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero-dark .crumbs a:hover { color: #fff; }
.page-hero-dark .crumbs li + li::before { color: rgba(255, 255, 255, .35); }
.page-hero-dark .page-hero-icon { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; color: #fff; backdrop-filter: blur(6px); }
.page-hero-art { position: relative; max-width: 440px; margin-left: auto; }
.page-hero-art::before { content: ""; position: absolute; inset: 8% 4% 6% 4%; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .22); }
.page-hero-art .gfx { position: relative; }
.page-hero-globe { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(46%, 520px); z-index: -1; opacity: .7; pointer-events: none; }

/* ---------- About visual ---------- */
.about-photo { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-panel { isolation: isolate; padding-bottom: clamp(6rem, 11vw, 9rem); }
.about-panel .skyline-wrap { height: 46%; z-index: 0; }
.about-panel .skyline-wrap::after { background: linear-gradient(180deg, var(--c-dark) 0%, transparent 70%); }
.about-frame { position: absolute; right: -14px; top: -14px; width: 46%; height: 46%; border: 3px solid var(--c-secondary); border-radius: var(--radius-lg); z-index: -1; opacity: .6; }
.about-visual { isolation: isolate; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-item { background: var(--surface); padding: clamp(1.4rem, 2.6vw, 2.1rem); display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-content: start; transition: background .25s; }
.why-item i { grid-row: span 2; width: 58px; height: 58px; border-radius: calc(var(--radius) * .8); display: grid; place-items: center; font-size: 1.55rem; color: #fff; background: var(--c-primary); box-shadow: 0 12px 24px -12px rgba(var(--c-primary-rgb), .9); }
.why-item:nth-child(3n+2) i { background: var(--c-secondary); box-shadow: 0 12px 24px -12px rgba(var(--c-secondary-rgb), .9); }
.why-item:nth-child(3n+3) i { background: var(--c-accent); box-shadow: 0 12px 24px -12px rgba(var(--c-accent-rgb), .9); }
.why-item h3 { font-size: 1.15rem; margin: .1rem 0 .4rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .97rem; }
.why-item:hover { background: var(--bg-soft); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.industry { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.industry:hover { transform: translateY(-4px); border-color: rgba(var(--c-primary-rgb), .45); box-shadow: var(--shadow); }
.industry i { font-size: 1.7rem; color: var(--c-primary); width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--c-primary-rgb), .09); }
.industry strong { display: block; font-family: var(--font-head); color: var(--heading); line-height: 1.25; }
.industry span { font-size: .88rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Technologies ---------- */
.tech-band { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem, 3vw, 2.4rem); }
.tech-group { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.tech-group:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-group:first-child { padding-top: 0; }
.tech-group > strong { font-family: var(--font-head); color: var(--heading); }
.tech-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.tech-list li { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem; border-radius: var(--btn-radius); background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; color: var(--heading); font-size: .95rem; }
.tech-list i { color: var(--c-primary); font-size: 1.1rem; }
.tech-list img { height: 22px; width: auto; }

/* ---------- Category panel with illustration ---------- */
.cat-panel-grid { display: grid; grid-template-columns: 1fr minmax(0, 280px); gap: 1.5rem; align-items: center; }
.cat-panel-grid .gfx { --gfx-surface: #fff; }
.cat-links { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.split-art { max-width: 460px; margin: 0 auto; }

/* ---------- CTA + footer graphics ---------- */
.cta-globe { position: absolute; right: -90px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .5; z-index: -1; pointer-events: none; }
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.footer-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: -1; opacity: .55; pointer-events: none; }
.site-footer .footer-bottom { margin-bottom: 104px; }
.footer-skyline .gfx { height: 100%; }

@media (max-width: 1199.98px) {
    .hero-globe { right: 50%; transform: translate(50%, -52%); width: min(110%, 640px); }
}
@media (max-width: 991.98px) {
    .cat-panel-grid { grid-template-columns: 1fr; }
    .cat-panel-grid .gfx { display: none; }
    .page-hero-globe { display: none; }
    .stat-bar > div { border-bottom: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
    .stat-bar { grid-template-columns: 1fr 1fr; }
    .stat-bar > div { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.1rem; }
    .stat-bar > div:nth-child(even) { border-right: 0; }
    .stat-bar strong { font-size: 1.6rem; }
    .tech-group { grid-template-columns: 1fr; gap: .5rem; }
    .cta-globe { display: none; }
    .about-frame { display: none; }
}
[data-bs-theme="dark"] .about-panel { border: 1px solid var(--line); }

/* ---------- Photos ---------- */
.s-card.has-photo { padding-top: 0; }
.s-card-photo { display: block; margin: 0 -1.6rem 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); }
.s-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.s-card.has-photo:hover .s-card-photo img { transform: scale(1.06); }
.s-card.has-photo .s-icon { margin-top: -27px; position: relative; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.work-thumb img { object-position: center; }
.article-cover { aspect-ratio: 16 / 9; object-fit: cover; }
.split-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero-photo, .cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .22; filter: saturate(.6); pointer-events: none; }
.page-hero-dark::before, .page-hero-dark::after { z-index: -1; }
.cta-photo { opacity: .2; border-radius: inherit; }
.cta-band::before { z-index: -1; }
.row > [class*="col"] .s-card.has-photo .s-icon, .row > [class*="col"] .s-card.has-photo:hover .s-icon { background: var(--surface); color: var(--c-primary); }
