/* -----------------------------------------------------------------------------
   Martina Pozzi — perfil profesional · salud, RR. HH., psicología
   ----------------------------------------------------------------------------- */

:root {
  --bg: #f7f1ec;
  --surface: #fffaf6;
  --ink: #241824;
  --muted: #62546a;
  --plum: #7a2f63;
  --plum-dark: #3d1a36;
  --plum-deep: #1f0e1c;
  --rose: #d98aa0;
  --rose-soft: #f6dfe4;
  --sand: #e9c9a4;
  --line: rgba(61, 26, 54, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(36, 24, 36, 0.06);
  --shadow-md: 0 14px 40px rgba(61, 26, 54, 0.12);
  --glow: 0 0 0 1px rgba(217, 138, 160, 0.35), 0 14px 40px rgba(122, 47, 99, 0.22);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.15; }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

ul, ol { list-style: none; margin: 0; padding: 0; }

.container { width: min(92%, 1120px); margin: 0 auto; }
.center { text-align: center; }
.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: #fff;
  color: var(--plum-dark);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 0.5rem; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

section { padding: var(--space-section) 0; scroll-margin-top: 4.5rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--sand); }

.section-subtitle {
  text-align: center;
  max-width: 38rem;
  margin: -0.35rem auto 2.5rem;
  font-size: 1.04rem;
  text-wrap: balance;
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Nav --------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(31, 14, 28, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s var(--ease);
}
.site-nav.is-scrolled { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.nav-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum-deep);
  background: linear-gradient(145deg, var(--sand), var(--rose));
  transition: transform 0.4s var(--ease);
}
.nav-brand:hover .nav-brand-mark { transform: rotate(-8deg) scale(1.06); }

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-weight: 700; font-size: 0.95rem; }
.nav-brand-role {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-links a.nav-link--cta {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  color: var(--plum-deep);
  font-weight: 700;
  background: linear-gradient(145deg, var(--sand), var(--rose));
}
.nav-links a.nav-link--cta::after { display: none; }
.nav-links a.nav-link--cta:hover { color: var(--plum-deep); filter: brightness(1.06); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: -4.5%;
    right: -4.5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--plum-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: block; padding: 0.85rem 1.5rem; }
  .nav-links a::after { display: none; }
  .nav-links a.nav-link--cta { margin: 0.5rem 1.5rem 0; text-align: center; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 70% at 85% 10%, rgba(217, 138, 160, 0.28), transparent 60%),
    linear-gradient(150deg, var(--plum-deep) 0%, var(--plum-dark) 45%, #5b2350 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-blob--a {
  width: 380px; height: 380px;
  left: -120px; bottom: -140px;
  background: #a24b86;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-blob--b {
  width: 300px; height: 300px;
  right: 8%; top: -110px;
  background: var(--sand);
  opacity: 0.28;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  to { transform: translate3d(50px, -36px, 0) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pulse-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a8;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #6ee7a8;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(1.7); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 1.1rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--sand), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.hero-role {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--rose-soft);
  margin-bottom: 0.9rem;
}

.hero-tagline {
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.cta-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-3px); }

.btn-cv {
  overflow: hidden;
  min-width: 13.5rem;
  color: var(--plum-deep);
  background: linear-gradient(145deg, #fff, var(--rose-soft));
}
.btn-cv:hover { box-shadow: var(--glow); }
.btn-cv-copy { display: inline-flex; }

.btn-cv-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.btn-cv > :not(.btn-cv-shimmer) { position: relative; }

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline:hover { background: #25d366; border-color: #25d366; }

.btn-ghost { color: rgba(255, 255, 255, 0.88); padding-inline: 0.9rem; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.download-thanks { margin-top: 0.9rem; font-size: 0.92rem; color: var(--rose-soft); }

/* Hero photo */
.hero-photo { position: relative; justify-self: center; width: min(100%, 360px); }

.hero-photo-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 999px 999px 34px 34px;
  border: 1px dashed rgba(233, 201, 164, 0.5);
  animation: spin-breathe 7s ease-in-out infinite alternate;
}
@keyframes spin-breathe {
  to { inset: -22px; opacity: 0.45; }
}
.hero-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.9s var(--ease);
}
.hero-photo:hover .hero-photo-frame img { transform: scale(1.04); }

.hero-photo-card {
  position: absolute;
  left: -1.75rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 246, 0.96);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  animation: floaty 5s ease-in-out infinite alternate;
}
.hero-photo-card i { font-size: 1.2rem; color: var(--plum); }
.hero-photo-card strong { display: block; font-size: 0.84rem; color: var(--ink); }
@keyframes floaty { to { transform: translateY(-8px); } }

/* Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.hero-stats li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.hero-stats li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}
.hero-stats li > span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.78); line-height: 1.35; display: block; margin-top: 0.25rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(62%, 250px); }
  .hero-photo-card { display: none; }
  .hero-copy { text-align: center; }
  .hero-tagline { margin-inline: auto; }
  .cta-buttons { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* About ------------------------------------------------------------------- */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-text p { font-size: 1.04rem; }
.about-text strong { color: var(--ink); }
.about-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--plum-dark);
}
.about-location i { color: var(--plum); }

