/* =====================================================================
   Huaxin Machinery — Editorial / Swiss-industrial design system
   Off-white paper, ink black, industrial orange accent.
   Type: Space Grotesk (display) + Inter (body). Pills + hairlines.
   ===================================================================== */
:root {
  --ink: #111113;
  --ink-2: #4c4c53;
  --ink-3: #8a8a92;
  --paper: #fafaf7;
  --paper-2: #f1f0ea;
  --line: #e3e1d9;
  --line-dark: rgba(255, 255, 255, .14);
  --accent: #ff4d00;
  --accent-dark: #e04300;
  --dark: #101014;
  --dark-2: #16161a;
  --font-display: 'Space Grotesk', 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.text-accent { color: var(--accent) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--ink-3) !important; }
.bg-paper-2 { background: var(--paper-2) !important; }
.bg-dark-ink { background: var(--dark) !important; }

/* ---------- Buttons: pills, ink & ghost ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .72rem 1.7rem;
  transition: all .22s var(--ease);
  border: 1.5px solid transparent;
}
.btn-lg { padding: .85rem 2.1rem; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover, .btn-ghost-light:focus { background: #fff; color: var(--ink); border-color: #fff; }
.btn .bi { transition: transform .22s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }

/* ---------- Text links with underline sweep ---------- */
.link-sweep {
  position: relative; font-weight: 600; font-size: .92rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: .45rem;
}
.link-sweep::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(.35); transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-sweep:hover::after { transform: scaleX(1); }
.link-sweep .bi { color: var(--accent); transition: transform .3s var(--ease); }
.link-sweep:hover .bi { transform: translateX(4px); }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .68); font-size: .76rem; letter-spacing: .06em; }
.topbar .divider { border-color: rgba(255, 255, 255, .16) !important; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent); }
.topbar .bi { color: var(--accent); margin-right: .35rem; }

/* ---------- Navbar ---------- */
.site-header {
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(17, 17, 19, .07); }
.brand-logo { height: 40px; width: auto; }
.navbar { padding: .65rem 0; }
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 600; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); padding: .8rem 1.05rem; position: relative; transition: color .2s;
}
.navbar-nav .nav-link:hover { color: var(--ink); }
.navbar-nav .nav-link.active { color: var(--ink); }
.navbar-nav .nav-link.active::after {
  content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: .35rem;
  height: 2px; background: var(--accent);
}
.navbar-toggler { border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; }
@media (max-width: 991px) {
  .navbar-nav .nav-link { padding: .55rem .1rem; font-size: .95rem; }
  .navbar-nav .nav-link.active::after { left: .1rem; right: auto; width: 1.4rem; bottom: .15rem; }
  .site-header .btn { margin-top: .8rem; }
}

/* ---------- Hero carousel: full-bleed, caption bottom-left ---------- */
.carousel-hero .carousel-item {
  height: min(80vh, 760px); min-height: 480px; background: var(--dark);
}
.carousel-hero .carousel-item > img { width: 100%; height: 100%; object-fit: cover; }
.carousel-hero .carousel-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16, 16, 20, .25) 0%, rgba(16, 16, 20, .05) 45%, rgba(16, 16, 20, .82) 100%);
}
.carousel-hero .carousel-caption {
  z-index: 2; text-align: left; padding: 0;
  left: 0; right: 0; bottom: 0; top: auto; transform: none;
}
.carousel-hero .carousel-caption .container { padding-bottom: 4.6rem; padding-top: 2rem; }
.hero-eyebrow {
  font-weight: 600; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: .9rem;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); display: inline-block; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 1.1rem; max-width: 15ch;
}
.hero-sub { font-size: clamp(.98rem, 1.4vw, 1.14rem); color: rgba(255, 255, 255, .72); max-width: 54ch; margin-bottom: 1.9rem; font-weight: 400; }
.carousel-hero .carousel-control-prev, .carousel-hero .carousel-control-next { width: 60px; opacity: .55; z-index: 3; }
.carousel-hero .carousel-control-prev:hover, .carousel-hero .carousel-control-next:hover { opacity: 1; }
.carousel-hero .carousel-indicators {
  margin-bottom: 2.2rem; left: auto; right: 4%;
  margin-right: 0; margin-left: 0; width: auto;
}
.carousel-hero .carousel-indicators [data-bs-target] {
  width: 34px; height: 2px; border-radius: 0; background: rgba(255, 255, 255, .35);
  border-top: 0; border-bottom: 0; opacity: 1; transition: background .2s;
}
.carousel-hero .carousel-indicators .active { background: var(--accent); }

