:root {
  --fondo1: #0A0805;
  --fondo2: #1C1A18;
  --fondo-card: #141210;
  --dorado: #C9981A;
  --dorado-op: rgba(201, 152, 26, 0.15);
  --dorado-borde: rgba(201, 152, 26, 0.35);
  --dorado-glow: 0 0 28px rgba(201, 152, 26, 0.30);
  --blanco: #FFFFFF;
  --gris1: rgba(255, 255, 255, 0.65);
  --gris2: rgba(255, 255, 255, 0.35);
  --degradado-fondo: linear-gradient(180deg, #0A0805 0%, #1C1A18 100%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 78px;
  --container: 1180px;
  --section-y: clamp(2.5rem, 5vw, 4.5rem);
  --space: clamp(1.2rem, 2vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fondo1);
  color: var(--blanco);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--dorado);
  color: var(--fondo1);
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0%;
  height: 2px;
  background: var(--dorado);
  box-shadow: var(--dorado-glow);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-y);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  background: rgba(10, 8, 5, 0.88);
  transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  background: rgba(10, 8, 5, 0.76);
  border-bottom: 1px solid rgba(201, 152, 26, 0.18);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 2rem, var(--container));
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 220ms ease;
}

.site-header.scrolled .nav-shell {
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  padding: 0.15rem 0.55rem;
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 950;
  width: min(82vw, 22rem);
  min-height: 100vh;
  padding: 6rem 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--fondo-card);
  border-left: 1px solid var(--dorado-borde);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.nav-menu.abierto {
  transform: translateX(0);
}

.nav-menu a {
  padding: 0.95rem 1rem;
  color: var(--gris1);
  font-weight: 600;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blanco);
  background: var(--dorado-op);
  outline: none;
}

.nav-menu .nav-cta {
  margin-top: 0.7rem;
  color: var(--dorado);
  border: 1px solid var(--dorado-borde);
  text-align: center;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: var(--fondo1);
  background: var(--dorado);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 930;
  pointer-events: none;
  background: rgba(10, 8, 5, 0.72);
  opacity: 0;
  transition: opacity 220ms ease;
}

.menu-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}

.menu-toggle {
  position: relative;
  z-index: 980;
  width: 2.75rem;
  aspect-ratio: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  background: transparent;
  color: var(--blanco);
  border: 1px solid var(--dorado-borde);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.18rem;
  height: 2px;
  background: var(--blanco);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.42rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.hero {
  position: relative;
  height: 100svh;
  padding-top: var(--header-h);
  padding-bottom: 2rem;
  display: grid;
  align-items: center;
  background: var(--degradado-fondo);
  overflow: hidden;
}

.hero::before,
.goals::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 152, 26, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 152, 26, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, var(--blanco) 20%, var(--blanco) 70%, transparent);
  opacity: 0.45;
}

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

.hero-copy {
  max-width: 44rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--dorado);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.15rem;
  max-width: 12ch;
  font-size: clamp(2.45rem, 8vw, 5.9rem);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 4.35rem);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.15;
  font-weight: 800;
}

p {
  color: var(--gris1);
  line-height: 1.75;
}

.hero-text {
  max-width: 37rem;
  margin-bottom: 1.8rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  min-height: 3.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: var(--fondo1);
  background: var(--dorado);
  box-shadow: var(--dorado-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 36px rgba(201, 152, 26, 0.45);
}

.btn-secondary {
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--dorado-borde);
  background: var(--dorado-op);
}

.hero-visual {
  align-self: center;
  padding: 0.8rem;
  border: 1px solid var(--dorado-borde);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-plate {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.8rem;
}

.hero-plate span {
  min-width: 0;
  padding: 0.65rem 0.35rem;
  color: var(--gris1);
  font-size: clamp(0.67rem, 2vw, 0.78rem);
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(201, 152, 26, 0.22);
  border-radius: 6px;
  background: rgba(10, 8, 5, 0.75);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 2;
  width: 2.4rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--dorado);
  border: 1px solid var(--dorado-borde);
  border-radius: 50%;
  animation: cue 1.4s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 0.45rem);
  }
}

