/* ==========================================================================
   Agency theme – natural, calm and editorial. Built on Bootstrap 5.
   Warm paper background, charcoal text, one green accent. No gradients.
   1. Tokens  2. Base  3. Buttons  4. Navbar  5. Hero  6. Sections
   7. Cards   8. Components  9. Footer  10. Animation system  11. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --ink: #14213d;
    --ink-2: #243453;
    --body: #4a5468;
    --muted: #8a93a5;
    --line: #efe5da;
    --bg: #fffaf5;
    --bg-soft: #fff1e7;
    --surface: #ffffff;
    --accent: #e2461f;
    --accent-dark: #c63a17;
    --accent-soft: #ffe6dd;
    --gold: #f5a300;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 8px 24px -12px rgba(20, 33, 61, .12);
    --ease: cubic-bezier(.25, .6, .3, 1);
    --nav-h: 76px;
    --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Fraunces", Georgia, "Times New Roman", serif;

    --bs-primary: var(--accent);
    --bs-primary-rgb: 226, 70, 31;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--body);
    --bs-body-bg: var(--bg);
    --bs-link-color-rgb: 198, 58, 23;
    --bs-border-color: var(--line);
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }
body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    font-size: 1.02rem;
    line-height: 1.7;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
}
h1, .h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead { font-size: 1.15rem; color: var(--body); }

/* 3. Buttons --------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 8px; padding: .8rem 1.5rem; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn i { transition: transform .2s var(--ease); display: inline-block; }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-up-right { transform: translateX(3px); }
.btn-brand { color: #fff; background: var(--accent); border: 1px solid var(--accent); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost, .btn-outline-brand { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.btn-ghost:hover, .btn-outline-brand:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-dark-soft { color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); }
.btn-dark-soft:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn-white:hover { background: var(--bg-soft); color: var(--ink); transform: translateY(-1px); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* 4. Navbar ---------------------------------------------------------------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 1030; height: var(--nav-h); display: flex; align-items: center; background: rgba(255, 250, 245, .96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-nav .navbar { width: 100%; padding: 0; }
.site-nav .navbar-brand img { height: 40px; width: auto; }
.site-nav .brand-text { font-family: var(--font-head); color: var(--ink); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.site-nav .brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 3px; }
.site-nav .nav-link { color: var(--body); font-weight: 500; font-size: .96rem; padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--ink); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; min-width: 280px; margin-top: .5rem; }
.site-nav .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; font-size: .93rem; color: var(--ink); display: flex; gap: .7rem; align-items: center; }
.site-nav .dropdown-item i { color: var(--accent); width: 20px; text-align: center; }
.site-nav .dropdown-item:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav .navbar-toggler { border: 0; padding: .4rem; color: var(--ink); box-shadow: none; }
.site-nav .toggler-bar { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-nav .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.site-nav .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px -12px rgba(20, 33, 61, .25); }

@media (max-width: 991.98px) {
    .site-nav { --nav-h: 66px; }
    .site-nav .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1rem 1.25rem; max-height: calc(100vh - 66px); overflow-y: auto; }
    .site-nav .navbar-collapse .nav-link { padding: .7rem .5rem !important; border-bottom: 1px solid var(--line); }
    .site-nav .nav-link::after { display: none; }
    .site-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 0 .5rem; margin: 0; min-width: 0; background: transparent; }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; background: var(--bg); }
.hero-slide { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 64px; }
.hero .hero-title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.1; margin-bottom: 1.3rem; }
.hero .hero-desc { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 540px; margin-bottom: 2rem; }
.hero-eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.hero-media { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft); }

/* entrance animation re-runs when a slide becomes active */
.hero-anim { opacity: 0; transform: translate3d(0, 16px, 0); }
.carousel-item.active .hero-anim { animation: heroIn .7s var(--ease) forwards; }
.carousel-item.active .hero-anim.from-left { animation-name: heroInLeft; }
.carousel-item.active .hero-anim.from-right { animation-name: heroInRight; animation-delay: .15s; }
.carousel-item.active .hero-anim:nth-child(2) { animation-delay: .08s; }
.carousel-item.active .hero-anim:nth-child(3) { animation-delay: .16s; }
.carousel-item.active .hero-anim:nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroInLeft { from { opacity: 0; transform: translate3d(-24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes heroInRight { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }
html:not(.js) .hero-anim { opacity: 1; transform: none; }

.hero-controls { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.hero .carousel-indicators { position: static; margin: 0; padding: 0; justify-content: flex-start; gap: .4rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 3px; border: 0; border-radius: 2px; background: var(--line); opacity: 1; margin: 0; transition: background .3s, width .3s; }
.hero .carousel-indicators .active { width: 44px; background: var(--ink); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.hero-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 991.98px) { .hero-slide { padding-top: calc(var(--nav-h) + 32px); } }

/* Inner page header */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: calc(var(--nav-h) + 60px) 0 60px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 860px; margin-bottom: .9rem; }
.page-hero .lead { max-width: 680px; margin-bottom: 0; }
.page-hero .eyebrow { margin-bottom: .6rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--body); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; }

/* 6. Sections -------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .7); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.section-dark .eyebrow { color: #ffb49e; }

.about-media { position: relative; }
.about-media .main-img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border: 1px solid var(--line); }
.about-badge { position: absolute; left: 20px; bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; }
.about-badge strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--ink); font-weight: 600; }
.about-badge span { font-size: .85rem; line-height: 1.3; }
.about-badge .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.25rem; }
.about-dots { display: none; }

.mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; height: 100%; }
.mv-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }
.mv-card h3 i { color: var(--accent); }
.mv-card p { margin: 0; font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .02rem; color: var(--accent); font-size: 1.15rem; }
.section-dark .check-list li { color: rgba(255, 255, 255, .85); }

/* Stats: simple row with dividers */
.stats-band { border-radius: var(--radius-lg); background: var(--ink); padding: clamp(1.8rem, 4vw, 2.8rem); }

/* 7. Cards ----------------------------------------------------------------- */

.project-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-thumb { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.03); }
.project-thumb .cat { position: absolute; left: .9rem; top: .9rem; background: var(--surface); color: var(--ink); font-size: .75rem; font-weight: 600; border-radius: 6px; padding: .25rem .6rem; border: 1px solid var(--line); }
.project-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-body h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.project-body h3 a { color: var(--ink); }
.project-body h3 a:hover { text-decoration: underline; }
.project-body p { font-size: .94rem; flex-grow: 1; }
.project-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.project-actions .btn { padding: .42rem .85rem; font-size: .83rem; }
.project-actions .btn-outline-brand { border-color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; font-size: .76rem; font-weight: 500; color: var(--body); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .18rem .55rem; }
.section-dark .chip { color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }

.blog-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.03); }
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.blog-meta i { margin-right: .25rem; }
.blog-cat { color: var(--accent); font-weight: 600; position: relative; z-index: 1; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.blog-card p { font-size: .94rem; flex-grow: 1; }
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.blog-featured .blog-thumb { aspect-ratio: auto; min-height: 320px; }
.blog-featured .blog-body { padding: clamp(1.5rem, 3vw, 2.6rem); justify-content: center; }
.blog-featured h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 767.98px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured .blog-thumb { min-height: 220px; } }


