/* Clementina López Islas — portafolio web (estética alineada al PDF) */
:root {
  --bg: #030308;
  --bg-elevated: rgba(12, 10, 24, 0.72);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-strong: rgba(168, 85, 247, 0.45);
  --text: #f4f2ff;
  --muted: rgba(228, 220, 255, 0.72);
  --purple: #a855f7;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --glow-1: rgba(168, 85, 247, 0.55);
  --glow-2: rgba(236, 72, 153, 0.45);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-hero: "Poppins", var(--font-body);
  --clem-pink: #ff88b6;
  --clem-purple: #9381ff;
  --shadow-glass: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 80px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Fondo: aurora líquida animada */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #000;
}

.bg-ribbons {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Blob 1 — rosa/magenta, arriba derecha */
.blob-1 {
  width: 28vw;
  height: 28vw;
  top: -6%;
  right: 2%;
  background: rgba(190, 24, 93, 0.55);
  filter: blur(70px);
  animation: blobFloat1 20s ease-in-out infinite alternate;
}

/* Blob 2 — violeta profundo, izquierda */
.blob-2 {
  width: 30vw;
  height: 30vw;
  top: 10%;
  left: -6%;
  background: rgba(88, 28, 135, 0.7);
  filter: blur(75px);
  animation: blobFloat2 24s ease-in-out infinite alternate;
}

/* Blob 3 — púrpura medio, centro-derecha (bajado para dar espacio a blob-1) */
.blob-3 {
  width: 22vw;
  height: 22vw;
  top: 58%;
  right: 5%;
  background: rgba(109, 40, 217, 0.5);
  filter: blur(65px);
  animation: blobFloat3 18s ease-in-out infinite alternate;
  animation-delay: -6s;
}

/* Blob 4 — violeta, abajo izquierda */
.blob-4 {
  width: 26vw;
  height: 26vw;
  bottom: 5%;
  left: -2%;
  background: rgba(124, 58, 237, 0.55);
  filter: blur(70px);
  animation: blobFloat4 26s ease-in-out infinite alternate;
  animation-delay: -3s;
}

/* Blob 5 — violeta brillante, abajo derecha (separado de blob-3) */
.blob-5 {
  width: 20vw;
  height: 20vw;
  bottom: -2%;
  right: 3%;
  background: rgba(167, 39, 203, 0.45);
  filter: blur(60px);
  animation: blobFloat5 22s ease-in-out infinite alternate;
  animation-delay: -9s;
}

@keyframes blobFloat1 {
  from { transform: translate(0, 0)    scale(1);    }
  to   { transform: translate(-9%, 14%) scale(1.12); }
}
@keyframes blobFloat2 {
  from { transform: translate(0, 0)    scale(1);    }
  to   { transform: translate(11%, 9%) scale(0.88); }
}
@keyframes blobFloat3 {
  from { transform: translate(0, 0)     scale(1);    }
  to   { transform: translate(-7%, -11%) scale(1.08); }
}
@keyframes blobFloat4 {
  from { transform: translate(0, 0)    scale(1);    }
  to   { transform: translate(9%, -9%) scale(1.1);  }
}
@keyframes blobFloat5 {
  from { transform: translate(0, 0)    scale(1);    }
  to   { transform: translate(-6%, -7%) scale(0.93); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(180deg, rgba(3, 3, 8, 0.92), rgba(3, 3, 8, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: 10rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 136, 182, 0.35));
}

.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--clem-pink);
  border-color: rgba(255, 136, 182, 0.35);
  background: rgba(255, 136, 182, 0.08);
  box-shadow: 0 0 24px rgba(255, 136, 182, 0.2);
}

/* Hero — alineado al sistema visual del portafolio */
.home-landing {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.hero-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.55), rgba(236, 72, 153, 0.35), rgba(34, 211, 238, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.home-landing__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}

.home-landing__content .section-kicker {
  margin-bottom: 0.35rem;
}

.home-landing__title {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-landing__title span {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.4));
}

.text-animation {
  margin: 0.85rem 0 1.15rem;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
  min-width: min(100%, 22rem);
}

.text-animation > span {
  position: relative;
  display: inline-block;
  color: #fff;
}