.stats-band {
  background: var(--fondo-card);
  border-block: 1px solid rgba(201, 152, 26, 0.16);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat-item {
  min-height: 8.8rem;
  display: grid;
  align-content: center;
  gap: 0.3rem;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item strong {
  color: var(--dorado);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.stat-item span {
  color: var(--gris1);
  font-weight: 600;
}

.two-col,
.skills-grid,
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.section-copy {
  max-width: 44rem;
}

.profile-panel,
.project-card,
.compact-card,
.icon-card,
.value-card,
.cert-card {
  border: 1px solid rgba(201, 152, 26, 0.20);
  border-radius: 8px;
  background: var(--fondo-card);
}

.profile-panel {
  min-height: 26rem;
  display: grid;
  align-content: end;
  gap: 1.4rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(201, 152, 26, 0.08), rgba(20, 18, 16, 0.98)),
    var(--fondo-card);
}

.profile-avatar {
  width: min(100%, 18rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--dorado);
  font-size: clamp(4rem, 12vw, 8rem);
  border: 1px solid var(--dorado-borde);
  border-radius: 50%;
  background: rgba(10, 8, 5, 0.74);
}

.profile-panel p {
  margin-bottom: 0;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.project-grid {
  display: grid;
  gap: 1rem;
}

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--dorado-borde);
  box-shadow: var(--dorado-glow);
}

.project-media {
  width: 100%;
  aspect-ratio: 1.38;
  overflow: hidden;
  background: var(--fondo2);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media-light {
  background: var(--blanco);
}

.project-media-light img {
  object-fit: contain;
}

.project-body {
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.project-body p {
  min-height: 5.2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list span,
.tool-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: var(--gris1);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(201, 152, 26, 0.22);
  border-radius: 999px;
  background: var(--dorado-op);
}

.skills {
  background: var(--fondo2);
}

.skill-bars {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.skill-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: var(--blanco);
  font-weight: 800;
}

.skill-row b {
  color: var(--dorado);
  font-size: 0.88rem;
}

.bar,
.rating {
  position: relative;
  width: 100%;
  height: 0.72rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.bar span,
.rating span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--dorado);
  box-shadow: var(--dorado-glow);
  transition: width 900ms ease;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-content: start;
}

.tool-grid span {
  min-height: 4.2rem;
  justify-content: center;
  border-radius: 8px;
  background: var(--fondo-card);
}

.tool-grid i {
  color: var(--dorado);
}

.language-grid,
.icon-grid,
.value-grid,
.cert-grid {
  display: grid;
  gap: 1rem;
}

.compact-card {
  padding: 1.35rem;
}

.compact-card p {
  margin-bottom: 1rem;
}

.compact-card .rating span {
  width: var(--rating-width, 0%);
}

.goals {
  position: relative;
  overflow: hidden;
  background: var(--fondo1);
}

.goals .narrow {
  position: relative;
  z-index: 1;
  max-width: 840px;
  text-align: center;
}

.goals h2 {
  color: var(--blanco);
}

.icon-card {
  min-height: 8rem;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: 1.1rem;
  text-align: center;
}

.icon-card i,
.value-card i {
  color: var(--dorado);
  font-size: 1.6rem;
}

.icon-card span {
  color: var(--blanco);
  font-weight: 800;
}

.values,
.contact {
  background: var(--fondo2);
}

.value-card,
.cert-card {
  padding: 1.35rem;
}

.value-card p,
.cert-card p {
  margin-bottom: 0;
}

.cert-card {
  position: relative;
  overflow: hidden;
}

.cert-card::before { content: none; }

.timeline-list {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 1px;
  background: var(--dorado-borde);
}

.timeline-item {
  position: relative;
  margin-left: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(201, 152, 26, 0.20);
  border-radius: 8px;
  background: var(--fondo-card);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.88rem; line-height: 1.5; }
.timeline-item time { font-size: 0.78rem; margin-bottom: 0.45rem; }

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: -1.88rem;
  width: 0.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dorado);
  box-shadow: var(--dorado-glow);
}

