/* ═══════════════════════════════════════════════════════
   Hakura — P0 + P1 animation upgrades
   ═══════════════════════════════════════════════════════ */

/* ── Scroll reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
              transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shimmer-text { animation: none; }
  .header-cta { animation: none; }
  .trust-marquee-inner,
  .trust-marquee-rev { animation-play-state: paused; }
}

/* ── Animated product-line panel entrance ───────────── */
.line-panel.active {
  animation: panel-in 0.32s cubic-bezier(0.16,1,0.3,1);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Text shimmer ─────────────────────────────────── */
.shimmer-text {
  color: currentColor; /* fallback if background-clip unsupported */
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 30%,
    rgba(255,255,255,0.88) 46%,
    rgba(255,255,255,0.96) 50%,
    rgba(255,255,255,0.88) 54%,
    currentColor 70%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-sweep 3s linear infinite;
}
@supports not (-webkit-background-clip: text) {
  .shimmer-text { background: none; -webkit-text-fill-color: currentColor; animation: none; }
}
@keyframes shimmer-sweep {
  0%   { background-position: 150% 0; }
  100% { background-position: -150% 0; }
}

/* ── CTA pulse glow ──────────────────────────────── */
.header-cta {
  animation: cta-glow 2.4s ease-in-out infinite;
}
@keyframes cta-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,200,66,0.55), 0 4px 14px rgba(26,74,46,0.22); }
  50%     { box-shadow: 0 0 0 5px rgba(245,200,66,0),  0 4px 14px rgba(26,74,46,0.22); }
}

/* ── Hero wave bottom ──────────────────────────────── */
.hero-wave-bottom {
  display: block;
  line-height: 0;
  margin-top: -2px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, transparent);
}
.hero-wave-bottom svg { display: block; width: 100%; }

/* ── City trust marquee ─────────────────────────────── */
.trust-marquee-strip {
  overflow: hidden;
  background: linear-gradient(90deg, #1a4a2e 0%, #2d6a4f 100%);
  padding: 0.62rem 0;
  border-top: 1.5px solid rgba(245,200,66,0.3);
  border-bottom: 1.5px solid rgba(245,200,66,0.3);
}
.trust-marquee-inner {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}
.trust-marquee-strip:hover .trust-marquee-inner { animation-play-state: paused; }
.trust-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.tmi-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f5c842;
  flex-shrink: 0;
}
@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Combined dual-row strip ─────────────────────────── */
.combined-strip {
  overflow: hidden;
  background: var(--ink, #18181b);
}
.combined-strip .trust-marquee-strip {
  background: transparent;
  border: none;
  padding: 0.35rem 0;
}
.combined-row-cities .trust-marquee-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 1.4rem;
}
.combined-row-trust .trust-marquee-item {
  color: rgba(245,200,66,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 1.6rem;
}
.trust-marquee-rev {
  animation: marquee-right 26s linear infinite;
}
.combined-strip .trust-marquee-strip:hover .trust-marquee-rev { animation-play-state: paused; }

/* ── Oil comparison slider ─────────────────────────────── */
.oil-compare-section {
  padding: clamp(2rem,4vw,3rem) max(1rem, calc((100% - 1120px) / 2));
  background: var(--white);
}
.oil-compare-header {
  text-align: center;
  margin-bottom: 1.6rem;
}
.oil-compare-header .eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.4rem;
}
.oil-compare-header h2 {
  font-size: clamp(1.35rem,2.8vw,1.9rem);
  color: var(--ink);
  margin: 0 0 0.45rem;
}
.oil-compare-header p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.6;
}
.oil-compare-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 20px 60px rgba(26,74,46,0.18);
  aspect-ratio: 16 / 7;
}
@media (max-width: 600px) {
  .oil-compare-wrap { aspect-ratio: 4 / 3; }
}
.oil-compare-right,
.oil-compare-left {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}
.oil-compare-right {
  background: radial-gradient(ellipse at 60% 40%, #f7e28a 0%, #f5c842 45%, #d4890a 100%);
  align-items: flex-end;
  text-align: right;
  padding: 1.5rem 1.5rem 1.5rem 52%;
}
.oil-compare-left {
  background: radial-gradient(ellipse at 40% 60%, #2a1a05 0%, #5a3810 50%, #8b6210 100%);
  align-items: flex-start;
  text-align: left;
  padding: 1.5rem 52% 1.5rem 1.5rem;
}
.oil-compare-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.oil-compare-clip .oil-compare-left { pointer-events: none; }
.oil-compare-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
}
.oil-compare-right .oil-compare-badge {
  background: rgba(255,255,255,0.42);
  color: #3a2000;
}
.oil-compare-left .oil-compare-badge {
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.82);
}
.oil-compare-title {
  font-size: clamp(0.95rem,2vw,1.35rem);
  font-weight: 800;
  line-height: 1.2;
}
.oil-compare-right .oil-compare-title { color: #2a1200; }
.oil-compare-left  .oil-compare-title { color: rgba(255,255,255,0.7); }
.oil-compare-facts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.76rem;
}
.oil-compare-right .oil-compare-facts { color: rgba(42,18,0,0.75); }
.oil-compare-left  .oil-compare-facts { color: rgba(255,255,255,0.58); }
.oil-compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  pointer-events: none;
}
.oil-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--blue-deep);
  box-shadow: 0 2px 18px rgba(0,0,0,0.28);
  cursor: ew-resize;
  pointer-events: auto;
  user-select: none;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .oil-compare-wrap { aspect-ratio: 3 / 2; }
  .oil-compare-badge { font-size: 0.55rem; letter-spacing: 0.05em; padding: 3px 8px; }
}
@media (max-width: 520px) {
  .oil-compare-wrap { aspect-ratio: 4 / 3; }
  .oil-compare-facts { display: none; }
  .oil-compare-title { font-size: 0.9rem; }
  .oil-compare-badge { font-size: 0.52rem; padding: 2px 7px; }
}

