/* Amora Euroarmario: páginas legales y de ayuda (privacidad, términos, cookies, cambios, envíos, preguntas, 404). */
:root { --ink: #0b0a0a; --ink2: #171413; --ink3: #26211f; --cream: #eae5d9; --paper: #f3eee4; --sand: #d9cdbb; --berry: #e2557b; --berry-deep: #b3315a; --muted: #6b6258; --muted-d: #b9b1a3; --fd: 'Baloo 2', 'Nunito', system-ui, sans-serif; --fb: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; --fs: 'Mea Culpa', 'Snell Roundhand', cursive; --ease: cubic-bezier(0.4, 0, 0.2, 1); --pad: clamp(18px, 5vw, 64px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--fb); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--berry-deep); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1100px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.sc { font-family: var(--fs); font-weight: 400; letter-spacing: 0; line-height: 1; }

.lg-bar { background: var(--ink); color: var(--cream); }
.lg-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.lg-logo { display: inline-grid; justify-items: center; text-decoration: none; }
.lg-logo svg { height: 26px; width: auto; aspect-ratio: 791 / 151; overflow: visible; }
.sig { display: block; aspect-ratio: 1402 / 335; height: auto; background-color: currentColor; -webkit-mask: url(../img/firma-b.svg) center / contain no-repeat; mask: url(../img/firma-b.svg) center / contain no-repeat; }
.lg-logo .sig { width: 118px; margin-top: -3px; color: var(--berry); }
.lg-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 14px; text-decoration: none; }
.lg-back svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .lg-back:hover { text-decoration: underline; text-underline-offset: 4px; } }

.lg-hero { background: var(--ink); color: var(--cream); padding: clamp(34px, 6vw, 70px) 0 clamp(34px, 6vw, 66px); }
.lg-hero h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.95; text-transform: lowercase; text-wrap: balance; max-width: 18ch; }
.lg-hero h1 .sc { color: var(--berry); font-size: 1.15em; text-transform: none; }
.lg-hero p { margin-top: 16px; max-width: 60ch; color: var(--muted-d); font-weight: 500; }
.lg-upd { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }

.lg-main { padding: clamp(34px, 6vw, 72px) 0 clamp(60px, 9vw, 110px); }
.lg-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lg-toc { position: sticky; top: 20px; display: grid; gap: 2px; padding-bottom: 8px; }
.lg-toc h2 { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lg-toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid rgba(11, 10, 10, 0.14); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; color: #4f473f; }
@media (hover: hover) and (pointer: fine) { .lg-toc a:hover { color: var(--ink); border-left-color: var(--berry-deep); } }
.lg-toc[hidden] { display: none; }
.lg-body { min-width: 0; max-width: 760px; }
.lg-body h2 { margin: clamp(30px, 5vw, 46px) 0 12px; font-family: var(--fd); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1; text-transform: lowercase; }
.lg-body h2:first-child { margin-top: 0; }
.lg-body h3 { margin: 22px 0 6px; font-size: 1.05rem; font-weight: 700; }
.lg-body p { margin-top: 12px; color: #3d362f; max-width: 68ch; }
.lg-body ul, .lg-body ol { display: grid; gap: 8px; margin-top: 12px; padding-left: 0; }
.lg-body li { position: relative; padding-left: 22px; color: #3d362f; }
.lg-body ul > li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--berry-deep); }
.lg-body ol { counter-reset: n; }
.lg-body ol > li { counter-increment: n; padding-left: 34px; }
.lg-body ol > li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; }
.lg-body a { color: var(--berry-deep); font-weight: 700; text-underline-offset: 3px; }
.lg-body strong { font-weight: 700; color: var(--ink); }
.lg-note { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--cream); font-weight: 500; }
.lg-note p, .lg-note li { color: var(--cream); margin-top: 0; }
.lg-note a { color: var(--berry); }
.lg-note strong { color: var(--cream); }
.lg-tbl { margin-top: 16px; overflow-x: auto; border: 1px solid rgba(11, 10, 10, 0.18); border-radius: 14px; background: #fbf8f1; }
.lg-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.lg-tbl caption { text-align: left; padding: 12px 16px 4px; font-weight: 700; font-size: 13px; color: var(--muted); }
.lg-tbl th, .lg-tbl td { padding: 11px 16px; text-align: left; vertical-align: top; border-top: 1px solid rgba(11, 10, 10, 0.12); }
.lg-tbl th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(11, 10, 10, 0.04); }
.lg-tbl td code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13px; background: rgba(11, 10, 10, 0.07); padding: 1px 6px; border-radius: 6px; }
.lg-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; text-align: center; background: transparent; color: var(--ink); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(1px) scale(0.98); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--berry-deep); border-color: var(--berry-deep); color: #fff; } }
.lg-body .btn { color: var(--ink); }
.lg-body .btn-ink { color: var(--cream); }
.lg-body .btn:hover { text-decoration: none; }
.faq { margin-top: 16px; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(11, 10, 10, 0.2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font-family: var(--fd); font-weight: 800; font-size: 1.3rem; line-height: 1.05; text-transform: lowercase; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:first-child { margin-top: 0; }

.lg-foot { background: var(--ink); color: var(--muted-d); padding: 26px 0 30px; }
.lg-foot-in { display: grid; gap: 12px; justify-items: center; text-align: center; }
.lg-foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; }
.lg-foot a, .lg-foot button { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 13.5px; color: var(--muted-d); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .lg-foot a:hover, .lg-foot button:hover { color: var(--cream); text-decoration: underline; } }
.lg-foot small { font-size: 12.5px; }

.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 40px var(--pad); background: var(--ink); color: var(--cream); }
.nf-logo { width: min(86vw, 520px); height: auto; aspect-ratio: 791 / 151; }
.nf h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; text-transform: lowercase; }
.nf h1 .sc { color: var(--berry); font-size: 1.15em; text-transform: none; }
.nf p { max-width: 44ch; color: var(--muted-d); font-weight: 500; }
.nf .btn { border-color: var(--cream); color: var(--ink); background: var(--cream); }
@media (hover: hover) and (pointer: fine) { .nf .btn:hover { background: var(--berry); border-color: var(--berry); color: var(--ink); } }

@media (max-width: 860px) { .lg-grid { grid-template-columns: minmax(0, 1fr); } .lg-toc { position: static; padding: 14px 16px; border-radius: 14px; background: rgba(11, 10, 10, 0.05); } .lg-toc a { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .lg-tbl table { min-width: 0; } .lg-tbl thead { display: none; } .lg-tbl tr { display: grid; gap: 2px; padding: 12px 16px; border-top: 1px solid rgba(11, 10, 10, 0.12); } .lg-tbl tr:first-child { border-top: 0; } .lg-tbl td { padding: 2px 0; border: 0; } .lg-tbl td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