.timeline-item time {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--dorado);
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
}

.contact-copy {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gris1);
  font-weight: 700;
}

.contact-list i {
  width: 2.4rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--dorado);
  border: 1px solid var(--dorado-borde);
  border-radius: 50%;
  background: var(--dorado-op);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--gris1);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 8, 5, 0.74);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--dorado-borde);
  box-shadow: var(--dorado-glow);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: 100%;
}

.form-flash {
  min-height: 1.4rem;
  margin: 0;
  color: var(--gris1);
  font-weight: 700;
}

.form-flash.ok {
  color: var(--dorado);
}

.form-flash.error {
  color: var(--blanco);
}

.site-footer {
  padding-block: 2.4rem;
  background: var(--fondo1);
  border-top: 1px solid rgba(201, 152, 26, 0.16);
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.footer-brand .brand-mark { font-size: 1.7rem; }

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
}

.footer-links a {
  color: var(--gris1);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--dorado);
}

.social-links a {
  width: 2.45rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--dorado);
  border: 1px solid var(--dorado-borde);
  border-radius: 50%;
  background: var(--dorado-op);
}

.footer-stack p {
  margin-bottom: 0;
  margin-top: 0.4rem;
  color: var(--gris1);
  font-size: 0.85rem;
}

body:not(.preload) .anim-abajo:not(.anim-visible),
body:not(.preload) .anim-izquierda:not(.anim-visible),
body:not(.preload) .anim-derecha:not(.anim-visible) {
  opacity: 0;
  transition: opacity 1000ms cubic-bezier(.22,.61,.36,1), transform 1000ms cubic-bezier(.22,.61,.36,1);
}

body:not(.preload) .anim-abajo:not(.anim-visible) {
  transform: translateY(16px);
}

body:not(.preload) .anim-izquierda:not(.anim-visible) {
  transform: translateX(-32px);
}

body:not(.preload) .anim-derecha:not(.anim-visible) {
  transform: translateX(32px);
}

.anim-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (min-width: 480px) {
  .container {
    width: min(100% - 2.5rem, var(--container));
  }

  .hero-actions .btn {
    min-width: 10.5rem;
  }

  .language-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:last-child {
    border-right: 0;
  }

  .project-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form label:nth-of-type(3),
  .contact-form label:nth-of-type(4),
  .form-submit,
  .form-flash {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 86px;
  }

  .menu-toggle,
  .menu-overlay {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    min-height: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border-left: 0;
    transform: none;
  }

  .nav-menu a {
    padding: 0.75rem 0.9rem;
  }

  .nav-menu .nav-cta {
    margin-top: 0;
    margin-left: 0.55rem;
    padding-inline: 1.05rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(26rem, 0.85fr);
    align-items: center;
  }

  .two-col {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.75fr);
    align-items: center;
  }

  .skills-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.8fr);
  }

  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-list {
    gap: 0;
  }

  .timeline-list::before {
    left: 50%;
  }

  .timeline-item {
    width: calc(50% - 2rem);
    margin-left: 0;
    margin-bottom: 1.1rem;
  }

  .timeline-item:nth-child(odd) {
    justify-self: start;
  }

  .timeline-item:nth-child(even) {
    justify-self: end;
  }

  .timeline-item::before {
    left: auto;
    right: -2.43rem;
  }

  .timeline-item:nth-child(even)::before {
    right: auto;
    left: -2.32rem;
  }

}

@media (min-width: 1280px) {
  .hero {
    min-height: 92vh;
  }

  .project-grid {
    gap: 1.25rem;
  }
}

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

  .anim-abajo,
  .anim-izquierda,
  .anim-derecha {
    opacity: 1;
    transform: none;
  }
}

