/* ==========================================================================
   پـیـشـرو مـالـی — Front-end design system
   Loaded after Bootstrap RTL, so it can safely override component styles.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand */
    --navy: #0a1b2e;
    --navy-800: #0e2740;
    --navy-700: #143453;
    --navy-600: #1d4368;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --emerald-soft: #e7f8f2;
    --gold: #f6b93b;

    /* Surfaces */
    --white: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --surface-tint: #eef4f9;

    /* Text */
    --ink: #0b1b2b;
    --ink-soft: #38485c;
    --muted: #6b7c93;
    --muted-2: #93a1b3;
    --gray-light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e6ecf3;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;

    /* Lines & shadows */
    --line: #e5ebf2;
    --line-strong: #d5dfea;
    --ring: rgba(16, 185, 129, 0.35);
    --shadow-xs: 0 1px 2px rgba(11, 27, 43, 0.06);
    --shadow-sm: 0 4px 14px rgba(11, 27, 43, 0.06);
    --shadow-md: 0 14px 34px rgba(11, 27, 43, 0.09);
    --shadow-lg: 0 28px 60px rgba(11, 27, 43, 0.14);
    --shadow-brand: 0 14px 30px rgba(16, 185, 129, 0.28);

    /* Legacy alias kept for older markup that still references it */
    --primary-color: #0a1b2e;

    /* Geometry */
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --container: 1240px;
    --header-h: 76px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.28s;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--ink-soft);
    background: var(--surface);
    font-size: 1rem;
    line-height: 1.85;
    font-feature-settings: 'ss01' 1;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0;
    margin: 0;
}

a {
    color: var(--emerald-dark);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--emerald);
}

img,
svg {
    max-width: 100%;
}

::selection {
    background: var(--emerald);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    max-width: var(--container);
    padding-inline: 20px;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--emerald);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-xs) var(--radius-xs);
    font-weight: 600;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

.text-emerald { color: var(--emerald) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }
.fw-800 { font-weight: 800 !important; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }
.divider-line { height: 1px; background: var(--line); border: 0; }

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--emerald), #34d399);
    z-index: 1200;
    transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
    --btn-radius: var(--radius-xs);
    font-family: inherit;
    font-weight: 700;
    border-radius: var(--btn-radius);
    padding: 12px 24px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        background-color var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.btn i,
.btn svg {
    font-size: 0.95em;
}

.btn:active {
    transform: translateY(1px);
}

.btn-brand,
.btn-emerald {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.22);
}

.btn-brand:hover,
.btn-emerald:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-brand {
    border-color: var(--emerald);
    color: var(--emerald-dark);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--emerald-soft);
    color: var(--emerald-dark);
}

.btn-outline-navy {
    border-color: var(--line-strong);
    color: var(--ink);
    background: var(--white);
}

.btn-outline-navy:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: var(--surface-tint);
    color: var(--navy);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1.05rem;
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
}

/* Link with animated arrow */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--emerald-dark);
}

.arrow-link i {
    transition: transform var(--dur) var(--ease);
}

