/* ==========================================================================
   R & D Consulting Ltd. — public website styles (Bootstrap 5.3 based)
   ========================================================================== */

:root {
    --navy-900: #071f33;
    --navy: #0b2d47;
    --blue: #145a83;
    --blue-500: #1d77ab;
    --sky: #e8f2f9;
    --accent: #f2a541;
    --accent-600: #e08f22;
    --green: #1f8a70;
    --ink: #17212e;
    --muted: #5d6b7c;
    --line: #e3e9f0;
    --soft: #f4f8fb;
    --radius: 18px;
    --shadow-sm: 0 2px 6px rgba(11, 45, 71, .06);
    --shadow: 0 14px 40px rgba(11, 45, 71, .10);
    --font-head: 'Sora', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --bs-primary: var(--blue);
    --bs-primary-rgb: 20, 90, 131;
    --bs-link-color: var(--blue);
    --bs-link-color-rgb: 20, 90, 131;
    --bs-link-hover-color: var(--navy);
    --bs-body-color: var(--ink);
    --bs-body-font-family: var(--font-body);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .font-heading { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--navy); }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.35rem; transition: all .25s ease; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: .4rem .95rem; }
.btn-primary { --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy); }
.btn-outline-primary { --bs-btn-color: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--blue); --bs-btn-hover-border-color: var(--blue); --bs-btn-active-bg: var(--navy); }
.btn-accent { background: var(--accent); color: var(--navy); border: 0; box-shadow: 0 8px 20px rgba(242, 165, 65, .35); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-600); color: var(--navy); transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.link-arrow { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Loader ---------- */
.page-loader { position: fixed; inset: 0; background: #fff; z-index: 3000; display: grid; place-items: center; transition: opacity .4s, visibility .4s; }
.page-loader.hide { opacity: 0; visibility: hidden; }
.loader-mark { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--accent); font-family: var(--font-head); font-weight: 800; animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.05); opacity: 1; } }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-900); color: #b9cadb; font-size: .82rem; padding: .5rem 0; }
.topbar a, .topbar span { color: #b9cadb; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: .3rem; }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(11,45,71,.08); border-bottom-color: var(--line); }
.site-header .navbar { padding: .85rem 0; transition: padding .3s; }
.site-header.scrolled .navbar { padding: .5rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; margin-right: 1.5rem; white-space: normal; }
.brand-logo { max-height: 56px; width: auto; transition: max-height .3s; }
.site-header.scrolled .brand-logo { max-height: 46px; }
.brand-mark { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: -.03em; box-shadow: 0 6px 16px rgba(11,45,71,.25); }
.brand-text strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; line-height: 1.15; }
.brand-text small { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: var(--navy); }
.toggler-bar:nth-child(2) { width: 18px; margin-left: auto; }

.navbar .nav-link { font-weight: 600; font-size: .93rem; color: var(--ink); padding: .5rem .8rem !important; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--blue); }
.navbar .dropdown-toggle::after { border: 0; content: "\F282"; font-family: bootstrap-icons; font-size: .65rem; vertical-align: middle; margin-left: .3rem; transition: transform .2s; }
.navbar .dropdown-menu { border: 0; border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; min-width: 230px; }
.navbar .dropdown-item { border-radius: 9px; padding: .55rem .85rem; font-weight: 500; font-size: .92rem; display: flex; gap: .6rem; align-items: center; }
.navbar .dropdown-item i { color: var(--blue); }
.navbar .dropdown-item:hover, .navbar .dropdown-item.active { background: var(--sky); color: var(--navy); }

