/*==============================================================
  Hetinfo — Enterprise IT Services
  Design system • Poppins • Lucide • Light, premium, blue-led
  Palette: deep blue → indigo → violet, cyan accent, navy ink
==============================================================*/

/* -------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------- */
:root {
    /* Brand — taken from the logo: navy #202040 + orange #f5831f.
       Orange is vivid but light: white text on it is only 2.6:1, so
       anything FILLED with orange carries navy content (6.3:1) and
       orange text on white uses the deeper --brand-2 (5.0:1). */
    --orange:      #f5831f;   /* logo orange — fills, accents */
    --orange-soft: #f9a03f;
    --orange-deep: #b8500a;   /* safe under white text (5.0:1) */
    --indigo:      #4f46e5;   /* retained secondary */
    --blue:        #2563eb;
    --navy:        #1b1f4b;

    --brand-1: #f5831f;   /* accent fills / decorative icons */
    --brand-2: #a8500a;   /* text-safe orange: 5.5:1 on white, 4.8:1 on tinted chips */
    --brand-3: #4f46e5;   /* indigo secondary */

    --gradient:      linear-gradient(120deg, #f9a03f 0%, #f5831f 45%, #e26a10 100%);
    --gradient-text: linear-gradient(100deg, #e0700f 0%, #c2530a 55%, #a8500a 100%);
    --gradient-deep: linear-gradient(120deg, #c2530a 0%, #a44808 100%);
    --gradient-cool: linear-gradient(120deg, #4f46e5 0%, #2563eb 100%);
    --gradient-soft: linear-gradient(135deg, rgba(245,131,31,.12), rgba(226,106,16,.18));
    --gradient-ink:  linear-gradient(150deg, #141733 0%, #1c2150 55%, #221a4d 100%);

    /* neutrals */
    --ink:    #0e1130;
    --ink-2:  #3f4566;
    --muted:  #6b7190;
    --line:   #e9ebf4;
    --line-2: #dfe2ef;
    --bg:     #ffffff;
    --bg-soft:   #f7f8fd;
    --bg-soft-2: #edf0fa;
    --white:  #ffffff;

    /* shape */
    --radius:    18px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    /* elevation — cool-tinted so shadows sit in the blue family */
    --shadow-sm:    0 1px 2px rgba(16,20,55,.04), 0 2px 10px rgba(16,20,55,.04);
    --shadow:       0 14px 34px -18px rgba(16,20,55,.20);
    --shadow-lg:    0 34px 68px -34px rgba(16,20,55,.26);
    --shadow-brand: 0 12px 28px -14px rgba(226,106,16,.55);

    --container: 1220px;
    --header-h: 78px;

    --ease: cubic-bezier(.22,.61,.36,1);
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -------------------------------------------------------------
   2. Reset & base
------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; line-height: 1.16; letter-spacing: -.026em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--muted); }
b, strong { color: var(--ink); font-weight: 600; }
section { position: relative; }
::selection { background: rgba(245,131,31,.20); color: var(--ink); }

:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; border-radius: 5px; }
a:focus-visible, button:focus-visible { outline-offset: 4px; }
/* Lucide replaces <i> with <svg> at runtime, so match on the attribute
   rather than the tag — a tag-qualified selector stops matching once
   the icons render. */
[data-lucide] { width: 22px; height: 22px; stroke-width: 2; flex: none; }

/* Inlined brand marks (see ht_social_icon) — filled, not stroked */
.ico-brand { width: 19px; height: 19px; flex: none; fill: currentColor; stroke: none; display: block; }
.team-socials .ico-brand { width: 16px; height: 16px; }
.share-btn .ico-brand { width: 17px; height: 17px; }

/* Skip link — keyboard users land here first */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 500;
    background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 0 0 10px 10px;
    font-weight: 600; font-size: .92rem; transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------
   3. Layout helpers
------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 880px; }
.section { padding: clamp(66px, 9vw, 122px) 0; }
.section-sm { padding: clamp(48px, 6vw, 76px) 0; }
.section-soft { background: var(--bg-soft); }
.section-ink { background: var(--gradient-ink); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-ink p { color: rgba(255,255,255,.74); }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

.section-head { max-width: 740px; margin: 0 auto clamp(42px, 6vw, 66px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.95rem, 3.9vw, 2.9rem); }
.section-head p { margin-top: 16px; font-size: 1.07rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
    color: var(--brand-2); background: var(--bg-soft-2); border: 1px solid var(--line-2);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow [data-lucide] { width: 15px; height: 15px; }
.section-ink .eyebrow,
.eyebrow.on-dark { color: #ffd7a8; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }

.gradient-text {
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* -------------------------------------------------------------
   4. Buttons
------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font); font-weight: 600; font-size: .96rem;
    padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease),
                background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    white-space: nowrap; line-height: 1;
}
.btn [data-lucide] { width: 18px; height: 18px; }
.btn-primary {
    background: var(--gradient); background-size: 165% 165%; color: var(--ink);
    box-shadow: var(--shadow-brand); position: relative; overflow: hidden; isolation: isolate;
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -140%; width: 55%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-22deg); transition: left .75s var(--ease); z-index: 2;
}
.btn-primary:hover::after { left: 165%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(245,131,31,.6); color: var(--ink); background-position: right center; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand-1); color: var(--brand-2); box-shadow: var(--shadow-sm); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-solid-light { background: #fff; color: var(--brand-2); border-color: transparent; }
.btn-solid-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); color: var(--brand-2); }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-2); font-size: .92rem; }
.link-arrow [data-lucide] { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-2); }
.link-arrow:hover [data-lucide] { transform: translateX(4px); }

