/* =====================================================================
   MASCOM - modern public design (templates-modern). Bootstrap 5 + this file.
   ===================================================================== */
:root {
    --ink: #0b1530;
    --ink-2: #26324d;
    --muted: #5d6b85;
    --line: #e5eaf2;
    --soft: #f5f8fc;
    --brand: #0a6cdc;
    --brand-2: #10b39a;
    --brand-ink: #0754ad;
    --navy: #0b1530;
    --navy-2: #12224a;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(11, 21, 48, .06), 0 1px 3px rgba(11, 21, 48, .04);
    --shadow: 0 10px 30px -12px rgba(11, 21, 48, .18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 21, 48, .30);
    --gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    --header-h: 76px;
    --bs-body-font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--ink-2);
    --bs-link-color-rgb: 10, 108, 220;
    --bs-link-hover-color-rgb: 7, 84, 173;
}

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: var(--bs-body-font-family); color: var(--ink-2); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
a { text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(10, 108, 220, .18); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; }
.btn-brand { color: #fff; background: var(--gradient); border: 0; box-shadow: 0 8px 20px -8px rgba(10, 108, 220, .6); }
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(10, 108, 220, .7); }
.btn-brand:disabled { opacity: .7; transform: none; }
.btn-outline-brand { color: var(--brand); border: 1.5px solid rgba(10, 108, 220, .35); background: #fff; }
.btn-outline-brand:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.btn-light { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 21, 48, .45); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.navbar-brand img { height: 44px; width: auto; }
.main-nav .nav-link { position: relative; font-weight: 600; color: var(--ink-2); padding: .5rem 1rem !important; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.main-nav .nav-link:hover { color: var(--brand); background: rgba(10, 108, 220, .06); }
.main-nav .nav-link.active { color: var(--brand); background: rgba(10, 108, 220, .1); }
.lang-switch { display: inline-flex; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { font-size: .78rem; font-weight: 700; color: var(--muted); padding: .3rem .65rem; border-radius: 999px; line-height: 1; }
.lang-switch a.active { color: #fff; background: var(--ink); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--ink); padding: 0 .25rem; box-shadow: none !important; }
.mobile-nav { --bs-offcanvas-width: min(320px, 86vw); }
.mobile-link { display: block; padding: .9rem 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------- Common sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 64px 0 96px; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); background: rgba(10, 108, 220, .08); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow-light { color: #9fd8ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.15; margin-bottom: 1.25rem; }
.section-text { font-size: 1.08rem; line-height: 1.8; color: var(--muted); margin-bottom: 2rem; }
.anchor-alias { position: absolute; top: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #dbe6ff; background: radial-gradient(1200px 600px at 85% -10%, #1d3b8a 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 120px 0 130px; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 110px); }
.site-header.is-home:not(.is-scrolled) { background: transparent; backdrop-filter: none; }
.site-header.is-home:not(.is-scrolled) .main-nav .nav-link { color: rgba(255, 255, 255, .85); }
.site-header.is-home:not(.is-scrolled) .main-nav .nav-link:hover,
.site-header.is-home:not(.is-scrolled) .main-nav .nav-link.active { color: #fff; background: rgba(255, 255, 255, .12); }
.site-header.is-home:not(.is-scrolled) .navbar-brand img { filter: brightness(0) invert(1); }
.site-header.is-home:not(.is-scrolled) .navbar-toggler { color: #fff; }
.site-header.is-home:not(.is-scrolled) .lang-switch { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.site-header.is-home:not(.is-scrolled) .lang-switch a { color: rgba(255, 255, 255, .75); }
.site-header.is-home:not(.is-scrolled) .lang-switch a.active { color: var(--ink); background: #fff; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: #0a6cdc; top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #10b39a; bottom: -200px; left: -120px; animation-delay: -6s; opacity: .35; }
.blob.b3 { width: 260px; height: 260px; background: #7c5cff; top: 40%; left: 45%; animation-delay: -11s; opacity: .25; }
.grid-lines { 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: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
.hero-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; font-weight: 800; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.12rem; line-height: 1.8; color: #b7c6e6; max-width: 620px; margin-bottom: 2.25rem; }
.hero-panel { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 28px; backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.hero-panel-title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb3dc; margin-bottom: 16px; }
.hero-areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-areas li { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: transform .25s ease, background-color .25s ease; }
.hero-areas li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
.hero-areas .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; flex: none; }
.ico.i1 { background: linear-gradient(135deg, #0a6cdc, #3aa0ff); }
.ico.i2 { background: linear-gradient(135deg, #7c5cff, #b18cff); }
.ico.i3 { background: linear-gradient(135deg, #10b39a, #4fe0c4); }
.ico.i4 { background: linear-gradient(135deg, #f0563c, #ff9a6b); }
.ico.i5 { background: linear-gradient(135deg, #e3a008, #ffd25a); }
.hero-motto { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .18); color: #cfe0ff; font-style: italic; }
.hero-motto .bi { font-size: 1.6rem; color: var(--brand-2); }

/* ---------- About ---------- */
.about-visual { position: relative; border-radius: 28px; background: linear-gradient(145deg, #eef5ff, #e9fbf7); padding: 40px 40px 104px; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: auto; display: block; }
.about-badge { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid rgba(11, 21, 48, .06); border-radius: 16px; padding: 12px 16px; box-shadow: 0 8px 20px -10px rgba(11, 21, 48, .25); max-width: calc(100% - 48px); }
.about-badge small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.about-badge strong { color: var(--ink); font-size: .95rem; }
.about-badge-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--gradient); flex: none; }

/* ---------- Solutions ---------- */
.solution-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.solution-card:before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.solution-card:hover:before { transform: scaleX(1); }
.solution-img { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; background: var(--soft); margin-bottom: 22px; box-shadow: inset 0 0 0 1px rgba(11, 21, 48, .05); }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.solution-card:hover .solution-img img { transform: scale(1.08); }
.solution-card h3 { font-size: 1.3rem; margin-bottom: .65rem; }
.solution-card p { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink-2); }
.check-list li:before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: var(--brand); background: rgba(10, 108, 220, .1); }

/* ---------- CTA + contact form ---------- */
.cta-section { overflow: hidden; color: #cfdcf7; background: linear-gradient(155deg, var(--navy) 0%, #0d2a5c 100%); }
.cta-title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.18; margin-bottom: 1.25rem; }
.cta-text { font-size: 1.1rem; line-height: 1.8; color: #b7c6e6; margin-bottom: 2rem; }
.cta-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cta-contacts li { display: flex; gap: 14px; align-items: flex-start; }
.cta-contacts .bi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #8fd3ff; flex: none; font-size: 1.05rem; }
.cta-contacts a, .cta-contacts span { color: #e3ebff; padding-top: 8px; }
.cta-contacts a:hover { color: #fff; text-decoration: underline; }
.form-card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-control { border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: .8rem 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 108, 220, .12); }
.form-result:empty { display: none; }
.form-result { border-radius: var(--radius-sm); padding: .75rem 1rem; font-weight: 500; font-size: .92rem; }
.form-result.is-ok { color: #0b6b4f; background: #e3f8f1; }
.form-result.is-error { color: #a1321f; background: #fdecea; }
.mc-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Partner logos ---------- */
.partners { padding: 48px 0; border-bottom: 1px solid var(--line); background: #fff; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 56px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 36px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- Post cards ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: #a9b8d3; background: linear-gradient(135deg, #eef4ff, #eafaf6); }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: .6rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-arrow .bi { transition: transform .2s ease; }
.link-arrow:hover .bi-arrow-right { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; color: var(--brand-ink); background: rgba(10, 108, 220, .08); padding: .22rem .65rem; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.chip:hover { color: #fff; background: var(--brand); }
.chip-lg { font-size: .85rem; padding: .4rem .85rem; }

/* ---------- Quote band ---------- */
.quote-band { padding: 0 0 110px; }
.quote-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 56px; border-radius: 28px; background: var(--gradient); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.quote-inner:after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.quote-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; max-width: 560px; position: relative; z-index: 1; }
.quote-inner .d-flex { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero, .article-hero { position: relative; overflow: hidden; color: #b7c6e6; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 72px 0 80px; }
.hero-glow { position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 108, 220, .55), transparent 65%); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-hero .lead { color: #b7c6e6; margin: .75rem 0 0; max-width: 640px; }
.breadcrumb { --bs-breadcrumb-divider-color: #6f80a6; --bs-breadcrumb-item-active-color: #dbe6ff; margin-bottom: 1rem; font-size: .9rem; }
.breadcrumb a { color: #9fb3dc; }
.breadcrumb a:hover { color: #fff; }
.article-hero { padding-bottom: 64px; }
.article-title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.2; max-width: 900px; margin-bottom: 1.25rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; color: #b7c6e6; font-size: .95rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; color: #fff; background: var(--gradient); margin-right: 4px; }

/* ---------- Article ---------- */
.article { background: #fff; border-radius: 24px; padding: 40px; margin-top: 0; position: relative; box-shadow: var(--shadow); border: 1px solid var(--line); }
.article-cover { margin: 0 0 32px; border-radius: 18px; overflow: hidden; }
.article-cover img { width: 100%; height: auto; display: block; }
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin: 2.2rem 0 1rem; line-height: 1.3; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose p { margin-bottom: 1.25rem; }
.prose img { height: auto; border-radius: 14px; margin: 1rem 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--soft); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose iframe, .prose video { max-width: 100%; border-radius: 14px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.5rem; font-weight: 600; color: var(--ink); }
.article-share span { margin-right: 6px; }
.article-share a, .article-share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); transition: all .2s ease; }
.article-share a:hover, .article-share button:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.article-share button.copied { color: #fff; background: var(--brand-2); border-color: var(--brand-2); }

/* ---------- Sidebar ---------- */
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.side-cta { color: #cfdcf7; background: linear-gradient(155deg, var(--navy), #0d2a5c); border: 0; }
.side-cta h4 { color: #fff; font-size: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.search-box { position: relative; }
.search-box .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .form-control { padding-left: 44px; border-radius: 999px; }

/* ---------- Pagination ---------- */
.pagination-modern { gap: 8px; }
.pagination-modern .page-link { border: 1px solid var(--line); border-radius: 12px !important; min-width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); font-weight: 600; }
.pagination-modern .page-item.active .page-link { color: #fff; background: var(--gradient); border-color: transparent; }
.pagination-modern .page-link:hover { color: var(--brand); background: var(--soft); }

/* ---------- Status pages (404, newsletter) ---------- */
.status-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 16px; background: radial-gradient(800px 400px at 50% 0%, #eef4ff, #fff 70%); }
.status-card { max-width: 560px; text-align: center; }
.status-code { font-size: clamp(5rem, 14vw, 8rem); font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }
.status-card h1 { font-size: 1.9rem; }
.status-card p { color: var(--muted); font-size: 1.05rem; }
.status-ico { width: 84px; height: 84px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2.6rem; color: #fff; background: var(--gradient); margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.status-ico.is-warn { background: linear-gradient(135deg, #f0563c, #ff9a6b); }
.empty-state { text-align: center; color: var(--muted); padding: 48px 0; }
.empty-state .bi { font-size: 2.5rem; color: #a9b8d3; }

/* ---------- Report modal ---------- */
.report-modal { border: 0; border-radius: 24px; box-shadow: var(--shadow-lg); }
.report-ico { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--gradient); }

/* ---------- Footer ---------- */
.site-footer { color: #9fb0d0; background: #070f24; padding: 80px 0 0; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 1.2rem; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-legal { font-size: .9rem; line-height: 1.6; }
.social { display: flex; gap: 10px; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); transition: background-color .2s ease, transform .2s ease; }
.social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-contact, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .93rem; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .bi { color: var(--brand-2); margin-top: 2px; }
.site-footer a { color: #c9d6f0; }
.site-footer a:hover { color: #fff; }
.newsletter-form .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px 0 0 999px; }
.newsletter-form .form-control::placeholder { color: #7f8fb0; }
.newsletter-form .btn { border-radius: 0 999px 999px 0; padding: 0 1.1rem; }
.newsletter-form .form-result.is-ok { color: #8ff0cf; background: rgba(16, 179, 154, .12); }
.newsletter-form .form-result.is-error { color: #ffb4a6; background: rgba(240, 86, 60, .12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .blob { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 80px 0; }
    .hero { padding-bottom: 90px; padding-top: calc(var(--header-h) + 60px); }
    .article { padding: 28px; }
    .blog-sidebar { position: static; }
}
@media (max-width: 575.98px) {
    :root { --header-h: 64px; }
    .container { padding-left: 20px; padding-right: 20px; }
    .navbar-brand img { height: 36px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .hero-panel { padding: 20px; }
    .form-card { padding: 24px; }
    .quote-inner { padding: 32px 24px; }
    .article { padding: 22px 18px; margin-top: 0; border-radius: 18px; }
    .about-visual { padding: 24px 24px 96px; }
    .about-badge { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
    .footer-bottom { flex-direction: column-reverse; }
}