.mega-menu { padding: 1rem !important; }
.mega-grid { display: grid; grid-template-columns: 1fr; gap: .25rem; }
.mega-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .9rem; line-height: 1.3; }
.mega-item:hover { background: var(--sky); color: var(--navy); }
.mega-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 1.05rem; transition: all .2s; }
.mega-item:hover .mega-icon { background: var(--blue); color: #fff; }
.mega-all { display: block; text-align: center; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .88rem; }

@media (min-width: 1200px) {
    .navbar .dropdown:hover > .dropdown-menu { display: block; animation: dropIn .2s ease; }
    .navbar .dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }
    .navbar .dropdown-menu { margin-top: 0; }
    .navbar .dropdown > .dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
    .dropdown-mega { position: static; }
    .mega-menu { width: 720px; left: 50% !important; transform: translateX(-50%); }
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .navbar .nav-link.active::before { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent); }
}
@media (max-width: 1199.98px) {
    .offcanvas { max-width: 330px; }
    .navbar .dropdown-menu { box-shadow: none; background: var(--soft); }
    .navbar-nav .nav-link { padding: .7rem .5rem !important; border-bottom: 1px solid var(--line); }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1200px) { .mega-menu { transform: translateX(-50%); } .dropdown-mega:hover .mega-menu { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: radial-gradient(circle at 85% 10%, rgba(29,119,171,.45), transparent 45%), var(--navy); color: #c9d8e6; }
.section-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .6rem; }
.section-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-navy .section-kicker { color: var(--accent); }
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.5rem); margin-bottom: 1rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.75rem; }
.section-head .section-title { margin-bottom: 0; }
.section-lead { max-width: 460px; color: var(--muted); margin: 0; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); }
.hero-swiper { height: clamp(520px, 82vh, 760px); }
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(29,119,171,.75), transparent 50%), radial-gradient(circle at 10% 90%, rgba(31,138,112,.45), transparent 45%), linear-gradient(135deg, var(--navy-900), var(--navy) 55%, #0f4466); }
.hero-slide.has-image::before { content: ""; position: absolute; inset: 0; background: var(--hero-image) center/cover no-repeat; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.has-image.swiper-slide-active::before { transform: scale(1); }
.hero-slide.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,51,.92) 0%, rgba(7,31,51,.7) 45%, rgba(7,31,51,.25) 100%); }
.hero-pattern { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-slide.no-image .hero-pattern::after { content: ""; position: absolute; right: 6%; top: 50%; width: min(42vw, 520px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
    border: 1px dashed rgba(242,165,65,.35); box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015); }
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 720px; padding: 3rem 0 5rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242,165,65,.25); }
.hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; margin: 1.25rem 0 1.1rem; font-weight: 800; }
.hero-text { font-size: clamp(1rem, 1.4vw, 1.2rem); color: #d4e2ee; max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-slide .hero-kicker, .hero-slide .hero-title, .hero-slide .hero-text, .hero-slide .hero-actions { opacity: 0; transform: translateY(26px); }
.hero-slide.swiper-slide-active .hero-kicker, .hero-slide.swiper-slide-active .hero-title, .hero-slide.swiper-slide-active .hero-text, .hero-slide.swiper-slide-active .hero-actions { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-slide.swiper-slide-active .hero-title { animation-delay: .12s; }
.hero-slide.swiper-slide-active .hero-text { animation-delay: .24s; }
.hero-slide.swiper-slide-active .hero-actions { animation-delay: .36s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 110px; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.hero-pagination.swiper-pagination { position: static; width: auto !important; text-align: left; }
.hero-pagination .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); opacity: 1; transition: all .3s; }
.hero-pagination .swiper-pagination-bullet-active { width: 52px; background: var(--accent); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; transition: all .2s; }
.hero-arrows button:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
@media (max-width: 767.98px) { .hero-controls { bottom: 90px; } .hero-arrows { display: none; } }

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 6; margin-top: -72px; }
.pillar-card { display: flex; gap: 1rem; height: 100%; padding: 1.6rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--accent); transition: transform .3s; }
.pillar-card:hover { transform: translateY(-6px); }
.pillar-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: var(--sky); color: var(--blue); }
.pillar-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pillar-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- About (home) ---------- */
.about-visual { position: relative; padding: 0 0 2rem 2rem; }
.about-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--sky) 0 10px, transparent 10px 20px); z-index: 0; }
.about-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(29,119,171,.6), transparent 55%), linear-gradient(135deg, var(--navy), var(--blue)); overflow: hidden; }
.orbit { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255,255,255,.35); animation: spin 40s linear infinite; }
.orbit-core { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; animation: spin 40s linear infinite reverse; box-shadow: 0 0 0 14px rgba(242,165,65,.18); }
.orbit-icon { --n: 6; --a: calc(360deg / var(--n) * var(--i)); position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 1.4rem; box-shadow: 0 10px 25px rgba(0,0,0,.2);
    left: calc(50% + 50% * cos(var(--a))); top: calc(50% + 50% * sin(var(--a))); }
