/* ============================================================
   Czarniventa Mobile — mczarniventa.css
   Font: Outfit (Google Fonts)
   Primary: Deep Violet #7C3AED
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --p50:  #F5F3FF;
  --p100: #EDE9FE;
  --p200: #DDD6FE;
  --p500: #7C3AED;
  --p600: #6D28D9;
  --p700: #5B21B6;
  --p900: #2E1065;

  --bg-white:  #FFFFFF;
  --bg-soft:   #FAFAF9;
  --bg-dark:   #1A0533;

  --text-main:  #0F0A1E;
  --text-muted: #6B7280;
  --text-white: #FFFFFF;

  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-full: 999px;

  --shadow-sm:  0 2px 8px rgba(124,58,237,.10);
  --shadow-md:  0 4px 20px rgba(124,58,237,.15);
  --shadow-lg:  0 8px 36px rgba(124,58,237,.20);

  --header-h: 56px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-white);
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 5.5vw, 2rem);  font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
p  { font-size: 1rem;   line-height: 1.65; }

/* ── Utility ───────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--transition), transform .55s var(--transition); }
.reveal.visible { opacity: 1; transform: none; }

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--bg-white);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--p500);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-logo-icon svg { width: 20px; height: 20px; }

.header-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -.02em;
}

.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}

.hamburger:active { background: var(--p50); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* X state */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--bg-white); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--bg-white); }

/* ── NAV OVERLAY ───────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(46,16,101,.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 80px 20px 40px;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 14px 32px;
  border-radius: var(--r-full);
  min-height: 56px;
  display: flex;
  align-items: center;
  transition: background var(--transition);
}

.nav-overlay a:active { background: rgba(255,255,255,.12); }

.nav-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #5B21B6 0%, #7C3AED 60%, #A78BFA 100%);
  padding: 100px 20px 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  color: var(--text-white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active { transform: scale(.97); }

.btn-primary-white {
  background: var(--bg-white);
  color: var(--p600);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.btn-primary-white:active { background: var(--p50); }

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,.6);
}

.btn-outline-white:active { background: rgba(255,255,255,.1); }

.btn-primary {
  background: var(--p500);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:active { background: var(--p600); }

.btn-outline-purple {
  background: transparent;
  color: var(--p500);
  border: 2px solid var(--p200);
}

.btn-outline-purple:active { background: var(--p50); }

/* Hero stat cards */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.stat-icon svg { width: 18px; height: 18px; color: #fff; }

.stat-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.stat-desc {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  line-height: 1.3;
}

/* ── SECTION BASE ──────────────────────────────────────────── */
.section {
  padding: 56px 20px;
}

.section--soft { background: var(--bg-soft); }
.section--white { background: var(--bg-white); }
.section--purple { background: var(--p500); }
.section--dark { background: var(--bg-dark); }

.section-overline {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p500);
  margin-bottom: 8px;
}

.section-tag {
  display: inline-block;
  background: var(--p100);
  color: var(--p700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}

.section-title-center { text-align: center; }
.section-sub-center { text-align: center; color: var(--text-muted); margin-top: 10px; font-size: .95rem; }

/* ── FEATURES ──────────────────────────────────────────────── */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--p500);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:active {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--p100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrap svg { width: 24px; height: 24px; color: var(--p600); }

.feature-card h3 { font-size: 1.05rem; color: var(--text-main); }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-text h2 { margin-bottom: 18px; }
.about-text p  { color: var(--text-muted); margin-bottom: 14px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-main);
  font-weight: 500;
}

.check-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--p100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-image {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--p100);
  margin-top: 28px;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding: 20px 20px 16px;
  margin: 0 -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-row::-webkit-scrollbar { display: none; }

.testi-card {
  min-width: 280px;
  width: 280px;
  scroll-snap-align: start;
  background: var(--bg-white);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 16px; height: 16px; color: #F59E0B; }

.testi-quote {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--p100);
  flex-shrink: 0;
}

.testi-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-main);
}