.arrow-link:hover i {
    transform: translateX(-5px);
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1030;
    background: rgba(10, 27, 46, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        padding var(--dur) var(--ease);
}

.site-header.is-scrolled {
    background: rgba(8, 22, 38, 0.98);
    box-shadow: 0 10px 30px rgba(4, 14, 26, 0.32);
}

.topbar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    max-height: 60px;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header.is-scrolled .topbar {
    max-height: 0;
    opacity: 0;
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 7px 0;
}

.topbar__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar a {
    color: rgba(255, 255, 255, 0.68);
}

.topbar a:hover {
    color: var(--emerald);
}

.topbar i {
    color: var(--emerald);
    margin-inline-end: 6px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.social-links a:hover {
    background: var(--emerald);
    transform: translateY(-2px);
}

.navbar {
    padding: 12px 0;
    min-height: 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff !important;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.32);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text small {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.nav-main {
    align-items: center;
    gap: 2px;
}

.nav-main .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    inset-inline-start: 50%;
    transform: translateX(50%) scaleX(0);
    transform-origin: center;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--emerald);
    transition: transform var(--dur) var(--ease);
}

.nav-main .nav-link:hover,
.nav-main .nav-link:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.nav-main .nav-link.active {
    color: #fff !important;
}

.nav-main .nav-link:hover::after,
.nav-main .nav-link.active::after {
    transform: translateX(50%) scaleX(1);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 8px 10px;
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-main .nav-link {
        padding: 12px 14px !important;
        border-radius: 10px;
    }

    .nav-main .nav-link::after {
        display: none;
    }

    .nav-main .nav-link.active {
        background: rgba(16, 185, 129, 0.14);
    }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 520px at 88% -10%, rgba(16, 185, 129, 0.22), transparent 62%),
        radial-gradient(700px 420px at 2% 100%, rgba(29, 67, 104, 0.55), transparent 65%),
        linear-gradient(160deg, #071426 0%, #0a1b2e 45%, #0e2740 100%);
    color: #fff;
    padding: calc(var(--header-h) + 64px) 0 96px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.35;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero__title .accent {
    color: var(--emerald);
    position: relative;
}

.hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 33rem;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.hero__trust .stars {
    color: var(--gold);
    letter-spacing: 2px;
}

/* Hero stat strip */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hero__stats .stat {
    background: rgba(7, 20, 38, 0.55);
    padding: 1.1rem 0.75rem;
    text-align: center;
}

.hero__stats .stat__num {
    display: block;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero__stats .stat__num span {
    color: var(--emerald);
}

.hero__stats .stat__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

/* Hero visual */
.hero__visual {
    position: relative;
    padding: 12px;
}

.hero-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(238, 245, 251, 0.97));
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    color: var(--ink);
}

.hero-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 4px;
}

.hero-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.hero-card__value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}

.hero-card__delta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--emerald-dark);
    background: var(--emerald-soft);
    border-radius: var(--radius-pill);
    padding: 3px 10px;
}

.hero-card__legend {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
}

.hero-card__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-card__legend i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    display: inline-block;
}

.float-badge {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    animation: floaty 5.5s ease-in-out infinite;
}

.float-badge i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-soft);
    color: var(--emerald-dark);
}

.float-badge strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
}

.float-badge small {
    color: var(--muted);
}

.float-badge--one {
    top: 6%;
    inset-inline-start: -18px;
}

.float-badge--two {
    bottom: 8%;
    inset-inline-end: -14px;
    animation-delay: 1.4s;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   6. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 380px at 85% 0%, rgba(16, 185, 129, 0.2), transparent 60%),
        linear-gradient(160deg, #071426 0%, #0e2740 100%);
    color: #fff;
    padding: calc(var(--header-h) + 52px) 0 60px;
    margin-bottom: 0;
}

.page-hero--media {
    padding-bottom: 96px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin-bottom: 0.85rem;
}

.page-hero__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    max-width: 46rem;
    margin-bottom: 0;
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.5rem;
    margin-top: 1.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
}

.page-hero__meta i {
    color: var(--emerald);
    margin-inline-end: 6px;
}

.page-hero__meta a {
    color: #fff;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--emerald);
}

.breadcrumbs li + li::before {
    content: '/';
    margin-inline-end: 0.5rem;
    color: rgba(255, 255, 255, 0.32);
}

.breadcrumbs li:last-child {
    color: var(--emerald);
}

