/* =========================================================
   COMPONENTS.CSS — UI COMPONENTS ONLY
   - Buttons, links, nav styles, cards, lists, forms
   - No page-specific rules
   - No layout shell positioning (header/footer placement is layout.css)
   ========================================================= */


/* =========================
   LINKS
   ========================= */
a{
  color: inherit;
}

.text-link{
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.text-link:hover{
  border-bottom-color: rgba(255,255,255,.45);
}


/* =========================
   BUTTONS
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 20px;
  border-radius: var(--radius, 18px);

  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;
  user-select: none;
  white-space: nowrap;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.btn:active{
  transform: translateY(0);
}

.btn-primary{
  background: rgba(255,255,255,.92);
  color: #071625;
  border-color: transparent;
}

.btn-primary:hover{
  background: rgba(255,255,255,.98);
}

.btn--primary{  /* keep your existing naming */
  background: rgba(255,255,255,.92);
  color: #071625;
  border-color: transparent;
}
.btn--primary:hover{ background: rgba(255,255,255,.98); }

.btn--secondary{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.14);
}

.btn-full{ width: 100%; }


/* ===== Header brand: logo LEFT, text RIGHT (perfect alignment) ===== */
.header-brand{
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;

  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo{
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  align-self: center;
}

.brand-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.brand-name{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.brand-tagline{
  font-size: 12px;
  line-height: 1.15;
  opacity: .78;
  margin: 0;
}

/* =========================
   NAV LINKS (visual only)
   ========================= */
.site-nav{ /* layout handled in layout.css; here only typography */
  gap: 28px;
}

/* Premium tuning — header only (does not affect in-page links) */
.site-header .site-nav{
  gap: 22px;
}

.site-header .nav-link{
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .18px;
  color: rgba(255,255,255,.84);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 2px;
  transition: color .18s ease, opacity .18s ease;
}

.site-header .nav-link:hover{
  color: rgba(255,255,255,.98);
}

/* Premium active/hover indicator without layout jump */
.site-header .nav-link::after{
  content:"";
  position:absolute;
  left: 2px;
  right: 2px;
  bottom: -6px;
  height: 1px;
  background: rgba(255,255,255,0);
  transform: scaleX(.55);
  transform-origin: center;
  transition: background .18s ease, transform .18s ease;
}

.site-header .nav-link:hover::after{
  background: rgba(255,255,255,.22);
  transform: scaleX(1);
}

.site-header .nav-link.active{
  color: rgba(255,255,255,.98);
}

.site-header .nav-link.active::after{
  background: rgba(255,255,255,.32);
  transform: scaleX(1);
}

.site-header .nav-link--hetman{
  font-weight: 700;
  letter-spacing: .3px;
  padding: 10px 2px;
}

.nav-link--mobile{ display: none; }


/* =========================
   HEADER CTA — premium button (header only)
   ========================= */
.site-header .header-cta .btn-primary{
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #071625;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
}

.site-header .header-cta .btn-primary:hover{
  background: rgba(255,255,255,.98);
}



/* =========================
   PILL / DOT (kicker)
   ========================= */
.pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}

.dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  display: inline-block;
}


/* =========================
   CARDS
   ========================= */
.card{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255,255,255,.04);
}

.card--glass{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.card__text{
  margin: 0;
  font-size: 14px;
  opacity: .82;
}


/* =========================
   LISTS
   ========================= */
.principles-list{
  margin: 14px 0 0;
  padding-left: 18px;
  opacity: .88;
}

.product-list{
  list-style: none;
  padding-left: 0;
  margin: 14px 0 0;
}

.product-list li{ margin: 0; }

.product-list a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.product-list a:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.product-list a::before{
  content:"↗";
  opacity: .75;
  font-size: 12px;
  transform: translateY(-1px);
}


/* =========================
   FORMS
   ========================= */
.form-group{ margin-bottom: 18px; }

.form-group label{
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: .78;
}

input, textarea, select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  outline: none;
}

