/* links.oddeye.es. Tokens de oddeye.es (oddeye_brand_2.0.md) */
:root {
  --bg: #ede8e2;
  --ink: #191716;
  --soft: #6b655e;
  --line: #ddd5c9;
  --bg-soft: rgb(237 232 226 / 70%);
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--text); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.feature:focus-visible { outline-offset: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--ink); color: var(--bg); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.wrap { width: 100%; max-width: 36rem; margin-inline: auto; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem 2rem; flex: 1; }

/* Logo y presentación */
.intro { margin-bottom: 2rem; }
.intro__logo { width: 9.5rem; margin-bottom: 1.25rem; }
.intro__logo svg { width: 100%; height: auto; fill: var(--ink); }
.intro__text { font-size: 1.0625rem; color: var(--soft); max-width: 34ch; }
.intro__text a { color: var(--ink); text-underline-offset: 3px; }

/* Aviso destacado */
.feature { position: relative; display: block; padding: 1.5rem 3.5rem 1.5rem 1.5rem; margin-bottom: 2rem; background: var(--ink); color: var(--bg); border-radius: 2px; text-decoration: none; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -3.5rem; top: -3.5rem; width: 9rem; height: 9rem; border-radius: 1.75rem; background: #2a2726; transform: rotate(45deg); }
.feature > span { position: relative; z-index: 1; display: block; }
.feature__tag { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bg-soft); margin-bottom: .5rem; }
.feature__title { font: 700 clamp(1.875rem, 1.4rem + 2.2vw, 2.5rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.035em; margin-bottom: .75rem; }
.feature__title em { display: block; font-style: italic; }
.feature__sub { color: var(--bg-soft); }
.feature .feature__arrow { position: absolute; right: 1.5rem; bottom: 1.5rem; font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }

/* Lista de enlaces */
.links { border-top: 1px solid var(--ink); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: .75rem; min-height: 4.5rem; padding: .875rem 0; text-decoration: none; }
.links__num { font-size: .8125rem; letter-spacing: .06em; color: var(--soft); }
.links__body { display: block; }
.links__title { display: block; font: 700 1.375rem/1.1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.links__sub { display: block; margin-top: .25rem; font-size: .9375rem; color: var(--soft); }
.links__arrow { font-size: 1.25rem; transition: transform .3s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .links a:hover .links__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
  .links a:hover .links__arrow, .feature:hover .feature__arrow { transform: translateX(4px); }
}

/* Contacto directo y redes */
.direct, .social { margin-top: 2.5rem; }
.label { font: 500 .8125rem/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: .75rem; }
.direct__list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: 1.0625rem; }
.direct__list a { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; text-underline-offset: 3px; }
.social__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.social__list a { display: flex; align-items: center; gap: .625rem; min-height: 48px; padding: .5rem .875rem; border: 1px solid var(--ink); border-radius: 2px; text-decoration: none; font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease); }
.social__list svg { width: 1.375rem; height: 1.375rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .social__list a:hover { background: var(--ink); color: var(--bg); } }

/* Pie */
.foot { width: 100%; max-width: 36rem; margin-inline: auto; padding: 1.5rem 1.5rem 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; font-size: .875rem; color: var(--soft); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }

/* Selector de idioma */
.intro__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.intro__top .intro__logo { margin-bottom: 0; }
.langs ul { display: flex; gap: .25rem; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--soft); text-decoration: none; }
.langs abbr { text-decoration: none; }
.langs a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .langs a:hover { color: var(--ink); } }
