/* ═══ Home v4 — Warm Editorial ═══ */

.h-section { padding: 4rem 0; }
@media (max-width: 768px) { .h-section { padding: 2.5rem 0; } }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--mn-accent-l) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--mn-accent);
  background: var(--mn-accent-l); border: 1px solid var(--mn-accent);
  border-radius: 20px; padding: .3rem .85rem; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--mn-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--mn-ink); letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic; color: var(--mn-accent);
  text-decoration: underline;
  text-decoration-color: var(--mn-accent-l);
  text-underline-offset: 4px; text-decoration-thickness: 3px;
}
.hero p {
  font-size: 1.1rem; color: var(--mn-ink-2);
  max-width: 520px; margin: 0 auto 1.75rem; line-height: 1.6;
}
.hero-cta-group {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--mn-accent); color: #fff;
  font-weight: 700; font-size: .95rem;
  padding: .7rem 1.75rem; border-radius: 10px;
  text-decoration: none; transition: all .15s;
  box-shadow: 0 4px 16px rgba(201,65,12,.2);
}
.hero-cta:hover {
  background: var(--mn-accent-h); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,65,12,.25);
}
.hero-cta-secondary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--mn-ink-2);
  font-weight: 600; font-size: .9rem;
  padding: .7rem 1.5rem; border-radius: 10px;
  text-decoration: none; transition: all .15s;
  border: 1.5px solid var(--mn-border);
}
.hero-cta-secondary:hover {
  border-color: var(--mn-accent); color: var(--mn-accent);
  background: var(--mn-accent-l);
}
.hero-sub {
  font-size: .78rem; color: var(--mn-muted); margin-top: .75rem;
}

/* ══════════════════════════════════════════════
   Features v2  —  AMBOSS-inspired compact grid
   ══════════════════════════════════════════════ */

.feat-section {
  padding: 4.5rem 0 5rem;
  background: var(--mn-surface-2);
}

/* 3-col grid, collapses to 2 then 1 */
.feat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1060px) { .feat-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .feat-grid-v2 { grid-template-columns: 1fr; } }

