/* Tipografías alojadas en el propio dominio (sin conexión a Google Fonts) */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Saira-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Saira-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Saira-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Saira-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/SourceSerif4-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/SourceSerif4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/SourceSerif4-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/SourceSerif4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   OMM — Onofre Miralles Martín, Abogado
   Hoja de estilos construida a partir del Manual de Marca 2025
   Tipografía: Source Serif 4 (logotipo) · Saira (tagline) · DM Sans (texto)
   Color: Verde Roble · Verde Olivo · Verdegris · Lino · Luz
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- Paleta corporativa (Manual de Marca) ---- */
  --roble: #272B00;
  --olivo: #54582F;
  --verdegris: #86895D;
  --lino: #BEC092;
  --crema: #F8FBCA;

  /* ---- Tipografía ---- */
  --font-logo: 'Source Serif 4', Georgia, serif;
  --font-tag: 'Saira', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* ---- Escala tipográfica fluida ---- */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.2vw, 3.4rem);
  --text-hero: clamp(2.6rem, 1rem + 5.6vw, 6.4rem);

  /* ---- Espaciado 4px ---- */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --maxw: 1160px;
  --radius: 2px;
  --transition: 220ms cubic-bezier(.16,1,.3,1);

  color-scheme: dark;
}

/* ---- Temas: oscuro (Verde Roble) por defecto, claro (crema) alternable ---- */
:root, [data-theme='dark'] {
  --bg: var(--roble);
  --bg-2: color-mix(in oklab, var(--roble) 85%, black 15%);
  --surface: color-mix(in oklab, var(--roble) 80%, var(--olivo) 20%);
  --text: var(--crema);
  --text-muted: var(--verdegris);
  --text-faint: color-mix(in oklab, var(--verdegris) 75%, var(--crema) 25%);
  --border: color-mix(in oklab, var(--lino) 45%, transparent);
  --accent: var(--lino);
  --logo-o: var(--crema);
  --logo-m1: var(--olivo);
  --logo-m2: var(--verdegris);
}

[data-theme='light'] {
  --bg: color-mix(in oklab, var(--lino) 42%, white 58%);
  --bg-2: color-mix(in oklab, var(--lino) 55%, white 45%);
  --surface: color-mix(in oklab, var(--lino) 30%, white 70%);
  --text: var(--roble);
  --text-muted: color-mix(in oklab, var(--roble) 45%, var(--olivo) 55%);
  --text-faint: var(--olivo);
  --border: color-mix(in oklab, var(--lino) 55%, transparent);
  --accent: var(--olivo);
  --logo-o: var(--roble);
  --logo-m1: var(--olivo);
  --logo-m2: var(--verdegris);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: color-mix(in oklab, var(--lino) 42%, white 58%);
    --bg-2: color-mix(in oklab, var(--lino) 55%, white 45%);
    --surface: color-mix(in oklab, var(--lino) 30%, white 70%);
    --text: var(--roble);
    --text-muted: color-mix(in oklab, var(--roble) 45%, var(--olivo) 55%);
    --text-faint: var(--olivo);
    --border: color-mix(in oklab, var(--lino) 55%, transparent);
    --accent: var(--olivo);
    --logo-o: var(--roble);
    --logo-m1: var(--olivo);
    --logo-m2: var(--verdegris);
    color-scheme: light;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  scroll-padding-top: 100px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--verdegris); color: var(--crema); }
:focus-visible { outline: 2px solid var(--verdegris); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

/* ---- Etiquetas Saira (tagline / eyebrow) ---- */
.tag {
  font-family: var(--font-tag);
  font-weight: 400;
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--text-faint);
}

/* ---- Wordmark "omm" (Source Serif 4) ---- */
.omm {
  font-family: var(--font-logo);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
}
.omm .o { color: var(--logo-o); }
.omm .m1 { color: var(--logo-m1); }
.omm .m2 { color: var(--logo-m2); }

/* =============== HEADER =============== */
header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--space-6); }
.nav .omm { font-size: 30px; }
.menu { display: flex; align-items: center; gap: var(--space-8); }
.menu a {
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm);
  color: var(--text-muted); padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.menu a:hover, .menu a:focus-visible { color: var(--text); border-color: var(--verdegris); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  display: grid; place-items: center; cursor: pointer;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}
