/* Identidades de los servicios especializados. Estilos exclusivos de las páginas piloto. */
:root {
  --ink:#1c2b42; --muted:#536070; --paper:#f8f6f0; --rule:#d9d6cc; --accent:#233852;
  --display:Georgia,'Times New Roman',serif; --body:'Helvetica Neue',Arial,sans-serif;
  color-scheme:light;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 var(--body); -webkit-font-smoothing:antialiased; }
body.debt,.brand-card.debt { --ink:#153f39; --muted:#465c56; --paper:#f7f6ec; --accent:#155247; --rule:#ccd4c6; }
body.family,.brand-card.family { --ink:#522637; --muted:#6d5261; --paper:#fff9f2; --accent:#802f52; --rule:#e6cfd2; }
body.auction,.brand-card.auction { --ink:#1b3243; --muted:#526371; --paper:#f5f3eb; --accent:#24475e; --rule:#ccd3d4; }
h1,h2,h3,p,figure,blockquote,dl,dd { margin:0; }
a { color:inherit; text-underline-offset:.2em; }
a:hover { text-decoration-thickness:2px; }
img { max-width:100%; display:block; }
a,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #b56e15; outline-offset:4px; }
:target { scroll-margin-top:24px; }
.skip { position:absolute; z-index:2; top:6px; left:6px; padding:8px; color:#102736; background:white; transform:translateY(-160%); }
.skip:focus { transform:translateY(0); }
.frame { width:min(1200px,calc(100% - 96px)); margin-inline:auto; }
.mast { border-bottom:1px solid var(--rule); }
.mast .frame,.foot .frame { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.mast .frame { min-height:84px; }
.wordmark { text-decoration:none; display:inline-block; line-height:1; white-space:nowrap; }
.studio-mark { font:500 31px/1 var(--display); letter-spacing:-.06em; }
.debt-mark { font:600 30px/1 var(--display); letter-spacing:-.075em; }
.debt-mark i { color:#4d7a40; }
.family-mark { font-weight:750; font-size:23px; letter-spacing:-.055em; }
.family-mark i { font:italic 1.14em/.9 var(--display); }
.auction-mark { font:bold 21px/1 'Helvetica Neue',Arial,sans-serif; text-transform:uppercase; letter-spacing:-.05em; }
.auction-mark i { font:italic .85em/1 var(--display); text-transform:lowercase; padding-inline:.08em; }
.signature { display:block; font:11px/1.3 var(--body); letter-spacing:.035em; margin-top:5px; }
.menu { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.menu a,.foot a { font-size:13px; font-weight:600; text-decoration:none; }
.menu a:hover,.foot a:hover { text-decoration:underline; }
.menu .all { padding-left:22px; border-left:1px solid var(--rule); }
.kicker { font-size:11px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
h1,h2,h3 { text-wrap:balance; }
h2 { font:500 clamp(32px,3.4vw,46px)/1.08 var(--display); letter-spacing:-.042em; }
h3 { font:500 26px/1.13 var(--display); letter-spacing:-.035em; }
.section { padding-block:clamp(44px,5.4vw,80px); }
.rule { border-top:1px solid var(--rule); }
.white { background:#fffefa; }
.section-lead { margin:13px 0 0; max-width:67ch; color:var(--muted); }
.hero .frame { display:grid; grid-template-columns:1.03fr .97fr; align-items:center; gap:clamp(32px,5vw,78px); min-height:480px; padding-block:clamp(42px,5.5vw,77px); }
.hero h1 { font:500 clamp(46px,4.8vw,75px)/.99 var(--display); letter-spacing:-.058em; margin:18px 0; }
.hero-copy > p:not(.kicker) { max-width:52ch; line-height:1.6; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 25px; margin-top:25px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:12px 19px; border-radius:4px; background:var(--accent); color:white; text-decoration:none; font-weight:650; font-size:14px; line-height:1.35; }
.button:hover { filter:brightness(1.1); }
.secondary { display:inline-flex; align-items:center; min-height:42px; font-size:14px; font-weight:650; }
.debt .hero { background:#123d37; color:#f8f7e8; }
.debt .hero h1 em { color:#d1e69c; font-weight:400; }
.debt .hero .kicker { color:#c6da9b; }
.debt .hero .button { background:#d7e8af; color:#153d35; }
.debt .hero-photo { position:relative; margin:0 10px 10px 0; }
.debt .hero-photo::before { position:absolute; content:""; inset:12px -10px -10px 12px; border:1px solid #adbc91; border-radius:0 78px 0 0; }
.debt .hero-photo img { width:100%; height:auto; aspect-ratio:1.47; object-fit:cover; border-radius:0 78px 0 0; position:relative; }
.family .hero { background:#f7e9e5; }
.family .hero h1 { font-family:'Iowan Old Style',Palatino,Georgia,serif; }
.family .hero h1 em { color:#853654; font-weight:400; }
.family .button { border-radius:24px; }
.family-routes { padding:clamp(20px,3.4vw,42px); background:#fffcf5; border-top:7px solid var(--accent); border-radius:5px; box-shadow:3px 5px 0 #dfc9c1; }
.family-routes h2 { font-size:clamp(28px,3vw,38px); margin-bottom:20px; }
.family-routes a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; border-top:1px solid var(--rule); text-decoration:none; }
.family-routes a:hover strong, .family-routes a:focus-visible strong { text-decoration:underline; }
.family-routes strong { font-size:18px; }
.family-routes small { display:block; font-size:14px; color:var(--muted); margin-top:2px; }
.family-routes b { flex:none; display:grid; place-items:center; width:32px; height:32px; background:var(--accent); color:white; border-radius:50%; }
.family-paths h4 { margin:20px 0 0; font-size:15px; }
.family-paths .prep { width:100%; padding-left:0; }
.family-paths .button { margin-top:auto; }
.auction .hero { background:#183345; color:#f5f4e8; position:relative; overflow:hidden; }
.auction .hero .frame { min-height:490px; }
.auction .hero-copy { position:relative; z-index:1; }
.auction .hero h1 { font:680 clamp(44px,4.75vw,71px)/1.02 var(--body); letter-spacing:-.07em; }
.auction .hero h1 em { font:italic .99em/1 var(--display); letter-spacing:-.055em; color:#f0c986; }
.auction .hero .kicker { color:#f0c986; }
.auction .hero .button { background:#f0c986; color:#193345; }
.auction .hero-photo { position:absolute; top:0; bottom:0; right:0; width:45%; }
.auction .hero-photo img { width:100%; height:100%; object-fit:cover; object-position:center 56%; }
.auction .hero-photo::after { content:""; position:absolute; inset:17px; border:1px solid rgba(255,255,255,.6); }
.duo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(24px,5vw,72px); margin-top:26px; }
.panel { border-top:2px solid var(--accent); padding-top:22px; display:flex; flex-direction:column; align-items:flex-start; }
.panel h3 { margin-bottom:12px; }
.panel > p,.panel li { font-size:15px; }
.panel ul { margin:12px 0 22px; padding-left:19px; }
.panel li+li { margin-top:5px; }
.panel details { width:100%; margin-top:auto; }
.panel:target,.choice:target { border-color:var(--accent); }
.panel:target h3,.choice:target summary { text-decoration:underline; text-underline-offset:5px; }
details { border-top:1px solid var(--rule); }
summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:17px 0; font-weight:650; }
summary::-webkit-details-marker { display:none; }
summary::after { content:'+'; font:24px/1 var(--body); }
details[open]>summary::after { content:'−'; }
details p { margin:0 0 15px; color:var(--muted); }
.draft { padding:0 14px; background:var(--paper); border:1px solid var(--rule); border-radius:5px; }
.draft summary { font-size:14px; }
.draft blockquote { border-left:2px solid var(--accent); padding-left:12px; margin:0 0 14px; }
.draft .button { margin-bottom:10px; }
.draft small { display:block; color:var(--muted); margin-bottom:16px; }
.split { display:grid; grid-template-columns:minmax(0,.77fr) minmax(0,1.23fr); gap:clamp(28px,6vw,85px); align-items:start; }
.split h2+p { margin-top:13px; color:var(--muted); max-width:44ch; }
.faq details:last-child,.choices details:last-child { border-bottom:1px solid var(--rule); }
.choices details p { font-size:15px; }
.choices .button { margin-bottom:17px; }
.prep { list-style:none; padding:0; margin:0; }
.prep li+li { margin-top:10px; }
.prep label { display:flex; align-items:baseline; gap:12px; padding:11px 14px; border:1px solid var(--rule); border-radius:7px; cursor:pointer; background:#fffdfa; }
.prep input { accent-color:var(--accent); }
.prep input:checked+span { text-decoration:line-through; color:var(--muted); }
.debt .panel > .draft { margin-top:10px; }
.route-reading { width:100%; display:grid; gap:7px; margin-top:20px; padding:14px 16px; border-left:2px solid #91a383; background:#edf0e6; }
.route-reading p { font-size:13px; color:var(--muted); }
.route-reading a { font:500 18px/1.35 var(--display); }
.review-example { background:#fffefa; padding:0 clamp(16px,2.5vw,30px); border-top:2px solid var(--accent); }
.review-example div { padding:16px 0; }
.review-example div + div { border-top:1px solid var(--rule); }
.review-example dt { font-weight:650; }
.review-example dd { margin-top:4px; color:var(--muted); }
#muestra .kicker { margin-bottom:10px; }
.notice { padding:18px 0; border-bottom:1px solid var(--rule); }
.notice:first-of-type { border-top:1px solid var(--rule); }
.notice h3 { font:650 19px/1.3 var(--body); }
.notice p { margin:6px 0; color:var(--muted); font-size:14px; }
.notice-links { display:flex; gap:18px; flex-wrap:wrap; }
.notice a,.reference { font-size:13px; font-weight:650; }
.foot { border-top:1px solid var(--rule); padding-block:22px; }
.foot .frame { flex-wrap:wrap; }
.foot a.studio-mark { font:500 24px/1 var(--display); }
.foot span { font-size:13px; color:var(--muted); }
.hub-head { padding-block:clamp(40px,5.5vw,80px) clamp(27px,3vw,44px); }
.hub-head h1 { font:500 clamp(50px,6.2vw,92px)/.99 var(--display); letter-spacing:-.06em; margin:12px 0 15px; }
.hub-head p:last-child { color:var(--muted); max-width:60ch; }
.brands { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding-bottom:clamp(45px,6vw,90px); }
.brand-card { background:#fffefa; border:1px solid var(--rule); color:var(--ink); text-decoration:none; display:flex; flex-direction:column; min-width:0; }
.poster { display:flex; align-items:flex-end; position:relative; isolation:isolate; padding:clamp(18px,2.4vw,33px); min-height:clamp(180px,18vw,248px); overflow:hidden; }
.poster .wordmark { white-space:normal; font-size:clamp(32px,3vw,48px); position:relative; }
.debt .poster { color:#f5f7dc; background:linear-gradient(10deg,rgba(12,49,39,.98),rgba(8,41,33,.48)),url('../assets/quiebra-personal-editorial.jpg') center/cover; }
.debt .poster i { color:#d0e696; }
.family .poster { color:#682c46; background:repeating-linear-gradient(0deg,transparent 0 24px,#e3c1bb 25px,transparent 26px),#f1dcd6; }
.family .poster .wordmark { background:#f7e4df; padding:5px 7px; }
.auction .poster { color:white; background:linear-gradient(5deg,rgba(18,42,58,.97),rgba(18,42,58,.12)),url('../assets/hero-santiago-editorial.jpg') center 61%/cover; }
.brief { padding:23px; display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.brief h2 { font:650 18px/1.2 var(--body); letter-spacing:-.025em; margin-bottom:9px; }
.brief p { color:var(--muted); font-size:14px; margin-bottom:22px; }
.brief span { margin-top:auto; color:var(--accent); font-size:14px; font-weight:700; }
.brand-card:hover .brief span { text-decoration:underline; }
@media(max-width:800px) {
  .frame { width:calc(100% - 44px); }
  .menu { gap:14px; }
  .menu .all { padding-left:12px; }
  .hero .frame { gap:28px; }
  .brands { gap:12px; }
  .brief { padding:16px; }
}
@media(max-width:680px) {
  .mast .frame { min-height:70px; gap:8px 14px; flex-wrap:wrap; padding-block:10px; }
  .mast .menu { flex-direction:column; align-items:flex-end; gap:0; margin-left:auto; }
  .mast .menu a:not(.all):not(.service-switch) { display:none; }
  .mast .menu a { line-height:24px; }
  .mast .menu .all { border:0; padding:0; }
  .hero .frame,.split,.duo,.brands { grid-template-columns:1fr; }
  .hero .frame,.auction .hero .frame { min-height:0; padding-block:35px; }
  .debt .hero-photo img { aspect-ratio:2.15; border-radius:0 44px 0 0; }
  .debt .hero-photo::before { border-radius:0 44px 0 0; }
  .auction .hero-photo { position:relative; width:100%; height:190px; }
  .poster { min-height:145px; }
  .poster .wordmark { font-size:40px; }
  .brands { gap:18px; }
  .brief { padding:20px; }
  .family-mark { font-size:21px; }
  .foot .frame { gap:8px 18px; }
}
