:root {
  --wine: #5f1730;
  --wine-dark: #3f0f20;
  --gold: #c9a15c;
  --gold-soft: #ead9b7;
  --cream: #f8f4ec;
  --paper: #fffdf9;
  --ink: #262127;
  --muted: #706970;
  --line: #e8ded0;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(63, 15, 32, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section-pad { padding: 104px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); background: #fff; color: #000; padding: 10px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 249, .88);
  border-bottom: 1px solid rgba(201, 161, 92, .2);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.brand-text { display: block; line-height: 1.1; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--wine); border: 2px solid var(--gold); font-family: Georgia, serif; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: #4a4249; }
.nav a:hover, .nav a.active { color: var(--wine); }
.nav-cta { background: var(--wine); color: #fff !important; padding: 11px 17px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--wine); margin: 6px 0; border-radius: 3px; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(201,161,92,.15), transparent 28%), linear-gradient(180deg, #fffdf9, #f8f4ec); }
.hero::before { content: ""; position: absolute; inset: auto -160px -180px auto; width: 420px; height: 420px; border: 1px solid rgba(201,161,92,.25); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .95; letter-spacing: -.055em; color: var(--wine-dark); }
h1 span { color: var(--gold); }
.social-alias { display: inline-flex; align-items: center; gap: 11px; margin: -4px 0 18px; padding: 10px 15px; border: 1px solid var(--gold-soft); border-radius: 16px; background: rgba(255,255,255,.72); color: var(--wine); text-decoration: none; box-shadow: 0 10px 28px rgba(63,15,32,.06); transition: .25s ease; }
.social-alias:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(63,15,32,.1); }
.social-alias svg { width: 23px; height: 23px; fill: var(--wine); flex: 0 0 auto; }
.social-alias span { display: grid; line-height: 1.15; }
.social-alias strong { font-family: Georgia, serif; font-size: 1.13rem; letter-spacing: .01em; }
.social-alias small { margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.hero-role { font-weight: 900; color: var(--wine); font-size: 1.1rem; }
.hero-lead { max-width: 700px; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 1px solid transparent; transition: .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 14px 30px rgba(95, 23, 48, .2); }
.btn-secondary { border-color: var(--wine); color: var(--wine); background: transparent; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; }
.hero-meta li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.hero-meta svg { width: 18px; fill: var(--gold); }
.hero-meta a { text-decoration: none; }
.hero-visual { position: relative; }
.photo-card { position: relative; border-radius: 42px 42px 42px 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(201,161,92,.35); background: #eee; }
.photo-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(63,15,32,.38)); pointer-events: none; }
.photo-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,253,249,.94); border: 1px solid var(--gold-soft); display: grid; place-content: center; text-align: center; box-shadow: 0 18px 45px rgba(0,0,0,.14); }
.photo-badge span { display: block; font: 800 2.3rem/1 Georgia, serif; color: var(--wine); }
.photo-badge small { max-width: 90px; color: var(--muted); line-height: 1.15; }
.wine-line-art { position: absolute; right: -60px; bottom: -40px; width: 210px; opacity: .28; transform: rotate(8deg); }
.wine-line-art svg { fill: none; stroke: var(--gold); stroke-width: 2; }

.profile-section { background: var(--wine); color: #fff; }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.profile-section h2, .contact-section h2 { color: #fff; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.08; }
.profile-copy { font-size: 1.2rem; color: rgba(255,255,255,.82); }
.profile-copy p:last-child { margin-bottom: 0; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading h2, .section-intro h2, .credential-card h2 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; color: var(--wine-dark); }
.strengths-section { background: var(--cream); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength-card { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s ease; }
.strength-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(63,15,32,.08); border-color: var(--gold-soft); }
.strength-card .icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, #fff, #f4ead9); border: 1px solid var(--gold-soft); margin-bottom: 20px; box-shadow: 0 10px 26px rgba(63,15,32,.07); }
.strength-card .icon svg { width: 29px; height: 29px; fill: none; stroke: var(--wine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.strength-card h3 { margin-bottom: 8px; color: var(--wine); }
.strength-card p { margin-bottom: 0; color: var(--muted); }

.experience-section { background: #fff; }
.timeline { position: relative; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 188px; width: 1px; background: var(--gold-soft); }
.timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 56px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: 181px; top: 32px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--gold); }
.timeline-date { color: var(--gold); font-weight: 900; padding-top: 26px; text-align: right; }
.timeline-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; background: var(--paper); }
.timeline-card h3 { margin-bottom: 4px; color: var(--wine-dark); font-size: 1.3rem; }
.company { color: var(--wine); font-weight: 900; }
.timeline-card ul { margin-bottom: 0; padding-left: 20px; color: var(--muted); }
.earlier { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.earlier summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 900; color: var(--wine); background: var(--cream); }
.earlier summary::-webkit-details-marker { display: none; }
.earlier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.earlier-grid div { background: #fff; padding: 18px 22px; display: grid; gap: 4px; }
.earlier-grid strong { color: var(--gold); }
.earlier-grid span { color: var(--muted); }

.credentials-section { background: var(--cream); }
.credentials-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 22px; }
.credential-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.credential-card h2 { font-size: 2rem; }
.credential-card ul { padding-left: 20px; color: var(--muted); }
.language { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.language strong { color: var(--wine); }

.contact-section { background: linear-gradient(135deg, var(--wine-dark), var(--wine)); color: #fff; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-card > div:first-child { max-width: 760px; }
.contact-card p { color: rgba(255,255,255,.8); }
.eyebrow.light { color: var(--gold-soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: var(--wine); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-instagram { color: #fff; border-color: rgba(234,217,183,.75); background: rgba(255,255,255,.08); }

.site-footer { background: #220912; color: rgba(255,255,255,.72); padding: 22px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-wrap p { margin: 0; }
.footer-wrap a { color: var(--gold-soft); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .hero-grid, .two-col, .credentials-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-visual { max-width: 620px; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 72px 0; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.5rem); }
  .hero-actions, .hero-meta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .strength-grid { grid-template-columns: 1fr; }
  .timeline::before, .timeline-item::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-date { text-align: left; padding-top: 0; }
  .timeline-card { padding: 22px; }
  .earlier-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .photo-badge { width: 108px; height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajustes solicitados: contraste del perfil y encabezado simplificado */
.profile-section .section-intro h2 { color: #fff7e8; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