/* ---------- Marquee band ---------- */
.marquee-band {
  background: var(--dark); color: #fff; overflow: hidden;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 1.05rem 0;
}
.marquee-track {
  display: flex; gap: 3.2rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .28em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections & editorial heads ---------- */
.section { padding: 6.5rem 0; }
.section-soft { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-weight: 600; font-size: .76rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.eyebrow.no-rule::before { display: none; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: .9rem;
}
.section-sub { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 0; max-width: 62ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- About split ---------- */
.about-media { position: relative; }
.about-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 4px; display: block;
}
.about-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 4px;
  outline: 1.5px solid var(--ink); outline-offset: -1.5px;
  transform: translate(16px, 16px); pointer-events: none; z-index: -0;
}
.about-badge {
  position: absolute; left: -1.6rem; bottom: 2.2rem;
  background: var(--accent); color: #fff; padding: 1.15rem 1.5rem; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(255, 77, 0, .3);
}
.about-badge strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; line-height: 1.05; letter-spacing: -0.02em;
}
.about-badge span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.about-lead {
  font-family: var(--font-display);
  font-size: 1.22rem; line-height: 1.6; color: var(--ink); font-weight: 500;
  letter-spacing: -0.01em;
}
.about-content p { line-height: 1.95; color: var(--ink-2); text-align: left; }
.about-content p:first-child::first-letter { color: var(--accent); font-weight: 700; }