/* ── Card shell ── */
.feat-card-v2 {
  display: flex; flex-direction: column;
  background: var(--mn-surface);
  border: 1px solid var(--mn-border);
  border-top: 3px solid var(--fc-accent, #c9410c);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feat-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.12);
  border-color: var(--fc-accent, #c9410c);
  text-decoration: none; color: inherit;
}

/* accent colours per card */
.fc-red    { --fc-accent: #c9410c; }
.fc-yellow { --fc-accent: #d97706; }
.fc-blue   { --fc-accent: #2563eb; }
.fc-purple { --fc-accent: #7c3aed; }
.fc-green  { --fc-accent: #059669; }
.fc-teal   { --fc-accent: #0d9488; }

/* ── Screenshot thumbnail ── */
.feat-thumb {
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: var(--mn-border);
  position: relative;
  flex-shrink: 0;
}
.feat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform .45s ease;
  filter: brightness(.98) saturate(.95);
}
.feat-card-v2:hover .feat-thumb img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
/* fade image into card — uses surface color so funciona en light y dark */
.feat-thumb::after {
  content: '';
  position: absolute; inset: auto 0 0 0;
  height: 40px;
  background: linear-gradient(transparent, var(--mn-surface));
}

/* ── Card body ── */
.feat-body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex; flex-direction: column; flex: 1;
}
.feat-header {
  display: flex; align-items: center; gap: .55rem;
  margin-bottom: .55rem;
}
.feat-icon-v2 {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: .82rem; flex-shrink: 0;
  background: color-mix(in srgb, var(--fc-accent, #c9410c) 15%, var(--mn-surface));
  color: var(--fc-accent, #c9410c);
}
.feat-card-v2 h3 {
  font-size: .93rem; font-weight: 700;
  color: var(--mn-ink); margin: 0; line-height: 1.25;
}
.feat-card-v2 p {
  font-size: .8rem; color: var(--mn-ink-2);
  line-height: 1.55; margin: 0 0 .85rem; flex: 1;
}
.feat-bullets {
  list-style: none; padding: 0; margin: 0 0 .85rem;
}
.feat-bullets li {
  font-size: .75rem; color: var(--mn-ink-2);
  padding: .18rem 0; display: flex; align-items: flex-start; gap: .4rem;
}
.feat-bullets li::before {
  content: '✓';
  color: var(--fc-accent, #c9410c);
  font-weight: 700; flex-shrink: 0; margin-top: .05rem;
}
.feat-cta {
  font-size: .76rem; font-weight: 700;
  color: var(--fc-accent, #c9410c);
  display: flex; align-items: center; gap: .28rem;
  transition: gap .15s;
  margin-top: auto;
}
.feat-card-v2:hover .feat-cta { gap: .5rem; }

/* ── Cómo funciona (3 pasos) ── */
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}
.how-step {
  background: var(--mn-surface); border: 1px solid var(--mn-border);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
  transition: box-shadow .2s, border-color .2s;
}
.how-step:hover { box-shadow: var(--mn-shadow); border-color: var(--mn-accent); }
.how-num {
  font-family: var(--mn-display); font-size: 2.5rem; font-weight: 800;
  color: var(--mn-accent); opacity: .25; line-height: 1; margin-bottom: .25rem;
}
.how-icon { font-size: 1.8rem; color: var(--mn-accent); margin-bottom: .75rem; }
.how-step h4 { font-size: .95rem; font-weight: 700; color: var(--mn-ink); margin-bottom: .5rem; }
.how-step p { font-size: .82rem; color: var(--mn-muted); line-height: 1.6; }
.how-step-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--mn-accent); opacity: .4;
  padding: 0 .75rem; margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; gap: 1rem; }
  .how-step-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ── About ── */
.about-box {
  background: var(--mn-surface); border: 1px solid var(--mn-border);
  border-radius: var(--mn-radius-lg); overflow: hidden;
}
.about-content { padding: 2.5rem; }
@media (max-width: 768px) { .about-content { padding: 1.5rem; } }
.about-content h2 {
  font-family: var(--mn-display); font-size: 1.8rem;
  font-weight: 800; color: var(--mn-ink);
  margin-bottom: .75rem; letter-spacing: -.02em;
}
.about-content p {
  color: var(--mn-ink-2); line-height: 1.7; margin-bottom: 1rem;
}
.about-content p:last-child { margin-bottom: 0; }
.about-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--mn-accent); margin-bottom: .5rem;
}

/* ══════════════════════════════════════
   Why section — editorial tiles
   ══════════════════════════════════════ */
.why-section {
  padding: 5rem 0 5.5rem;
  background: #111009;
  color: #f0ece6;
}

.why-header {
  text-align: center;
  margin-bottom: 3rem;
}
.why-section .section-label { color: #d97706; }
.why-section .section-title {
  color: #f0ece6;
  font-size: clamp(1.65rem, 3.5vw, 2.3rem);
  line-height: 1.2;
}

/* ── Stats bar ── */
.why-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,.03);
}
.why-stat {
  flex: 1; min-width: 140px;
  padding: 1.5rem 1rem;
  text-align: center;
}
.why-stat-num {
  font-family: var(--mn-display);
  font-size: 2.2rem; font-weight: 900;
  color: #f0ece6; line-height: 1;
  margin-bottom: .3rem;
}
.why-stat-num span {
  font-size: 1.4rem; color: #d97706;
}
.why-stat-lbl {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(240,236,230,.45);
}
.why-stat-sep {
  width: 1px; align-self: stretch;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .why-stat-sep { display: none; }
  .why-stat { border-bottom: 1px solid rgba(255,255,255,.1); }
  .why-stat:last-child { border-bottom: none; }
  .why-stats-bar { flex-direction: column; }
}

/* ── Tiles grid ── */
.why-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.why-tile {
  position: relative;
  overflow: hidden;
  background: #181410;
  padding: 2rem 1.75rem 2rem;
  display: flex; flex-direction: column;
  transition: background .2s;
}
.why-tile:hover { background: #1f1a15; }

/* wide card takes 2 cols, full height on its row */
.wt-wide {
  grid-column: span 2;
}

/* accent card gets a warm tint */
.wt-accent {
  background: #1a1208;
}
.wt-accent:hover { background: #211508; }

/* ghost number */
.wt-ghost {
  position: absolute;
  right: .75rem; bottom: -.75rem;
  font-family: var(--mn-display);
  font-size: 7rem; font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none; user-select: none;
}
.wt-accent .wt-ghost { color: rgba(217,119,6,.08); }

/* icon */
.wt-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(217,119,6,.15);
  color: #d97706;
  display: grid; place-items: center;
  font-size: .9rem;
  margin-bottom: .85rem;
  flex-shrink: 0;
}

.why-tile h4 {
  font-size: 1rem; font-weight: 700;
  color: #f0ece6; margin: 0 0 .6rem;
  line-height: 1.3;
}
.why-tile p {
  font-size: .82rem; color: rgba(240,236,230,.55);
  line-height: 1.6; margin: 0; flex: 1;
}

/* tag pill */
.wt-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #d97706;
  background: rgba(217,119,6,.12);
  border: 1px solid rgba(217,119,6,.25);
  border-radius: 20px;
  padding: .2rem .65rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .why-tiles { grid-template-columns: repeat(2, 1fr); }
  .wt-wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .why-tiles { grid-template-columns: 1fr; }
  .wt-wide { grid-column: span 1; }
  .wt-ghost { font-size: 5rem; }
}

/* ── Pricing ── */
.price-card {
  background: var(--mn-surface); border: 2px solid var(--mn-accent);
  border-radius: var(--mn-radius-lg);
  max-width: 460px; margin: 0 auto; padding: 2.5rem 2rem;
  text-align: center; position: relative;
  box-shadow: 0 8px 32px rgba(201,65,12,.08);
}
.price-card .price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--mn-accent); color: #fff;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: .3rem 1rem; border-radius: 20px;
}
.price-amount {
  font-family: var(--mn-display); font-size: 2.8rem;
  font-weight: 800; color: var(--mn-ink); line-height: 1;
  margin-bottom: .15rem;
}
.price-period { font-size: .85rem; color: var(--mn-muted); margin-bottom: 1.25rem; }
.price-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  text-align: left;
}
.price-list li {
  padding: .45rem 0; font-size: .85rem; color: var(--mn-ink-2);
  border-bottom: 1px solid var(--mn-border);
  display: flex; align-items: center; gap: .5rem;
}
.price-list li:last-child { border-bottom: none; }
.price-list .check { color: var(--mn-green); font-weight: 700; }
.price-cta {
  display: block; width: 100%;
  background: var(--mn-accent); color: #fff;
  font-weight: 700; font-size: .95rem;
  padding: .7rem; border-radius: 10px; border: none;
  text-decoration: none; transition: all .15s;
}
.price-cta:hover { background: var(--mn-accent-h); color: #fff; transform: translateY(-1px); }
.price-demo-note {
  margin-top: .75rem; font-size: .75rem; color: var(--mn-muted);
  text-align: center;
}
.price-demo-note a { color: var(--mn-accent); font-weight: 600; text-decoration: none; }
.price-demo-note a:hover { text-decoration: underline; }
.price-methods {
  margin-top: 1rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: .4rem;
}
.price-methods span {
  font-size: .68rem; color: var(--mn-muted); font-weight: 500;
  background: var(--mn-surface-2); border: 1px solid var(--mn-border);
  padding: .2rem .6rem; border-radius: 5px;
}

/* ── Section headers ── */
.section-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--mn-accent); margin-bottom: .4rem;
}
.section-title {
  font-family: var(--mn-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; color: var(--mn-ink); letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.section-sub {
  font-size: .95rem; color: var(--mn-muted); max-width: 520px;
}
.section-sub.center { margin: 0 auto; }

/* ── Divider ── */
.h-divider {
  border: none; height: 1px;
  background: var(--mn-border); margin: 0;
}