.skills-panel {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.skills-panel h3 { margin-bottom: 1.1rem; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.skill-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum-dark);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.skill-chips i { color: var(--plum); font-size: 0.85rem; transition: color 0.25s; }
.skill-chips li:hover {
  transform: translateY(-3px);
  color: #fff;
  background: var(--plum);
  border-color: var(--plum);
}
.skill-chips li:hover i { color: var(--sand); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Experience -------------------------------------------------------------- */
#experience {
  background: linear-gradient(180deg, #f1e6e1, var(--bg));
  border-top: 1px solid var(--line);
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 10.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--plum), var(--rose) 60%, transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 3.5rem;
  padding-bottom: 1.4rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(10.25rem - 6px);
  top: 1.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--plum);
}
.timeline-item--current::before {
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(217, 138, 160, 0.3);
}

.timeline-when {
  padding-top: 1.2rem;
  text-align: right;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

.xp-card {
  position: relative;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.xp-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(122, 47, 99, 0.3); }

.timeline-item--current .xp-card {
  color: #fff;
  background: linear-gradient(140deg, var(--plum-dark), var(--plum));
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.timeline-item--current .xp-card h3 { font-size: 1.25rem; }
.timeline-item--current .xp-org,
.timeline-item--current .xp-card li { color: rgba(255, 255, 255, 0.88); }
.timeline-item--current .xp-org i { color: var(--sand); }
.timeline-item--current .xp-card li::before { background: var(--sand); }

.xp-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-deep);
  background: var(--sand);
}

.xp-org { margin: 0.3rem 0 0.75rem; font-size: 0.93rem; font-weight: 600; color: var(--muted); }
.xp-org i { margin-right: 0.3rem; color: var(--plum); }

.xp-card li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.xp-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

@media (max-width: 700px) {
  .timeline::before { left: 6px; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.35rem; padding-left: 1.9rem; }
  .timeline-item::before { left: 0; top: 0.2rem; }
  .timeline-when { padding-top: 0; text-align: left; }
  .xp-card:hover { transform: none; }
}

/* Education --------------------------------------------------------------- */
#education { background: var(--bg); }

.edu-feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--plum);
  box-shadow: var(--shadow-md);
}
.edu-feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.edu-feature-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(145deg, var(--plum), var(--plum-dark));
}
.edu-org { margin: 0.25rem 0; font-weight: 600; color: var(--plum-dark); }

.edu-year {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--plum-dark);
  background: var(--rose-soft);
  white-space: nowrap;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
.edu-card {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.edu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(122, 47, 99, 0.3); }
.edu-card h3 { margin: 0.7rem 0 0.4rem; font-size: 1.02rem; line-height: 1.3; }
.edu-card p { font-size: 0.88rem; }

@media (max-width: 640px) {
  .edu-feature { grid-template-columns: 1fr; text-align: left; }
  .edu-feature .edu-year { justify-self: start; }
}

/* Value ------------------------------------------------------------------- */
#value {
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(217, 138, 160, 0.2), transparent 60%),
    linear-gradient(160deg, var(--plum-deep), var(--plum-dark) 55%, #5b2350);
}
#value h2 { color: #fff; }
#value .section-subtitle { color: rgba(255, 255, 255, 0.8); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.value-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--plum-deep);
  background: linear-gradient(145deg, var(--sand), var(--rose));
  transition: transform 0.4s var(--ease);
}
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.08); }
.value-card h3 { margin-bottom: 0.55rem; font-size: 1.15rem; color: #fff; }
.value-card p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }

.roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}
.roles-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand); }
.roles ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.roles li {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Contact ----------------------------------------------------------------- */
#contact {
  background:
    radial-gradient(ellipse 70% 80% at 50% 110%, rgba(217, 138, 160, 0.3), transparent 65%),
    var(--bg);
}
.contact-panel { text-align: center; }
.contact-panel h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); }

.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--plum-dark);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact-chip:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.contact-chip--whatsapp { color: #fff; background: #1faa59; border-color: #1faa59; }
.contact-chip--whatsapp:hover { box-shadow: 0 14px 36px rgba(31, 170, 89, 0.4); }
.contact-note { margin-top: 1.5rem; font-size: 0.88rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  padding: 1.6rem 0;
  text-align: center;
  background: var(--plum-deep);
}
.site-footer p { margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  background: #1faa59;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-shown:hover { transform: scale(1.1); }

/* CV celebration ---------------------------------------------------------- */
.cv-celebration-root { position: fixed; inset: 0; pointer-events: none; z-index: 9998; overflow: hidden; }
.cv-mini-doc {
  position: absolute;
  top: -40px;
  width: 18px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(165deg, #fff, var(--rose-soft));
  border: 1px solid rgba(122, 47, 99, 0.3);
  animation: cvMiniFall linear forwards;
}
.cv-mini-doc:nth-child(3n) { width: 12px; height: 12px; border-radius: 50%; background: var(--rose); border: 0; }
.cv-mini-doc:nth-child(4n) { background: var(--sand); }
@keyframes cvMiniFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.95; }
  100% { transform: translate3d(var(--cv-drift, 0), 110vh, 0) rotate(var(--cv-rot, 12deg)); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-nav, .wa-float, .hero-blob, .cta-buttons { display: none; }
}