/* -------------------------------------------------------------
   5. Header / navigation
------------------------------------------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--gradient); box-shadow: 0 0 12px rgba(245,131,31,.6); transition: width .08s linear; }

.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent; transition: all .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.88); border-bottom-color: var(--line); box-shadow: 0 1px 24px -12px rgba(16,20,55,.22); height: 66px; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.035em; }
.brand img { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 34px; }
.brand .dot { color: var(--brand-1); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-item > a {
    position: relative; display: inline-flex; align-items: center; gap: 5px;
    font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: 9px 15px; border-radius: 10px;
}
.nav-links a::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px;
    background: var(--gradient); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Services mega-dropdown */
.nav-item { position: relative; }
.nav-item > a [data-lucide] { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-item:hover > a [data-lucide] { transform: rotate(180deg); }
.mega {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
    width: min(660px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega a {
    display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px;
    font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: all .22s var(--ease);
}
.mega a::after { display: none; }
.mega a [data-lucide] { width: 18px; height: 18px; color: var(--brand-2); }
.mega a:hover { background: var(--bg-soft); color: var(--ink); }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mega-foot span { font-size: .85rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 8px; }
.nav-toggle [data-lucide] { width: 28px; height: 28px; }

/* Mobile navigation */
.mobile-nav {
    position: fixed; inset: 0; z-index: 99; background: #fff; padding: 104px 26px 40px;
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
    display: flex; flex-direction: column; gap: 2px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav > a { font-size: 1.35rem; font-weight: 600; color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { font-size: 1.35rem; font-weight: 600; color: var(--ink); padding: 15px 4px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary [data-lucide] { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.mobile-nav details[open] summary [data-lucide] { transform: rotate(180deg); }
.mobile-nav details a { display: block; font-size: .98rem; font-weight: 500; color: var(--ink-2); padding: 10px 4px 10px 14px; }
.mobile-nav .btn { margin-top: 24px; }

/* -------------------------------------------------------------
   6. Hero
------------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--header-h) + 76px) 0 92px; overflow: hidden; background: var(--bg); }
.hero::before {
    content: ''; position: absolute; inset: -10%; z-index: 0; pointer-events: none;
    background:
        radial-gradient(38% 46% at 12% 16%, rgba(245,131,31,.16), transparent 62%),
        radial-gradient(42% 50% at 88% 8%,  rgba(226,106,16,.14), transparent 64%),
        radial-gradient(46% 54% at 74% 96%, rgba(245,131,31,.12),  transparent 62%);
    animation: aurora 26s ease-in-out infinite alternate;
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(16,20,55,.055) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 62% at 50% 38%, #000, transparent 80%);
}
.hero > .container { position: relative; z-index: 3; }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(1.6%,-2%,0) scale(1.06); } }

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 56px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 570px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 18px;
    padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-stats .hs b {
    display: block; font-size: 1.95rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.15;
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-stats .hs > span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }

/* hero visual */
.hero-visual { position: relative; perspective: 1200px; }
.hero-blob {
    position: absolute; z-index: 0; width: 82%; aspect-ratio: 1; right: -8%; top: 6%;
    background: var(--gradient); border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
    filter: blur(10px); opacity: .13; animation: morph 18s ease-in-out infinite;
}
@keyframes morph {
    0%,100% { border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; }
    50%     { border-radius: 60% 40% 42% 58% / 58% 56% 44% 42%; }
}
.hero-photo {
    position: relative; z-index: 2; border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4/4.5; border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 42%, rgba(20,23,51,.34)); }

.tech-orb {
    position: absolute; z-index: 4; width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: .84rem; color: var(--ink);
    background: var(--gradient); box-shadow: var(--shadow-brand); border: 3px solid #fff; text-align: center;
}
.tech-orb.o1 { top: -18px; left: -22px; animation: float 6s ease-in-out infinite; }
/* The indigo orbs are dark, so they keep white text rather than the navy
   the orange base uses. */
.tech-orb.o2, .tech-orb.o3 { color: #fff; }
.tech-orb.o2 { top: 40%; right: -28px; background: var(--gradient-cool); animation: float 7s ease-in-out infinite .7s; }
.tech-orb.o3 { bottom: 52px; left: -30px; background: linear-gradient(125deg, #4f46e5, #2563eb); animation: float 6.5s ease-in-out infinite 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-glass {
    position: absolute; right: -14px; bottom: 34px; z-index: 4;
    background: rgba(255,255,255,.78); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 14px 18px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-glass .avatars { display: flex; }
.hero-glass .avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -12px; }
.hero-glass .avatars img:first-child { margin-left: 0; }
.hero-glass b { display: block; color: var(--ink); font-size: 1.14rem; line-height: 1.1; }
.hero-glass span { font-size: .78rem; color: var(--muted); }

/* Ambient decorative shapes — kept clear of the content columns */
.shape { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.shape.s1 { width: 120px; height: 120px; background: var(--gradient); top: 12%; right: 46%; opacity: .09; filter: blur(2px); animation: float 7s ease-in-out infinite; }
.shape.s2 { width: 70px; height: 70px; border: 1.5px solid var(--brand-1); bottom: 8%; right: 4%; opacity: .18; animation: float 8s ease-in-out infinite 1s; }
@media (max-width: 900px) { .shape { display: none; } }

/* -------------------------------------------------------------
   7. Trust bar
------------------------------------------------------------- */
.trustbar { padding: 30px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px 42px; flex-wrap: wrap; }
.trustbar-label { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.trustbar-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.trustbar-item [data-lucide] { width: 19px; height: 19px; color: var(--brand-2); }

/* -------------------------------------------------------------
   8. Cards
------------------------------------------------------------- */
.card-x {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card-x::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient);
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: 2;
}
.card-x > * { position: relative; z-index: 1; }
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-x:hover::before { transform: scaleX(1); }
.card-x:hover .card-ico { background: var(--gradient); transform: translateY(-3px); }
.card-x:hover .card-ico [data-lucide] { color: var(--ink); }
.card-x h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card-x p { font-size: .94rem; margin-bottom: 18px; flex: 1; }
.card-x .link-arrow { align-self: flex-start; }

.card-ico {
    width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
    background: var(--bg-soft-2); margin-bottom: 20px; transition: all .35s var(--ease); flex: none;
}
.card-ico [data-lucide] { width: 26px; height: 26px; color: var(--brand-2); transition: color .35s var(--ease); }

.glass {
    position: relative; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.8);
    backdrop-filter: blur(18px) saturate(160%); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-sm); height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.glass:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.glass .card-ico { background: var(--gradient); }
.glass .card-ico [data-lucide] { color: #fff; }

/* gradient hairline glow on hover */
.glass::before, .svc-block::before, .info-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .35s var(--ease);
}
.glass:hover::before, .svc-block:hover::before, .info-card:hover::before { opacity: 1; }

/* cursor spotlight */
.spotlight { position: relative; }
.spotlight::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
    background: radial-gradient(230px circle at var(--mx,50%) var(--my,50%), rgba(245,131,31,.16), transparent 62%);
    opacity: 0; transition: opacity .35s var(--ease);
}
.spotlight:hover::after { opacity: 1; }

/* -------------------------------------------------------------
   9. Why choose us — bento infographic
------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.why-card .why-ico {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--gradient-soft); margin-bottom: 18px; transition: all .35s var(--ease);
}
.why-card .why-ico [data-lucide] { width: 24px; height: 24px; color: var(--brand-2); transition: color .35s var(--ease); }
.why-card:hover .why-ico { background: var(--gradient); }
.why-card:hover .why-ico [data-lucide] { color: var(--ink); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 9px; }
.why-card p { font-size: .93rem; }
.why-card .why-num {
    position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800;
    color: var(--bg-soft-2); letter-spacing: -.05em; line-height: 1; z-index: 0; transition: color .35s var(--ease);
}
.why-card:hover .why-num { color: rgba(245,131,31,.14); }
.why-card > *:not(.why-num) { position: relative; z-index: 1; }

/* the lead card spans two columns and inverts */
.why-card.wide { grid-column: span 2; background: var(--gradient-ink); border-color: transparent; color: rgba(255,255,255,.76); }
.why-card.wide h3 { color: #fff; font-size: 1.35rem; }
.why-card.wide p { color: rgba(255,255,255,.74); }
.why-card.wide .why-ico { background: rgba(255,255,255,.12); }
.why-card.wide .why-ico [data-lucide] { color: #fff; }
.why-card.wide .why-num { color: rgba(255,255,255,.08); }
.why-card.wide:hover .why-ico { background: var(--gradient-cool); }
.why-card.wide:hover .why-num { color: rgba(255,255,255,.13); }

/* -------------------------------------------------------------
   10. Process timeline infographic
------------------------------------------------------------- */
.process-flow { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.process-flow::before {
    content: ''; position: absolute; top: 31px; left: 7%; right: 7%; height: 2px;
    background: linear-gradient(90deg, rgba(245,131,31,.2), rgba(245,131,31,.75) 50%, rgba(245,131,31,.2));
    z-index: 0;
}
.pstep { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.pstep .pnode {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
    background: #fff; border: 2px solid var(--line-2); color: var(--brand-2);
    transition: all .35s var(--ease); position: relative;
}
.pstep .pnode [data-lucide] { width: 26px; height: 26px; }
.pstep .pnode::after {
    content: attr(data-step); position: absolute; top: -8px; right: -8px;
    width: 24px; height: 24px; border-radius: 50%; background: var(--gradient); color: var(--ink);
    font-size: .7rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-brand);
}
.pstep:hover .pnode { background: var(--gradient); border-color: transparent; color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow-brand); }
.pstep h3 { font-size: 1rem; margin-bottom: 7px; }
.pstep p { font-size: .85rem; line-height: 1.55; }

/* -------------------------------------------------------------
   11. Portfolio
------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.filter-btn {
    font-family: var(--font); font-weight: 600; font-size: .92rem; color: var(--ink-2);
    background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px;
    padding: 10px 22px; cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-1); color: var(--brand-2); }
.filter-btn.active { background: var(--gradient); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-brand); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.p-card.hide { display: none; }
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.p-card:hover .p-thumb img { transform: scale(1.07); }
.p-tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: rgba(255,255,255,.94); backdrop-filter: blur(6px); color: var(--brand-2);
    font-size: .72rem; font-weight: 700; padding: 6px 13px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .07em;
}
.p-industry {
    position: absolute; bottom: 14px; left: 14px; z-index: 2; color: #fff;
    font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.p-industry [data-lucide] { width: 15px; height: 15px; }
.p-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,17,48,.6), transparent 45%); }
.p-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.p-body .meta { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.p-body h3 { font-size: 1.18rem; margin: 8px 0 10px; }
.p-body p { font-size: .92rem; margin-bottom: 16px; flex: 1; }
.p-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.p-tech span { font-size: .73rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft-2); padding: 5px 11px; border-radius: 7px; }

/* case-study detail rows (portfolio page) */
.case-rows { display: grid; gap: 14px; margin-bottom: 18px; }
.case-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; }
.case-row dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); padding-top: 3px; }
.case-row dd { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.case-row.result dd { color: var(--ink-2); font-weight: 500; }

/* ---- Portfolio hero metric row ---- */
.portfolio-hero .hero-metrics {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 820px; margin: 44px auto 0; padding-top: 32px;
    border-top: 1px solid var(--line-2);
}
.hero-metrics .hm b {
    display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.15;
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-metrics .hm > span { font-size: .8rem; color: var(--muted); }

/* ---- Spotlight case study ---- */
.case {
    display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center;
    padding: clamp(30px, 4vw, 46px); background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease);
}
.case + .case { margin-top: 34px; }
.case:hover { box-shadow: var(--shadow); }
.case.flip .case-media { order: 2; }

.case-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case:hover .case-media img { transform: scale(1.05); }
.case-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14,17,48,.82), rgba(14,17,48,.15) 52%, transparent);
}
.case-cat {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: var(--gradient); color: var(--ink);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px;
}
.case-headline { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.case-headline b {
    display: block; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800;
    letter-spacing: -.035em; line-height: 1.05; color: var(--orange-soft);
}
.case-headline span { font-size: .88rem; color: rgba(255,255,255,.86); }

.case-client { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; flex-wrap: wrap; }
.case-client [data-lucide] { width: 17px; height: 17px; color: var(--brand-2); }
.case-client span { font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.case-client em {
    font-style: normal; font-size: .74rem; font-weight: 600; color: var(--brand-2);
    background: var(--gradient-soft); padding: 4px 11px; border-radius: 999px;
}
.case-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 22px; }

.case-steps { display: grid; gap: 16px; margin-bottom: 22px; }
.cstep { padding-left: 16px; border-left: 2px solid var(--line-2); }
.cstep.is-result { border-left-color: var(--orange); }
.cs-label {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 5px;
    font-size: .71rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted);
}
.cs-label [data-lucide] { width: 14px; height: 14px; }
.cstep.is-result .cs-label { color: var(--brand-2); }
.cstep p { font-size: .93rem; line-height: 1.6; margin: 0; }
.cstep.is-result p { color: var(--ink-2); font-weight: 500; }
.case .p-tech { margin-bottom: 24px; }

/* ---- Metric strip on portfolio cards ---- */
.p-metric {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding: 16px 24px; background: var(--gradient-soft); border-bottom: 1px solid var(--line);
}
.p-metric b {
    font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.p-metric span { font-size: .8rem; color: var(--muted); }

/* ---- Expandable case detail inside a card ---- */
.p-more { margin-bottom: 16px; }
.p-more summary {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
    font-size: .85rem; font-weight: 600; color: var(--brand-2);
}
.p-more summary::-webkit-details-marker { display: none; }
.p-more summary [data-lucide] { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.p-more[open] summary [data-lucide] { transform: rotate(180deg); }
.p-more .case-rows { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---- Impact band ---- */
.impact-card {
    text-align: center; padding: 30px 20px; border-radius: var(--radius);
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    transition: transform .35s var(--ease), background .35s var(--ease);
}
.impact-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.impact-ico {
    width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 15px; display: grid; place-items: center;
    background: var(--gradient);
}
.impact-ico [data-lucide] { width: 23px; height: 23px; color: var(--ink); }
.impact-card b {
    display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.035em;
    color: var(--orange-soft); line-height: 1.1; margin-bottom: 8px;
}
.impact-card p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.55; }

/* featured project */
.featured {
    display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.featured-media { position: relative; min-height: 400px; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 38%, rgba(226,106,16,.34)); }
.featured-body { padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.feat-badge {
    display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
    font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
    color: var(--ink); background: var(--gradient); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.feat-badge [data-lucide] { width: 14px; height: 14px; }
.featured-body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 14px; }
.featured-body > p { font-size: .98rem; margin-bottom: 26px; }
.feat-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 26px; }
.feat-stats b {
    display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em;
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.feat-stats span { font-size: .82rem; color: var(--muted); }
.featured .btn { align-self: flex-start; }

/* -------------------------------------------------------------
   12. Technology stack — tabs + brand logo tiles
------------------------------------------------------------- */
.tech-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.tech-tab {
    font-family: var(--font); font-weight: 600; font-size: .92rem; color: var(--ink-2);
    background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px;
    padding: 11px 24px; cursor: pointer; transition: all .3s var(--ease);
}
.tech-tab:hover { border-color: var(--brand-1); color: var(--brand-2); }
.tech-tab.active { background: var(--gradient); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-brand); }

.tech-panel { display: none; }
.tech-panel.active { display: block; animation: tech-in .45s var(--ease); }
@keyframes tech-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tech-panel-head { text-align: center; margin-bottom: 36px; }
.tech-panel-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.tech-panel-head p { font-size: .96rem; }

.logo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.logo-tile {
    display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.logo-tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--line-2); }
.logo-mark {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; color: #fff;
    background: var(--tech-color, var(--brand-1));
    box-shadow: 0 8px 20px -10px var(--tech-color, var(--brand-1));
    transition: transform .35s var(--ease);
}
.logo-tile:hover .logo-mark { transform: scale(1.09) rotate(-4deg); }
.logo-tile > span:not(.logo-mark) { font-size: .84rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; }

/* An uploaded logo replaces the lettered mark. The brand colour stays as the
   glow so the tile keeps reading as that technology, but the plate goes light
   because most brand logos are themselves coloured. */
.logo-mark.has-logo {
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px;
    box-shadow: 0 8px 20px -12px var(--tech-color, var(--brand-1));
}
.logo-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* -------------------------------------------------------------
   13. Industries mosaic
------------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ind-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 20px; text-align: center; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.ind-card::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gradient);
    transform: scaleX(0); transition: transform .35s var(--ease);
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ind-card:hover::after { transform: scaleX(1); }
.ind-ico {
    width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 16px; display: grid; place-items: center;
    background: var(--gradient-soft); transition: all .35s var(--ease);
}
.ind-ico [data-lucide] { width: 25px; height: 25px; color: var(--brand-2); transition: color .35s var(--ease); }
.ind-card:hover .ind-ico { background: var(--gradient); }
.ind-card:hover .ind-ico [data-lucide] { color: var(--ink); }
.ind-card h3 { font-size: 1rem; margin-bottom: 6px; }
.ind-card p { font-size: .84rem; line-height: 1.5; }

/* -------------------------------------------------------------
   14. Testimonials
------------------------------------------------------------- */
.tst { overflow: hidden; }
.tst-track { display: flex; transition: transform .55s var(--ease); }
.tst-slide { min-width: 100%; padding: 6px; }
.tst-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(30px, 4vw, 46px); box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto; text-align: center;
    position: relative;
}
.tst-card::before {
    content: '"'; position: absolute; top: 6px; left: 30px; font-size: 6rem; line-height: 1;
    font-family: Georgia, serif; color: rgba(245,131,31,.14);
}
.tst-stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 18px; color: #f5a623; }
.tst-stars [data-lucide] { width: 19px; height: 19px; fill: currentColor; }
.tst-quote { font-size: 1.16rem; color: var(--ink); font-weight: 400; line-height: 1.65; margin-bottom: 28px; letter-spacing: -.012em; position: relative; }
.tst-author { display: flex; align-items: center; gap: 14px; justify-content: center; }
.tst-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gradient); display: grid; place-items: center; color: #fff; font-weight: 700; }
.tst-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst-author .who { text-align: left; }
.tst-author .who b { display: block; color: var(--ink); font-size: .98rem; }
.tst-author .who span { font-size: .85rem; color: var(--muted); }
.tst-nav { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.tst-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); border: none; cursor: pointer; padding: 0; transition: all .3s var(--ease); }
.tst-dot.active { background: var(--gradient); width: 32px; border-radius: 6px; }

/* -------------------------------------------------------------
   15. Stats / counters
------------------------------------------------------------- */
.stat-item { text-align: center; }
.stat-item .num { font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.stat-item .num .plus { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { margin-top: 10px; font-weight: 500; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.section-ink .stat-item .num { color: #fff; text-shadow: 0 0 44px rgba(245,131,31,.45); }
.section-ink .stat-item .num .plus { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.mini-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.mini-stat b { display: block; font-size: 1.85rem; font-weight: 800; letter-spacing: -.035em; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.mini-stat span { font-size: .85rem; color: var(--muted); }

/* -------------------------------------------------------------
   16. FAQ accordion
------------------------------------------------------------- */
.faq-list { max-width: 850px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--line-2); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px;
    font-family: var(--font); font-weight: 600; font-size: 1.04rem; color: var(--ink); line-height: 1.45;
}
.faq-q [data-lucide] { transition: transform .3s var(--ease); color: var(--brand-2); }
.faq-item.open .faq-q [data-lucide] { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 24px; margin: 0; font-size: .96rem; }

/* -------------------------------------------------------------
   17. CTA banner
------------------------------------------------------------- */
.cta-banner {
    position: relative; overflow: hidden; border-radius: clamp(22px, 4vw, 36px);
    /* Dark panel with white copy — the orange lives in the button.
       White text directly on orange would only reach 2.6:1. */
    background: var(--gradient-ink); padding: clamp(46px, 7vw, 80px); text-align: center;
    box-shadow: 0 30px 70px -34px rgba(20,23,51,.6);
}
.cta-banner::before, .cta-banner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.11); }
.cta-banner::before { width: 340px; height: 340px; top: -150px; right: -90px; }
.cta-banner::after  { width: 250px; height: 250px; bottom: -140px; left: -70px; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 32px; font-size: 1.07rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.cta-banner.has-photo { background: none; }
.cta-photo { position: absolute; inset: 0; z-index: 0; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(20,23,51,.94), rgba(34,26,77,.93)); }

/* -------------------------------------------------------------
   18. Footer
------------------------------------------------------------- */
.site-footer { background: var(--gradient-ink); color: rgba(255,255,255,.7); padding: 78px 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1fr 1.3fr; gap: 36px; padding-bottom: 52px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .93rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--gradient); color: var(--ink); transform: translateY(-3px); }
.footer-social [data-lucide] { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-col a:hover { color: #ffb765; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: rgba(255,255,255,.62); font-size: .92rem; margin-bottom: 14px; }
.footer-contact [data-lucide] { width: 18px; height: 18px; color: #f5a04a; margin-top: 2px; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; }
.newsletter input { flex: 1; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px 14px; color: #fff; font-family: var(--font); font-size: .9rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.42); }
.newsletter input:focus { outline: none; border-color: #f5a04a; }
.newsletter button { border: none; background: var(--gradient); color: var(--ink); border-radius: 12px; width: 48px; flex: none; display: grid; place-items: center; cursor: pointer; }
.newsletter-note { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .87rem; color: rgba(255,255,255,.52); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.62); }
.footer-legal a:hover { color: #ffb765; }

/* film grain on dark surfaces */
.section-ink::after, .site-footer::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .2; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.section-ink > .container, .site-footer > .container { position: relative; z-index: 1; }

/* -------------------------------------------------------------
   19. Inner page hero + breadcrumbs
------------------------------------------------------------- */
.page-hero {
    position: relative; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 72px; text-align: center;
    background:
        radial-gradient(700px 340px at 78% 0%,   rgba(245,131,31,.15),  transparent 60%),
        radial-gradient(620px 330px at 12% 100%, rgba(226,106,16,.13), transparent 62%),
        var(--bg-soft);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(16,20,55,.055) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero > .container > p { max-width: 660px; margin: 0 auto; font-size: 1.1rem; }

.breadcrumb { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .87rem; color: var(--muted); margin-top: 24px; }
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb [data-lucide] { width: 15px; height: 15px; }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 500; }

/* -------------------------------------------------------------
   20. Split sections
------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.stat-badge {
    position: absolute; bottom: -22px; right: -18px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 20px 26px; text-align: center;
}
.stat-badge b { font-size: 2rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-badge span { display: block; font-size: .82rem; color: var(--muted); }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.check-list li [data-lucide] { width: 22px; height: 22px; color: var(--ink); background: var(--gradient); border-radius: 50%; padding: 4px; box-sizing: content-box; margin-top: 1px; }

/* -------------------------------------------------------------
   21. Team
------------------------------------------------------------- */
.team-card { text-align: center; transition: transform .35s var(--ease); }
.team-card:hover { transform: translateY(-6px); }
.team-avatar { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); position: relative; border: 4px solid #fff; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-avatar { box-shadow: var(--shadow-lg); }
.team-card h4 { font-size: 1.12rem; margin-bottom: 3px; }
.team-card .role { color: var(--brand-2); font-weight: 600; font-size: .89rem; }
.team-socials { display: flex; gap: 8px; justify-content: center; margin-top: 13px; }
.team-socials a { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--ink-2); transition: all .3s var(--ease); }
.team-socials a:hover { background: var(--gradient); color: var(--ink); }
.team-socials [data-lucide] { width: 16px; height: 16px; }

/* -------------------------------------------------------------
   22. Company timeline (About)
------------------------------------------------------------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 4px; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(245,131,31,.5), rgba(226,106,16,.35)); }
.tl-item { position: relative; padding: 0 0 34px 74px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
    position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px;
    background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center;
    font-size: .84rem; font-weight: 700; color: var(--brand-2); transition: all .35s var(--ease);
}
.tl-item:hover .tl-year { background: var(--gradient); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-brand); }
.tl-item h3 { font-size: 1.1rem; margin-bottom: 7px; padding-top: 8px; }
.tl-item p { font-size: .94rem; }

/* -------------------------------------------------------------
   23. Service detail blocks (Services page)
------------------------------------------------------------- */
.svc-jump { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.svc-jump a {
    font-size: .85rem; font-weight: 600; color: var(--ink-2); background: #fff;
    border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 18px; transition: all .28s var(--ease);
}
.svc-jump a:hover { border-color: var(--brand-1); color: var(--brand-2); transform: translateY(-2px); }

.svc-block {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 24px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-block:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-block .svc-ico { width: 62px; height: 62px; border-radius: 17px; background: var(--gradient); display: grid; place-items: center; }
.svc-block .svc-ico [data-lucide] { color: #fff; width: 28px; height: 28px; }
.svc-block h3 { margin-bottom: 8px; }
.svc-block p { font-size: .95rem; margin-bottom: 14px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span { font-size: .79rem; font-weight: 500; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* full service section */
.svc-full { scroll-margin-top: 110px; padding: clamp(46px, 6vw, 70px) 0; border-top: 1px solid var(--line); }
.svc-full:first-of-type { border-top: none; }
.svc-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.svc-full-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.svc-full-head .svc-ico { width: 58px; height: 58px; border-radius: 17px; background: var(--gradient); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-brand); }
.svc-full-head .svc-ico [data-lucide] { color: #fff; width: 27px; height: 27px; }
.svc-full-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.svc-full .overview { font-size: 1.02rem; margin-bottom: 26px; }
.svc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.svc-panel + .svc-panel { margin-top: 18px; }
.svc-panel h4 { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 16px; }
.svc-panel ul { display: grid; gap: 11px; }
.svc-panel li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.svc-panel li [data-lucide] { width: 17px; height: 17px; color: var(--brand-2); margin-top: 4px; }
.svc-panel.two ul { grid-template-columns: 1fr 1fr; }

/* -------------------------------------------------------------
   24. Contact
------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.info-card { position: relative; display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; transition: all .3s var(--ease); }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--gradient-soft); display: grid; place-items: center; flex: none; }
.info-card .ico [data-lucide] { color: var(--brand-2); }
.info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: .92rem; margin: 0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: var(--font); font-size: .95rem; color: var(--ink); background: var(--bg-soft);
    border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 16px; width: 100%;
    transition: all .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand-1); background: #fff; box-shadow: 0 0 0 4px rgba(245,131,31,.15);
}
.field-hint { font-size: .8rem; color: var(--muted); }
.form-note { margin-top: 14px; font-weight: 600; font-size: .92rem; }
.form-note.ok { color: #0f9d58; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* -------------------------------------------------------------
   25. Blog
------------------------------------------------------------- */
.blog-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 34px; }
.blog-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.blog-search input {
    width: 100%; font-family: var(--font); font-size: .93rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 12px 18px 12px 44px;
    transition: all .25s var(--ease);
}
.blog-search input:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(245,131,31,.15); }
.blog-search [data-lucide] { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }

.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .35s var(--ease); }
.blog-card.hide { display: none; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.blog-cat { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); background: var(--gradient); padding: 5px 12px; border-radius: 999px; }
.blog-time { display: inline-flex; align-items: center; gap: 5px; font-size: .79rem; color: var(--muted); }
.blog-time [data-lucide] { width: 14px; height: 14px; }
.blog-body h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: .91rem; margin-bottom: 18px; flex: 1; }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.blog-empty.show { display: block; }

/* blog detail */
.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: 52px; align-items: start; }
.article-toc { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.article-toc h4 { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 16px; }
.article-toc ul { display: grid; gap: 10px; }
.article-toc a { font-size: .89rem; color: var(--muted); line-height: 1.45; display: block; border-left: 2px solid var(--line); padding-left: 12px; transition: all .25s var(--ease); }
.article-toc a:hover, .article-toc a.active { color: var(--brand-2); border-left-color: var(--brand-1); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 42px 0 16px; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.22rem; margin: 30px 0 12px; scroll-margin-top: 110px; }
.prose p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.78; }
.prose ul, .prose ol { margin: 0 0 20px; display: grid; gap: 11px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--muted); line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }
.prose ol { counter-reset: pl; }
.prose ol li { position: relative; padding-left: 34px; font-size: 1rem; color: var(--muted); line-height: 1.7; counter-increment: pl; }
.prose ol li::before { content: counter(pl); position: absolute; left: 0; top: 2px; width: 23px; height: 23px; border-radius: 50%; background: var(--bg-soft-2); color: var(--brand-2); font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.prose blockquote { margin: 26px 0; padding: 22px 26px; background: var(--bg-soft); border-left: 3px solid var(--brand-1); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; font-size: 1.04rem; color: var(--ink-2); font-style: italic; }
.prose a:not(.btn) { color: var(--brand-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 26px 0; }

.article-head { max-width: 820px; margin: 0 auto; text-align: center; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 20px; }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 10px 20px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.article-byline .who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.article-byline [data-lucide] { width: 16px; height: 16px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 12px; aspect-ratio: 16/7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 24px 0; margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row .label { font-size: .87rem; font-weight: 600; color: var(--ink); margin-right: 4px; }
.share-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft-2); color: var(--ink-2); border: none; cursor: pointer; transition: all .3s var(--ease); }
.share-btn:hover { background: var(--gradient); color: var(--ink); transform: translateY(-3px); }
.share-btn [data-lucide] { width: 18px; height: 18px; }

/* -------------------------------------------------------------
   26. Legal / long-form pages
------------------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin: 38px 0 14px; scroll-margin-top: 110px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal p { margin-bottom: 16px; line-height: 1.78; }
.legal ul { display: grid; gap: 10px; margin-bottom: 20px; }
.legal ul li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.7; }
.legal ul li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-1); }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.legal-updated [data-lucide] { width: 16px; height: 16px; }

/* HTML sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sitemap-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sitemap-col h3 { font-size: 1.08rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sitemap-col ul { display: grid; gap: 10px; }
.sitemap-col a { font-size: .93rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.sitemap-col a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-1); flex: none; }
.sitemap-col a:hover { color: var(--brand-2); }

/* -------------------------------------------------------------
   27. Floating actions + cookie consent
------------------------------------------------------------- */
.floating { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); cursor: pointer; border: none; transition: all .3s var(--ease); }
.fab:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.fab [data-lucide] { width: 24px; height: 24px; }
.fab.wa { background: #25d366; }
.fab.call { background: var(--gradient); color: var(--ink); }
.fab.top { background: var(--ink); opacity: 0; pointer-events: none; }
.fab.top.show { opacity: 1; pointer-events: auto; }

/* sticky get-quote tab (desktop) */
.quote-tab {
    position: fixed; right: -1px; top: 50%; transform: translateY(-50%) translateX(100%);
    z-index: 89; background: var(--gradient); color: var(--ink); font-weight: 600; font-size: .87rem;
    padding: 14px 12px; border-radius: 14px 0 0 14px; box-shadow: var(--shadow-brand);
    writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: 9px;
    opacity: 0; transition: all .4s var(--ease);
}
.quote-tab.show { transform: translateY(-50%) translateX(0); opacity: 1; }
.quote-tab:hover { color: var(--ink); padding-right: 16px; }
.quote-tab [data-lucide] { width: 17px; height: 17px; }

.cookie-banner {
    position: fixed; left: 20px; bottom: 20px; z-index: 120; width: min(420px, calc(100vw - 40px));
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 24px;
    transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .ck-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-banner .ck-head [data-lucide] { width: 21px; height: 21px; color: var(--brand-2); }
.cookie-banner h4 { font-size: 1rem; }
.cookie-banner p { font-size: .87rem; line-height: 1.6; margin-bottom: 18px; }
.cookie-banner p a { color: var(--brand-2); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* -------------------------------------------------------------
   28. Scroll reveal
------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

[data-tilt] { transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }

/* -------------------------------------------------------------
   29. Responsive
------------------------------------------------------------- */
@media (max-width: 1180px) {
    .logo-grid { grid-template-columns: repeat(5, 1fr); }
    .ind-grid  { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (max-width: 1024px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card.wide { grid-column: span 2; }
    .process-flow { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
    .process-flow::before { display: none; }
    .case { grid-template-columns: 1fr; gap: 30px; }
    .case.flip .case-media { order: 0; }
    .article-layout { grid-template-columns: 1fr; gap: 34px; }
    .article-toc { position: static; }
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-full-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 900px) {
    .nav-links, .nav-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .quote-tab { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 58px; }
    .hero-visual { max-width: 460px; margin: 0 auto; }
    .split { grid-template-columns: 1fr; gap: 52px; }
    .contact-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .g-3 { grid-template-columns: repeat(2, 1fr); }
    .featured { grid-template-columns: 1fr; }
    .featured-media { min-height: 260px; }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .ind-grid  { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .g-2, .g-3, .g-4, .portfolio-grid, .footer-grid, .mini-stats, .form-row,
    .sitemap-grid, .svc-panel.two ul { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card.wide { grid-column: span 1; }
    .process-flow { grid-template-columns: repeat(2, 1fr); }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .ind-grid  { grid-template-columns: repeat(2, 1fr); }
    .svc-block { grid-template-columns: 1fr; text-align: center; }
    .svc-block .svc-ico { margin: 0 auto; }
    .svc-tags { justify-content: center; }
    /* 4 columns cannot fit at this width — their min-content pushes the
       page wider than the viewport and clips content off the right edge. */
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
    .hero-stats .hs b { font-size: 1.7rem; }
    .portfolio-hero .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .hero-metrics .hm b { font-size: 1.7rem; }
    .case { padding: 22px; }
    .case-media { aspect-ratio: 4/3; }
    .stat-badge { right: 50%; transform: translateX(50%); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .floating { right: 14px; bottom: 14px; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }

    /* Buttons are nowrap by default, which clips long labels such as
       "Schedule Free Consultation" inside the padded CTA banner. */
    .btn { white-space: normal; text-align: center; }
    .btn-lg { padding: 15px 24px; font-size: .96rem; }
    .cta-banner { padding: 40px 22px; }
    .cta-actions .btn, .hero-cta .btn { width: 100%; }
    .feat-stats { gap: 24px; }
    .tl-item { padding-left: 66px; }
    .article-byline { font-size: .84rem; }
}

/* -------------------------------------------------------------
   30. Motion & print preferences
------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    [data-tilt] { transform: none !important; }
    html { scroll-behavior: auto; }
}

@media print {
    .site-header, .mobile-nav, .floating, .quote-tab, .cookie-banner,
    .scroll-progress, .site-footer, .cta-banner, .share-row { display: none !important; }
    body { color: #000; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/*--------------------------------------------------------------
  Rich body copy — admin-authored HTML blocks (About story,
  founder message). Matches the spacing the static markup used.
--------------------------------------------------------------*/
.rich-body p { margin-top: 14px; }
.rich-body p:first-child { margin-top: 16px; }
.rich-body ul,
.rich-body ol { margin-top: 14px; padding-left: 20px; }
.rich-body li { margin-bottom: 6px; }