.theme-toggle:hover { color: var(--text); border-color: var(--verdegris); transform: rotate(20deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.foot-social { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-3); }
.foot-social a { display: inline-flex; align-items: center; gap: 7px; border-bottom: none; color: var(--text-muted); }
.foot-social a svg { width: 15px; height: 15px; }
.foot-social a span { border-bottom: 1px solid var(--verdegris); padding-bottom: 1px; }
.foot-social a:hover { color: var(--text); }


.menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* =============== HERO =============== */
.hero { position: relative; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero .tag.eyebrow { display: block; margin-bottom: var(--space-6); font-size: var(--text-sm); }
.hero h1 {
  font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em;
  font-size: var(--text-hero); line-height: 0.98; margin-bottom: var(--space-6); color: var(--text);
}
.hero .sub { font-size: var(--text-lg); font-weight: 500; color: var(--text-muted); margin-bottom: var(--space-6); max-width: 36ch; }
.hero .lead { font-size: var(--text-base); color: var(--text); max-width: 38ch; opacity: 0.92; }
.hero-mark { justify-self: end; text-align: right; position: relative; }
.hero-mark .omm { font-size: clamp(72px, 13vw, 168px); }
.hero-mark .tag { display: block; margin-top: var(--space-4); font-size: var(--text-xs); }

.hero-motif { position: absolute; inset: 0; z-index: 1; opacity: 0.55; pointer-events: none; }
.hero-motif svg { width: 100%; height: 100%; }

.rule { height: 1px; background: linear-gradient(90deg, var(--verdegris), transparent); }

/* =============== SECTIONS =============== */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-2); }
.eyebrow-row { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.eyebrow-row .num { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); }
.section h2 {
  font-family: var(--font-body); font-weight: 700; letter-spacing: -0.015em;
  font-size: var(--text-2xl); line-height: 1.08; margin-bottom: var(--space-12); max-width: 22ch;
}

/* Areas grid */
.areas { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.area { padding: var(--space-8) 0; border-bottom: 1px solid var(--border); }
.area:nth-child(odd) { padding-right: var(--space-10); }
.area:nth-child(even) { padding-left: var(--space-10); border-left: 1px solid var(--border); }
.area .idx { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--verdegris); display: block; margin-bottom: var(--space-3); }
.area h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.area p { font-size: var(--text-sm); color: var(--text-muted); max-width: 46ch; }

/* Enfoque / valores */
.thesis {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-xl);
  line-height: 1.3; letter-spacing: -0.01em; max-width: 28ch; margin-bottom: var(--space-16);
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-10); margin-bottom: var(--space-20); }
.value { border-top: 1px solid var(--border); padding-top: var(--space-5); }
.value .tag { display: block; margin-bottom: var(--space-3); }
.value h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.value p { font-size: var(--text-sm); color: var(--text-muted); }

.facets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-10); }
.facet .k { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); display: block; margin-bottom: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.facet h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.facet p { font-size: var(--text-sm); color: var(--text-muted); }

/* Contacto */
.contact-flex { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: end; }
.contact .say { font-size: var(--text-lg); color: var(--text-muted); max-width: 36ch; }
.contact-details { font-family: var(--font-body); font-size: var(--text-sm); line-height: 2.2; }
.contact-details .lbl { display: inline-block; width: 100px; color: var(--text-faint); font-family: var(--font-tag); letter-spacing: 0.1em; font-size: var(--text-xs); }
.contact-details b { font-weight: 700; }
.cta-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-8); padding: var(--space-4) var(--space-8);
  border: 1px solid var(--text); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  transition: background var(--transition), color var(--transition);
}
.cta-btn:hover { background: var(--text); color: var(--bg); }

/* Footer */
footer { padding: var(--space-16) 0 var(--space-16); border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-8); flex-wrap: wrap; }
.foot .omm { font-size: 32px; }
.foot-meta { font-family: var(--font-body); font-size: var(--text-xs); line-height: 1.9; color: var(--text-faint); text-align: right; }
.foot-meta b { color: var(--text-muted); font-weight: 700; }
.foot-meta a { border-bottom: 1px solid var(--verdegris); padding-bottom: 1px; }