.text-animation > span::before {
  content: "Diseñadora Gráfica";
  background: linear-gradient(90deg, #fff 0%, var(--purple) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* clip-path revela el texto de izquierda a derecha sin depender del color del fondo */
  clip-path: inset(0 100% 0 0);
  animation: clemWords 20s infinite, clemReveal 20s steps(24) infinite;
}

/* Cursor — sigue la posición del texto letra a letra */
.text-animation > span::after {
  content: "";
  position: absolute;
  top: 5%;
  left: -2px;
  width: 2px;
  height: 90%;
  border-radius: 2px;
  background: var(--purple);
  animation: clemCursor 0.6s ease-in-out infinite alternate,
             clemCursorTrack 20s steps(24) infinite;
}

@keyframes clemCursor {
  from { opacity: 1; }
  to   { opacity: 0.1; }
}

/* Mueve el cursor de izq a der mientras el texto se revela (sincronizado con clemReveal) */
@keyframes clemCursorTrack {
  0%, 5%,
  20%, 25%,
  40%, 45%,
  60%, 65%,
  80%, 85%  { left: -2px; }              /* oculto — cursor al inicio */

  10%, 15%,
  30%, 35%,
  50%, 55%,
  70%, 75%,
  90%, 95%  { left: calc(100% + 2px); }  /* visible — cursor al final */
}

@keyframes clemWords {
  0%,   20% { content: "Diseñadora Gráfica";   }
  21%,  40% { content: "Diseñadora Web";        }
  41%,  60% { content: "Diseñadora Multimedial";}
  61%,  80% { content: "Comunicadora Visual";   }
  81%, 100% { content: "Consultora";            }
}

/* Revela el texto de izq a der, luego lo oculta (sincronizado con clemWords) */
@keyframes clemReveal {
  0%, 5%,
  20%, 25%,
  40%, 45%,
  60%, 65%,
  80%, 85%  { clip-path: inset(0 100% 0 0); } /* oculto */

  10%, 15%,
  30%, 35%,
  50%, 55%,
  70%, 75%,
  90%, 95%  { clip-path: inset(0 0% 0 0);   } /* visible */
}

.home-landing__intro {
  margin: 0;
  max-width: min(52ch, 100%);
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
}

.home-social {
  margin: 1.5rem 0 0.25rem;
}

.home-btns.contact-chips {
  margin-top: 0.85rem;
}

.chip--icon {
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.chip--icon svg {
  margin: 0;
}

.chip--cta {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(236, 72, 153, 0.9));
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
}

.chip--cta:hover {
  border-color: rgba(236, 72, 153, 0.65);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.45), 0 0 24px rgba(236, 72, 153, 0.35);
}

.home-landing__visual {
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  padding: 0.65rem;
  border-radius: 50%;
  width: fit-content;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 38px rgba(168, 85, 247, 0.15), 0 0 18px rgba(236, 72, 153, 0.08);
}

.hero-photo-inner {
  position: relative;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.35), rgba(3, 3, 8, 0.9));
}

.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-inner.is-empty {
  display: grid;
  place-items: center;
}

.hero-photo-inner .photo-corner {
  border-width: 0 0 56px 56px;
}

.photo-fallback--round {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.about-panel .about-copy {
  width: 100%;
  max-width: min(100%, 54rem);
}

/* Secciones genéricas */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1;
  margin: 0.15rem 0 0;
  text-transform: uppercase;
  color: #e6c5ff;
  text-shadow: 0 0 16px #633391, 0 0 34px rgba(99, 51, 145, 0.55), 0 0 58px rgba(99, 51, 145, 0.28);
}

.glass-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow-glass);
}

.thumb-placeholder {
  margin: 0;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.photo-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 72px 72px;
  border-color: transparent transparent rgba(168, 85, 247, 0.85) transparent;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.5));
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: none;
}

.about-copy p strong {
  color: #fff;
  font-weight: 600;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.88rem;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
  border-color: rgba(236, 72, 153, 0.55);
}

.chip svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Skills + software */
.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.software-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.software-bar__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tool-icons li {
  display: flex;
}

.tool-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 12px;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tool-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

/* Educación + experiencia */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.split h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.list-plain li + li {
  margin-top: 0.65rem;
}

.list-plain strong {
  color: #fff;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 14px var(--glow-1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Servicios */
.services-intro {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(3, 3, 8, 0.5));
  box-shadow: var(--shadow-glass);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.12);
  transform: translateY(-2px);
}

.service-card__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}

.service-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.service-card__desc:empty::before {
  content: "Pegá acá la descripción de este servicio.";
  font-style: italic;
  opacity: 0.45;
}

