/* File: wp-content/themes/log-core/assets/css/log-satisfaction.css */
/* Hooks: wp_enqueue_style */
/* Dependencies: none */

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--sage-600);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================= TICKER ============================= */
.ticker-bar {
  background: var(--plum-900);
  border-bottom: 1px solid rgba(188, 211, 172, .16);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 101;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  padding: 9px 0;
  animation: tickerScroll 36s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: #cdd9bd;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ticker-track .sep {
  color: var(--sage-400);
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================= HEADER ============================= */
header.site {
  background: var(--paper-50);
  position: sticky;
  top: 34px;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease);
}

header.site.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-row {
  display: flex;
  align-items: center;
  height: 84px;
  padding: 0 48px;
  transition: height .35s var(--ease);
}

header.site.scrolled .nav-row {
  height: 64px;
}

@media(max-width:760px) {
  .nav-row {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  color: var(--ink-900);
  transition: font-size .35s var(--ease);
  flex-shrink: 0;
  min-width: 200px;
}

header.site.scrolled .logo {
  font-size: 21px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--sage-600), var(--plum-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-400);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: width .35s, height .35s;
}

header.site.scrolled .logo-mark {
  width: 36px;
  height: 36px;
}

.logo-mark .icon {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

.logo b {
  color: var(--plum-700);
}

.logo-text {
  display: inline;
  white-space: nowrap;
}

nav.main-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

nav.main-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-700);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}

nav.main-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--sage-600);
  transition: width .3s var(--ease);
}

nav.main-links a:hover {
  color: var(--plum-700);
}

nav.main-links a:hover::after,
nav.main-links a.active::after {
  width: 100%;
}

nav.main-links a.active {
  color: var(--plum-700);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  justify-content: flex-end;
}

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  background: var(--paper);
  transition: background .25s, transform .25s;
}

.cart-btn:hover {
  background: var(--blush-100);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--plum-700);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: transform .25s var(--ease);
}

.cart-badge.bump {
  animation: cartBump .35s var(--ease);
}

@keyframes cartBump {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.header-search-wrap {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 2px 8px rgba(34, 4, 10, .05);
}

.header-search-wrap:focus-within {
  border-color: var(--plum-700);
  box-shadow: 0 0 0 3px rgba(40, 78, 121, .12), 0 2px 12px rgba(40, 78, 121, .1);
}

.hs-icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--plum-700);
}

.hs-icon-pill svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-search-wrap input {
  border: none;
  background: none;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
  padding: 9px 14px 9px 0;
  width: 200px;
  outline: none;
}

.header-search-wrap input::placeholder {
  color: var(--gray-400);
}

.mobile-search-bar {
  display: none;
  padding: 10px 16px 12px;
  background: var(--paper-50);
  border-bottom: 1px solid var(--line);
}

.mobile-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.mobile-search-inner:focus-within {
  border-color: var(--plum-700);
  box-shadow: 0 0 0 3px rgba(40, 78, 121, .1);
}

.mobile-search-inner .ms-icon {
  width: 16px;
  height: 16px;
  color: var(--plum-700);
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-search-inner input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  padding: 12px 0;
  outline: none;
}

.mobile-search-inner input::placeholder {
  color: var(--gray-400);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.burger .icon {
  width: 20px;
  height: 20px;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 14px 24px 20px;
}

.mobile-panel a {
  padding: 12px 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}

.mobile-panel a.active {
  color: var(--plum-700);
}

.mobile-panel.open {
  display: flex;
}

@media(max-width:900px) {
  nav.main-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-search-bar {
    display: block;
  }

  .header-search-wrap {
    display: none !important;
  }

  .head-actions {
    margin-left: auto;
  }
}

@media(max-width:900px) {
  .nav-row {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================= HERO — reference gradient-hero pattern =============================
   Was a boxed dark-card + separate bento stat tiles (dashboard layout).
   Rebuilt as a full-width diagonal gradient hero matching shipping-policy/
   about-us/delivery-refund, with the stat tiles folded in as a stat row
   under the CTA (same idea as the testimonials page pairing a hero with
   stat cards beneath it). */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--paper-50) 0%, var(--paper) 32%, var(--blush-100) 62%, var(--sage-400) 100%);
  padding: 52px 24px 40px;
}

.hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 18%), rgba(255, 255, 255, .4), transparent 45%);
  pointer-events: none;
}

.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 4, 10, .08);
  animation: ringPulse 6s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.8; }
}

.cs-leaf {
  position: absolute;
  color: var(--sage-700);
  opacity: 0;
  animation: csLeafDrift 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cs-leaf .icon { width: 14px; height: 14px; }
.cs-leaf.alt { animation-name: csLeafDriftAlt; color: var(--plum-600); }
.cs-leaf.sm .icon { width: 10px; height: 10px; }

@keyframes csLeafDrift {
  0%   { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg); }
  12%  { opacity: .5; }
  50%  { opacity: .32; transform: translateY(-90px) translateX(12px) rotate(130deg); }
  100% { opacity: 0; transform: translateY(-150px) translateX(20px) rotate(230deg); }
}

@keyframes csLeafDriftAlt {
  0%   { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg); }
  12%  { opacity: .45; }
  50%  { opacity: .28; transform: translateY(-100px) translateX(-16px) rotate(-120deg); }
  100% { opacity: 0; transform: translateY(-160px) translateX(-26px) rotate(-220deg); }
}

@media(max-width:640px) { .cs-leaf { display: none; } }

.cs-badge {
  position: absolute;
  pointer-events: none;
  opacity: .94;
  animation: csOrbitMove 10s ease-in-out infinite;
  z-index: 1;
}

.cs-badge.p2 { opacity: .85; animation: csOrbitMoveRev 13s ease-in-out infinite; }

@keyframes csOrbitMove {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(36px, -26px); }
  50%  { transform: translate(0, -42px); }
  75%  { transform: translate(-36px, -26px); }
  100% { transform: translate(0, 0); }
}

@keyframes csOrbitMoveRev {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-26px, -20px); }
  50%  { transform: translate(0, -30px); }
  75%  { transform: translate(26px, -20px); }
  100% { transform: translate(0, 0); }
}

.cs-badge-circle {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage-500), var(--plum-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px -8px rgba(34, 4, 10, .42);
  border: 3px solid rgba(255, 255, 255, .65);
  animation: csSpinBadge 8s linear infinite;
}

.cs-badge.p2 .cs-badge-circle { animation: csSpinBadge 6s linear infinite reverse; }

@keyframes csSpinBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cs-badge-circle .icon { color: #fff; stroke-width: 1.8; }

@media(max-width:900px) { .cs-badge { display: none; } }

.cs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(123, 89, 2, .35);
  color: var(--sage-700);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) forwards;
}

.eyebrow-pill .icon {
  width: 12px;
  height: 12px;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) .1s forwards;
}

.hero-left h1 em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, var(--sage-700) 30%, var(--plum-500) 50%, var(--sage-700) 70%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: csShimmerText 6s linear infinite;
}

@keyframes csShimmerText { 0% { background-position: 0% 50%; } 100% { background-position: -240% 50%; } }

.hero-left p.hero-lede {
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) .2s forwards;
}

.trust-pills {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) .3s forwards;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(34, 4, 10, .14);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-900);
  transition: all .25s var(--ease);
}

.trust-pill:hover {
  background: rgba(255, 255, 255, .85);
  transform: translateY(-3px);
}

.trust-pill .icon {
  width: 13px;
  height: 13px;
  color: var(--sage-700);
}

.cs-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) .38s forwards;
}

