/* bymoratools.com: estilos comunes de todas las páginas.
   Página oscura de un solo tema: fondo grafito, violeta "mora" de acento, tipografía Barlow. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 800; font-display: swap; src: url('../fonts/barlow-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #14161b; --bg-alt: #181b21; --card: #1d2129; --chip: #262b35; --line: #23272f; --line-2: #2a2f3a; --line-3: #3a4050;
  --text: #e5e7eb; --text-2: #c9ced8; --muted: #9ca3af;
  --violet: #7c3aed; --violet-2: #8b5cf6; --violet-3: #a78bfa; --violet-4: #c4b5fd;
  --red: #ef4444; --amber: #f59e0b; --teal: #2dd4bf; --purple: #a855f7; --blue: #60a5fa; --pink: #f472b6;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.5; }
a { color: var(--violet-4); }
a:hover { color: #ddd6fe; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 480px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.24em; color: var(--violet-3); text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: #fff; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; }
p, ul, ol, dl { margin: 0; }
.btn { display: inline-block; padding: 15px 26px; font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; background: var(--violet); border-radius: 12px; }
.btn:hover { background: #6d28d9; color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line-3); color: var(--text); font-weight: 600; }
.btn.ghost:hover { border-color: var(--violet-3); color: #fff; }
.more { font-weight: 600; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section { padding-block: 80px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head p { font-size: 18px; color: var(--muted); max-width: 640px; }
:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 3px; border-radius: 4px; }

/* Logo: "mora" con orejas en la o */
.wordmark { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff; text-decoration: none; }
.wordmark svg { width: 0.875em; height: 0.93em; margin: 0 0.01em; }