/* Reveal on scroll */
.rev { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.rev.in { opacity: 1; transform: none; }

/* Legal page */
.legal { padding: clamp(64px, 8vw, 96px) 0 clamp(80px, 10vw, 120px); max-width: 760px; }
.legal h1 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.legal .lead { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); margin-bottom: var(--space-12); display: block; }
.legal h2 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin: var(--space-12) 0 var(--space-4); padding-top: var(--space-8); border-top: 1px solid var(--border); }
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); color: var(--text-muted); margin: var(--space-6) 0 var(--space-2); }
.legal p, .legal li { font-size: var(--text-base); color: var(--text-muted); margin-bottom: var(--space-4); max-width: 68ch; }
.legal ul { padding-left: var(--space-6); }
.legal b { color: var(--text); font-weight: 700; }
.legal .opinion-badge { display:inline-block; font-family: var(--font-tag); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--crema); background: var(--verdegris); padding: 4px 10px; border-radius: 3px; margin-bottom: var(--space-4); }
.legal blockquote { font-family: var(--font-logo); font-weight: 600; font-size: var(--text-lg); color: var(--text); border-left: 3px solid var(--verdegris); padding-left: var(--space-5); margin: var(--space-8) 0; max-width: 62ch; font-style: normal; }
.legal .byline { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.08em; margin-bottom: var(--space-10); display:block; }
.back-link { display: inline-block; margin-bottom: var(--space-10); font-family: var(--font-tag); font-size: var(--text-xs); color: var(--verdegris); }

.legal-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-6) var(--space-8); margin: var(--space-2) 0 var(--space-6);
  background: var(--surface);
}
.legal-row { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.legal-row:last-child { border-bottom: none; }
.legal-row .k { font-family: var(--font-tag); font-weight: 400; color: var(--text-faint); text-transform: lowercase; letter-spacing: 0.08em; font-size: var(--text-xs); padding-top: 2px; }
.legal-row span:last-child { color: var(--text-muted); }

.todo {
  font-family: var(--font-tag); font-size: var(--text-xs); letter-spacing: 0.02em;
  color: var(--olivo); background: color-mix(in oklab, var(--verdegris) 22%, transparent);
  padding: 1px 8px; border-radius: 3px; white-space: nowrap;
}
[data-theme='dark'] .todo, :root:not([data-theme]) .todo { color: var(--crema); }

@media (max-width: 640px) {
  .legal-row { grid-template-columns: 1fr; gap: var(--space-1); }
}

/* Hero CTAs */
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }
@media (min-width: 860px) { .hero-ctas { max-width: 440px; } }
.cta-ghost { border-color: var(--border); color: var(--text-muted); }
.cta-social { padding: var(--space-4) var(--space-6); font-weight: 500; }
.cta-social svg { opacity: 0.75; }
.contact .cta-social { margin-left: var(--space-4); }
.cta-social:hover svg { opacity: 1; }
.cta-ghost:hover { background: transparent; color: var(--text); border-color: var(--text); }
.hero-meta { margin-top: var(--space-5); font-family: var(--font-tag); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--text-faint); }

/* Sobre mi */
.sobre-grid { display: grid; grid-template-columns: 0.55fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.sobre-photo {
  aspect-ratio: 4/5; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); display: grid; place-items: center;
}
.sobre-photo .omm-mono { font-family: var(--font-logo); font-weight: 800; font-size: clamp(48px, 9vw, 96px); letter-spacing: -0.04em; opacity: 0.5; }
.sobre-photo .omm-mono .o { color: var(--verdegris); }
.sobre-photo .omm-mono .m1 { color: var(--olivo); }
.sobre-photo .omm-mono .m2 { color: var(--text-faint); }
.sobre-copy p { color: var(--text-muted); margin-bottom: var(--space-4); max-width: 62ch; }
.sobre-stats { display: flex; gap: var(--space-10); margin-top: var(--space-8); flex-wrap: wrap; }
.sobre-stats div { display: flex; flex-direction: column; gap: 2px; }
.sobre-stats b { font-family: var(--font-body); font-weight: 700; font-size: var(--text-xl); }
.sobre-stats span { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.04em; }

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--border); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); padding: var(--space-5) 0; }
.faq-item summary {
  cursor: pointer; list-style: none; font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-base); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-tag); font-size: var(--text-lg); color: var(--text-faint);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-sm); max-width: 68ch; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); }
.blog-card {
  display: block; padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover { border-color: var(--verdegris); transform: translateY(-3px); }
.blog-card h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin: var(--space-4) 0; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.blog-date { font-family: var(--font-tag); font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.06em; }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { max-width: 280px; }
  .nav .menu { display: none; }
  .menu-btn { display: block; }
  .foot-social { margin-top: var(--space-4); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-mark { justify-self: start; text-align: left; }
  .hero-mark .omm { font-size: clamp(64px, 24vw, 110px); }
  .areas, .values, .facets { grid-template-columns: 1fr; }
  .area, .area:nth-child(even) { padding: var(--space-6) 0; border-left: none; }
  .contact-flex { grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
  .foot { align-items: flex-start; }
  .foot-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