.orbit-icon i { display: inline-block; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
.about-badge { position: absolute; z-index: 2; right: -10px; bottom: 0; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.about-badge i { font-size: 2rem; color: var(--green); }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--navy); }
.about-badge span { font-size: .8rem; color: var(--muted); }
.about-text { color: var(--muted); }
.check-item { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.check-item i { color: var(--green); font-size: 1.2rem; }
@media (max-width: 575.98px) { .about-visual { padding: 0 0 1.5rem 1rem; } .about-badge { right: 0; } }

/* ---------- Stats band ---------- */
.stats-band { padding: 64px 0; color: #fff; background: linear-gradient(120deg, rgba(11,45,71,.96), rgba(20,90,131,.92)), radial-gradient(circle at 20% 50%, var(--accent), transparent); position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; }
.stats-band .container { position: relative; z-index: 1; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { margin-top: .5rem; color: #cfe0ee; font-weight: 500; }

/* ---------- Service cards ---------- */
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: all .35s ease; isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--navy), var(--blue)); opacity: 0; transition: opacity .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; color: #d4e2ee; }
.service-card:hover::before { opacity: 1; }
.service-num { position: absolute; top: 1rem; right: 1.25rem; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--sky); transition: color .35s; }
.service-card:hover .service-num { color: rgba(255,255,255,.08); }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--sky); color: var(--blue); margin-bottom: 1.25rem; transition: all .35s; }
.service-card:hover .service-icon { background: var(--accent); color: var(--navy); transform: rotate(-8deg); }
.service-card h3 { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.35; transition: color .35s; }
.service-card:hover h3 { color: #fff; }
.service-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; transition: color .35s; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.service-card:hover p { color: #c9d8e6; }
.service-more { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--blue); display: inline-flex; gap: .35rem; align-items: center; transition: color .35s; }
.service-card:hover .service-more { color: var(--accent); }
.service-card-lg { padding: 2.25rem 2rem; }
.service-card-lg p { -webkit-line-clamp: 6; }
.service-hero-icon { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: var(--shadow); }

/* ---------- Thumb boxes & cards ---------- */
.thumb-box { overflow: hidden; background: var(--sky); }
.thumb-box > img { object-fit: cover; transition: transform .6s ease; }
.thumb-placeholder { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: rgba(255,255,255,.9); padding: 1rem; text-align: center;
    background: radial-gradient(circle at 80% 15%, rgba(242,165,65,.35), transparent 40%), linear-gradient(135deg, var(--navy), var(--blue)); }
.thumb-placeholder i { font-size: 2.6rem; }
.thumb-placeholder span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; opacity: .85; }

.project-card, .training-card, .post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: all .3s ease; }
.project-card:hover, .training-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.project-card:hover .thumb-box > img, .training-card:hover .thumb-box > img, .post-card:hover .thumb-box > img { transform: scale(1.06); }
.project-body, .training-body, .post-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-card h3, .training-card h3, .post-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: .75rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--blue); }
.training-body p, .post-body p { color: var(--muted); font-size: .92rem; }
.post-body .link-arrow { margin-top: auto; }
.card-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .4rem; }
.project-meta { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .84rem; color: var(--muted); }
.project-meta i { color: var(--blue); margin-right: .2rem; }