/* === Hero override referencia FG === */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--blanco);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(46, 160, 90, 0.5);
  background: rgba(46, 160, 90, 0.12);
}
.hero-badge i {
  color: #2ea05a;
  font-size: 0.6rem;
}

.btn-light {
  color: var(--fondo1);
  background: var(--blanco);
}
.btn-light:hover,
.btn-light:focus-visible {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.hero-visual {
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
  min-height: 1px;
}

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

/* === Carrusel hero (Swiper coverflow) === */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.hero-swiper {
  width: 100%;
  padding: 1.2rem 0 0.5rem;
  overflow: hidden;
  border-radius: 14px;
}
.car-slide {
  width: 100%;
  border: 1px solid var(--dorado-borde);
  border-radius: 12px;
  background: var(--fondo2, #141210);
  overflow: hidden;
  transition: opacity 500ms ease, filter 500ms ease;
}
/* si Swiper ya inicializó, oculta los no-activos */
.swiper-initialized .car-slide:not(.swiper-slide-active) {
  opacity: 0;
  pointer-events: none;
}
/* antes de inicializar, el primer slide se ve */
.hero-swiper:not(.swiper-initialized) .car-slide ~ .car-slide {
  display: none;
}
.car-slide.swiper-slide-active {
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(201, 152, 26, 0.15);
}
.car-media {
  width: 100%;
  height: clamp(180px, 34svh, 360px);
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.92);
}
.car-info { padding: 1rem 1.2rem 1.3rem; }
.car-info h3 { margin-bottom: 0.45rem; }
.car-info p { color: var(--gris1); font-size: 0.92rem; margin-bottom: 0.85rem; }
.car-info .tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.car-info .tag-list span {
  padding: 0.3rem 0.7rem; font-size: 0.7rem; font-weight: 800;
  color: var(--dorado); border: 1px solid rgba(201, 152, 26, 0.3); border-radius: 999px;
}
.car-nav {
  position: absolute; top: 38%; z-index: 10;
  width: 2.6rem; aspect-ratio: 1; display: grid; place-items: center;
  color: var(--blanco); cursor: pointer;
  border: 1px solid var(--dorado-borde); border-radius: 50%;
  background: rgba(10, 8, 5, 0.85);
  transition: background 180ms ease, transform 180ms ease;
}
.car-nav:hover { background: var(--dorado); color: var(--fondo1); transform: scale(1.06); }
.car-prev { left: 0.4rem; }
.car-next { right: 0.4rem; }
.car-dots { position: relative; margin-top: 1rem; text-align: center; }
.car-dots .swiper-pagination-bullet {
  width: 0.6rem; height: 0.6rem; background: rgba(255, 255, 255, 0.25); opacity: 1;
  transition: background 180ms ease, transform 180ms ease;
}
.car-dots .swiper-pagination-bullet-active {
  background: var(--dorado); transform: scale(1.25);
}

/* === Grid de proyectos (detalle medio) === */
.projects-title { font-size: clamp(1.7rem, 3.2vw, 2.8rem); max-width: 18ch; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}
/* la 4ª tarjeta (única en su fila) se centra */
.proj-grid .proj-item:last-child:nth-child(3n + 1) {
  grid-column: 2;
}
@media (max-width: 900px) {
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid .proj-item:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
}
.proj-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dorado-borde);
  border-radius: 12px;
  background: var(--fondo2, #141210);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.proj-item:hover {
  transform: translateY(-4px);
  border-color: var(--dorado);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 36px rgba(201, 152, 26, 0.14);
}
.proj-thumb {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  display: block;
}
.proj-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { margin-bottom: 0.5rem; }
.proj-body p { color: var(--gris1); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.9rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.proj-tags span {
  padding: 0.28rem 0.65rem; font-size: 0.68rem; font-weight: 800;
  color: var(--dorado); border: 1px solid rgba(201, 152, 26, 0.3); border-radius: 999px;
}
.proj-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--dorado); font-weight: 800; font-size: 0.9rem;
  transition: gap 180ms ease;
}
.proj-link:hover { gap: 0.7rem; }