/* Encabezado y menú */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 16px; }
header .wordmark { font-size: 40px; }
.head-tools { display: flex; align-items: center; gap: 8px; }
nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
nav a { display: block; padding: 12px 12px; font-size: 16px; font-weight: 500; color: var(--text-2); text-decoration: none; }
nav a:hover { color: #fff; }
nav a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--violet-3); }
nav a.btn { padding: 12px 18px; font-weight: 600; color: #fff; margin-left: 4px; }
.lang { display: flex; align-items: center; border: 1px solid var(--line-3); border-radius: 10px; overflow: hidden; }
.lang a, .lang span { display: block; padding: 10px 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: #fff; background: var(--card); }
.lang span { color: #fff; background: var(--line-2); }
.menu-btn { display: none; align-items: center; gap: 8px; padding: 10px 14px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: var(--card); border: 1px solid var(--line-3); border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .js .menu-btn { display: inline-flex; }
  .js nav { display: none; flex-basis: 100%; }
  .js header.open nav { display: block; }
  .js nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 8px; }
  .js nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .js nav a[aria-current="page"] { box-shadow: none; color: var(--violet-4); }
  .js nav a.btn { display: block; margin: 12px 0 0; text-align: center; border-bottom: 0; }
}
@media (min-width: 961px) { header nav { order: 2; } .head-tools { order: 3; } }

/* Portada del inicio */
.hero { padding-block: 88px 64px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.hero-text > p { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.hero .actions { padding-top: 8px; }
.hero-icon { flex: 1 1 300px; max-width: 420px; aspect-ratio: 1 / 1; border-radius: 40px; background: var(--card); display: flex; align-items: center; justify-content: center; }
.hero-icon svg { width: 70%; height: 70%; }

.works-with { border-top: 1px solid var(--line); padding-block: 22px; }
.works-with .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.works-with .label { margin: 0; }
.works-with ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 18px; font-weight: 700; color: var(--text-2); }

/* Encabezado de páginas internas */
.page-head { padding-block: 72px 48px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.page-head p { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 680px; }
.page-head + section { padding-top: 0; }

/* Tarjetas de programas */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 250px; min-width: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.product { flex-basis: 320px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status { font-size: 13px; font-weight: 600; color: #d1d5db; background: var(--line-2); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.status.soon { color: #14161b; background: var(--pink); }
.card h3 { font-size: 26px; font-weight: 700; }
.card p { font-size: 16px; color: var(--text-2); }
.card .logo { width: 64px; height: 64px; border-radius: 16px; }
.card .tagline { font-size: 18px; font-weight: 600; color: #fff; margin-top: -6px; }
.card ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.card li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--violet-2)); }
.card .works { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); }

/* Destacados del inicio */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tool { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tool:hover { border-color: var(--violet-2); }
.tool .card-top .logo { width: 52px; height: 52px; border-radius: 14px; }
.tool h3 { font-size: 22px; font-weight: 700; }
.tool h3 a { color: #fff; text-decoration: none; }
.tool h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.tool p { font-size: 15px; line-height: 1.45; color: var(--text-2); }
.tool .kind { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Galería de trabajos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.shot { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--card); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(10, 11, 14, 0.85), rgba(10, 11, 14, 0)); }

/* Licencias */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
.feature { flex: 1 1 260px; min-width: 0; border-top: 3px solid var(--c); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 22px; font-weight: 700; }
.feature p { font-size: 16px; color: var(--text-2); }
.after { margin-top: 32px; }
.steps { list-style: none; padding: 0; counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { counter-increment: paso; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(paso); width: 40px; height: 40px; border-radius: 12px; background: var(--violet); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { font-size: 16px; color: var(--text-2); }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-size: 19px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet-3); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 20px; font-size: 17px; color: var(--text-2); }

/* Historias (Mora, inicio) */
.story .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.story picture { display: block; flex: 1 1 280px; max-width: 400px; }
.story img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.story-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.story-text p { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.logo-show { display: flex; flex-wrap: wrap; gap: 20px; }
.logo-show > div { flex: 1 1 300px; min-width: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.logo-show .wordmark { font-size: clamp(72px, 10vw, 112px); }
.logo-show .icon svg { width: 140px; height: 140px; }
.logo-show p { font-size: 16px; color: var(--text-2); max-width: 360px; }

.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.teaser { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.teaser:hover { border-color: var(--violet-2); }
.teaser img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.teaser .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.teaser h3 { font-size: 26px; font-weight: 800; }
.teaser h3 a { color: #fff; text-decoration: none; }
.teaser h3 a::after { content: ''; position: absolute; inset: 0; }
.teaser p { font-size: 16px; color: var(--text-2); }

.contact .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.contact p { font-size: 19px; color: var(--text-2); max-width: 560px; }
.next .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.next p { font-size: 20px; font-weight: 600; color: #fff; }

/* Sobre mí */
.intro { padding-block: 80px 40px; }
.intro .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.intro picture { display: block; flex: 1 1 260px; max-width: 360px; }
.intro img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.intro-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.intro h1 { font-size: clamp(48px, 7vw, 84px); line-height: 0.98; font-weight: 800; letter-spacing: -0.03em; }
.intro-text > p { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 620px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pills li { font-size: 15px; font-weight: 500; color: var(--text); background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
.stats { padding-block: 0 80px; }
.stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dt { font-size: 16px; color: var(--text-2); }
.stat dd { margin: 0; font-size: 44px; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cards .card { flex: none; }
.card.top { border-top: 3px solid var(--c); }
.cards .card h3 { font-size: 23px; }
.gear .card { gap: 16px; padding: 24px; }
.gear .card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.gear .card h3::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.gear .card .chips { flex-direction: row; flex-wrap: wrap; }
.gear .card .chips li { padding: 7px 12px; font-size: 15px; font-weight: 500; color: var(--text); background: var(--chip); border-radius: 8px; }
.gear .card .chips li::before { display: none; }
.exp { display: flex; flex-wrap: wrap; gap: 48px; }
.exp-main { flex: 999 1 460px; min-width: 0; }
.exp-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.label { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.companies { padding: 0; list-style: none; }
.companies li { border-bottom: 1px solid var(--line-2); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.companies strong { font-size: 22px; font-weight: 700; color: #fff; }
.companies span { font-size: 16px; color: var(--text-2); }
.outline { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.outline li { font-size: 16px; font-weight: 600; color: var(--text); border: 1px solid var(--line-3); border-radius: 999px; padding: 8px 14px; }
.tasks { margin-top: 40px; }
.checks { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--text-2); }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.artists { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.artists li { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: #fff; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 18px; }
.note { margin-top: 20px; font-size: 17px; color: var(--muted); }
.training { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.training h3 { padding-bottom: 10px; border-bottom: 2px solid var(--c); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.training ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.4; color: var(--text-2); }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.closing p { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 640px; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px; font-size: 14px; color: var(--muted); }
footer .wordmark { font-size: 26px; }
footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer ul a { color: var(--muted); text-decoration: none; }
footer ul a:hover { color: #fff; }