/* ── Testimonial marquee ─────────────────────────────── */
.testimonials-marquee {
  padding: clamp(2.5rem,4vw,4rem) 0;
  background: linear-gradient(180deg, var(--sky) 0%, #fff 100%);
  overflow: hidden;
}
.testimonials-marquee-header {
  text-align: center;
  padding: 0 max(1rem, calc((100% - 1120px) / 2));
  margin-bottom: 2.2rem;
}
.testimonials-marquee-header .eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.4rem;
}
.testimonials-marquee-header h2 {
  font-size: clamp(1.35rem,3vw,2rem);
  color: var(--ink);
  margin: 0;
}
/* ── Testimonial sliders ───────────────────────────────── */
.testimonials-marquee { overflow: visible; }
.tm-sliders-wrap {
  padding: 0 max(2.5rem, calc((100% - 1120px) / 2 + 2.5rem));
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.tm-slider {
  position: relative;
}
.tm-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.tm-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}
.tm-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 4px 18px rgba(26,74,46,0.07);
}
.tm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
}
.tm-arrow:hover:not(:disabled) {
  background: var(--aqua, #1e6b4a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,74,46,0.25);
}
.tm-arrow:disabled { opacity: 0.3; cursor: default; }
.tm-prev { left: -1.4rem; }
.tm-next { right: -1.4rem; }
@media (max-width: 767px) {
  .tm-sliders-wrap { padding: 0 2.5rem; }
  .tm-card { flex: 0 0 100%; }
  .tm-prev { left: -1.2rem; }
  .tm-next { right: -1.2rem; }
}
.tm-stars {
  color: #f5c842;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.tm-text {
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.tm-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--sky-strong);
}
.tm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tm-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.tm-city {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

/* ── Bento "Why Hakura" grid ─────────────────────────── */
.bento-section {
  padding: clamp(2rem,4vw,3rem) max(1rem, calc((100% - 1120px) / 2));
  background: var(--sky);
}
.bento-header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.bento-header .eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.4rem;
}
.bento-header h2 {
  font-size: clamp(1.35rem,3vw,2rem);
  color: var(--ink);
  margin: 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(26,74,46,0.13); }