/* === Habilidades por categorías === */
.skill-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem 2.2rem;
  margin-top: 2rem;
}
.skill-cat { margin-top: 0; display: grid; gap: 1rem; align-content: start; }
.skill-cat .skill-row { display: grid; gap: 0.3rem; }
.skill-cat h4 {
  margin: 0 0 0.4rem;
  color: var(--blanco);
  font-size: 1.05rem;
  font-weight: 800;
}
/* barras más compactas tipo referencia */
.skill-cat .skill-row > div:first-child {
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.skill-cat .skill-row b { font-size: 0.78rem; }
.skill-cat .bar { height: 6px; }

/* === Habilidades a ancho completo === */
.skills-full {
  position: relative;
  padding-left: 2.5rem;
}
.skills-vlabel {
  position: absolute;
  left: -1rem;
  top: 9rem;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  letter-spacing: 0.04em;
  user-select: none;
  pointer-events: none;
}
/* las categorías ahora ocupan todo el ancho en columnas */
.skills-full .skill-cats {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem 3rem;
}
@media (max-width: 720px) {
  .skills-full { padding-left: 0; }
  .skills-vlabel { display: none; }
}

/* === Idiomas: anillos === */
.lang-head { text-align: center; }
.lang-rings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 2.5rem;
}
.lang-ring { position: relative; text-align: center; width: 150px; }
.lang-ring svg {
  width: 130px; height: 130px;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 9;
}
.ring-fg {
  fill: none;
  stroke: var(--dorado);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  filter: drop-shadow(0 0 8px rgba(201, 152, 26, 0.45));
  transition: stroke-dashoffset 1100ms cubic-bezier(.22,.61,.36,1);
}
.ring-code {
  position: absolute;
  top: 65px; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
}
.ring-name { margin: 0.8rem 0 0.2rem; color: var(--blanco); font-weight: 800; }
.ring-level { margin: 0; color: var(--dorado); font-size: 0.88rem; font-weight: 700; }

/* === Metas y aspiraciones (timeline) === */
.goals-card {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.6rem, 5vw, 3.5rem);
  border: 1px solid var(--dorado-borde);
  border-radius: 22px;
  background: var(--fondo2);
}
.goals-title {
  text-align: center;
  margin-bottom: 2.2rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blanco);
}
.goals-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8rem; }
.goal-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}
.goal-num { text-align: center; }
.goal-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.8;
  margin-top: -0.1em;
  color: rgba(255, 255, 255, 0.14);
}
.goal-tag { margin-top: 0; }
.goal-tag {
  margin: 0 0 0.25rem;
  color: var(--dorado);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.goal-text h3 { margin-bottom: 0.35rem; color: var(--blanco); }
.goal-text > p:last-child { margin: 0; color: var(--gris1); font-size: 0.95rem; line-height: 1.6; }

/* === Habilidades blandas: radar === */
.soft-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 2.4rem;
}
@media (min-width: 900px) { .soft-grid { grid-template-columns: 1fr 1fr; } }
.radar-wrap { display: grid; place-items: center; }
.radar { width: 100%; max-width: 380px; height: auto; }
.radar-web { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1.5; }
.radar-axis { stroke: rgba(255,255,255,0.1); stroke-width: 1; }
.radar-data {
  fill: rgba(201,152,26,0.18);
  stroke: var(--dorado);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(201,152,26,0.35));
}
.radar-label { fill: var(--blanco); font-size: 13px; font-weight: 700; }
.radar { overflow: visible; }
.soft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.soft-list li { position: relative; padding-left: 1.4rem; }
.soft-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--dorado);
}
.soft-list h4 { margin: 0 0 0.2rem; color: var(--blanco); font-size: 1rem; }
.soft-list p { margin: 0; color: var(--gris1); font-size: 0.88rem; line-height: 1.5; }

