/* Pete's Pumba Safaris — main stylesheet
   Colours are overridden at runtime from Settings (primaryColor / accentColor / highlightColor). */
:root {
  --primary: #1e7b34;
  --primary-dark: #145a25;
  --accent: #f2c200;
  --highlight: #d62828;
  --ink: #1d1a14;
  --ink-soft: #5b5446;
  --sand: #f7f1e6;
  --sand-2: #efe5d2;
  --earth: #2b2118;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 33, 24, .10);
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 16.5px; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); font-weight: 600; letter-spacing: .3px; line-height: 1.2; color: var(--ink); }
a { color: var(--primary); text-decoration: none; transition: .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
section { padding: 90px 0; position: relative; }
.bg-sand { background: var(--sand); }
.bg-earth { background: var(--earth); color: #eadfcb; }
.bg-earth h2, .bg-earth h3 { color: #fff; }

/* Loader */
#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--sand); display: grid; place-items: center; transition: opacity .4s; }
#preloader img { width: 90px; height: 90px; border-radius: 50%; animation: pulse 1.2s infinite ease-in-out; }
#preloader.hide { opacity: 0; pointer-events: none; }
@keyframes pulse { 50% { transform: scale(.88); } }

/* Buttons */
.btn-safari { background: var(--primary); color: #fff; border: 2px solid var(--primary); padding: 12px 28px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: .25s; }
.btn-safari:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--ink); border: 2px solid var(--accent); padding: 12px 28px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: .25s; }
.btn-accent:hover { filter: brightness(.95); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .85); color: #fff; padding: 12px 28px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline-safari { border: 2px solid var(--primary); color: var(--primary); padding: 10px 24px; border-radius: 50px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.btn-outline-safari:hover { background: var(--primary); color: #fff; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 997; padding: 14px 0; transition: .3s; background: transparent; }
.site-header.scrolled, body:not(.has-hero) .site-header { background: rgba(29, 26, 20, .96); padding: 8px 0; box-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.site-header .container-xl { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1399px) { .site-header .brand small { display: none; } }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--accent); background: #fff; }
.brand .name { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.brand .name span { color: var(--accent); }
.brand small { display: block; font-size: 11px; color: rgba(255, 255, 255, .75); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; font-family: var(--font-body); }
.header-cta { white-space: nowrap; padding: 9px 20px; font-size: 14px; }

.navmenu ul { list-style: none; margin: 0; padding: 0; }
.navmenu > ul { display: flex; align-items: center; gap: 2px; }
.navmenu a { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: 15px; padding: 10px 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.navmenu a:hover, .navmenu a.active, .navmenu li:hover > a { color: var(--accent); }
.navmenu .dropdown { position: relative; }
.navmenu .dropdown ul { position: absolute; left: 0; top: 100%; background: #fff; min-width: 230px; border-radius: 10px; box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 99; }
.navmenu .dropdown ul a { color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 9px 18px; }
.navmenu .dropdown ul a:hover, .navmenu .dropdown ul a.active { color: var(--primary); background: var(--sand); }
.navmenu .dropdown:hover > ul { opacity: 1; visibility: visible; transform: none; }
.navmenu .dropdown ul .dropdown ul { left: 100%; top: 0; }
.mobile-toggle { display: none; color: #fff; font-size: 30px; cursor: pointer; background: none; border: 0; line-height: 1; }

@media (max-width: 1199px) {
  .mobile-toggle { display: block; }
  .header-cta { display: none; }
  .navmenu { position: fixed; inset: 0; background: rgba(20, 16, 12, .85); display: none; z-index: 998; }
  .navmenu > ul { position: absolute; inset: 70px 16px auto 16px; flex-direction: column; align-items: stretch; background: #fff; border-radius: 12px; padding: 10px 0; max-height: calc(100vh - 100px); overflow-y: auto; }
  .navmenu a { color: var(--ink); justify-content: space-between; padding: 11px 20px; }
  .navmenu a:hover, .navmenu a.active, .navmenu li:hover > a, .navmenu .dropdown.open > a { color: var(--primary); }
  .navmenu .dropdown ul, .navmenu .dropdown ul .dropdown ul { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: var(--sand); margin: 0 14px; border-radius: 8px; }
  .navmenu .dropdown.open > ul { display: block; }
  body.nav-open .navmenu { display: block; }
  body.nav-open .mobile-toggle { position: fixed; right: 18px; top: 16px; z-index: 999; }
}

/* Hero */
.hero { min-height: 100vh; padding: 140px 0 80px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg, .hero-bg .slide, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06); }
.hero-bg .slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 14, 8, .82) 0%, rgba(20, 14, 8, .45) 55%, rgba(20, 14, 8, .25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.3rem); text-transform: uppercase; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .9); max-width: 620px; margin-bottom: 30px; }
.hero .eyebrow { color: var(--accent); }
.hero-form { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); border-top: 6px solid var(--accent); }
.hero-form h3 { font-size: 1.5rem; margin-bottom: 18px; }
.form-label { font-weight: 700; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.form-control, .form-select { border-radius: 10px; padding: 11px 14px; border-color: #ddd3c2; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(30, 123, 52, .15); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 5px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .4); }
.hero-dots button.active { background: var(--accent); }

/* Page header (inner pages) */
.page-header { padding: 170px 0 90px; color: #fff; background-size: cover; background-position: center; text-align: center; }
.page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 8, .75), rgba(20, 14, 8, .55)); }
.page-header .container { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); text-transform: uppercase; }
.page-header p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin: 0; }
.breadcrumbs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: center; gap: 8px; font-size: 14px; }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .6); }