/* --------------------------------------------------------------------------
   7. Sections & headings
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(56px, 7vw, 100px) 0;
}

.section--tight {
    padding: clamp(40px, 5vw, 64px) 0;
}

.section--soft {
    background: var(--surface-soft);
}

.section--tint {
    background: var(--surface-tint);
}

.section--dark {
    background:
        radial-gradient(600px 320px at 90% 0%, rgba(16, 185, 129, 0.16), transparent 60%),
        linear-gradient(160deg, #071426 0%, #0e2740 100%);
    color: rgba(255, 255, 255, 0.75);
}

.section--dark .section-head__title,
.section--dark .section-head__eyebrow {
    color: #fff;
}

.section--dark .section-head__eyebrow {
    color: #6ee7b7;
}

/* Cards placed on dark backgrounds keep their own light surfaces. */
.section--dark .step__title,
.section--dark .service-card__title,
.section--dark .feature-card__title,
.section--dark .media-card__title,
.section--dark .team-card__name {
    color: var(--ink);
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--start {
    margin-inline-start: 0;
}

.section-head__eyebrow {
    display: inline-block;
    color: var(--emerald-dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-head__title {
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    margin-bottom: 0.85rem;
}

.section-head__lead {
    color: var(--muted);
    margin-bottom: 0;
}

.section--dark .section-head__lead {
    color: rgba(255, 255, 255, 0.68);
}

.section-head__rule {
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
    margin-top: 1.1rem;
}

.section-head--center .section-head__rule {
    margin-inline: auto;
}

.subtitle {
    color: var(--emerald-dark);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.card-shell:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.card-pad {
    padding: clamp(1.35rem, 2.2vw, 2rem);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

/* Icon tile */
.icon-tile {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: var(--emerald-dark);
    font-size: 1.4rem;
    flex: 0 0 auto;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.icon-tile--sm {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.05rem;
}

.icon-tile--lg {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    font-size: 1.8rem;
}

.icon-tile--solid {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

/* Service card */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 2.4vw, 2.15rem);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur) var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.32);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover .icon-tile {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: #fff;
    transform: translateY(-2px) rotate(-4deg);
}

.service-card__title {
    font-size: 1.1rem;
    font-weight: 800;
}

.service-card__title a {
    color: inherit;
}

.service-card__title a:hover {
    color: var(--emerald-dark);
}

.service-card__text {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
    flex: 1 1 auto;
}

.service-card__foot {
    margin-top: 0.35rem;
}

a.service-link,
.service-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Media card (posts / projects) */
.media-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.media-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.media-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    font-size: 2.4rem;
    overflow: hidden;
}

.media-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.media-card:hover .media-card__media img {
    transform: scale(1.05);
}

.media-card__body {
    padding: clamp(1.1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.6rem;
}

.media-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.media-card__title a {
    color: inherit;
}

.media-card__title a:hover {
    color: var(--emerald-dark);
}

.media-card__text {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    flex: 1 1 auto;
}

.media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.media-card__meta i {
    color: var(--emerald);
    margin-inline-end: 5px;
}

.media-card__tag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: var(--shadow-xs);
}

/* Team card */
.team-card {
    height: 100%;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.28);
}

.team-card__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
    color: var(--emerald);
    font-size: 2.6rem;
    font-weight: 800;
    overflow: hidden;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.team-card:hover .team-card__photo img {
    transform: scale(1.06);
}

.team-card__body {
    padding: 1.35rem 1.1rem 1.5rem;
}

.team-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.15rem;
}

.team-card__role {
    color: var(--emerald-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.team-card__note {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.team-card__social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-card__social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--muted) !important;
    border: 1px solid var(--line);
    transition: all var(--dur) var(--ease);
}

.team-card__social a:hover {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff !important;
    transform: translateY(-2px);
}

.team-card--plain .team-card__photo {
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Testimonial */
.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 2.4vw, 2rem);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__mark {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    font-size: 3.4rem;
    line-height: 1;
    color: rgba(16, 185, 129, 0.12);
    font-family: Georgia, serif;
}

.testimonial-card__stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-card__text {
    color: var(--ink-soft);
    margin: 0;
    flex: 1 1 auto;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.avatar-initials {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
}

.testimonial-card__name {
    font-weight: 800;
    color: var(--ink);
    line-height: 1.4;
}

.testimonial-card__role {
    color: var(--muted);
    font-size: 0.83rem;
}

/* Feature (why us) card */
.feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    height: 100%;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card__title {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.feature-card__text {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. Stats band, steps, CTA
   -------------------------------------------------------------------------- */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.stats-band__item {
    background: rgba(7, 20, 38, 0.5);
    padding: clamp(1.4rem, 3vw, 2.2rem) 1rem;
    text-align: center;
}

.stats-band__num {
    display: block;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.stats-band__label {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.75rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.step__num {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    margin-bottom: 1rem;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.24);
}

.step__title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.step__text {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 320px at 12% 10%, rgba(255, 255, 255, 0.18), transparent 65%),
        linear-gradient(120deg, var(--emerald-dark) 0%, var(--emerald) 55%, #34d399 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band__title {
    color: #fff;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    margin-bottom: 0.5rem;
}

.cta-band__text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 40rem;
}

.cta-band__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-label {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.form-label .req {
    color: var(--emerald-dark);
}

.form-control,
.form-select {
    font-family: inherit;
    font-size: 0.97rem;
    color: var(--ink);
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xs);
    padding: 12px 16px;
    box-shadow: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

textarea.form-control {
    min-height: 140px;
    line-height: 1.9;
}

.form-control::placeholder {
    color: var(--muted-2);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 4px var(--ring);
    color: var(--ink);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #e05252;
    background-image: none;
}

.invalid-feedback,
.form-error {
    color: #d14343;
    font-size: 0.82rem;
    margin-top: 6px;
    display: block;
}

.form-help {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 6px;
    display: block;
}

input[type='file'].form-control {
    padding: 10px 14px;
}

input[type='file'].form-control::file-selector-button {
    border: 0;
    background: var(--surface-tint);
    color: var(--ink);
    border-radius: 8px;
    padding: 8px 14px;
    margin-inline-end: 12px;
    font-weight: 600;
    cursor: pointer;
}

.form-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2.75rem);
}

.form-row-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.15rem;
}

/* --------------------------------------------------------------------------
   11. Alerts, badges, chips
   -------------------------------------------------------------------------- */
.alert {
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    padding: 14px 18px;
    font-size: 0.94rem;
}

.alert-success {
    background: var(--emerald-soft);
    border-color: rgba(16, 185, 129, 0.28);
    color: #046c52;
}

.alert-danger {
    background: #fdeceb;
    border-color: rgba(209, 67, 67, 0.25);
    color: #a12d2d;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-soft);
    color: var(--emerald-dark);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-neutral {
    background: var(--surface-tint);
    color: var(--ink-soft);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 700;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.chip-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.chip-list i {
    color: var(--emerald-dark);
}

/* --------------------------------------------------------------------------
   12. Article / rich text
   -------------------------------------------------------------------------- */
.article-hero-media {
    margin-top: -70px;
    position: relative;
    z-index: 3;
}

.article-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--navy), var(--navy-700));
    aspect-ratio: 21 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    font-size: 3rem;
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rich-content {
    color: var(--ink-soft);
    font-size: 1.04rem;
    line-height: 2.05;
}

.rich-content > * + * {
    margin-top: 1.15rem;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.rich-content h2 { font-size: 1.5rem; }
.rich-content h3 { font-size: 1.24rem; }

.rich-content a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rich-content ul,
.rich-content ol {
    padding-inline-start: 1.4rem;
}

.rich-content li {
    margin-bottom: 0.5rem;
}

.rich-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--surface-soft);
    border-inline-start: 4px solid var(--emerald);
    border-radius: var(--radius-xs);
    color: var(--ink);
    font-style: normal;
}

.rich-content img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    height: auto;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.rich-content th,
.rich-content td {
    border: 1px solid var(--line);
    padding: 10px 14px;
    text-align: right;
}

.rich-content th {
    background: var(--surface-soft);
    font-weight: 700;
    color: var(--ink);
}

.rich-content code {
    background: var(--surface-tint);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.9em;
    direction: ltr;
    display: inline-block;
}

.rich-content hr {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: 2rem 0;
}

/* Sidebar / spec card */
.spec-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.spec-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.spec-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.93rem;
}

.spec-list i {
    color: var(--emerald-dark);
    margin-top: 6px;
}

.spec-list strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--line);
}

