/* biblias.co — estilos compartidos (inicio, T Adoramos, Biblia Flow) */
:root {
  /* fondo gris oscuro */
  --paper: #1e1e21;
  --paper-2: #29292d;
  --ink: #f2f2f4;
  --ink-2: #a9a9b2;
  --line: #333338;
  --gold: #e8a33d;
  --ta: #9e4a4a;
  --ta-d: #7e3434;
  --bf: #0b0b0d;
  --bf-cyan: #25f4ee;
  --bf-red: #fe2c55;
  --serif: "Outfit", "Manrope", system-ui, sans-serif;   /* títulos: letra plana */
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- barra superior ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand em { font-style: normal; color: var(--gold); }
.nav nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav.dark { background: rgba(30, 30, 33, .85); border-color: #333338; color: #fff; }
.nav.dark .brand em { color: #e0a548; }
.nav.dark nav a { color: #a8a8b0; }
.nav.dark nav a:hover, .nav.dark nav a[aria-current] { color: #fff; }
.nav.red { background: rgba(126, 52, 52, .9); border-color: rgba(255, 255, 255, .14); color: #fff; }
.nav.red .brand em { color: #f3cf8f; }
.nav.red nav a { color: rgba(255, 255, 255, .72); }
.nav.red nav a:hover, .nav.red nav a[aria-current] { color: #fff; }
@media (max-width: 640px) {
  .nav nav { gap: 14px; font-size: 14px; }
  .nav nav .hide-sm { display: none; }
}

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.white { background: #fff; color: var(--ta-d); }
.btn.yt { background: #ff0033; color: #fff; }
/* botón de Google Play (Biblia Flow) */
.btn.play { height: 58px; padding: 0 26px 0 20px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px #45454d; }
.btn.play:hover { box-shadow: inset 0 0 0 1px #8a8a94, 0 10px 30px -10px rgba(254, 44, 85, .45); }
.btn.play svg { width: 26px; height: 26px; }
.btn.play small { display: block; font-size: 11px; font-weight: 600; color: #a8a8b0; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.btn.play span { text-align: left; line-height: 1.1; font-size: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- tipografía ---------- */
.eyebrow { font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 620px; margin: 20px 0 30px; }
section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* ---------- inicio ---------- */
.hero-home { padding: 96px 0 64px; position: relative; overflow: hidden; }
.hero-home h1 em { font-style: normal; color: var(--gold); }
.verse { margin-top: 48px; padding-left: 18px; border-left: 3px solid var(--gold); font: 400 19px/1.5 var(--serif); color: var(--ink-2); max-width: 520px; }
.verse cite { display: block; font: 700 13px/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; color: var(--ink); }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } }
.pcard { position: relative; border-radius: 28px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; min-height: 560px; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.pcard .body { padding: 34px 32px 0; position: relative; z-index: 2; }
.pcard .tag { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.pcard h3 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 10px; }
.pcard p { margin: 0 0 22px; color: rgba(255, 255, 255, .8); max-width: 420px; }
.pcard .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.pcard .go svg { width: 18px; height: 18px; transition: transform .2s; }
.pcard:hover .go svg { transform: translateX(4px); }
.pcard.ta { background: radial-gradient(120% 80% at 50% 0%, #b45f5f 0%, var(--ta) 45%, var(--ta-d) 100%); }
.pcard.bf { box-shadow: inset 0 0 0 1px #2c2c32; background: radial-gradient(90% 60% at 80% 100%, rgba(254, 44, 85, .28), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(37, 244, 238, .18), transparent 60%), var(--bf); }
.pcard .art { margin-top: auto; position: relative; height: 290px; }
.ta-collage { position: absolute; inset: 0; }
.ta-collage img { position: absolute; width: 62%; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); border: 3px solid rgba(255, 255, 255, .9); }
.ta-collage img:nth-child(1) { left: 6%; bottom: -30px; transform: rotate(-6deg); }
.ta-collage img:nth-child(2) { right: 4%; bottom: 40px; transform: rotate(5deg); }
.ta-collage img:nth-child(3) { left: 22%; bottom: -80px; transform: rotate(1deg); width: 58%; }
.bf-phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 14px; }
.bf-phones .phone { width: 170px; }
.bf-phones .phone:nth-child(1) { transform: translateY(46px) rotate(-7deg); }
.bf-phones .phone:nth-child(3) { transform: translateY(46px) rotate(7deg); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--paper-2); border-radius: 20px; padding: 26px; }
.value b { display: block; font: 700 22px/1.2 var(--serif); margin: 14px 0 8px; }
.value p { margin: 0; color: var(--ink-2); font-size: 16px; }
.value i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: #1c1c1f; font-style: normal; font-size: 21px; }
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.about .who { background: var(--paper-2); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line); }
.about .who b { display: block; font: 700 28px/1.2 var(--serif); }
.about .who span { color: var(--ink-2); }
.about .who ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about .who li { display: flex; gap: 12px; align-items: center; }
.about .who li img { width: 34px; height: 34px; border-radius: 9px; flex: none; }

/* ---------- teléfono ---------- */
.phone { position: relative; aspect-ratio: 390 / 844; border-radius: 34px; padding: 7px; background: #111; box-shadow: 0 0 0 1px #2c2c30, 0 30px 60px -20px rgba(0, 0, 0, .6); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 22%; height: 3.2%; margin-left: -11%; border-radius: 99px; background: #000; z-index: 2; }

/* ---------- pie ---------- */
footer.site { background: #161618; border-top: 1px solid var(--line); color: #8f8f98; padding: 48px 0 40px; font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer.site .brand { color: var(--ink); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: #8f8f98; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site p { margin: 12px 0 0; }

/* ---------- T Adoramos ---------- */
.ta-page { background: var(--paper); }
.ta-hero { background: radial-gradient(120% 90% at 50% 0%, #b45f5f 0%, var(--ta) 40%, var(--ta-d) 100%); color: #fff; padding: 72px 0 0; overflow: hidden; }
.ta-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .ta-hero .wrap { grid-template-columns: 1fr; } }
.ta-logo { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.ta-logo .shield { width: 96px; height: 96px; border-radius: 50%; background: rgba(0, 0, 0, .14); display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); }
.ta-logo .shield img { width: 64%; }
.ta-logo .wm { width: min(300px, 60vw); }
.ta-hero .lead { color: rgba(255, 255, 255, .86); }
.ta-hero .handle { font-weight: 700; color: #f3cf8f; letter-spacing: .02em; }
.ta-screen { position: relative; margin-bottom: -6px; }
.ta-screen .tv { border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -10px 60px -10px rgba(0, 0, 0, .45); border: 6px solid #1b1414; border-bottom: 0; background: #000; }
.ta-screen .tv img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.ta-screen .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 16px; background: #ff0033; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.ta-screen .play svg { width: 26px; height: 26px; fill: #fff; }
.ta-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .ta-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ta-feats { grid-template-columns: 1fr; } }
.ta-feat { background: var(--paper-2); border-radius: 20px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.ta-feat i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ta); color: #fff; font-style: normal; font-size: 21px; }
.ta-feat b { display: block; font: 700 21px/1.2 var(--serif); margin: 16px 0 6px; }
.ta-feat p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 520px) { .gallery figure.big { grid-row: span 1; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20, 14, 14, .78); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.series { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.series span { background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.series span small { color: #e08a8a; font-weight: 700; margin-left: 6px; }
.cta-band { border-radius: 28px; padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band.ta { background: var(--ta-d); color: #fff; }
.cta-band.bf { background: #16161a; color: #fff; box-shadow: inset 0 0 0 1px #2a2a30; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 560px; }

/* ---------- Biblia Flow ---------- */
.bf-page { background: var(--paper); color: #f2f2f4; }
.bf-page .eyebrow { color: var(--bf-cyan); }
.bf-page .lead { color: #b4b4bd; }
.bf-hero { padding: 72px 0 40px; overflow: hidden; position: relative; }
.bf-hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(254, 44, 85, .22), transparent); pointer-events: none; }
.bf-hero::after { content: ''; position: absolute; inset: auto auto -30% -10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(37, 244, 238, .14), transparent); pointer-events: none; }
.bf-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .bf-hero .wrap { grid-template-columns: 1fr; } }
.bf-title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.bf-title img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px #2a2a30; }
.bf-title b { font: 800 22px/1 var(--sans); letter-spacing: -.01em; }
.bf-title span { display: block; color: #8d8d96; font-size: 14px; font-weight: 600; margin-top: 5px; }
.bf-hero h1 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; }
.bf-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--bf-cyan), #fff 45%, var(--bf-red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font-size: 13.5px; font-weight: 700; color: #d6d6dc; background: #18181c; box-shadow: inset 0 0 0 1px #2a2a30; padding: 8px 12px; border-radius: 99px; }
.hero-phones { position: relative; height: 640px; }
.hero-phones .phone { position: absolute; width: 270px; }
.hero-phones .phone.main { left: 50%; top: 0; margin-left: -135px; z-index: 3; }
.hero-phones .phone.l { left: 50%; top: 70px; margin-left: -290px; transform: rotate(-9deg) scale(.86); z-index: 1; opacity: .9; }
.hero-phones .phone.r { left: 50%; top: 70px; margin-left: 20px; transform: rotate(9deg) scale(.86); z-index: 2; opacity: .9; }
@media (max-width: 520px) {
  .hero-phones { height: 520px; }
  .hero-phones .phone { width: 220px; }
  .hero-phones .phone.main { margin-left: -110px; }
  .hero-phones .phone.l { margin-left: -200px; }
  .hero-phones .phone.r { margin-left: -20px; }
}
.bf-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .bf-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bf-feats { grid-template-columns: 1fr; } }
.bf-feat { background: #29292d; border-radius: 22px; padding: 26px; box-shadow: inset 0 0 0 1px #24242a; }
.bf-feat i { font-style: normal; font-size: 28px; line-height: 1; }
.bf-feat b { display: block; font-size: 19px; font-weight: 800; margin: 14px 0 6px; letter-spacing: -.01em; }
.bf-feat p { margin: 0; color: #a5a5ae; font-size: 15.5px; }
.bf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .bf-split { grid-template-columns: 1fr; } }
.bf-split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .bf-split.rev > :first-child { order: 0; } }
.bf-split .phones2 { display: flex; justify-content: center; gap: 18px; }
.bf-split .phones2 .phone { width: 46%; max-width: 250px; }
.bf-split .phones2 .phone:nth-child(2) { transform: translateY(40px); }
.bf-split ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.bf-split li { display: flex; gap: 12px; color: #c9c9d0; }
.bf-split li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 10px; background: var(--bf-red); box-shadow: 0 0 0 4px rgba(254, 44, 85, .18); }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.versions div { background: #29292d; border-radius: 16px; padding: 16px 18px; box-shadow: inset 0 0 0 1px #24242a; }
.versions b { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 8px; border-radius: 6px; background: #2a2a30; margin-bottom: 8px; }
.versions div:first-child b { background: var(--bf-red); }
.versions span { display: block; font-weight: 700; }
.versions small { color: #8d8d96; font-size: 13.5px; }
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px 20px 24px; margin-top: 36px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.strip figure { margin: 0; flex: 0 0 220px; scroll-snap-align: center; }
.strip figcaption { margin-top: 12px; text-align: center; color: #a5a5ae; font-size: 14px; font-weight: 600; }
.privacy-box { display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg, rgba(37, 244, 238, .08), rgba(254, 44, 85, .08)); border-radius: 24px; padding: 30px; box-shadow: inset 0 0 0 1px #24242a; }
.privacy-box i { font-style: normal; font-size: 34px; line-height: 1; }
.privacy-box b { display: block; font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.privacy-box p { margin: 0; color: #b4b4bd; }
.privacy-box a { color: var(--bf-cyan); }
footer.site.dark { background: #161618; border-top: 1px solid var(--line); color: #8d8d96; }
footer.site.dark a { color: #8d8d96; }
footer.site.dark a:hover { color: #fff; }
@media (min-width: 1240px) { .strip { justify-content: center; } }