/* === Ética y valores === */
.ethics-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 2.4rem;
}
@media (min-width: 900px) { .ethics-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.ethics-quote {
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 16px;
  background: var(--dorado);
  color: var(--fondo1);
  display: flex; flex-direction: column;
}
.ethics-quote i { font-size: 1.6rem; opacity: 0.55; margin-bottom: 0.8rem; }
.ethics-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  color: var(--fondo1);
  margin: 0 0 1rem;
}
.ethics-sub { color: rgba(10,8,5,0.7); font-size: 0.9rem; margin: 0 0 1.4rem; }
.ethics-quote cite { margin-top: auto; font-style: normal; font-weight: 800; color: var(--fondo1); }
.ethics-side { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.ethics-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ethics-list li {
  position: relative; padding-left: 1.6rem;
  color: var(--gris1); font-size: 0.95rem; line-height: 1.55;
}
.ethics-list li::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0.1rem; color: var(--dorado); font-size: 0.8rem;
}
.ethics-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ethics-chips span {
  padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid var(--dorado); color: var(--dorado);
  font-weight: 800; font-size: 0.8rem;
}

/* === Animaciones radar + lista blandas === */

/* 1) El polígono dorado se "dibuja" trazando su contorno */
.radar-data {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  fill-opacity: 0;
  transition: stroke-dashoffset 1400ms cubic-bezier(.22,.61,.36,1),
              fill-opacity 900ms ease 700ms;
}
.soft-grid.anim-visible .radar-data {
  stroke-dashoffset: 0;
  fill-opacity: 1;
}

/* 2) Las etiquetas de los ejes aparecen suavemente */
.radar-label {
  opacity: 0;
  transition: opacity 600ms ease 900ms;
}
.soft-grid.anim-visible .radar-label { opacity: 1; }

/* 3) Cada item de la lista entra escalonado */
.soft-list li {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.soft-grid.anim-visible .soft-list li { opacity: 1; transform: none; }
.soft-grid.anim-visible .soft-list li:nth-child(1) { transition-delay: 200ms; }
.soft-grid.anim-visible .soft-list li:nth-child(2) { transition-delay: 300ms; }
.soft-grid.anim-visible .soft-list li:nth-child(3) { transition-delay: 400ms; }
.soft-grid.anim-visible .soft-list li:nth-child(4) { transition-delay: 500ms; }
.soft-grid.anim-visible .soft-list li:nth-child(5) { transition-delay: 600ms; }
.soft-grid.anim-visible .soft-list li:nth-child(6) { transition-delay: 700ms; }
.soft-grid.anim-visible .soft-list li:nth-child(7) { transition-delay: 800ms; }

/* === Constancias / certificaciones (rediseño) === */
.cert-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.cert-card {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.4rem;
  border-radius: 12px;
}
.cert-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--blanco);
}
.cert-card .cert-org {
  margin: 0;
  color: var(--gris1);
  font-size: 0.85rem;
  line-height: 1.45;
}
.cert-card .cert-year {
  margin: 0.55rem 0 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--gris1);
  font-size: 0.8rem;
  font-weight: 600;
}
.cert-card .cert-btn {
  margin-top: 1rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--dorado);
  color: var(--fondo1);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: var(--dorado-glow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cert-card .cert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(201, 152, 26, 0.45);
}
.cert-more { margin-top: 1.6rem; text-align: center; }
.cert-more a {
  color: var(--dorado);
  font-weight: 800;
  font-size: 0.95rem;
}
.cert-more a:hover { text-decoration: underline; }

/* === Trayectoria: cola punteada === */
.timeline-list::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: -2.2rem;
  width: 1px;
  height: 2.2rem;
  background-image: linear-gradient(var(--dorado-borde) 60%, transparent 0);
  background-size: 1px 8px;
  background-repeat: repeat-y;
}
@media (min-width: 760px) {
  .timeline-list::after { left: 50%; }
}