/* Big card: 2-col × 2-row */
.bento-card-big {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #0d2b17 0%, #1a4a2e 55%, #2d7a52 100%);
  justify-content: flex-start;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.bento-card-big::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(245,200,66,0.14) 0%, transparent 55%);
  pointer-events: none;
}
.bento-card-mii    { grid-column: 3; grid-row: 1; background: linear-gradient(135deg,#fff8f0 0%,#fff0dc 100%); border: 2px solid #FF9933; }
.bento-card-since  { grid-column: 4; grid-row: 1; background: linear-gradient(135deg, var(--blue-deep) 0%, #2d6a4f 100%); color: #fff; }
.bento-card-models { grid-column: 3; grid-row: 2; background: var(--white); border: 1.5px solid var(--line); }
.bento-card-delivery { grid-column: 4; grid-row: 2; background: linear-gradient(135deg,#1a0e00 0%,#6b3800 100%); color: #fff; }

.bento-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f5c842;
  margin-bottom: 0.4rem;
}
.bento-card-big h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 0.35rem;
}
.bento-card-big p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 30ch;
}
.bento-big-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(245,200,66,0.14);
  border: 1px solid rgba(245,200,66,0.38);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: #f5c842;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  width: fit-content;
}
.bento-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.bento-card-since  .bento-number   { color: #fff; }
.bento-card-delivery .bento-number { color: #f5c842; }
.bento-card-models .bento-number   { color: var(--blue-deep); }
.bento-sublabel {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.bento-card-since  .bento-sublabel { color: rgba(255,255,255,0.68); }
.bento-card-delivery .bento-sublabel { color: rgba(255,255,255,0.68); }
.bento-card-models .bento-sublabel { color: var(--ink-soft); }
.bento-mii-flag { font-size: 1.5rem; margin-bottom: 0.4rem; }
.bento-card-mii h4 { font-size: 0.95rem; font-weight: 800; color: #1a1a1a; margin: 0 0 0.2rem; }
.bento-card-mii p  { font-size: 0.76rem; color: #555; margin: 0; line-height: 1.5; }

@media (max-width: 760px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card-big { grid-column: 1 / 3; grid-row: 1; min-height: 180px; }
  .bento-card-mii    { grid-column: 1; grid-row: 2; }
  .bento-card-since  { grid-column: 2; grid-row: 2; }
  .bento-card-models { grid-column: 1; grid-row: 3; }
  .bento-card-delivery { grid-column: 2; grid-row: 3; }
}
@media (max-width: 460px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-big,
  .bento-card-mii, .bento-card-since,
  .bento-card-models, .bento-card-delivery {
    grid-column: 1; grid-row: auto;
  }
}

/* ── Mobile nav backdrop overlay ──────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 49; /* below nav-links z-index */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-backdrop.active { display: block; }

/* ── Fix 2: Marketplace buttons equal width on mobile ── */
@media (max-width: 700px) {
  .marketplace-links { flex-direction: column; width: 100%; }
  .marketplace-link { width: 100%; justify-content: center; }
}

/* ── Fix 6: Oil compare section clears sticky bar on mobile ── */
@media (max-width: 600px) {
  .oil-compare-section { padding-bottom: 5rem; }
}

/* ── Fix 7: Footer — reduce dead centre gap on desktop ── */
@media (min-width: 900px) {
  .site-footer { justify-content: flex-start; gap: 4rem; }
  .site-footer nav { margin-left: auto; }
}

/* ── Fix 8: Hero — more breathing room on desktop ── */
@media (min-width: 900px) {
  .hero { min-height: 480px; padding-top: 5rem; }
}

/* ── Footer enhancements ───────────────────────────── */
.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
}
.footer-phone {
  font-size: 0.78rem;
  color: var(--aqua);
  font-weight: 700;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-copy {
  font-size: 0.68rem;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .site-footer { flex-direction: column; gap: 1.5rem; padding-bottom: 6rem; }
  .footer-brand { align-items: flex-start; }
}

/* ── Wave section dividers ─────────────────────────── */
.wave-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Compare section — tab switcher & research copy ── */
.compare-tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: center;
}
.compare-tab {
  background: transparent;
  border: 1.5px solid var(--ink-soft, #888);
  color: var(--ink-soft, #888);
  border-radius: 99px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}
.compare-tab.active {
  background: var(--gold, #b8820f);
  border-color: var(--gold, #b8820f);
  color: #fff;
}
.compare-tab:hover:not(.active) {
  border-color: var(--gold, #b8820f);
  color: var(--gold, #b8820f);
}

/* cite inline source labels */
.oil-compare-facts .cite {
  font-size: 0.65em;
  opacity: 0.6;
  font-style: italic;
  white-space: nowrap;
}

/* Bottom stat strip */
.oil-compare-stat {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.oil-compare-stat span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-top: 0.2rem;
}

/* disclaimer */
.compare-disclaimer {
  text-align: center;
  font-size: 0.65rem;
  opacity: 0.45;
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════
   WHY FRESH MATTERS — full section
   ════════════════════════════════════════════════════ */

.wf-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Header ── */
.wf-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.wf-lead {
  max-width: 52rem;
  margin: 0.9rem auto 0;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.7;
  opacity: 0.75;
}

/* ── 3 outcome cards ── */
.wf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.wf-card {
  background: var(--ink, #1a1a1a);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.wf-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.wf-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wf-card:hover .wf-card-img-wrap img { transform: scale(1.04); }

.wf-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.wf-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #b8820f);
}
.wf-card-body h3 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white, #fff);
  margin: 0;
}
.wf-card-body p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.wf-cite {
  font-size: 0.72em;
  opacity: 0.55;
  font-style: italic;
}

/* ── Fact block wrapper ── */
.wf-facts {
  background: var(--ink, #1a1a1a);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.07);
}
.wf-facts-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #b8820f);
  margin-bottom: 1.1rem;
}

/* ── Sliding pill segmented control (motion-primitives pattern) ── */
.wf-tabs {
  position: relative;
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  padding: 4px;
  gap: 0;
  margin-bottom: 2rem;
}

.wf-tab-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--gold, #b8820f);
  border-radius: 99px;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
}

.wf-tab {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.wf-tab.active { color: #fff; }
.wf-tab:hover:not(.active) { color: rgba(255,255,255,0.85); }

/* ── Fact grid ── */
.wf-fact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.wf-fact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wf-fact-stat {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold, #b8820f);
  line-height: 1;
}
.wf-fact-label {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  flex: 1;
}
.wf-fact-src {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Disclaimer ── */
.wf-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.63rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  text-align: left;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .wf-cards { grid-template-columns: 1fr; gap: 1rem; }
  .wf-fact-grid { grid-template-columns: repeat(3, 1fr); }
  .wf-section { padding-inline: 1rem; }
}
@media (max-width: 600px) {
  .wf-fact-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; }
  .wf-tab { padding: 0.45rem 0.75rem; font-size: 0.75rem; }
}

/* ════════════════════════════════════════════════════
   9-item client feedback fixes
   ════════════════════════════════════════════════════ */

/* Fix 1: Logo already updated in styles.css (44px) */

/* Fix 2: Hero → signal strip gap — collapse wave height */
.hero-wave-bottom { margin-bottom: -2px; line-height: 0; }
.hero-wave-bottom svg { height: 36px; }
.signal-strip { margin-top: 0 !important; }

/* Fix 3 & 5: Section alignment — consistent max-width & side padding */
.wf-section,
.section,
.bento-section,
.oil-compare-section {
  padding-inline: clamp(1rem, 4vw, 3rem) !important;
}
.wf-section { padding-top: clamp(1rem, 2vw, 1.5rem) !important; }

/* Fix 4: Credibility bar (replaces bento) */
.cred-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--ink, #18181b);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
.cred-icon {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold, #b8820f);
}
.cred-divider {
  width: 1px;
  height: 1.2rem;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .cred-item { padding: 0.35rem 0.75rem; font-size: 0.72rem; }
  .cred-divider:nth-child(n+8) { display: none; }
}

/* Fix 6: Card text — shorter, brighter, readable */
.wf-card-body p {
  font-size: 0.84rem !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.88) !important;
}
.wf-cat { color: var(--gold, #b8820f) !important; }
.wf-cite {
  font-size: 0.7em !important;
  opacity: 0.5 !important;
  font-style: italic !important;
}

/* Fix 9: Testimonial gaps */
.testimonials-marquee { padding-top: clamp(1.5rem, 2.5vw, 2.5rem); }

/* ════════════════════════════════════════════════════
   Visual upgrades: combined strip + morphing CTA + hero text
   ════════════════════════════════════════════════════ */

/* Fix 1: Logo bumped to 52px (in styles.css) */

/* Fix 2: Hero wave — tighter gap */
.hero-wave-bottom svg { height: 24px !important; }
.hero { padding-bottom: 0 !important; }


/* ── Morphing Enquire button (Watermelon UI pattern) ── */
.header-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.header-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.32s ease;
  z-index: -1;
  border-radius: inherit;
}
.header-cta:hover::after {
  transform: scaleX(1);
  opacity: 0.12;
}
.header-cta:hover {
  letter-spacing: 0.025em;
  transition: letter-spacing 0.25s ease, background 0.2s;
}

/* ── Hero lead text — fade-in-blur per word (motion-primitives pattern) ── */
.hero-lead-word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(6px);
  animation: word-reveal 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes word-reveal {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lead-word { opacity: 1; filter: none; transform: none; animation: none; }
}
