/* Relyon Beauty — közös stílus az aloldalakhoz (Legyél partnerünk, Garancia, Adatkezelés, ÁSZF, Kapcsolat) */

:root {
  --forest: #0f3d2e;
  --forest-deep: #0a2b20;
  --forest-soft: #e4efe8;
  --blush: #fce9ef;
  --blush-deep: #f8d7e3;
  --pink: #ec4899;
  --pink-deep: #db2777;
  --cream: #fffdfb;
  --ink: #1a2420;
  --ink-soft: #5b6b63;
  --line: #e7e2dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--forest);
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo img { height: 34px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
nav a.navlink {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
nav a.navlink:hover { color: var(--pink-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-pink { background: var(--pink); color: white; box-shadow: 0 8px 20px -8px rgba(219, 39, 119, 0.55); }
.btn-pink:hover { background: var(--pink-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: white; }

/* ---------- Page hero (simple, for sub-pages) ---------- */
.page-hero {
  padding: 56px 24px 40px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pink-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--pink-deep); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  max-width: 720px;
  margin: 0 auto 18px;
}
.page-hero p.sub {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Content sections ---------- */
section.content { padding: 40px 24px; }
.legal-content h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  margin: 22px 0 10px;
  color: var(--ink);
}
.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 14px 20px;
  list-style: disc;
}
.legal-content ol { list-style: decimal; }
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-content strong { color: var(--forest); }
.legal-content a { color: var(--pink-deep); text-decoration: underline; }
.legal-meta {
  background: var(--forest-soft);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  line-height: 1.7;
}
.legal-meta strong { color: var(--forest); }
.last-updated {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Stats bar (for partner page) ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--forest);
  border-radius: 24px;
  padding: 36px 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--pink);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

/* ---------- Info card blocks (for partner page, etc.) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.info-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.info-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.info-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- GHL form wrapper (shared) ---------- */
.ghl-form-wrap {
  max-width: 480px;
  margin: 40px auto 0;
  min-height: 400px;
  border-radius: 25px;
}
@media (min-width: 861px) {
  .ghl-form-wrap { max-width: 680px; }
}

/* ---------- Footer ---------- */
footer { background: var(--forest); color: white; padding: 48px 24px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  max-width: 1120px;
  margin: 0 auto;
}
.footer-logo img { height: 32px; width: auto; display: block; }
.footer-logo { margin-bottom: 16px; }
footer p, footer a { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.8; }
footer a:hover { color: white; }
footer h5 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,0.75); display: inline-flex; transition: color 0.18s ease; }
.footer-social a:hover { color: var(--pink); }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  section.content, .page-hero { padding: 40px 16px; }
}

:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