.share-row a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: all var(--dur) var(--ease);
}

.share-row a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. Contact / info blocks
   -------------------------------------------------------------------------- */
.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.35rem, 2.4vw, 1.9rem);
    box-shadow: var(--shadow-xs);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0;
}

.info-row + .info-row {
    border-top: 1px solid var(--line);
}

.info-row__label {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.info-row__value {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.75;
}

.info-row__value a {
    color: inherit;
}

.info-row__value a:hover {
    color: var(--emerald-dark);
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    aspect-ratio: 21 / 8;
    min-height: 280px;
    background: var(--surface-soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.92rem;
}

.hours-list li:last-child {
    border-bottom: 0;
}

.hours-list strong {
    color: var(--ink);
}

/* Success page */
.success-mark {
    width: 108px;
    height: 108px;
    border-radius: 34px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    box-shadow: 0 24px 48px rgba(16, 185, 129, 0.32);
}

/* --------------------------------------------------------------------------
   14. Empty state & pagination
   -------------------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    background: var(--surface-soft);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.empty-state i {
    font-size: 2.6rem;
    color: var(--muted-2);
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.empty-state p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 32rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.pagination .page-item .page-link {
    border: 1px solid var(--line);
    border-radius: 12px !important;
    color: var(--ink-soft);
    background: var(--surface);
    padding: 9px 15px;
    font-weight: 600;
    margin: 0;
    transition: all var(--dur) var(--ease);
}

.pagination .page-item .page-link:hover {
    border-color: var(--emerald);
    color: var(--emerald-dark);
    background: var(--emerald-soft);
}

.pagination .page-item.active .page-link {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: var(--muted-2);
    background: var(--surface-soft);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(180deg, #071426 0%, #0a1b2e 100%);
    color: rgba(255, 255, 255, 0.66);
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), transparent 60%);
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.94rem;
    line-height: 1.95;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer-list a i {
    font-size: 0.7rem;
    color: var(--emerald);
}

.footer-list a:hover {
    color: #fff;
    transform: translateX(-4px);
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.93rem;
}

.footer-contact i {
    color: var(--emerald);
    margin-top: 6px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.66);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   16. Floating helpers
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    bottom: 26px;
    inset-inline-start: 26px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald);
    color: #fff;
    border: 0;
    box-shadow: var(--shadow-brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--dur) var(--ease);
    z-index: 1020;
    cursor: pointer;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--emerald-dark);
}

.wa-float {
    position: fixed;
    bottom: 26px;
    inset-inline-end: 26px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c15e;
    color: #fff !important;
    font-size: 1.4rem;
    box-shadow: 0 14px 30px rgba(34, 193, 94, 0.34);
    z-index: 1020;
    transition: transform var(--dur) var(--ease);
}

.wa-float:hover {
    transform: translateY(-3px) scale(1.03);
}

/* --------------------------------------------------------------------------
   17. Motion (reveal on scroll)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .float-badge {
        display: none;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 68px;
    }

    .hero {
        padding: calc(var(--header-h) + 44px) 0 72px;
    }

    .hero__visual {
        margin-top: 3rem;
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-hero-media {
        margin-top: -46px;
    }

    .spec-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 0.97rem;
    }

    .container {
        padding-inline: 16px;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .hero__trust {
        flex-wrap: wrap;
    }

    .site-footer .social-links a {
        margin: 0;
    }

    .to-top {
        bottom: 18px;
        inset-inline-start: 16px;
    }

    .wa-float {
        bottom: 18px;
        inset-inline-end: 16px;
    }
}

/* Print */
@media print {
    .site-header,
    .site-footer,
    .to-top,
    .wa-float,
    .scroll-progress {
        display: none !important;
    }
}
