/* =========================================================
   Jensina Group — design tokens
   Kept deliberately small: no utility framework, no unused
   CSS. Everything below is actually used somewhere in the
   Blade views. Light-blue brand tone -> elegant, airy feel.
   ========================================================= */

:root {
  --color-primary: #3ec6e0;
  --color-primary-dark: #1f9cb8;
  --color-primary-tint: #eaf9fc;
  --color-ink: #0f2733;
  --color-ink-soft: #46606b;
  --color-line: #dfeef2;
  --color-surface: #ffffff;
  --color-surface-alt: #f6fbfc;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 39, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 39, 51, 0.1);
  --container: 1160px;
  --header-h: 76px;
  --bottom-nav-h: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--color-ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-ink);
  color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary-dark); background: #fff; }
.btn-outline:hover { background: var(--color-primary-tint); }
.btn-ghost { color: var(--color-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--color-line); min-height: var(--header-h);
}
/* NOTE: intentionally no backdrop-filter here. filter/backdrop-filter
   creates a new CSS containing block for any position:fixed descendant —
   the mobile nav drawer below is fixed, so a blurred header would trap it
   inside the header's own (tiny) box instead of the full viewport,
   making the open menu invisible. A solid near-opaque background gives
   almost the same "glassy" look without that side effect. */
/* Header needs more breathing room than a normal content section (logo +
   5 nav links + a pill button + language switch + call button all sit on
   one row) — the shared .container's 1160px max-width was forcing those
   links to wrap mid-word, which is what made the header look "dented". */
.site-header .container { max-width: 1360px; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px; padding-block: 12px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; white-space: nowrap; flex-shrink: 0; }
/* logo-jensina.webp is a full lockup (skyline mark + wordmark) on a
   640x640 canvas with built-in breathing room, not a tight square icon,
   so it needs more display height than the old 40px icon to stay legible. */
.brand img { height: 54px; width: auto; flex-shrink: 0; }
.brand small { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: .7rem; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.main-nav a { font-weight: 600; font-size: .9rem; color: var(--color-ink-soft); padding: 6px 0; position: relative; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-primary-dark); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary);
}
.main-nav .btn { white-space: nowrap; padding: 10px 18px; font-size: .85rem; }

/* ---------- Header "Informasi" dropdown (native <details>, no JS needed to open/close) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9rem; color: var(--color-ink-soft); padding: 6px 0; white-space: nowrap;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown[data-active="true"] summary { color: var(--color-primary-dark); }
.nav-dropdown__caret { transition: transform .2s ease; flex-shrink: 0; }
.nav-dropdown[open] .nav-dropdown__caret { transform: rotate(180deg); }
.nav-dropdown__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 190px; z-index: 120;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px; display: flex; flex-direction: column; gap: 2px;
}
.nav-dropdown__panel a {
  padding: 9px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: .88rem;
  color: var(--color-ink-soft); white-space: nowrap;
}
.nav-dropdown__panel a:hover, .nav-dropdown__panel a[aria-current="page"] { background: var(--color-surface-alt); color: var(--color-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch { display: flex; border: 1px solid var(--color-line); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.lang-switch a { padding: 6px 12px; color: var(--color-ink-soft); white-space: nowrap; }
.lang-switch a[aria-current="true"] { background: var(--color-primary); color: #fff; }
/* Specificity note: .main-nav a (a class + an element) already outranks
   the plain .btn-primary class, so without this the call button's white
   text would get quietly overridden by the nav link color. */
