/* joseulloa.com — tokens derivados de executive-theme.css */
:root {
  --gray-50: #fafafa; --gray-100: #f5f5f5; --gray-200: #e5e5e5; --gray-300: #d4d4d4;
  --gray-500: #737373; --gray-600: #525252; --gray-700: #404040; --gray-800: #262626; --gray-900: #171717;
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-500: #3b82f6; --blue-600: #2563eb; --blue-700: #1d4ed8;
  --navy: #0f172a; --pearl: #f1f5f9; --link: #1e40af;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05); --shadow-md: 0 4px 12px rgba(15,23,42,.08);
  --radius: .75rem; --radius-lg: 1rem; --radius-xl: 1.5rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--gray-800); background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: .25rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.9rem, 4vw + 1rem, 3rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 48rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: .5rem; z-index: 10; }
.skip-link:focus { left: .5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { border-bottom: 1px solid var(--gray-200); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); text-decoration: none; font-weight: 600; }
.site-header nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-header nav a { color: var(--gray-600); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-header nav a:hover { color: var(--blue-700); }
@media (max-width: 480px) { .site-header nav { display: none; } }

/* hero */
.hero { padding: 3rem 0 3.5rem; background: linear-gradient(180deg, var(--blue-50) 0%, #fff 70%); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 320px; gap: 3rem; } .hero { padding: 4.5rem 0 5rem; } }
.eyebrow { color: var(--blue-700); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.role { color: var(--gray-700); font-weight: 500; font-size: 1.05rem; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--gray-700); max-width: 60ch; }
.hero-photo { margin: 0; justify-self: center; width: min(70vw, 320px); }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border-bottom: 4px solid var(--blue-600); }
@media (max-width: 767px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { order: -1; width: min(60vw, 260px); } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.25rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-700); }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }

/* sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.profile { font-size: 1.15rem; color: var(--gray-700); margin: 0; }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card:hover { border-color: var(--blue-500); }
.card p { margin: 0; color: var(--gray-700); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--blue-100); }
.timeline li { position: relative; padding: 0 0 2rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-600); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue-100); }
.timeline .when { color: var(--blue-700); font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.timeline p:last-child { margin: 0; color: var(--gray-700); }

.two-col { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.list-title { font-size: 1rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: .04em; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: .5rem 0; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
ul.plain li:last-child { border-bottom: 0; }

.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.contact .actions { justify-content: center; }
.email { margin-top: 1.25rem; color: var(--gray-600); font-size: .95rem; }
.email .at::before { content: "@"; }

.site-footer { border-top: 1px solid var(--gray-200); padding: 1.5rem 0; color: var(--gray-500); font-size: .9rem; }
.site-footer p { margin: 0; }