/* Testimonials slider (scroll-snap, no library) */
.t-slider { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .1rem 1.25rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) { .t-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .t-track { grid-auto-columns: 88%; } }
.t-track > * { scroll-snap-align: start; }
.testimonial-card { background: var(--surface); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; position: relative; }
.testimonial-card .quote { position: absolute; right: 1.4rem; top: 1rem; font-size: 2.6rem; line-height: 1; color: var(--line); }
.testimonial-card blockquote { font-family: var(--font-head); font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); flex-grow: 1; margin: .9rem 0 1.4rem; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: .08rem; }
.t-author { display: flex; align-items: center; gap: .8rem; }
.t-author img, .t-author .avatar-fallback { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-fallback { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.t-author strong { display: block; color: var(--ink); line-height: 1.3; font-weight: 600; }
.t-author span { font-size: .85rem; color: var(--muted); }
.slider-nav { display: flex; gap: .5rem; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.slider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.feature-tile { display: flex; gap: .9rem; padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.feature-tile .ico { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.1rem; }
.feature-tile h3 { font-family: var(--font); font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.feature-tile p { margin: 0; font-size: .9rem; }

/* 8. Components ------------------------------------------------------------ */
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; background: transparent; }
.faq-accordion .accordion-item:first-child { border-top: 1px solid var(--line); }
.faq-accordion .accordion-button { font-weight: 600; color: var(--ink); padding: 1.15rem 0; font-size: 1.03rem; background: transparent; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--ink); background: transparent; }
.faq-accordion .accordion-button::after { background-image: none; content: "\F64D"; font-family: "bootstrap-icons"; width: auto; height: auto; font-size: 1.1rem; color: var(--accent); transition: transform .25s var(--ease); }
.faq-accordion .accordion-button:not(.collapsed)::after { content: "\F63B"; transform: none; }
.faq-accordion .accordion-body { padding: 0 2rem 1.3rem 0; }

.cta-band { border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.8rem); background: var(--accent); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin: 0; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.sidebar-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h2, .sidebar-card h3 { font-size: 1.12rem; margin-bottom: .9rem; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li + li { border-top: 1px solid var(--line); }
.sidebar-list a { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; color: var(--ink); font-size: .95rem; }
.sidebar-list a:hover, .sidebar-list a.active { color: var(--accent); }
.sidebar-list .count { font-size: .8rem; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a { font-size: .83rem; color: var(--body); border: 1px solid var(--line); border-radius: 6px; padding: .25rem .65rem; transition: all .2s; }
.tag-cloud a:hover { border-color: var(--ink); color: var(--ink); }
.mini-post { display: flex; gap: .8rem; align-items: center; padding: .5rem 0; }
.mini-post img { width: 68px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mini-post a { color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; display: block; }
.mini-post a:hover { color: var(--accent); }
.mini-post small { color: var(--muted); font-size: .78rem; }
.search-box { position: relative; }
.search-box input { border-radius: 8px; padding: .75rem 3rem .75rem 1rem; border: 1px solid var(--line); background: var(--surface); }
.search-box input:focus { border-color: var(--ink); box-shadow: none; }
.search-box button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 6px; border: 0; background: transparent; color: var(--ink); }

.filter-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-pills a { padding: .45rem 1rem; border-radius: 8px; font-weight: 500; font-size: .9rem; color: var(--body); background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.filter-pills a:hover { border-color: var(--ink); color: var(--ink); }
.filter-pills a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-pills a small { opacity: .6; margin-left: .15rem; }

/* Rich content */
.prose { font-size: 1.07rem; color: var(--ink-2); line-height: 1.85; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.prose blockquote { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1.3rem; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.prose pre { background: var(--ink); color: #eee; padding: 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }

.detail-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.detail-cover img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card dl { margin: 0; }
.info-card dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.info-card dd { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.sticky-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.03); }
.share-links { display: flex; gap: .45rem; flex-wrap: wrap; }
.share-links a { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.share-links a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1.3rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }

/* Contact */
.contact-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); }
.form-control, .form-select { border-radius: 8px; padding: .75rem .95rem; border: 1px solid var(--line); background-color: var(--surface); font-size: .97rem; transition: border-color .2s; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(226, 70, 31, .15); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; }
.contact-info + .contact-info { border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-info .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #ffb49e; display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info h3 { font-family: var(--font); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: .15rem; }
.contact-info a, .contact-info p { color: #fff; margin: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; line-height: 0; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 400px; border: 0; }

.alert-brand { border: 1px solid transparent; border-radius: 8px; padding: .9rem 1.1rem; display: flex; gap: .7rem; align-items: flex-start; }
.alert-brand.alert-success { background: #edf4ef; color: #22523f; border-color: #cfe2d6; }
.alert-brand.alert-danger { background: #fbeeec; color: #8f2f22; border-color: #f0d3cd; }
.alert-brand.alert-info { background: var(--bg-soft); color: var(--ink-2); border-color: var(--line); }

.pagination-brand { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination-brand a, .pagination-brand span { min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 8px; display: grid; place-items: center; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.pagination-brand a:hover { border-color: var(--ink); }
.pagination-brand .active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination-brand .disabled span { opacity: .45; }

/* WhatsApp + back to top */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .wa-label { position: absolute; right: calc(100% + 10px); white-space: nowrap; background: var(--surface); color: var(--ink); font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 6px; border: 1px solid var(--line); opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.wa-float:hover .wa-label { opacity: 1; transform: none; }
.to-top { position: fixed; right: 27px; bottom: 88px; z-index: 1039; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
@media (max-width: 575.98px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; font-size: 1.55rem; } .wa-float .wa-label { display: none; } .to-top { right: 19px; bottom: 76px; } }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer h2 { font-family: var(--font); color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff; }
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-links a { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: background .2s, border-color .2s; }
.social-links a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.footer-contact li { display: flex; gap: .7rem; }
.footer-contact i { color: #ffb49e; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.5rem 0; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* 404 */
.error-code { font-family: var(--font-head); font-size: clamp(5.5rem, 16vw, 9rem); font-weight: 600; line-height: 1; color: var(--accent); }

/* 10. Animation system -----------------------------------------------------
   Elements are hidden only while JS runs (html.js), so crawlers and no-JS
   visitors always see content. Only opacity/transform animate (no layout
   shift). app.js adds .is-visible once per element.                         */
.js .animate-left, .js .animate-right, .js .animate-up, .js .animate-down,
.js .animate-fade, .js .animate-zoom, .js .animate-scale {
    opacity: 0;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js .animate-left  { transform: translate3d(-32px, 0, 0); }
.js .animate-right { transform: translate3d(32px, 0, 0); }
.js .animate-up    { transform: translate3d(0, 24px, 0); }
.js .animate-down  { transform: translate3d(0, -24px, 0); }
.js .animate-zoom  { transform: scale(.96); }
.js .animate-scale { transform: scale(.98); }
.js .is-visible { opacity: 1 !important; transform: none !important; }
@media (max-width: 767.98px) {
    .js .animate-left  { transform: translate3d(-16px, 0, 0); }
    .js .animate-right { transform: translate3d(16px, 0, 0); }
    .js .animate-up    { transform: translate3d(0, 16px, 0); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .animate-left, .js .animate-right, .js .animate-up, .js .animate-down,
    .js .animate-fade, .js .animate-zoom, .js .animate-scale, .hero-anim { opacity: 1 !important; transform: none !important; }
}

/* 11. Utilities ------------------------------------------------------------ */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.text-ink { color: var(--ink) !important; }
.text-accent { color: var(--accent) !important; }
.fw-800 { font-weight: 700 !important; }
.icon-box { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.35rem; }
.divider-dots { height: 1px; background: var(--line); margin: 2.5rem 0; }

/* 12. Colour accents ---------------------------------------------------------
   Solid colours only (no gradients). A small family of friendly tints cycles
   through cards, icons and stats so the page feels lively, not flat.        */
:root {
    --c1: #e2461f; --c1-soft: #ffe6dd;   /* coral   */
    --c2: #0e9f6e; --c2-soft: #d8f5e8;   /* emerald */
    --c3: #2563eb; --c3-soft: #dde9ff;   /* sky     */
    --c4: #d99100; --c4-soft: #fff0c7;   /* sun     */
    --c5: #0f8a82; --c5-soft: #d3f2ef;   /* teal    */
    --sun: #ffc93c;
}
.stagger > :nth-child(5n+1) { --tone: var(--c1); --tint: var(--c1-soft); }
.stagger > :nth-child(5n+2) { --tone: var(--c2); --tint: var(--c2-soft); }
.stagger > :nth-child(5n+3) { --tone: var(--c3); --tint: var(--c3-soft); }
.stagger > :nth-child(5n+4) { --tone: var(--c4); --tint: var(--c4-soft); }
.stagger > :nth-child(5n+5) { --tone: var(--c5); --tint: var(--c5-soft); }

.feature-tile .ico { color: var(--tone, var(--accent)); background: var(--tint, var(--accent-soft)); }



/* Hero: image sits on bold solid shapes */
.hero-media { isolation: isolate; }
.hero-media::before { content: ""; position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); top: -6%; right: -4%; }
.hero-media::after { content: ""; position: absolute; z-index: -1; width: 46%; height: 46%; border-radius: var(--radius-lg); background: var(--accent); bottom: -6%; left: -5%; }
.hero-img { border: 0; box-shadow: 0 20px 40px -24px rgba(20, 33, 61, .45); }
.hero-eyebrow { color: var(--accent); }
@media (max-width: 575.98px) { .hero-media::before { right: 0; } .hero-media::after { left: 0; } }

/* Inner page header: peach with solid circles */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: var(--sun); right: -80px; top: -120px; opacity: .9; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%; background: var(--accent); right: 170px; bottom: -110px; }
@media (max-width: 767.98px) { .page-hero::before { width: 180px; height: 180px; right: -70px; top: -70px; } .page-hero::after { display: none; } }

/* CTA: coral block with a sunny accent */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: var(--sun); right: -70px; bottom: -130px; }
.cta-band .btn-white { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Tags, categories and small details in colour */
.project-thumb .cat { background: var(--ink); color: #fff; border: 0; }
.blog-cat { color: var(--tone, var(--accent)); }
.chip { background: var(--tint, var(--bg-soft)); border-color: transparent; color: var(--ink-2); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: .5rem; vertical-align: middle; transform: translateY(-1px); }
.filter-pills a.active { background: var(--accent); border-color: var(--accent); }
.pagination-brand .active span { background: var(--accent); border-color: var(--accent); }
.site-nav .nav-link::after { background: var(--accent); height: 2px; }
.site-footer { border-top: 4px solid var(--accent); }
.social-links a:hover { background: var(--accent); border-color: var(--accent); }
.about-badge .ico { background: var(--sun); color: var(--ink); }
.avatar-fallback { background: var(--tint, var(--accent-soft)); color: var(--tone, var(--accent)); }
/* small sidebar CTA boxes: keep text fully readable */
.sticky-aside .cta-band::after { display: none; }

/* 13. Video ------------------------------------------------------------------ */
.hero-video { display: block; object-fit: cover; background: var(--ink); }
.video-embed { position: relative; overflow: hidden; background: var(--ink); cursor: pointer; }
.video-embed img, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-embed.hero-img { aspect-ratio: 4 / 3; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 2.3rem; display: grid; place-items: center; padding-left: 5px; box-shadow: 0 10px 30px -10px rgba(20, 33, 61, .6); transition: transform .25s var(--ease), background .2s; }
.video-embed:hover .video-play, .video-play:focus-visible { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-dark); }
.video-frame { max-width: 980px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(20, 33, 61, .5); border: 6px solid #fff; outline: 1px solid var(--line); }
.video-frame video, .video-frame .video-embed { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .video-play { width: 62px; height: 62px; font-size: 1.9rem; } .video-frame { border-width: 3px; } }

/* 14. Service cards ("What we do") ----------------------------------------
   Numbered cards; on hover the card fills solid navy, the icon lights up in
   the card's own colour and the arrow turns. Solid colours only.          */
.service-card { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem 1.6rem; height: 100%; display: flex; flex-direction: column; transition: background-color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.service-card::before { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%; background: var(--tint, var(--accent-soft)); top: -90px; right: -90px; transition: transform .5s var(--ease), background-color .35s; }
.service-card:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-6px); box-shadow: 0 24px 44px -22px rgba(20, 33, 61, .55); }
.service-card:hover::before { transform: scale(1.35); background: rgba(255, 255, 255, .06); }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.6rem; }
.service-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 1.55rem; color: #fff; background: var(--tone, var(--accent)); transition: transform .35s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.sc-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--tone, var(--accent)); opacity: .6; transition: -webkit-text-stroke-color .35s, opacity .35s; }
.service-card:hover .sc-num { -webkit-text-stroke-color: rgba(255, 255, 255, .5); opacity: 1; }
.service-card :is(h2, h3) { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card :is(h2, h3) a { color: var(--ink); transition: color .3s; }
.service-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card p { font-size: .96rem; flex-grow: 1; margin-bottom: 1.4rem; transition: color .3s; }
.service-card:hover :is(h2, h3) a { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, .72); }
.sc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.1rem; border-top: 1px solid var(--line); transition: border-color .35s; }
.service-card:hover .sc-foot { border-color: rgba(255, 255, 255, .14); }
.sc-more { font-weight: 600; font-size: .92rem; color: var(--tone, var(--accent)); transition: color .3s; }
.service-card:hover .sc-more { color: #fff; }
.sc-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.service-card:hover .sc-arrow { background: var(--tone, var(--accent)); border-color: var(--tone, var(--accent)); color: #fff; transform: rotate(45deg); }

/* Last tile on the home page: invites custom requirements */
.service-cta-tile { position: relative; isolation: isolate; overflow: hidden; height: 100%; border-radius: var(--radius-lg); padding: 2rem 1.8rem; background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 300px; }
.service-cta-tile::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; background: var(--sun); right: -70px; bottom: -90px; }
.service-cta-tile h3 { color: #fff; font-size: 1.7rem; margin: .6rem 0 .5rem; }
.service-cta-tile p { color: rgba(255, 255, 255, .85); margin: 0; }
.service-cta-tile .eyebrow { color: #fff; }
.service-cta-tile .btn-white { background: var(--ink); color: #fff; border-color: var(--ink); align-self: flex-start; }
.service-cta-tile .btn-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Section header: big title left, intro + button right */
.services-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.services-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.services-head p { margin-bottom: 1.2rem; font-size: 1.06rem; }
@media (max-width: 991.98px) { .services-head { grid-template-columns: 1fr; } }

/* 15. Industries ("Solutions tailored to your industry") ------------------
   Colourful tiles on navy with solid decorative circles; on hover a tile
   fills with its own colour. Light variant for soft sections.            */
.industries-section { position: relative; overflow: hidden; isolation: isolate; }
.industries-section::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: var(--sun); opacity: .12; top: -300px; right: -240px; }
.industries-section::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); opacity: .14; bottom: -130px; left: -90px; }
.industries-section .services-head p { color: rgba(255, 255, 255, .72); }
.industries-section .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.industries-section .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ind-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.ind-stat { display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); font-size: .88rem; }
.ind-stat strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--sun); }

.stagger > :nth-child(5n+4) { --on-tone: var(--ink); }  /* dark text on the yellow tile */
.industry-card { position: relative; height: 100%; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-start; gap: 1.3rem; padding: 1.5rem 1.4rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.ind-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: var(--tone, var(--accent)); transition: background-color .35s, color .35s, transform .35s var(--ease); }
.industry-card h3 { font-family: var(--font); font-size: 1.08rem; font-weight: 700; color: #fff; margin: 0 0 .3rem; transition: color .3s; }
.industry-card p { margin: 0; font-size: .87rem; line-height: 1.55; color: rgba(255, 255, 255, .62); transition: color .3s; }
.industry-card:hover { background: var(--tone, var(--accent)); border-color: var(--tone, var(--accent)); transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .6); }
.industry-card:hover .ind-icon { background: #fff; color: var(--tone, var(--accent)); transform: rotate(-8deg) scale(1.05); }
.industry-card:hover h3 { color: var(--on-tone, #fff); }
.industry-card:hover p { color: var(--on-tone, #fff); opacity: .85; }

/* Last tile: invite visitors whose industry is not listed */
.industry-cta { height: 100%; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.4rem; border-radius: var(--radius-lg); background: var(--sun); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.industry-cta:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .6); }
.industry-cta h3 { font-size: 1.3rem; color: var(--ink); margin: 0 0 .3rem; }
.industry-cta p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.industry-cta .link-arrow { color: var(--ink); }

/* Light variant (services page, soft sections) */
.section-soft .industry-card, .industry-light .industry-card { background: var(--surface); border-color: var(--line); }
.section-soft .industry-card h3, .industry-light .industry-card h3 { color: var(--ink); }
.section-soft .industry-card p, .industry-light .industry-card p { color: var(--body); }
.section-soft .industry-card:hover h3, .industry-light .industry-card:hover h3 { color: var(--on-tone, #fff); }
.section-soft .industry-card:hover p, .industry-light .industry-card:hover p { color: var(--on-tone, #fff); }

/* 16. Stats cards ------------------------------------------------------------
   Four solid-colour cards (coral, navy, sun, emerald) with icon, counter and
   a decorative circle. Colours chosen so text keeps good contrast.        */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 991.98px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 419.98px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { position: relative; overflow: hidden; isolation: isolate; min-height: 210px; padding: 1.6rem 1.5rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.stat-card::after { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; border-radius: 50%; right: -55px; bottom: -65px; background: rgba(255, 255, 255, .12); transition: transform .5s var(--ease); }
.stat-card::before { content: ""; position: absolute; z-index: -1; width: 70px; height: 70px; border-radius: 50%; right: 34px; top: -30px; border: 2px solid rgba(255, 255, 255, .18); }
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(20, 33, 61, .55); }
.stat-card:hover::after { transform: scale(1.25); }
.stat-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; background: rgba(255, 255, 255, .18); color: #fff; transition: transform .35s var(--ease); }
.stat-card:hover .stat-ico { transform: rotate(-10deg) scale(1.06); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .45rem; }
.stat-label { display: block; font-weight: 600; font-size: .98rem; opacity: .92; }

.stat-card-1 { background: var(--accent-dark); }
.stat-card-2 { background: var(--ink); }
.stat-card-2 .stat-num { color: var(--sun); }
.stat-card-2 .stat-ico { background: var(--sun); color: var(--ink); }
.stat-card-3 { background: var(--sun); color: var(--ink); }
.stat-card-3 .stat-ico { background: var(--ink); color: var(--sun); }
.stat-card-3::after { background: rgba(255, 255, 255, .35); }
.stat-card-3::before { border-color: rgba(20, 33, 61, .15); }
.stat-card-4 { background: #0b7f58; }