/* 产品详情页大图（详情页图片） */
.detail-image { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.detail-image img { display: block; width: 100%; height: auto; }

/* 首页 01 产品分类卡片 */
.cat-card {
  display: block; height: 100%; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(17, 17, 19, .10); }
.cat-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-card-body { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 1.25rem 1.2rem; }
.cat-card-body h3 { margin: 0; font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.cat-card-body span { font-size: .84rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.cat-card:hover .cat-card-body span i { transform: translateX(3px); }
.cat-card-body span i { transition: transform .2s ease; }

/* ---------- Product cards: flat editorial ---------- */
.product-grid .product-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: #fff; color: inherit; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover {
  border-color: var(--ink); transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(17, 17, 19, .1);
}
.product-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.product-name {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.35; margin: .5rem 0 .3rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-desc {
  font-size: .865rem; color: var(--ink-3); margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-more {
  margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s;
}
.product-more .bi { transition: transform .25s var(--ease); color: var(--accent); }
.product-card:hover .product-more { color: var(--ink); }
.product-card:hover .product-more .bi { transform: translateX(5px); }

/* ---------- Category filter pills ---------- */
.cat-pill {
  display: inline-block; padding: .5rem 1.25rem; border: 1.5px solid var(--line);
  border-radius: 999px; color: var(--ink-2); font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; background: transparent; transition: all .2s var(--ease);
}
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Stats & capabilities (dark) ---------- */
.stats-section { background: var(--dark); padding: 6rem 0; position: relative; overflow: hidden; }
.stats-section::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
}
.stats-section .section-head h2 { color: #fff; }
.stats-section .section-sub { color: rgba(255, 255, 255, .6); }
.stats-band .stat {
  padding: 1.4rem 0 1.8rem; border-top: 1px solid var(--line-dark);
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.03em; color: #fff;
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label {
  color: rgba(255, 255, 255, .6); font-size: .82rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; margin-top: .45rem;
}
.advantage-card {
  border: 1px solid var(--line-dark); border-radius: 4px; padding: 1.9rem 1.6rem;
  height: 100%; transition: .25s var(--ease); background: rgba(255, 255, 255, .025);
}
.advantage-card:hover { background: rgba(255, 255, 255, .06); transform: translateY(-4px); }
.advantage-icon {
  width: 46px; height: 46px; border-radius: 4px; background: var(--accent); color: #fff;
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.advantage-index {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; color: rgba(255, 255, 255, .35);
}
.advantage-card h3 {
  font-size: 1.08rem; color: #fff; font-weight: 600; margin-bottom: .55rem; letter-spacing: -0.01em;
}
.advantage-card p { color: rgba(255, 255, 255, .62); font-size: .9rem; margin: 0; line-height: 1.75; }

/* ---------- Inner page head ---------- */
.page-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head .container { padding: 4.2rem 0 3.4rem; }
.page-crumb {
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.3rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.page-crumb a { color: var(--ink-2); }
.page-crumb a:hover { color: var(--accent); }
.page-crumb .bi { font-size: .6rem; }
.page-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 .7rem;
  max-width: 22ch;
}
.page-head .page-sub {
  font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.page-head .page-intro { color: var(--ink-2); max-width: 62ch; margin-bottom: 0; font-size: 1.02rem; }

/* ---------- Product detail ---------- */
.detail-crumbs .cat-breadcrumb { font-size: .85rem; color: var(--ink-3); }
.detail-crumbs .cat-breadcrumb a { color: var(--ink-2); }
.detail-crumbs .cat-breadcrumb a:hover { color: var(--accent); }
.detail-crumbs .cat-breadcrumb .bi { font-size: .62rem; margin: 0 .5rem; }
.detail-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; }
.spec-table { --bs-table-striped-bg: transparent; }
.spec-table th, .spec-table td {
  padding: .78rem .35rem; font-size: .92rem; border-color: var(--line);
}
.spec-table th { font-weight: 500; color: var(--ink-3); }
.spec-table td { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.detail-tabs .nav-link {
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  color: var(--ink-3); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .9rem 1.4rem; background: transparent; margin-bottom: -1px;
}
.detail-tabs .nav-link:hover { color: var(--ink); }
.detail-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--accent); background: transparent; }
.detail-tab-content { border: 0 !important; border-radius: 0 !important; padding: 2.2rem 0 0 !important; box-shadow: none !important; }
.detail-points { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.detail-points .bi { color: var(--accent); margin-right: .4rem; }
.gallery-main {
  border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #fff;
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-thumb {
  width: 84px; height: 64px; padding: 2px; border: 1.5px solid var(--line);
  border-radius: 3px; background: #fff; overflow: hidden; flex: 0 0 auto; transition: border-color .2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

/* ---------- Contact ---------- */
.contact-info-card { padding: 1.8rem 0 0; border-top: 2px solid var(--ink); height: 100%; }
.contact-info-card .bi {
  width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line);
  color: var(--accent); font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.contact-info-card h3 {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .5rem;
}
.contact-info-card p { color: var(--ink); font-size: 1rem; font-weight: 500; margin: 0; word-break: break-word; line-height: 1.55; }
.contact-form-card { border: 1px solid var(--line); border-radius: 4px; padding: 2.4rem; background: #fff; }
.contact-aside {
  background: var(--dark); color: rgba(255, 255, 255, .75); border-radius: 4px;
  padding: 2.2rem; height: 100%;
}
.contact-aside h3 { color: #fff; font-size: 1.15rem; }
.contact-aside ul li { display: flex; gap: .8rem; margin-bottom: 1.05rem; font-size: .92rem; }
.contact-aside ul .bi { color: var(--accent); font-size: 1.05rem; margin-top: .15rem; }
.contact-aside .bg-note {
  background: rgba(255, 77, 0, .12); border: 1px solid rgba(255, 77, 0, .35);
  color: #ffb595; border-radius: 4px;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* forms: minimal underline inputs */
.form-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 3px; padding: .68rem .9rem;
  font-size: .95rem; background: #fff; color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--ink); box-shadow: none;
}
textarea.form-control { min-height: 90px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #fff; position: relative; overflow: hidden; padding: 5.5rem 0; }
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 77, 0, .14);
  filter: blur(4px);
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -120px;
  width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1);
}
.cta-band h2 {
  font-family: var(--font-display); color: #fff; font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.025em;
  max-width: 22ch; margin-bottom: .8rem;
}
.cta-band p { color: rgba(255, 255, 255, .62); font-size: 1.02rem; max-width: 56ch; margin-bottom: 0; }
.cta-band .position-relative { z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); font-size: .92rem; border-top: 3px solid var(--accent); }
.footer-brand {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  font-size: 1.7rem; color: #fff; line-height: 1.1;
}
.footer-brand small {
  display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .5em; color: var(--accent); margin-top: .45rem; text-transform: uppercase;
}
.site-footer h6 {
  color: #fff; font-weight: 600; font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.site-footer a { color: rgba(255, 255, 255, .62); transition: .2s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .bi { color: var(--accent); margin-right: .6rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; margin-right: .55rem;
  transition: .2s;
}
.footer-social a .bi { color: #fff; margin: 0; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255, 255, 255, .42); }

/* ---------- Pagination ---------- */
.pagination { gap: .3rem; }
.pagination .page-link {
  color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px !important;
  font-weight: 600; font-size: .88rem; margin: 0; min-width: 42px; text-align: center;
  transition: .2s;
}
.pagination .page-link:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-link:focus { box-shadow: none; }

/* ---------- Empty / 404 states ---------- */
.empty-state .bi { color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 4.5rem 0; }
  .about-media::after { transform: translate(10px, 10px); }
  .about-badge { left: 1rem; bottom: -1.3rem; }
  .stats-section { padding: 4rem 0; }
  .contact-form-card { padding: 1.5rem; }
}
@media (max-width: 575px) {
  .section { padding: 3.4rem 0; }
  .hero-title { max-width: 100%; }
  .cta-band .text-lg-end { text-align: left !important; }
}