/* === Animación de entrada de hitos === */
.timeline-item { transition: opacity 600ms ease, transform 600ms ease; }
.timeline-item:nth-child(2).anim-visible { transition-delay: 120ms; }
.timeline-item:nth-child(3).anim-visible { transition-delay: 240ms; }
.timeline-item:nth-child(4).anim-visible { transition-delay: 360ms; }

/* === Contacto centrado (rediseño) === */
.contact-centered {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.contact-head { margin-bottom: 2rem; }
.contact-head .section-kicker { text-align: center; }

/* título "Hablemos." con eco dorado */
.contact-echo {
  position: relative;
  display: inline-grid;
  line-height: 0.9;
}
.contact-echo span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
}
.contact-echo span:first-child { color: var(--blanco); }
.contact-echo span:last-child {
  color: var(--dorado);
  opacity: 0.85;
  margin-top: -0.15em;
}
.contact-sub {
  max-width: 46ch;
  margin: 1rem auto 0;
  color: var(--gris1);
}

/* formulario en una columna, inputs tipo píldora */
.contact-centered .contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 0;
  text-align: left;
}
.contact-centered .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.contact-centered .contact-form input,
.contact-centered .contact-form textarea {
  width: 100%;
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contact-centered .contact-form > input,
.contact-centered .contact-form > textarea {
  width: 100%;
}
.contact-centered .contact-form input::placeholder,
.contact-centered .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.contact-centered .contact-form textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 8rem;
}
.contact-centered .contact-form input:focus,
.contact-centered .contact-form textarea:focus {
  border-color: var(--dorado-borde);
  box-shadow: var(--dorado-glow);
}
.contact-centered .form-submit {
  justify-self: center;
  margin-top: 0.6rem;
  padding-inline: 2.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-centered .form-flash { text-align: center; }

@media (max-width: 560px) {
  .contact-centered .form-row { grid-template-columns: 1fr; }
}

/* === Consistencia de títulos de sección === */
.section-head h2,
.skills-full h2,
.languages h2 {
  max-width: 20ch;
}
.projects-title { max-width: 20ch; }
/* los centrados conservan su alineación */
.lang-head, .contact-head { text-align: center; }
.lang-head h2, .contact-head h2 { max-width: none; }

/* === Espaciado uniforme encabezado → contenido === */
.proj-grid,
.skill-cats,
.soft-grid,
.ethics-grid,
.cert-grid,
.lang-rings,
.timeline-list {
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}

.lang-head { margin-inline: auto; }

/* === Alternancia de fondos para separar secciones === */
.soft   { background: var(--fondo1); }
.values { background: var(--fondo2); }

/* === Reveal de secciones === */
body:not(.preload) .section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1000ms cubic-bezier(.22,.61,.36,1), transform 1000ms cubic-bezier(.22,.61,.36,1);
}
body:not(.preload) .section-reveal.section-in {
  opacity: 1;
  transform: none;
}
/* el hero ya es visible al cargar, no lo ocultes */
.hero.section-reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .section-reveal { opacity: 1 !important; transform: none !important; }
}