.status-badge, .type-badge { position: absolute; top: 14px; right: 14px; z-index: 2; width: auto !important; height: auto !important; left: auto !important; bottom: auto !important; padding: .3rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.status-ongoing, .status-upcoming { background: var(--accent); color: var(--navy); }
.status-completed { background: var(--green); color: #fff; }
.type-news { background: var(--blue); color: #fff; }
.type-blog { background: var(--green); color: #fff; }
.position-static.status-badge, .position-static.type-badge { position: static; }
.date-badge { position: absolute; left: 14px !important; top: 14px !important; width: auto !important; height: auto !important; z-index: 2; background: #fff; color: var(--muted); border-radius: 12px; padding: .45rem .7rem; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow-sm); }
.date-badge strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); }
.status-pill { display: inline-block; padding: .25rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status-pill.status-ongoing { background: #fff3e0; color: #a35f00; }
.status-pill.status-completed { background: #e3f4ee; color: #146b55; }

.post-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.post-meta i { color: var(--blue); margin-right: .2rem; }
.post-meta-lg { align-items: center; font-size: .9rem; }

/* ---------- Filter pills / tabs ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pills button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: all .2s; }
.filter-pills button:hover { border-color: var(--blue); color: var(--blue); }
.filter-pills button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-pills .count { display: inline-block; min-width: 22px; margin-left: .3rem; padding: 0 .4rem; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: .74rem; }
.filter-pills button.active .count { background: rgba(255,255,255,.18); color: #fff; }
.filter-item { transition: opacity .3s, transform .3s; }
.filter-item.is-hidden { display: none; }

.status-tabs { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; background: var(--soft); border-radius: 999px; border: 1px solid var(--line); }
.status-tabs a { padding: .5rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; }
.status-tabs a span { font-size: .75rem; background: #fff; color: var(--blue); border-radius: 999px; padding: .05rem .5rem; }
.status-tabs a:hover { color: var(--navy); }
.status-tabs a.active { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.status-tabs a.active span { background: var(--accent); color: var(--navy); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.filter-bar .form-select { width: auto; min-width: 180px; border-radius: 999px; }
.filter-search { position: relative; flex: 1 1 260px; }
.filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-search .form-control { padding-left: 2.6rem; border-radius: 999px; }
.form-control:focus, .form-select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 .2rem rgba(29,119,171,.15); }

/* ---------- Project table (dmwatch style) ---------- */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.project-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 1rem; border: 0; }
.project-table td { padding: 1rem; border-color: var(--line); }
.project-table tbody tr { transition: background .2s; }
.project-table tbody tr:hover { background: var(--soft); }
.project-link { font-weight: 600; color: var(--navy); }
.project-link:hover { color: var(--blue); text-decoration: underline; }
.pager-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.pager-bar .pagination { margin: 0; }
@media (max-width: 767.98px) {
    .project-table thead { display: none; }
    .project-table, .project-table tbody, .project-table tr, .project-table td { display: block; width: 100%; }
    .project-table tr { padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
    .project-table td { padding: .2rem 0; border: 0; }
    .project-table td[data-label="SL"] { display: none; }
    .filter-bar .form-select { flex: 1 1 45%; }
}
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-color: var(--blue); --bs-pagination-active-bg: var(--navy); --bs-pagination-active-border-color: var(--navy); gap: .3rem; flex-wrap: wrap; }
.pagination .page-link { border-radius: 10px !important; }

/* ---------- Reports ---------- */
.report-tile { display: flex; flex-direction: column; height: 100%; padding: 2rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #c9d8e6; transition: all .3s; }
.report-tile:hover { background: #fff; color: var(--muted); transform: translateY(-6px); }
.report-tile-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(242,165,65,.15); color: var(--accent); margin-bottom: 1.25rem; }
.report-tile-meta { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .5rem; }
.report-tile h3 { color: #fff; font-size: 1.15rem; line-height: 1.4; transition: color .3s; }
.report-tile:hover h3 { color: var(--navy); }
.report-tile p { font-size: .92rem; }
.report-tile-more { margin-top: auto; font-weight: 600; color: var(--accent); }
.report-tile:hover .report-tile-more { color: var(--blue); }

.report-row { display: flex; gap: 1.5rem; padding: 1.5rem; margin-bottom: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s; }
.report-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.report-cover { flex-shrink: 0; width: 130px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--sky); box-shadow: var(--shadow-sm); }
.report-cover img { width: 100%; height: 100%; object-fit: cover; }
.report-cover-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; color: #fff; background: linear-gradient(160deg, var(--navy), var(--blue)); }
.report-cover-ph i { font-size: 2.6rem; color: var(--accent); }
.report-cover-ph small { font-weight: 700; letter-spacing: .1em; }
.report-content { flex: 1; min-width: 0; }
.report-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.report-meta i { color: var(--blue); }
.chip { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--sky); color: var(--blue); font-weight: 600; font-size: .76rem; }
.report-content h2 { font-size: 1.2rem; line-height: 1.4; margin-bottom: .5rem; }
.report-content h2 a { color: var(--navy); }
.report-content h2 a:hover { color: var(--blue); }
.report-content p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 575.98px) { .report-row { flex-direction: column; } .report-cover { width: 100%; aspect-ratio: 16/9; } }

.pdf-viewer { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pdf-viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; }
.pdf-viewer-bar i { color: var(--accent); }
.pdf-viewer iframe { display: block; width: 100%; height: 80vh; min-height: 520px; border: 0; background: #525659; }

/* ---------- Clients ---------- */
.clients-swiper .swiper-slide { width: auto; }
.client-logo { height: 96px; display: grid; place-items: center; padding: 1rem 1.5rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.client-logo img { max-height: 60px; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.client-logo:hover img { filter: none; opacity: 1; }
.client-logo span { font-weight: 700; color: var(--muted); font-size: .9rem; text-align: center; }
.clients-swiper .swiper-wrapper { transition-timing-function: linear !important; }

.client-card { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s; }
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.client-card-logo { height: 90px; width: 100%; display: grid; place-items: center; margin-bottom: 1rem; }
.client-card-logo img { max-height: 84px; max-width: 85%; object-fit: contain; }
.client-card-logo i { font-size: 2.6rem; color: var(--blue); width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); }
.client-card h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .4rem; line-height: 1.35; }
.client-cat { font-size: .74rem; color: var(--muted); margin-top: auto; }

/* ---------- Page header & sub nav ---------- */
.page-header, .training-hero { position: relative; padding: 88px 0 80px; color: #fff; overflow: hidden;
    background: radial-gradient(circle at 85% 0%, rgba(29,119,171,.7), transparent 50%), radial-gradient(circle at 0% 100%, rgba(31,138,112,.35), transparent 40%), var(--navy); }
.page-header::before, .training-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.page-header.has-image::before, .training-hero.has-image::before { background: linear-gradient(90deg, rgba(7,31,51,.94), rgba(7,31,51,.7)), var(--ph-image) center/cover; mask-image: none; -webkit-mask-image: none; }
.page-header h1, .training-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 900px; margin: 0; }
.page-header .lead { color: #c9d8e6; max-width: 720px; margin: 1rem 0 0; font-size: 1.1rem; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: var(--accent); font-size: .86rem; margin-bottom: 1rem; }
.breadcrumb a { color: #c9d8e6; }
.breadcrumb a:hover { color: #fff; }
.training-hero { padding: 110px 0 96px; }
.training-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; color: #d4e2ee; }
.training-hero-meta i { color: var(--accent); margin-right: .3rem; }

.sub-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 78px; z-index: 1020; }
.sub-nav-inner { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.sub-nav-inner a { flex-shrink: 0; padding: 1rem 1.25rem; font-weight: 600; font-size: .92rem; color: var(--muted); border-bottom: 3px solid transparent; display: flex; gap: .45rem; align-items: center; }
.sub-nav-inner a:hover { color: var(--navy); }
.sub-nav-inner a.active { color: var(--navy); border-bottom-color: var(--accent); }

/* ---------- Sidebar cards ---------- */
.sticky-side { position: sticky; top: 110px; }
.side-card { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.side-card-accent { background: linear-gradient(150deg, var(--navy), var(--blue)); border: 0; color: #c9d8e6; }
.side-card-accent h3 { color: #fff; }
.side-card-accent .display-6 { color: var(--accent); }
.side-title { font-size: 1rem; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); position: relative; }
.side-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { margin-top: .25rem; }
.side-list a { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.4; }
.side-list a i { color: var(--blue); margin-top: .1rem; }
.side-list a:hover, .side-list a.active { background: var(--sky); color: var(--navy); }
.side-list a.active { box-shadow: inset 3px 0 0 var(--accent); font-weight: 700; }
.side-list-plain a { padding: .5rem 0; border-bottom: 1px dashed var(--line); border-radius: 0; }
.side-list-plain a:hover { background: none; color: var(--blue); }
.info-card dl { margin: 0 0 1.25rem; }
.info-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.info-card dd { font-weight: 600; margin-bottom: .85rem; }
.mini-post { display: flex; gap: .85rem; align-items: center; padding: .6rem 0; color: var(--ink); border-bottom: 1px dashed var(--line); }
.mini-post:last-child { border-bottom: 0; }
.mini-post-img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.mini-post-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-post strong { display: block; font-size: .9rem; line-height: 1.35; }
.mini-post small { color: var(--muted); }
.mini-post:hover strong { color: var(--blue); }

/* ---------- Share ---------- */
.share-box { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.share-box span { font-weight: 700; margin-right: .5rem; font-size: .9rem; }
.share-box a, .share-box button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); border: 0; transition: all .2s; }
.share-box a:hover, .share-box button:hover { background: var(--blue); color: #fff; }

/* ---------- Prose (rich text) ---------- */
.prose { color: #334155; font-size: 1.03rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin: 2rem 0 .85rem; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; } .prose h4 { font-size: 1.1rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.prose ul li::before { content: "\F26A"; font-family: bootstrap-icons; position: absolute; left: 0; top: .05rem; color: var(--green); }
.prose ol li { margin-bottom: .5rem; }
.prose img { height: auto; border-radius: 12px; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--soft); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; font-style: italic; }
.prose table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .95rem; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose table tr:nth-child(even) { background: var(--soft); }
.prose iframe { max-width: 100%; border-radius: 12px; }
.lead-text { font-size: 1.2rem; color: var(--navy); font-weight: 500; line-height: 1.6; border-left: 4px solid var(--accent); padding-left: 1rem; margin-bottom: 1.5rem; }

/* ---------- Team ---------- */
.team-group + .team-group { margin-top: 4rem; }
.team-group-title { display: flex; align-items: center; gap: 1rem; font-size: 1.3rem; margin-bottom: 2rem; }
.team-group-title::before, .team-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-card { text-align: center; }
.team-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--blue)); margin-bottom: 1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; color: rgba(255,255,255,.85); }
.team-social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .5rem; padding: 1rem; background: linear-gradient(transparent, rgba(7,31,51,.85)); transform: translateY(100%); transition: transform .35s; }
.team-card:hover .team-social, .team-card:focus-within .team-social { transform: none; }
.team-social a, .team-social button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); border: 0; }
.team-social a:hover, .team-social button:hover { background: var(--accent); }
.team-info h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-info p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Organogram ---------- */
.organogram-frame { position: relative; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; }
.organogram-frame img { border-radius: 10px; }
.zoom-hint { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(11,45,71,.85); color: #fff; font-size: .8rem; font-weight: 600; }

/* ---------- Process ---------- */
.process-step { position: relative; height: 100%; padding: 2rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.process-step > i { font-size: 2.2rem; color: var(--blue); display: block; margin-bottom: 1rem; }
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--muted); font-size: .92rem; margin: 0; }
.process-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--navy); font-weight: 800; font-family: var(--font-head); }

/* ---------- Posts (featured) ---------- */
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-featured-img .thumb-box { height: 100%; min-height: 300px; }
.post-featured-body { padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.post-featured-body h2 { font-size: 1.6rem; line-height: 1.3; margin: .9rem 0 .6rem; }
.post-featured-body h2 a { color: var(--navy); }
.post-featured-body p { color: var(--muted); }
@media (max-width: 991.98px) { .post-featured { grid-template-columns: 1fr; } .post-featured-body { padding: 1.5rem; } }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; }
.post-nav a { flex: 1; max-width: 48%; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); }
.post-nav a:hover { border-color: var(--blue); }
.post-nav a.next { text-align: right; margin-left: auto; }
.post-nav small { display: block; color: var(--muted); font-weight: 600; }
.post-nav span { font-weight: 600; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-card { height: 100%; padding: 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: all .3s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--sky); color: var(--blue); }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p, .contact-card a { color: var(--muted); margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--blue); }
.form-card { height: 100%; padding: 2.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-floating > .form-control { border-radius: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-card { height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-placeholder { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 2rem; text-align: center; background: var(--soft); color: var(--muted); }
.map-placeholder i { font-size: 3rem; color: var(--blue); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } }

/* ---------- Empty / error ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: #b6c7d6; display: block; margin-bottom: .75rem; }
.error-page { padding: 120px 0; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--navy), var(--blue) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb3c6; margin-top: 120px; }
.footer-cta { transform: translateY(-50%); margin-bottom: -60px; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.5rem 3rem; border-radius: 24px; color: #d4e2ee;
    background: radial-gradient(circle at 100% 0%, rgba(242,165,65,.4), transparent 45%), linear-gradient(120deg, var(--blue), var(--navy)); box-shadow: 0 25px 60px rgba(7,31,51,.35); }
.cta-box h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.85rem); margin-bottom: .4rem; max-width: 680px; }
.cta-box p { margin: 0; }
.footer-main { padding: 2rem 0 3.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.1rem; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; position: relative; padding-bottom: .75rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #9fb3c6; font-size: .92rem; transition: all .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: 1rem; font-size: .92rem; }
.footer-contact i { color: var(--accent); font-size: 1.05rem; }
.footer-contact a { color: #9fb3c6; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: all .2s; }
.footer-social a:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .85rem; }
.footer-bottom a { color: #9fb3c6; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 767.98px) { .cta-box { padding: 2rem 1.5rem; } }

/* ---------- Floating buttons ---------- */
.back-to-top, .whatsapp-float { position: fixed; right: 20px; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); transition: all .3s; }
.back-to-top { bottom: 20px; background: var(--accent); color: var(--navy); opacity: 0; visibility: hidden; transform: translateY(12px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); color: #fff; }
.whatsapp-float { bottom: 80px; background: #25d366; color: #fff; font-size: 1.45rem; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-slide .hero-kicker, .hero-slide .hero-title, .hero-slide .hero-text, .hero-slide .hero-actions { opacity: 1; transform: none; }
}