.cs-btn-primary {
  background: var(--ink-900);
  color: var(--paper);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .03em;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.cs-btn-primary:hover { background: var(--plum-700); box-shadow: 0 14px 30px rgba(34, 4, 10, .3); color: var(--paper); }

.cs-btn-ghost {
  border: 1.4px solid rgba(34, 4, 10, .4);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 12.5px;
  padding: 12px 23px;
  border-radius: var(--r-pill);
  transition: all .25s var(--ease);
}

.cs-btn-ghost:hover { background: rgba(255, 255, 255, .5); border-color: var(--ink-900); }

/* ── Stat row (folded-in bento tiles) beneath the CTA — same idea as the
   testimonials page's stat cards under its hero. ── */
.cs-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroIn .7s var(--ease) .46s forwards;
}

.cs-hero-stat {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(34, 4, 10, .12);
  border-radius: var(--r-md);
  padding: 16px 10px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.cs-hero-stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .8); }

.bs-num {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: var(--plum-700);
}

.bs-label {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: .02em;
  color: var(--gray-600);
}

.hero-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1220px;
  margin: 26px auto 0;
  padding: 0 24px;
}

.hero-quicknav a {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: var(--r-pill);
  transition: all .25s var(--ease);
}

.hero-quicknav a:hover {
  background: var(--sage-500);
  color: var(--plum-950);
  border-color: var(--sage-500);
  transform: translateY(-2px);
}

@media(max-width:640px) {
  .cs-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-wrap {
    padding: 40px 18px 32px;
  }
}

/* ============================= STATS BAR ============================= */
.stats-bar-outer {
  display: flex;
  justify-content: center;
  padding: 20px 88px 0;
}

.stats-bar {
  background: linear-gradient(120deg, var(--plum-700), var(--plum-800));
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 20px 18px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s var(--ease);
}

.stat-item:hover {
  background: rgba(255, 255, 255, .05);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  background: rgba(188, 211, 172, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-400);
  transition: transform .3s var(--ease);
}

.stat-item:hover .stat-icon {
  transform: scale(1.08) rotate(-6deg);
}

.stat-icon .icon {
  width: 18px;
  height: 18px;
}

.stat-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.stat-item .stat-desc {
  display: block;
  font-size: 11.5px;
  color: #cdd9bd;
  margin-top: 2px;
  line-height: 1.4;
}

/* ============================= SECTION HELPERS ============================= */
.section {
  padding: 92px 88px;
}

.section-blush {
  background: var(--blush-100);
}

.section-deep {
  background: linear-gradient(160deg, var(--plum-950), var(--plum-900));
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--sage-600);
  display: inline-block;
}

.on-deep .eyebrow {
  color: var(--sage-400);
}

h2.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  color: var(--ink-900);
}

.on-deep h2.headline {
  color: #fff;
}

h2.headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--plum-700);
}

.on-deep h2.headline em {
  color: var(--sage-400);
}

p.section-sub {
  color: var(--gray-600);
  font-size: 15px;
  margin-top: 12px;
  max-width: 560px;
}

.on-deep p.section-sub {
  color: #cdd9bd;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= RESPONSIVE ============================= */
@media (max-width:980px) {
  .hero-wrap {
    padding: 0 16px;
  }

  .stats-bar-outer {
    padding: 14px 24px 0;
  }

  .section {
    padding: 72px 24px;
  }

  .promise-intro {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quality-wrap {
    grid-template-columns: 1fr;
  }

  .q-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .trust-bento {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bento-row2 {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testi-card:nth-child(2),
  .testi-card:nth-child(3) {
    margin-top: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pledge-items {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band {
    padding: 52px 24px;
  }

  .contact-band-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width:760px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .tl-steps {
    grid-template-columns: 1fr 1fr;
  }

  .tl-steps::before {
    display: none;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pledge-items {
    grid-template-columns: 1fr;
  }

  .pledge-item {
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .pledge-item:first-child {
    border-top: none;
  }

  .trust-bento {
    grid-template-columns: 1fr;
  }

  .q-metrics {
    margin-top: 20px;
  }
}

@media(max-width:1080px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(max-width:600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .fn-row {
    flex-direction: column;
    border-radius: var(--r-md);
    padding: 8px;
  }

  .fn-row input {
    padding: 10px 12px;
  }

  .fn-row button {
    border-radius: var(--r-md);
    padding: 11px 18px;
  }
}