/* Intimy Header & Footer — white/blue premium v3.0.2 */

:root {
  --ihf-blue: #1A6BFF;
  --ihf-blue-hover: #1558CC;
  --ihf-navy: #0D1B3E;
  --ihf-navy-2: #060E20;
  --ihf-text: #0A0F1E;
  --ihf-muted: #6B7280;
  --ihf-soft: #F8FAFF;
  --ihf-soft-blue: #F0F5FF;
  --ihf-badge: #DBEAFE;
  --ihf-border: rgba(26,107,255,.12);
  --ihf-shadow: 0 18px 48px rgba(26,107,255,.12);
  --ihf-radius: 22px;
}

/* =====================================================
   Compatibility: hide only the old theme/header duplicates.
   IMPORTANT: PeepSo navbar (.ps-navbar / .peepso-navbar) must remain visible.
   ===================================================== */
.gc-header__wrapper,
.gc-header__wrapper.gc-js-header-wrapper,
.gc-header,
.gc-js-header,
.hm-header,
.hm-header__wrapper {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* If the inline homepage still has its own header/footer, avoid duplicates. */
.if-homepage .if-header,
.if-homepage .if-footer {
  display: none !important;
}

body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.ihf-mobile-lock {
  overflow: hidden !important;
}

/* =====================================================
   Shared
   ===================================================== */
.ihf-site-header,
.ihf-footer,
.ihf-site-header *,
.ihf-footer * {
  box-sizing: border-box;
}

.ihf-site-header,
.ihf-footer {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ihf-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ihf-site-header a,
.ihf-footer a {
  color: inherit;
  text-decoration: none;
}

.ihf-container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* =====================================================
   Header
   ===================================================== */
.ihf-site-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(26,107,255,0);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.admin-bar .ihf-site-header {
  top: 32px;
}

.ihf-site-header.is-scrolled,
.ihf-site-header.is-open {
  background: rgba(255,255,255,.98);
  border-bottom-color: rgba(26,107,255,.10);
  box-shadow: 0 8px 30px rgba(26,107,255,.07);
}

.ihf-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ihf-header-inner--logged-in {
  justify-content: center;
}

.ihf-header-inner--logged-in .ihf-brand {
  margin-inline: auto;
}

.ihf-header-inner--guest {
  justify-content: space-between;
}

.ihf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  user-select: none;
}

.ihf-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ihf-blue) 0%, #3B82F6 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(26,107,255,.28);
}

.ihf-brand-text {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.22rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ihf-text);
}

.ihf-brand-text span {
  color: var(--ihf-blue);
}

.ihf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.ihf-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ihf-muted);
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}

.ihf-nav a:hover,
.ihf-nav a:focus-visible {
  color: var(--ihf-blue);
  transform: translateY(-1px);
}

.ihf-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.ihf-login,
.ihf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.ihf-login {
  padding: 0 16px;
  color: var(--ihf-blue);
}

.ihf-login:hover,
.ihf-login:focus-visible {
  background: #EEF4FF;
}

.ihf-cta {
  padding: 0 20px;
  color: #fff !important;
  background: var(--ihf-blue);
  box-shadow: 0 8px 26px rgba(26,107,255,.34);
}

.ihf-cta:hover,
.ihf-cta:focus-visible {
  background: var(--ihf-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(26,107,255,.42);
}

.ihf-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ihf-border);
  border-radius: 14px;
  background: #fff;
  color: var(--ihf-text);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26,107,255,.05);
}

.ihf-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.ihf-site-header.is-open .ihf-mobile-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ihf-site-header.is-open .ihf-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.ihf-site-header.is-open .ihf-mobile-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.ihf-mobile-panel {
  display: none;
  border-top: 1px solid rgba(26,107,255,.10);
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 50px rgba(13,27,62,.10);
}

.ihf-mobile-panel-inner {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  gap: 8px;
  padding: 14px 0 20px;
}

.ihf-mobile-panel a:not(.ihf-login):not(.ihf-cta) {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ihf-muted);
  font-weight: 700;
  font-size: 14px;
}

.ihf-mobile-panel a:not(.ihf-login):not(.ihf-cta):hover {
  background: var(--ihf-soft-blue);
  color: var(--ihf-blue);
}

