/* ============================================================
   APROSOFF.COM.AR  –  Dark Neumorphic Lawyer Biography
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #141820;
  --bg-raised:    #191e28;
  --bg-deep:      #0f1318;
  --bg-section:   #161b24;

  --shadow-light: rgba(255, 255, 255, 0.045);
  --shadow-dark:  rgba(0, 0, 0, 0.55);

  --gold:         #c9a84c;
  --gold-light:   #e2c47a;
  --gold-dim:     rgba(201, 168, 76, 0.12);
  --gold-glow:    rgba(201, 168, 76, 0.22);

  --text-primary:   #e8e2d5;
  --text-secondary: #8a8578;
  --text-muted:     #4a4840;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-display:'Cinzel', serif;
  --font-sans:   'Inter', sans-serif;

  --max-w: 1080px;
  --radius: 18px;
  --radius-sm: 12px;

  --neu-out:
    6px 6px 14px var(--shadow-dark),
   -4px -4px 10px var(--shadow-light);
  --neu-in:
    inset 4px 4px 10px var(--shadow-dark),
    inset -3px -3px 8px var(--shadow-light);
  --neu-hover:
    9px 9px 20px var(--shadow-dark),
   -5px -5px 14px var(--shadow-light);
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Canvas ─────────────────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 24, 32, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.09);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  box-shadow: var(--neu-out);
  flex-shrink: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.logo-mark:hover { box-shadow: var(--neu-hover); transform: rotate(-5deg); }

.initials {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  background: var(--gold-dim);
  color: var(--gold-light) !important;
  border: 1px solid rgba(201, 168, 76, 0.22);
  margin-left: 0.5rem;
}
.nav-cta:hover { background: rgba(201,168,76,0.2) !important; color: var(--gold-light) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(100,120,180,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Emblem */
.hero-emblem {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.12);
}
.ring-1 { inset: 0; animation: rotateSlow 30s linear infinite; }
.ring-2 { inset: 14px; animation: rotateSlow 22s linear infinite reverse; border-color: rgba(201,168,76,0.2); }
.ring-3 { inset: 28px; animation: rotateSlow 16s linear infinite; border-color: rgba(201,168,76,0.08); }
.ring-1::before, .ring-2::before, .ring-3::before {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%; left: -2px;
  margin-top: -2.5px;
  box-shadow: 0 0 10px var(--gold-glow);
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.emblem-core {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg-raised);
  box-shadow: var(--neu-out);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.scales-icon { width: 42px; height: 42px; color: var(--gold); filter: drop-shadow(0 0 8px var(--gold-glow)); }

/* Hero text */
.hero-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.1rem; max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  opacity: 0.85;
}

.hero-name {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.15em;
}
.hero-title-prefix {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
}
.hero-title-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.0;
  background: linear-gradient(135deg, #ede6d8 25%, var(--gold-light) 55%, #ede6d8 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.title-divider {
  display: flex; align-items: center;
  gap: 1rem; width: 240px; margin: 0.3rem 0;
}
.divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0.35; }
.divider-diamond { font-size: 0.5rem; color: var(--gold); opacity: 0.65; }

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.7;
  opacity: 0.9;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 620px;
}

/* Stats */
.hero-stats {
  display: flex; align-items: center;
  background: var(--bg-raised);
  border-radius: var(--radius);
  box-shadow: var(--neu-out);
  padding: 1.5rem 2rem;
  gap: 0; margin-top: 1rem;
  width: 100%; max-width: 580px;
}
.hero-stat { flex: 1; text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat-lbl { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.4; }
.stat-sep { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.2), transparent); }

/* CTA */
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, #a8802a 100%);
  color: #0f1318;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(201,168,76,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }

