/* ============================================
   SHARED COMPONENTS — Responsive
   ============================================ */

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: var(--z-whatsapp);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--dur-normal);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 82px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-whatsapp);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--dur-normal);
  border: 1px solid rgba(231, 185, 40, 0.3);
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gray-900);
  color: var(--color-text-inv);
  padding: 16px var(--container-pad);
  z-index: var(--z-modal);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container-max);
  margin-inline: auto;
}

.cookie-inner p {
  font-size: 12px;
  font-weight: var(--fw-light);
  color: var(--gray-400);
  flex: 1;
}

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding-top: calc(72px + 48px);
  padding-bottom: 48px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(231,185,40,0.04), transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label__text { color: var(--gold); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: var(--fw-light);
  color: var(--color-white);
  margin-bottom: 10px;
}

.page-hero h1 em { color: var(--gold); }

.page-hero p {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.5);
  max-width: 540px;
}

/* ══════════════ RESPONSIVE ══════════════ */

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  .page-hero {
    padding-top: calc(64px + 32px);
    padding-bottom: 32px;
  }
  .page-hero h1 {
    font-size: 1.75rem;
  }
  .page-hero p {
    font-size: 14px;
  }
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
  .back-to-top {
    bottom: 74px;
    right: 18px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-top: calc(64px + 24px);
    padding-bottom: 24px;
  }
  .page-hero h1 {
    font-size: 1.5rem;
  }
}