.lang-head {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.lang-head .section-kicker { text-align: center; }

.cert-head {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.cert-head .section-kicker { text-align: center; }
.cert-grid { justify-content: center; }

/* === Certificaciones en tarjeta (igual que metas) === */
.cert-card-wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.6rem, 5vw, 3.5rem);
  border: 1px solid var(--dorado-borde);
  border-radius: 22px;
  background: var(--fondo2);
}
.cert-head {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.cert-head .section-kicker { text-align: center; }
.cert-card-wrap .cert-grid {
  justify-content: center;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}
.cert-more { text-align: center; }

.cert-note {
  margin: 1.4rem auto 0;
  max-width: 52ch;
  text-align: center;
  color: var(--gris1);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* === PÁGINA DE PROYECTO === */
.pp-hero { padding-top: calc(var(--header-h) + 1.5rem); }
.pp-back { display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1.4rem; color:var(--gris1); font-weight:700; font-size:.9rem; transition:color 160ms ease, gap 160ms ease; }
.pp-back:hover { color:var(--dorado); gap:.8rem; }
.pp-title { font-size:clamp(2.2rem,6vw,4rem); line-height:1.02; margin:.2rem 0 .6rem; }
.pp-sub { color:var(--gris1); font-size:clamp(1rem,2vw,1.2rem); max-width:60ch; }
.pp-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.2rem 0 2rem; }
.pp-tags span { padding:.35rem .85rem; border-radius:999px; border:1px solid var(--dorado-borde); background:var(--dorado-op); color:var(--dorado); font-size:.78rem; font-weight:800; }
.pp-cover { border:1px solid var(--dorado-borde); border-radius:16px; overflow:hidden; background:var(--fondo-card); }
.pp-cover img { width:100%; max-height:60vh; object-fit:cover; display:block; background:rgba(255,255,255,.92); }
.pp-alt { background:var(--fondo2); }
.pp-narrow { max-width:820px; }
.pp-lead { color:var(--gris1); font-size:clamp(1rem,2vw,1.15rem); line-height:1.7; }
.pp-areas { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.2rem; margin-top:2rem; }
.pp-area { padding:1.4rem; border:1px solid var(--dorado-borde); border-radius:12px; background:var(--fondo-card); transition:transform 200ms ease, border-color 200ms ease; }
.pp-area:hover { transform:translateY(-4px); border-color:var(--dorado); }
.pp-area-icon { display:inline-grid; place-items:center; width:2.6rem; aspect-ratio:1; margin-bottom:.9rem; border-radius:50%; background:var(--dorado-op); border:1px solid var(--dorado-borde); color:var(--dorado); }
.pp-area h3 { margin:0 0 .35rem; font-size:1.05rem; }
.pp-area p { margin:0; color:var(--gris1); font-size:.9rem; line-height:1.55; }
.pp-steps { display:grid; gap:1.6rem; margin-top:2rem; }
.pp-step { display:grid; grid-template-columns:3.5rem 1fr; align-items:start; gap:clamp(1rem,3vw,2rem); }
.pp-step-num { font-family:var(--font-display); font-weight:900; font-size:clamp(2.2rem,5vw,3.2rem); line-height:.8; text-align:center; color:rgba(255,255,255,.14); }
.pp-step-fase { margin:0 0 .2rem; color:var(--dorado); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.pp-step-body h3 { margin:0 0 .3rem; }
.pp-step-body p { margin:0; color:var(--gris1); font-size:.95rem; line-height:1.6; }
.pp-tools { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:2rem; }
.pp-tools span { padding:.5rem 1rem; border-radius:999px; border:1px solid var(--dorado-borde); color:var(--blanco); font-weight:700; font-size:.85rem; }
.pp-retos { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.2rem; margin-top:2rem; }
.pp-reto { padding:1.3rem; border:1px solid var(--dorado-borde); border-radius:12px; background:var(--fondo-card); }
.pp-reto h3 { margin:0 0 .4rem; font-size:1rem; display:flex; align-items:center; gap:.5rem; }
.pp-reto h3 i { color:var(--dorado); }
.pp-reto p { margin:0; color:var(--gris1); font-size:.9rem; line-height:1.55; }
.pp-results { list-style:none; margin:2rem 0 0; padding:0; display:grid; gap:.9rem; }
.pp-results li { position:relative; padding-left:1.8rem; color:var(--gris1); line-height:1.6; }
.pp-results li::before { content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; left:0; top:.15rem; color:var(--dorado); font-size:.85rem; }
.pp-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.2rem; margin-top:2rem; }
.pp-shot { margin:0; border:1px solid var(--dorado-borde); border-radius:12px; overflow:hidden; background:var(--fondo-card); }
.pp-shot img { width:100%; aspect-ratio:1.5; object-fit:cover; display:block; background:rgba(255,255,255,.92); }
.pp-cta { background:var(--fondo2); }
@media (max-width:560px){ .pp-step { grid-template-columns:2.6rem 1fr; } }