/* Proyectos */
.portfolio-block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.portfolio-block--impact {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(520px 260px at 10% 0%, rgba(255, 255, 255, 0.22), transparent 62%),
    radial-gradient(460px 320px at 92% 88%, rgba(255, 255, 255, 0.14), transparent 65%),
    linear-gradient(135deg, #511a9c 0%, #8f2ee9 28%, #d036ad 62%, #0f173f 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 90px rgba(93, 35, 173, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.portfolio-block--impact::before {
  content: "";
  position: absolute;
  inset: -120% 40% auto -25%;
  height: 230%;
  transform: rotate(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.impact-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
}

.block-tag--impact {
  color: #fff;
  font-size: clamp(2.4rem, 7.6vw, 4.1rem);
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.25), 0 0 60px rgba(130, 225, 255, 0.3);
}

.block-num--impact {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.impact-copy {
  margin: 0;
  max-width: 56ch;
  color: rgba(246, 248, 255, 0.9);
}

.impact-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.impact-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.3);
}

.impact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.impact-cta-row .impact-cta {
  margin-top: 0;
}

.impact-cta--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.impact-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.project-grid--impact .project-card {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(155deg, rgba(8, 7, 24, 0.86), rgba(14, 11, 38, 0.8));
}

.project-grid--impact .project-card:hover {
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 22px 70px rgba(7, 5, 22, 0.5), 0 0 26px rgba(255, 255, 255, 0.2);
}

.project-grid--impact .project-thumb {
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(24, 19, 60, 0.92));
}

.project-grid--impact .meta-pill {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(246, 248, 255, 0.95);
}

.block-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 32px rgba(168, 85, 247, 0.45);
}


.block-num {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted);
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(10, 8, 22, 0.85);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(168, 85, 247, 0.15);
}

.project-thumb {
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.25), rgba(3, 3, 8, 0.95));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.project-thumb.has-img {
  padding: 0;
}

.project-thumb.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.project-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.meta-pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

/* Contacto final */
.contact-hero {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.15), rgba(3, 3, 8, 0.85));
  box-shadow: 0 0 100px rgba(236, 72, 153, 0.08);
}

.contact-hero h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-hero p {
  margin: 0 auto 1.25rem;
  max-width: 52ch;
  color: var(--muted);
}

.footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  color: rgba(228, 220, 255, 0.45);
  font-size: 0.82rem;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Animated project thumbs (GIF / video hover) */
.project-thumb--animated {
  position: relative;
  overflow: hidden;
}

.project-thumb--animated .thumb-static,
.project-thumb--animated .thumb-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.35s ease;
}

.project-thumb--animated .thumb-hover {
  opacity: 0;
}

@media (hover: hover) {
  .project-thumb--animated:hover .thumb-hover {
    opacity: 1;
  }

  .project-thumb--animated:hover .thumb-static {
    opacity: 0;
  }
}

/* Reel gallery cards — no body, just thumb + number */
.project-card--reel {
  min-height: unset;
}

.project-card--reel .project-thumb {
  height: 100%;
}

.reel-num {
  position: absolute;
  bottom: 0.7rem;
  left: 0.8rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@media (hover: hover) {
  .project-card--reel:hover .reel-num {
    opacity: 0;
  }
}

/* Touch fallback: tap reveals the hover state */
.project-thumb--animated.is-previewing .thumb-hover {
  opacity: 1;
}

.project-thumb--animated.is-previewing .thumb-static {
  opacity: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .home-landing__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-landing__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-landing__intro {
    max-width: none;
  }

  .home-social,
  .home-btns {
    justify-content: center;
  }

  .hero-photo-frame {
    margin-inline: auto;
  }

  .split,
  .service-cards {
    grid-template-columns: 1fr;
  }

  .portfolio-block--impact::before {
    inset: -150% 10% auto -40%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(3, 3, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.25rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .hero-photo-inner {
    width: min(65vw, 14rem);
    height: min(65vw, 14rem);
  }

  /* Impact cards: 1 columna en mobile/tablet para evitar 2+1 desbalanceado */
  .project-grid--impact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .text-animation > span::before {
    content: "Diseñadora Multimedial";
    clip-path: inset(0 0% 0 0); /* texto visible sin animación */
    animation: none;
  }

  .text-animation > span::after {
    display: none;
  }
}