.btn-ghost {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-ghost:hover { background: var(--gold-dim); transform: translateY(-2px); }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-text { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.scroll-bar { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.5; }
  50%      { transform: scaleY(0.6); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════════════════════════ */
.section {
  position: relative; z-index: 1;
  padding: 6rem 2rem;
}
.section-alt { background: var(--bg-section); }
.contact-section { background: var(--bg-deep); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.25rem 0 1.5rem;
  border-radius: 2px;
}

.section-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 720px;
  margin-bottom: 3rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.5rem 0 1.5rem;
}

/* Neu card */
.neu-card {
  background: var(--bg-raised);
  border-radius: var(--radius);
  box-shadow: var(--neu-out);
  padding: 1.8rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.neu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--shadow-light), transparent);
  pointer-events: none;
}
.neu-card:hover { box-shadow: var(--neu-hover); transform: translateY(-3px); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   PERFIL
   ═══════════════════════════════════════════════════════════ */
.perfil-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.bio-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}
.bio-text strong { color: var(--text-primary); font-weight: 400; }
.bio-text:last-child { margin-bottom: 0; }

.perfil-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.card-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.practice-list { display: flex; flex-direction: column; gap: 0.65rem; }
.practice-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}
.practice-item:hover { background: rgba(201,168,76,0.07); color: var(--text-primary); }
.practice-icon { font-size: 1rem; opacity: 0.75; }

.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-list li { display: flex; flex-direction: column; gap: 0.25rem; }
.info-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.info-val { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

/* Formation grid (titles) */
.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.formation-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.fc-icon { font-size: 2rem; margin-bottom: 1rem; }
.fc-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.fc-detail { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.05));
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  flex-shrink: 0;
}

.timeline-card {
  flex: 1;
  background: var(--bg-raised);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--neu-out);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.timeline-card:hover { box-shadow: var(--neu-hover); transform: translateX(4px); }

.tl-year {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.tl-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.45;
}
.tl-inst {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tl-badge {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  background: rgba(100,200,130,0.1);
  color: #6dc88a;
  border: 1px solid rgba(100,200,130,0.22);
  font-family: var(--font-sans);
  font-weight: 500;
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* Career grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.career-card { position: relative; }

.career-badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-weight: 500;
}
.career-badge.active { background: rgba(100,200,130,0.12); color: #6dc88a; border: 1px solid rgba(100,200,130,0.25); }
.career-badge.past  { background: rgba(201,168,76,0.1);  color: var(--gold);    border: 1px solid rgba(201,168,76,0.2); }

.career-period { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.6rem; }
.career-role { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text-primary); margin-bottom: 0.3rem; line-height: 1.35; }
.career-company {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.career-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════
   PUBLICACIONES
   ═══════════════════════════════════════════════════════════ */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pub-type {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.pub-title { font-family: var(--font-serif); font-size: 1.08rem; color: var(--text-primary); margin-bottom: 0.6rem; line-height: 1.45; }
.pub-detail { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.8rem; }
.pub-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: inline-flex; align-items: center;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.pub-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* Conferences */
.conf-list { display: flex; flex-direction: column; gap: 1rem; }
.conf-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.conf-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 40px;
  padding-top: 0.15rem;
}
.conf-title { font-family: var(--font-serif); font-size: 1.02rem; color: var(--text-primary); margin-bottom: 0.3rem; line-height: 1.45; }
.conf-detail { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CURSOS
   ═══════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid transparent;
  background: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--neu-out);
  transition: all 0.25s ease;
}
.filter-btn:hover { color: var(--text-secondary); box-shadow: var(--neu-hover); }
.filter-btn.active {
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.28);
  color: var(--gold-light);
  box-shadow: var(--neu-in);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.curso-chip {
  background: var(--bg-raised);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  display: flex; align-items: flex-start; gap: 0.85rem;
  box-shadow: var(--neu-out);
  transition: box-shadow 0.25s ease, transform 0.25s ease, opacity 0.3s ease;
  cursor: default;
}
.curso-chip:hover { box-shadow: var(--neu-hover); transform: translateY(-2px); }
.curso-chip.hidden { display: none; }

.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0; margin-top: 0.4rem;
  box-shadow: 0 0 6px var(--gold-glow);
}
.chip-content { display: flex; flex-direction: column; gap: 0.25rem; }
.chip-title { font-size: 0.92rem; color: var(--text-primary); line-height: 1.45; }
.chip-meta { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

/* ═══════════════════════════════════════════════════════════
   IDIOMAS
   ═══════════════════════════════════════════════════════════ */
.idiomas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.idioma-card { text-align: center; }
.idioma-flag { font-size: 2.5rem; margin-bottom: 0.75rem; }
.idioma-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem; }
.idioma-level { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.9rem; }

