/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ===== Focus rings ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #d97706;
  outline-offset: 2px;
  border-radius: 8px;
}

/* ===== Fade-in scroll animation ===== */
.fi {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fi.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Button hover ===== */
.btn-pill {
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-pill:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}
.btn-pill:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

/* ===== Card hover ===== */
.card-hover {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card-hover:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* ===== FAQ accordion ===== */
details summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::marker {
  display: none;
  content: "";
}
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #d97706;
  transition: transform 0.25s ease;
}
details[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(0deg);
}
details .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-top: 0;
}
details[open] .faq-body {
  max-height: 600px;
  padding-top: 1rem;
}

/* ===== Bottom sheet (mobile nav) ===== */
.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 90;
  pointer-events: none;
  transition: background 0.35s ease;
}
.bottom-sheet-overlay.active {
  background: rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.bottom-sheet.active {
  transform: translateY(0);
}
.bottom-sheet-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 9999px;
  margin: 0 auto 1.25rem;
}

/* ===== Cookie bar ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-bar.show {
  transform: translateY(0);
}

/* ===== Header scroll shadow ===== */
.header-wrap {
  transition: box-shadow 0.3s ease;
}
.header-wrap.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ===== Blob shapes (hero) ===== */
.blob-1 {
  position: absolute;
  width: 340px;
  height: 340px;
  background: #fef3c7;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  top: -40px;
  left: -80px;
  z-index: 0;
  opacity: 0.7;
  animation: blobDrift1 12s ease-in-out infinite alternate;
}
.blob-2 {
  position: absolute;
  width: 260px;
  height: 260px;
  background: #fde68a;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  bottom: -30px;
  right: -60px;
  z-index: 0;
  opacity: 0.5;
  animation: blobDrift2 14s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.05); }
}
@keyframes blobDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, -15px) scale(1.07); }
}

/* ===== Smooth scroll targets offset for fixed header ===== */
[id] {
  scroll-margin-top: 80px;
}

/* ===== Selection ===== */
::selection {
  background: #fde68a;
  color: #451a03;
}

/* ===== Form fields ===== */
input, select, textarea {
  font-family: 'Outfit', sans-serif;
}