.ihf-mobile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 8px;
}

.ihf-login-mobile,
.ihf-cta-mobile {
  width: 100%;
  min-height: 48px;
}

.ihf-login-mobile {
  background: #EEF4FF;
}

/* =====================================================
   Footer
   ===================================================== */
.ihf-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(26,107,255,.18) 0%, transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(96,165,250,.18) 0%, transparent 30%),
    linear-gradient(180deg, var(--ihf-navy) 0%, var(--ihf-navy-2) 100%);
  color: #fff;
}

.ihf-footer-orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(80px);
  opacity: .22;
}

.ihf-footer-orb-one {
  width: 420px;
  height: 420px;
  left: -140px;
  top: -170px;
  background: var(--ihf-blue);
}

.ihf-footer-orb-two {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -150px;
  background: #60A5FA;
}

.ihf-footer-main {
  padding: 72px 0 30px;
}

.ihf-footer-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.65fr);
  gap: 56px;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 26px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ihf-brand-footer .ihf-brand-mark {
  background: #fff;
  color: var(--ihf-blue);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

.ihf-brand-footer .ihf-brand-text {
  color: #fff;
}

.ihf-brand-footer .ihf-brand-text span {
  color: #93C5FD;
}

.ihf-footer-tagline {
  max-width: 430px;
  margin: 22px 0 0;
  color: #BFD7FF;
  font-size: 15px;
  line-height: 1.75;
}

.ihf-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ihf-footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(96,165,250,.12);
  border: 1px solid rgba(147,197,253,.18);
  color: #DBEAFE;
  font-size: 12px;
  font-weight: 800;
}

.ihf-footer-badges i {
  color: #60A5FA;
}

.ihf-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.ihf-footer-title {
  margin: 0 0 18px;
  color: #93C5FD;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ihf-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ihf-footer-col a {
  color: #D6E6FF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .18s ease, transform .18s ease;
}

.ihf-footer-col a:hover,
.ihf-footer-col a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.ihf-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 0;
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #93A9C8;
  font-size: 13px;
}

.ihf-footer-bottom p {
  margin: 0;
}

.ihf-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ihf-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #DBEAFE;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ihf-socials a:hover,
.ihf-socials a:focus-visible {
  transform: translateY(-3px);
  background: var(--ihf-blue);
  color: #fff;
}

.ihf-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ihf-age strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(96,165,250,.12);
  border: 1px solid rgba(96,165,250,.26);
  color: #DBEAFE;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .ihf-nav {
    gap: 20px;
  }

  .ihf-footer-card {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 920px) {
  .ihf-header-inner {
    min-height: 64px;
  }

  .ihf-nav,
  .ihf-mobile-toggle,
  .ihf-mobile-panel {
    display: none !important;
  }

  .ihf-header-actions {
    display: inline-flex;
    gap: 8px;
  }

  .ihf-login,
  .ihf-cta {
    min-height: 40px;
    border-radius: 12px;
    font-size: 13px;
  }

  .ihf-login {
    padding-inline: 10px;
  }

  .ihf-cta {
    padding-inline: 14px;
  }

  .ihf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .ihf-site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .ihf-container {
    width: min(100% - 32px, 1280px);
  }

  .ihf-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .ihf-brand-text {
    font-size: 1.12rem;
  }

  .ihf-header-inner--guest {
    gap: 10px;
  }

  .ihf-login,
  .ihf-cta {
    min-height: 38px;
    font-size: 12px;
  }

  .ihf-login {
    padding-inline: 8px;
  }

  .ihf-cta {
    padding-inline: 12px;
  }

  .ihf-footer-main {
    padding-top: 48px;
  }

  .ihf-footer-card {
    padding: 26px;
    border-radius: 24px;
  }

  .ihf-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ihf-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 380px) {
  .ihf-container {
    width: min(100% - 20px, 1280px);
  }

  .ihf-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .ihf-brand-text {
    font-size: 1rem;
  }

  .ihf-header-actions {
    gap: 6px;
  }

  .ihf-login,
  .ihf-cta {
    min-height: 36px;
    font-size: 11px;
  }

  .ihf-login {
    padding-inline: 7px;
  }

  .ihf-cta {
    padding-inline: 9px;
  }
}