.lang-bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.lang-fill {
  height: 100%;
  width: var(--fill);
  background: linear-gradient(to right, #a8802a, var(--gold-light));
  border-radius: 2px;
  transition: width 1.2s ease 0.4s;
}

.idioma-certs { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  display: flex; align-items: center; gap: 1.2rem;
  cursor: pointer; text-decoration: none;
}
.contact-card:hover { box-shadow: var(--neu-hover); transform: translateY(-4px); }

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.2);
}
.contact-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 0.25rem; }
.contact-val { font-size: 1rem; color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.page-footer {
  position: relative; z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; text-align: center;
}

.footer-brand {
  display: flex; align-items: center; gap: 1rem;
}
.footer-initials {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-raised);
  box-shadow: var(--neu-out);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  color: var(--gold);
}
.footer-name { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.footer-tagline-sm { font-size: 0.68rem; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 0.2rem; }

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  display: flex; flex-direction: column; gap: 0.4rem;
  max-width: 500px;
}
.quote-author { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--text-muted); font-style: normal; }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text-muted); }



/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.4); }

/* ═══════════════════════════════════════════════════════════
   EN LOS MEDIOS
   ═══════════════════════════════════════════════════════════ */

/* Media logos strip — "As seen in" style */
.media-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin-bottom: 3rem;
  padding: 1.4rem 2rem;
  background: var(--bg-raised);
  border-radius: var(--radius);
  box-shadow: var(--neu-in);
  border: 1px solid rgba(201,168,76,0.07);
}

.media-logo-item {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.media-logo-item:hover { color: var(--gold); }
.media-logo-sep { color: var(--gold); font-size: 0.4rem; opacity: 0.4; }

/* Media cards grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-left: 2px solid rgba(201,168,76,0.18);
  padding-left: calc(1.8rem - 2px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.media-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: var(--neu-hover);
  transform: translateY(-4px);
}

.media-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.media-source {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.media-date {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.media-headline {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
}

.media-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.media-tag {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.16);
}

.media-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  width: fit-content;
  margin-top: auto;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.media-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* Revista Patagónica callout */
.revista-callout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, var(--bg-raised) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--neu-out);
  margin-top: 2rem;
}

.revista-callout-icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.3));
}

.callout-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.callout-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.callout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.callout-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — updates
   ═══════════════════════════════════════════════════════════ */
.br-desktop { display: block; }

@media (max-width: 900px) {
  .perfil-grid { grid-template-columns: 1fr; }
  .formation-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .br-desktop { display: none; }
  .media-grid { grid-template-columns: 1fr; }
  .revista-callout { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: min(280px, 80vw);
    background: var(--bg-raised);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .nav-link { font-size: 0.85rem; padding: 0.7rem 1rem; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }

  /* Hamburger → X */
  .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { flex-wrap: wrap; padding: 1.2rem; }
  .stat-sep { display: none; }
  .hero-stat { min-width: 45%; padding: 0.5rem 0; }
  .section { padding: 4rem 1.5rem; }
  .cursos-grid { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .conf-item { flex-direction: column; gap: 0.5rem; }
  .conf-year { min-width: auto; }
  .timeline { padding-left: 1.5rem; }
  .timeline-dot { left: -1.9rem; }
  .media-logos { gap: 0.5rem 1rem; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 280px; text-align: center; }
  .idiomas-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .formation-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 0.4rem; }
  .filter-btn { padding: 0.38rem 0.85rem; font-size: 0.65rem; }
  .revista-callout { padding: 1.5rem; }
  .callout-title { font-size: 1rem; }
}