input:focus, textarea:focus, select:focus{
  border-color: rgba(255,255,255,.22);
}

.form-actions{ margin-top: 18px; }

/* =========================
   FORM CHECK (checkbox row) — premium alignment
   ========================= */
.form-check label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.form-check input[type="checkbox"]{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: rgba(255,255,255,.92); /* modern browsers */
}

/* =========================
   FORM STATUS (error/success)
   ========================= */
.form-status{
  font-size: 13px;
  line-height: 1.5;
  opacity: .92;
}

.form-status.is-error{
  color: #ff5a5f;
}

.form-status.is-success{
  color: rgba(255,255,255,.92);
}

/* =========================
   MODAL (thank-you) — UI component
   ========================= */
.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  z-index: 3000;
}

.modal[hidden]{ display: none; }

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal__panel{
  position: relative;
  width: min(520px, calc(100% - 28px));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  padding: 22px 20px 18px;
}

.modal__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12px;
}

.modal__text{
  margin: 0;
  font-size: 13.5px;
  opacity: .86;
  line-height: 1.6;
}

.modal__actions{
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}



/* =========================
   FOOTER TEXT (visual only)
   ========================= */
.footer-title{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.footer-link{
  display: block;
  font-size: 13px;
  opacity: .8;
  line-height: 1.55;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-link:hover{
  opacity: .95;
}

.site-footer .text-muted{
  opacity: .8;
  font-size: 13px;
  line-height: 1.55;
}

.footer-copy{ margin: 0 0 10px; }
.footer-meta{ margin: 0 auto; max-width: 54ch; }
.footer-compliance{ margin: 0 auto; max-width: 44ch; }

.text-muted{ opacity: .78; }
.text-center{ text-align: center; }

/* =========================
   AGE GATE (18+)
   ========================= */
html.age-gate--open,
body.age-gate--open{
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
  position: fixed;
  width: 100%;
}

.age-gate{
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  padding: 22px;
  padding: max(22px, env(safe-area-inset-top))
           max(16px, env(safe-area-inset-right))
           max(22px, env(safe-area-inset-bottom))
           max(16px, env(safe-area-inset-left));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.age-gate__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2,8,18,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-gate__panel{
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  box-shadow: 0 30px 90px rgba(0,0,0,.58);
  padding: 24px 22px 20px;
  text-align: center;
  max-height: calc(100dvh - 44px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.age-gate__title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.age-gate__text{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}

.age-gate__actions{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.age-gate__actions .btn{
  width: min(100%, 420px);
  max-width: 100%;
}

.age-gate__panel:focus-visible,
.age-gate__actions .btn:focus-visible{
  outline: 2px solid rgba(166,214,255,.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(166,214,255,.18);
}

.age-gate__note{
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 12px;
  color: rgba(255,255,255,.74);
  line-height: 1.5;
}

@media (max-width: 560px){
  .age-gate__panel{
    width: min(560px, calc(100% - 20px));
    padding: 20px 16px 16px;
  }

  .age-gate__actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .age-gate__actions .btn{
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    line-height: 1.25;
    font-size: clamp(11px, 3.7vw, 14px);
    letter-spacing: clamp(.05em, .28vw, .14em);
    padding: 10px 12px;
  }
}


/* =========================
   MOBILE VISIBILITY
   ========================= */
@media (max-width: 1024px){
  .nav-link--mobile{ display: inline-flex; }
}

/* ===== Cookie consent UI ===== */
.footer-cookie-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer-cookie-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}





/* ===== Age gate click-layer hardening ===== */
.age-gate__backdrop{
  z-index: 0;
}

.age-gate__panel{
  z-index: 1;
}



/* ===== Age gate button typography consistency ===== */
.age-gate__actions .btn{
  line-height: 1.25;
  letter-spacing: .06em;
}

