/* ─── Fonts ──────────────────────────────────────────────── */
@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

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

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --brand:       #e79daa;
  --ink:         #3a0f1a;
  --ink-70:      rgba(58, 15, 26, 0.72);
  --ink-55:      rgba(58, 15, 26, 0.52);
  --ink-40:      rgba(58, 15, 26, 0.38);
  --ink-20:      rgba(58, 15, 26, 0.18);
  --ink-14:      rgba(58, 15, 26, 0.13);
  --ink-10:      rgba(58, 15, 26, 0.08);
  --surface:     rgba(255, 255, 255, 0.38);
  --surface-hover: rgba(255, 255, 255, 0.50);
  --dark:        #3a0f1a;
  --light:       #f5d6de;
}

/* ─── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Fredoka', ui-sans-serif, system-ui, sans-serif;
  background: var(--brand);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

em { font-style: italic; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
}

.logo-wrap {
  width: min(260px, 55vw);
  margin-bottom: 24px;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 12px;
}

h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 480px;
  margin-bottom: 32px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--light);
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-dark:hover, .btn-dark:focus-visible { opacity: 0.85; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--ink-40);
  transition: background 0.15s;
  cursor: pointer;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink-10); }

/* ─── App badge (hero) ───────────────────────────────────── */
.app-badge {
  background: var(--ink-10);
  border: 1px solid var(--ink-20);
  border-radius: 14px;
  padding: 12px 18px 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.app-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--ink-14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 17px;
}
.app-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-55); margin-bottom: 1px;
}
.app-val { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ─── Divider ────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--ink-14); margin: 0; }

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 64px 24px; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-center { text-align: center; }

.sec-lbl {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-55); margin-bottom: 10px;
}
.sec-h {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px;
}
.sec-p {
  font-size: 1rem; font-weight: 400;
  line-height: 1.7; color: var(--ink-70); max-width: 620px;
}
.sec-p strong { color: var(--ink); font-weight: 600; }
.center-p { margin: 0 auto 28px; }

/* ─── Legal box ──────────────────────────────────────────── */
.legal-box {
  background: var(--ink-10);
  border: 1px solid var(--ink-14);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 28px;
  font-size: 0.86rem; font-weight: 400;
  line-height: 1.65; color: var(--ink-70);
}
.legal-box strong { color: var(--ink); font-weight: 600; }

/* ─── Stats ──────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--ink-14);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 32px;
}
.stat {
  background: rgba(255, 255, 255, 0.30);
  padding: 26px 20px; text-align: center;
}
.stat-n {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  line-height: 1; margin-bottom: 6px; color: var(--ink);
}
.stat-sup { font-size: 1.4rem; }
.stat-l {
  font-size: 11px; font-weight: 400; letter-spacing: 0.05em;
  color: var(--ink-70); text-transform: uppercase;
}

/* ─── Misión / Visión ────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 36px;
}
.mv-card {
  background: var(--surface); border: 1px solid var(--ink-14);
  border-radius: 18px; padding: 28px 24px;
}
.mv-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-55); margin-bottom: 10px;
}
.mv-title {
  font-family: 'Fredoka', sans-serif; font-size: 1.25rem; font-weight: 600;
  color: var(--ink); margin-bottom: 10px; line-height: 1.2;
}
.mv-body { font-size: 0.9rem; font-weight: 400; line-height: 1.68; color: var(--ink-70); }

/* ─── Cards ──────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-top: 36px;
}
.card {
  background: var(--surface); border: 1px solid var(--ink-14);
  border-radius: 18px; padding: 26px 22px;
}
.card-icon { font-size: 26px; margin-bottom: 14px; }
.card-h {
  font-family: 'Fredoka', sans-serif; font-size: 1.1rem; font-weight: 600;
  margin-bottom: 8px; color: var(--ink);
}
.card-p { font-size: 0.88rem; font-weight: 400; line-height: 1.6; color: var(--ink-70); }

/* ─── App feature section ────────────────────────────────── */
.app-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-top: 36px;
}
.app-step {
  background: var(--surface); border: 1px solid var(--ink-14);
  border-radius: 18px; padding: 26px 22px;
  position: relative;
}
.step-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--ink-20); line-height: 1;
  margin-bottom: 10px;
}
.step-icon { font-size: 22px; margin-bottom: 10px; }
.step-h {
  font-family: 'Fredoka', sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin-bottom: 7px;
}
.step-p { font-size: 0.86rem; font-weight: 400; line-height: 1.6; color: var(--ink-70); }

.app-highlight {
  background: var(--ink-10); border: 1px solid var(--ink-20);
  border-radius: 16px; padding: 22px 24px; margin-top: 20px;
  display: flex; align-items: flex-start; gap: 14px;
}
.app-highlight-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.app-highlight-text { font-size: 0.9rem; font-weight: 400; line-height: 1.65; color: var(--ink-70); }
.app-highlight-text strong { color: var(--ink); font-weight: 600; }

/* ─── Instagram button ───────────────────────────────────── */
.ig-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--dark); color: var(--light);
  font-family: 'Fredoka', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 100px; text-decoration: none;
  margin-bottom: 36px; transition: opacity 0.15s;
}
.ig-btn:hover, .ig-btn:focus-visible { opacity: 0.85; }

/* ─── App card ───────────────────────────────────────────── */
.app-card {
  background: var(--surface); border: 1px solid var(--ink-14);
  border-radius: 18px; padding: 26px 24px;
  max-width: 440px; margin: 0 auto;
}
.app-card-h {
  font-family: 'Fredoka', sans-serif; font-size: 1.15rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.app-card-p { font-size: 0.88rem; font-weight: 400; color: var(--ink-70); line-height: 1.6; margin-bottom: 18px; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink-10); border: 1px solid var(--ink-20);
  border-radius: 9px; padding: 9px 16px;
  font-family: 'Fredoka', sans-serif; font-size: 14px; font-weight: 500; color: var(--ink);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 36px 24px; text-align: center;
  border-top: 1px solid var(--ink-14);
}
.footer-name {
  font-family: 'Fredoka', sans-serif; font-size: 1rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink); margin-bottom: 12px;
}
.footer-links {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.footer-links a {
  color: var(--ink-55); text-decoration: none;
  font-family: 'Fredoka', sans-serif; font-size: 14px; font-weight: 400;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }
.footer-links span { color: var(--ink-20); }
.footer-copy { font-size: 12px; font-weight: 400; color: var(--ink-40); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 0 20px; }
  .logo-wrap { width: min(220px, 68vw); }
  .section { padding: 48px 20px; }
  .cards, .app-steps, .mv-grid { grid-template-columns: 1fr; }
}

/* ─── Focus / a11y ───────────────────────────────────────── */
:focus-visible { outline: 2px solid rgba(255,255,255,0.7); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}