.main-nav .nav-call { color: #fff; white-space: nowrap; padding: 10px 18px; font-size: .85rem; }

.nav-toggle { display: none; background: none; border: none; padding: 6px; flex-shrink: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--color-surface-alt); border-bottom: 1px solid var(--color-line); }
.breadcrumb { padding-block: 12px; font-size: .84rem; color: var(--color-ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; border-top: 1.5px solid #b7ccd2; border-right: 1.5px solid #b7ccd2;
  transform: rotate(45deg); margin: 0 10px; flex-shrink: 0;
}
.breadcrumb a { color: var(--color-ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-ink); font-weight: 600; }

/* =========================================================
   Seamless scroll sections
   Desktop: CSS scroll-snap gives that "one section per frame"
   feel without hijacking JS scroll (keeps it accessible &
   fast). Disabled below 900px so mobile scrolls naturally —
   snap on a phone timeline feels broken, not "seamless".
   ========================================================= */
.scroll-shell {
  scroll-snap-type: y proximity;
}
.snap-section {
  scroll-snap-align: start;
  padding-block: clamp(48px, 7vw, 96px);
}
@media (max-width: 899px) {
  .scroll-shell { scroll-snap-type: none; }
  .snap-section { scroll-snap-align: none; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero entrance: above-the-fold content shouldn't wait on scroll/JS to
   appear, so it animates in immediately via CSS on page load rather than
   through the IntersectionObserver-driven .reveal class used elsewhere. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoomFade {
  from { opacity: 0; transform: scale(.94) translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-in-text { animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) both; }
.hero-in-image { animation: heroZoomFade .8s cubic-bezier(.22, .61, .36, 1) .15s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in-text, .hero-in-image { animation: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--color-primary-tint), #fff 70%); }
.hero .container { max-width: 1320px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero__lede { font-size: 1.08rem; color: var(--color-ink-soft); max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hero__art { aspect-ratio: 4/3; }
.hero__art img { width: 100%; height: 100%; object-fit: contain; }
.hero__badges { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero__badge { font-size: .82rem; color: var(--color-ink-soft); display: flex; align-items: center; gap: 8px; }
.hero__badge b { color: var(--color-ink); font-family: var(--font-display); font-size: 1.4rem; }
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Section heading ---------- */
.section-head { max-width: 640px; margin-bottom: 36px; }
.eyebrow { display: inline-block; color: var(--color-primary-dark); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-alt { background: var(--color-surface-alt); }

/* ---------- Category / service grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 26px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--color-primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--color-primary-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.card__logo { width: 64px; height: 64px; border-radius: 12px; background: var(--color-primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; padding: 8px; }
.card__logo img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { font-size: 1.05rem; }
.card p { color: var(--color-ink-soft); font-size: .92rem; margin-bottom: 0; }

/* ---------- Service card (photo-led "Layanan Kami" cards) ----------
   Image fills the whole card as a background; the copy sits stacked on
   top of it behind a bottom-up gradient scrim, so the photo itself
   carries the section instead of sitting above a separate text block. */
.service-card {
  position: relative; display: block; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__img { position: absolute; inset: 0; background: var(--color-surface-alt); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 51, .12) 0%, rgba(15, 39, 51, .18) 35%, rgba(15, 39, 51, .92) 100%);
}
.service-card__body {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; padding: 22px 22px 24px; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.service-card__body h3 { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.service-card__body p { color: rgba(255, 255, 255, .88); font-size: .9rem; margin-bottom: 14px; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: #fff; }

/* ---------- Process steps (numbered "Cara Kami Bekerja") ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
@media (max-width: 899px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 8px; }
.process-step__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary-tint);
  color: var(--color-primary-dark); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: var(--color-ink-soft); font-size: .88rem; margin-bottom: 0; }

/* ---------- Product card ---------- */
.product-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-card__img { aspect-ratio: 4/3; background: var(--color-surface-alt); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 18px 20px 22px; }
.product-card__cat { font-size: .74rem; font-weight: 700; color: var(--color-primary-dark); text-transform: uppercase; letter-spacing: .04em; }
.product-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.product-card p { color: var(--color-ink-soft); font-size: .9rem; }

/* ---------- Product detail ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 899px) { .product-hero { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; background: var(--color-surface-alt); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs img { width: 74px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--color-line); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: .92rem; }
.spec-table th { width: 40%; color: var(--color-ink-soft); font-weight: 600; }
/* Article-style body: full container width, not boxed into the hero's
   half-column, so it reads like a news article once the photo ends. */
.product-article { border-top: 1px solid var(--color-line); padding-block: 34px 60px; margin-top: 10px; }
/* .prose defaults to a narrow 76ch reading column (right for the DB-content
   pages that reuse the class), but that read as "stuck at half width" here
   since the container is 1160px: the article body should use the full
   section width instead. */
.product-article .prose { max-width: none; }

/* Same fix for the shared pages/show.blade.php template (About, Privacy,
   Terms, custom SEO articles) — otherwise their content also gets capped
   to a 76ch column inside the 1160px container. */
.page-article .prose { max-width: none; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-chip { padding: 8px 16px; border: 1px solid var(--color-line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--color-ink-soft); }
.filter-chip[aria-current="true"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

/* ---------- Client logos (static grid, used on the /klien-kami page) ----------
   Source files are a fixed 500x250 canvas, so width/height attributes in
   the markup reserve that ratio for CLS, while object-fit here does the
   actual proportional scale-to-fit — without it, the browser stretches
   each logo to the old fixed 140x48 box and every mark looks squashed.
   Shown in full color, no grayscale treatment. */
.client-logo { display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px 20px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.client-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.client-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Client marquee (homepage, two rows scrolling opposite ways) ----------
   Each row's track holds the client list twice back to back; animating it
   from translateX(0) to translateX(-50%) then looping is what makes the
   seam invisible, since the second half is a pixel-identical copy of the
   first. Full color throughout, matching the /klien-kami page. */
.client-marquee { display: flex; flex-direction: column; gap: 26px; }
.client-marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: clientMarquee 36s linear infinite; }
.client-marquee__row--right .client-marquee__track { animation-direction: reverse; }
.client-marquee__row:hover .client-marquee__track { animation-play-state: paused; }
.client-marquee__track img { height: 92px; width: auto; object-fit: contain; flex-shrink: 0; }
@media (max-width: 560px) {
  .client-marquee__track img { height: 68px; }
}
@keyframes clientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .client-marquee__track { animation: none; }
  .client-marquee__row { overflow-x: auto; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-ink); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9d3da; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field textarea { padding: 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.alert-success { background: var(--color-primary-tint); border: 1px solid var(--color-primary); color: var(--color-primary-dark); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Prose (for DB content: about/privacy/terms/custom pages) ---------- */
.prose { max-width: 76ch; font-size: 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: #cfe4ea; padding-block: 56px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #cfe4ea; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: #8fb1ba; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #cfe4ea; flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--color-primary); color: #fff; }

/* ---------- Mobile nav ---------- */
/* Tagline hidden from 1180px down to 0 — it's the first thing to drop
   since space gets tight, and it must never render with nowrap at phone
   widths (that was the actual overflow bug: the tagline is long and
   .brand small has white-space:nowrap, so leaving it visible below
   900px forced the whole header row — and the page — wider than the
   viewport). */
@media (max-width: 1180px) {
  .brand small { display: none; }
}
@media (max-width: 1180px) and (min-width: 900px) {
  /* Desktop-ish squeeze only: drop the download-profile pill before going
     full mobile (lang switch + call button stay, they matter more).
     Below 900px the pill reappears as a normal item inside the drawer. */
  .main-nav > .nav-dropdown--profile { display: none; }
}
@media (max-width: 899px) {
  /* Below 900px, lang switch and the call button move off the header row
     entirely (they live inside .main-nav in the markup) so header-actions
     only ever holds the hamburger — that single element can never overflow
     a phone-width row, which is what the old fixed top-row version did
     once the tagline/pill/lang/call all had to share one line. */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 26px 24px; gap: 18px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; z-index: 150;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-call { align-self: stretch; justify-content: center; }
  .main-nav .lang-switch { margin-top: 4px; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__panel {
    position: static; margin-top: 6px; padding: 4px 0 0 14px; border: none; box-shadow: none;
  }
}

/* ---------- Bottom navbar (phones/small tablets only, <768px) ---------- */
.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  height: var(--bottom-nav-h); background: #fff;
  border-top: 1px solid var(--color-line); box-shadow: 0 -2px 14px rgba(15, 39, 51, .06);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: .66rem; font-weight: 600; color: var(--color-ink-soft);
}
.bottom-nav a i { font-size: 1.1rem; }
.bottom-nav a:hover, .bottom-nav a[aria-current="page"] { color: var(--color-primary-dark); }
.bottom-nav a.bottom-nav__whatsapp i { color: #25d366; }

/* Floating WhatsApp button: the ≥768px counterpart to .bottom-nav below. */
.whatsapp-float {
  display: none; position: fixed; right: 22px; bottom: 22px; z-index: 140;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(15, 39, 51, .22); transition: transform .15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); }

/* <768px: bottom bar with the 4 quick links. ≥768px: single floating
   WhatsApp button instead, bottom bar is not shown on tablet/desktop. */
@media (max-width: 767px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: var(--bottom-nav-h); }
}
@media (min-width: 768px) {
  .whatsapp-float { display: flex; }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--color-line); font-size: .88rem; }
.pagination a:hover { background: var(--color-primary-tint); }