/* Section titles */
.eyebrow { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; color: var(--primary); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-title h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 12px; text-transform: uppercase; }
.section-title p { color: var(--ink-soft); margin: 0; }

/* Intro / why us */
.intro-img { position: relative; }
.intro-img img { border-radius: 20px; width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.intro-img .badge-logo { position: absolute; right: -18px; bottom: -18px; width: 130px; height: 130px; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; }
.stat { text-align: center; padding: 18px 10px; border-radius: 14px; background: var(--sand); }
.stat .num { font-family: var(--font-head); font-size: 2.3rem; color: var(--primary); font-weight: 700; line-height: 1; }
.stat .lbl { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; margin-top: 6px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; transition: .25s; }
.feature:hover { transform: translateY(-4px); }
.feature i { font-size: 26px; color: var(--ink); background: var(--accent); width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.feature h4 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Destination cards */
.dest-card { position: relative; border-radius: 18px; overflow: hidden; display: block; height: 360px; color: #fff; box-shadow: var(--shadow); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 10, 5, .88)); }
.dest-card .info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.dest-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: 4px; }
.dest-card p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.dest-card .region { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 700; }
.dest-card .price { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--accent); color: var(--ink); padding: 4px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 800; }
.dest-card.lg { height: 100%; min-height: 360px; }

/* Tour cards */
.tour-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: .3s; }
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43, 33, 24, .16); }
.tour-card .thumb { position: relative; height: 230px; overflow: hidden; }
.tour-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tour-card:hover .thumb img { transform: scale(1.07); }
.tour-card .badge-top { position: absolute; top: 14px; left: 14px; background: var(--highlight); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 30px; text-transform: uppercase; letter-spacing: .5px; }
.tour-card .cat { position: absolute; bottom: 14px; left: 14px; background: rgba(255, 255, 255, .95); color: var(--primary); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 30px; }
.tour-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tour-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tour-card h3 a { color: var(--ink); }
.tour-card h3 a:hover { color: var(--primary); }
.tour-card .meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; }
.tour-card .meta i { color: var(--primary); }
.tour-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.tour-card .foot { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px dashed #e3d8c4; padding-top: 14px; margin-top: 6px; gap: 10px; }
.price-tag small { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.price-tag strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--primary); }
.price-tag .kes { font-size: 13px; color: var(--ink-soft); font-weight: 700; }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { border: 2px solid #e1d6c2; background: #fff; padding: 8px 20px; border-radius: 30px; font-weight: 700; color: var(--ink-soft); }
.filters button.active, .filters button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Wildlife strip */
.wild-item { position: relative; border-radius: 16px; overflow: hidden; height: 220px; display: block; }
.wild-item img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.wild-item:hover img { transform: scale(1.08); }
.wild-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }

/* Testimonials */
.testimonial { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); height: 100%; position: relative; }
.testimonial .quote { position: absolute; right: 24px; top: 18px; font-size: 52px; color: var(--sand-2); line-height: 1; }
.testimonial .stars { color: #f0a500; margin-bottom: 10px; }
.testimonial p { color: var(--ink-soft); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .who img, .testimonial .who .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.testimonial .who strong { display: block; }
.testimonial .who small { color: var(--ink-soft); }

/* CTA */
.cta { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 120px 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 8, .7); }
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
.cta p { max-width: 640px; margin: 0 auto 30px; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }

/* Blog */
.post-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.post-card .thumb { height: 220px; overflow: hidden; display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: 13px; color: var(--ink-soft); font-weight: 700; margin-bottom: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.read-more { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.article { font-size: 1.07rem; }
.article img.cover { width: 100%; border-radius: 18px; max-height: 480px; object-fit: cover; margin-bottom: 26px; }
.sidebar-box { background: var(--sand); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 1.2rem; margin-bottom: 14px; }
.side-post { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.side-post img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.side-post a { color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.35; }

/* Details pages */
.detail-hero-img { width: 100%; height: 440px; object-fit: cover; border-radius: 20px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #dccfb8; font-size: 15px; }
.info-list li span:first-child { color: var(--ink-soft); font-weight: 700; }
.info-list li span:last-child { text-align: right; font-weight: 700; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 5px 0 5px 30px; position: relative; }
.check-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--primary); }
.x-list li::before { content: "\F623"; color: var(--highlight); }
.timeline { border-left: 3px solid var(--sand-2); margin-left: 10px; padding-left: 28px; }
.timeline .step { position: relative; margin-bottom: 26px; }
.timeline .step::before { content: ""; position: absolute; left: -38px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); border: 3px solid var(--primary); }
.timeline .day { font-weight: 800; font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.timeline h4 { font-size: 1.15rem; margin: 2px 0 6px; }
.timeline p { color: var(--ink-soft); margin: 0; }
.booking-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 26px; border-top: 6px solid var(--accent); position: sticky; top: 100px; }
.mini-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; }
.tag { display: inline-block; background: var(--sand); padding: 5px 14px; border-radius: 30px; font-size: 13px; font-weight: 700; margin: 0 6px 8px 0; color: var(--ink-soft); }

/* Gallery */
.gallery-item { display: block; border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; transition: .3s; }
.gallery-item:hover .cap { opacity: 1; }

/* Contact */
.contact-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 24px; height: 100%; display: flex; gap: 16px; }
.contact-card i.ic { font-size: 22px; color: var(--ink); background: var(--accent); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0 0 4px; display: block; color: var(--ink-soft); font-weight: 600; }
.contact-card a:hover { color: var(--primary); }
.person-card { background: var(--sand); border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: center; }
.person-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #fff; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 18px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.form-msg.ok { display: block; background: #e3f4e6; color: #166b2c; }
.form-msg.err { display: block; background: #fde5e5; color: #a11; }

/* About */
.value-box { text-align: center; padding: 30px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); height: 100%; }
.value-box i { font-size: 30px; width: 70px; height: 70px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sand); color: var(--primary); margin-bottom: 14px; }
.team-card { text-align: center; background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); height: 100%; }
.team-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 5px solid var(--sand); }
.mv-box { border-radius: 18px; padding: 30px; height: 100%; }

/* FAQ */
.accordion-button { font-weight: 700; font-family: var(--font-body); }
.accordion-button:not(.collapsed) { background: var(--sand); color: var(--primary); box-shadow: none; }
.accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; border: 1px solid #eadfcb; }

/* Footer */
.site-footer { background: var(--earth); color: #cdbfa6; padding: 80px 0 0; font-size: 15px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.site-footer a { color: #cdbfa6; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer .contact-line { display: flex; gap: 10px; margin-bottom: 10px; }
.site-footer .contact-line i { color: var(--accent); }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: inline-grid; place-items: center; margin-right: 6px; font-size: 17px; }
.social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 22px 0; font-size: 14px; }
.flag-strip { height: 6px; background: linear-gradient(90deg, #000 0 25%, #bb0000 25% 50%, #006600 50% 75%, #fff 75%); }

/* Floating buttons */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 990; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #fff; transform: scale(1.07); }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 990; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: #fff; background: var(--primary-dark); }
.draft-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 9998; background: var(--highlight); color: #fff; padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.draft-banner a { color: #fff; text-decoration: underline; margin-left: 8px; }

.rich p:last-child { margin-bottom: 0; }
.empty-note { text-align: center; color: var(--ink-soft); padding: 40px 0; }

@media (max-width: 767px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  section { padding: 64px 0; }
  .brand .name { font-size: 18px; white-space: normal; }
  .site-header .brand { white-space: normal; flex-shrink: 1; min-width: 0; }
  .brand small { display: none; }
  .brand img { width: 46px; height: 46px; }
  .intro-img img { height: 340px; }
  .intro-img .badge-logo { width: 90px; height: 90px; right: 10px; bottom: -14px; }
  .detail-hero-img { height: 280px; }
  .page-header { padding: 140px 0 60px; }
  .hero { padding-top: 120px; }
}
