/* ---------- Buttons ---------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--btn-h);
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.35s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--icon { padding: 0 6px 0 24px; }

.btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--btn-h) - 12px);
  height: calc(var(--btn-h) - 12px);
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}
.btn__icon svg {
  width: 16px; height: 16px;
  grid-area: 1 / 1;
  transition: transform 0.45s var(--ease-out);
}
.btn__icon svg + svg { transform: translate(-150%, 150%); }
@media (hover: hover) {
  .btn:hover .btn__icon { transform: scale(1.06); }
  .btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
  .btn:hover .btn__icon svg + svg { transform: translate(0, 0); }
}

.btn--dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--dark .btn__icon { background: var(--white); color: var(--ink); }
.btn--dark:hover { box-shadow: 0 8px 18px rgba(11, 11, 12, 0.5), 0 22px 60px rgba(11, 11, 12, 0.45); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: var(--white); }

.btn--lime { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-lime); }
.btn--lime .btn__icon { background: var(--ink); color: var(--lime); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--glass-dark-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.btn--glass .btn__icon { background: var(--white); color: var(--ink); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }

.btn--sm { --btn-h: 44px; font-size: 15px; padding: 0 20px; gap: 12px; }
.btn--sm.btn--icon { padding: 0 5px 0 18px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }

/* ---------- Badges, chips, tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  white-space: nowrap;
}
.badge::before,
.badge::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge--soft { background: var(--light); }
.badge--dark { background: rgba(255, 255, 255, 0.07); color: var(--white); }

.chip {
  display: inline-block;
  padding: 0.05em 0.42em 0.1em;
  border-radius: 10px;
  color: var(--ink);
  line-height: 1.3;
}
.chip--pink { background: var(--pink); }
.chip--white { background: var(--white); }
.chip--ink { background: var(--ink); color: var(--white); }
.chip--butter { background: var(--butter); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--ink-3);
  color: var(--white);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.tag--light { background: var(--white); color: var(--ink); }
.tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--hairline-dark); color: var(--text-on-dark-muted); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.glass--dark {
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--white);
}

/* ---------- Slabs ---------- */
.slab {
  position: relative;
  margin-inline: var(--inset);
  border-radius: var(--r-slab);
  isolation: isolate;
}
.slab--light { background: var(--light); }
.slab--dark { background: var(--ink); color: var(--text-on-dark); }
.slab--green { background: var(--green); color: var(--text-on-dark); }

/* Faint vertical layout guides, as in the reference */
.guides::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  --g: var(--guide-light);
  background:
    linear-gradient(var(--g), var(--g)) 14% 0 / 1px 100% no-repeat,
    linear-gradient(var(--g), var(--g)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--g), var(--g)) 86% 0 / 1px 100% no-repeat;
}
.slab--dark.guides::before,
.slab--green.guides::before { --g: var(--guide-dark); }

@media (max-width: 810px) {
  .guides::before {
    background:
      linear-gradient(var(--g), var(--g)) 5% 0 / 1px 100% no-repeat,
      linear-gradient(var(--g), var(--g)) 95% 0 / 1px 100% no-repeat;
  }
}

/* ---------- Section heading ---------- */
.section-head { display: grid; gap: 18px; }
.section-head--center { justify-items: center; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--text-muted); max-width: 30em; }
.slab--dark .section-head p,
.slab--green .section-head p { color: var(--text-on-dark-muted); }

.section-head--row {
  grid-template-columns: 1fr auto;
  align-items: end;
}
@media (max-width: 640px) {
  .section-head--row { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Marquee ---------- */
.marquee {
  --speed: 40s;
  --gap: 56px;
  position: relative;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: none;
  animation: marquee var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--flat { -webkit-mask-image: none; mask-image: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--ink-2);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Icons ---------- */
.icon { width: 18px; height: 18px; flex: none; }

/* Asterisk mark used as a separator (from the deck cover) */
.mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--pink);
  flex: none;
}
.mark svg { width: 14px; height: 14px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 6px;
  border-radius: var(--r-pill);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  font-size: 15px;
  font-weight: var(--fw-medium);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.float-wa__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
}
.float-wa__icon svg { width: 20px; height: 20px; }
.float-wa:hover { transform: translateY(-3px); }
.float-wa.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (max-width: 560px) {
  .float-wa { right: 14px; bottom: 14px; padding: 0 6px; }
  .float-wa__label { display: none; }
}

/* Cookie notice: only shown when analytics IDs are set */
.consent {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 90;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 24px 50px rgba(11, 11, 12, 0.3);
  font-size: 14px;
  line-height: 1.45;
}
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent__btns button { padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: var(--fw-medium); }
.consent__no { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.consent__yes { background: var(--lime); color: var(--ink); }