.testi-city {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--p100);
}

.faq-item:first-child { border-top: 1px solid var(--p100); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  min-height: 60px;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--p600); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--p100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.faq-icon svg { width: 14px; height: 14px; color: var(--p600); transition: transform var(--transition); }

.faq-item[open] .faq-icon { background: var(--p500); }
.faq-item[open] .faq-icon svg { color: #fff; transform: rotate(45deg); }

.faq-body {
  padding: 0 4px 20px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(140deg, var(--p700) 0%, var(--p500) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.cta-section h2 { color: var(--text-white); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,.8); margin-bottom: 28px; position: relative; z-index: 1; }

.cta-btn {
  background: var(--bg-white);
  color: var(--p600);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--r-full);
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
  width: 100%;
  max-width: 320px;
}

.cta-btn:active { transform: scale(.97); }

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.cta-benefit svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  padding: 48px 20px 0;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--p500);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { width: 20px; height: 20px; }

.footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
  line-height: 1.5;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 32px;
}

.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.footer-col-title:first-child { margin-top: 0; }

.footer-link {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  padding: 6px 0;
  display: block;
  transition: color var(--transition);
}

.footer-link:active { color: var(--p200); }

.footer-contact {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-contact-item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--p200);
  margin-top: 2px;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-legal a {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

.footer-legal a:active { color: rgba(255,255,255,.7); }

.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  padding-bottom: 8px;
}

/* ── COOKIE BANNER ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: var(--bg-white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,.12);
  padding: 24px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  transition: transform .4s cubic-bezier(.32,1,.32,1);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.cookie-banner p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.cookie-banner p a { color: var(--p500); text-decoration: underline; }

.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-btns button {
  flex: 1;
  min-height: 48px;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}

.cookie-btns button:active { transform: scale(.97); }

.btn-cookie-accept {
  background: var(--p500);
  color: var(--text-white);
}

.btn-cookie-accept:active { background: var(--p600); }

.btn-cookie-reject {
  background: var(--p50);
  color: var(--p600);
  border: 1.5px solid var(--p200);
}

.btn-cookie-reject:active { background: var(--p100); }

/* ── PAGE HERO (subpages) ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #5B21B6 0%, #7C3AED 60%, #A78BFA 100%);
  padding: 100px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  color: var(--text-white);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--p100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg { width: 20px; height: 20px; color: var(--p600); }

.contact-card-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ── CONTACT FORM ──────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid var(--p200);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-main);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--p500);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
  background: var(--p50);
  border-radius: var(--r-md);
  border: 1.5px solid var(--p200);
}

.form-success svg { width: 48px; height: 48px; color: var(--p500); margin: 0 auto 12px; }
.form-success h3 { color: var(--text-main); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: .9rem; }

/* ── TEAM CARDS ────────────────────────────────────────────── */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--p100);
}

.team-card-body {
  padding: 20px;
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card-role { font-size: .82rem; font-weight: 600; color: var(--p500); margin-bottom: 10px; }
.team-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }

/* ── LEGAL PAGES ───────────────────────────────────────────── */
.legal-content {
  padding: 40px 20px 56px;
}

.legal-content h2 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 28px 0 10px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

.legal-content ul li {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.legal-date {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── SCROLL-TO-TOP ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom));
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--p500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 500;
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:active { background: var(--p600); }
.scroll-top svg { width: 18px; height: 18px; color: #fff; }

/* ── MISSION BLOCK ─────────────────────────────────────────── */
.mission-block {
  background: var(--p50);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  border-left: 4px solid var(--p500);
  margin: 28px 0;
}

.mission-block p {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
}

/* ── BACK LINK ─────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
  min-height: 36px;
}

.back-link svg { width: 16px; height: 16px; }

/* ── PLACEHOLDER IMAGES ────────────────────────────────────── */
.img-placeholder {
  background: var(--p100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--p500);
  font-size: .8rem;
  font-weight: 600;
}

.img-placeholder svg { width: 40px; height: 40px; opacity: .5; }
