/* ==========================================================
   1. VARIABLES: cambiá colores y medidas generales acá.
   El fondo principal pedido es exactamente #161616.
   ========================================================== */
:root {
  --background: #161616;
  --surface: #242424;
  --white: #fff;
  --text: #f7f7f7;
  --muted: #ffffff;
  --ink: #1b1b1b;
  --accent: #efbad0;
  --line: #ffffff24;
  --radius: 18px;
  --page-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .35; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.35vw, 44px); }
h3 { font-size: 19px; letter-spacing: -.025em; }
.container { width: min(var(--page-width), calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 19px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px; background: white; color: #161616; z-index: 100; }
.skip-link:focus { top: 8px; }

/* 2. MENÚ */
.site-header { position: sticky; top: 20px; z-index: 20; margin-top: 20px; }
.nav { min-height: 64px; padding: 10px 13px 10px 26px; border-radius: 50px; background: rgba(255,255,255,.94); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 8px 35px #0002; backdrop-filter: blur(16px); }
.brand { font-size: 19px; letter-spacing: -.055em; white-space: nowrap; }
.brand strong { font-weight: 700; }
.brand strong span { color: #ac4a70; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.nav-links>a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { padding: 10px 22px; border-radius: 40px; background: #161616; color: #fff; }
.nav-contact span { margin-left: 18px; }
.menu-toggle { display: none; }

/* 3. ENCABEZADO */
.hero { min-height: 660px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 96px; padding-block: 74px 82px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: .10em; }
.tiny-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
h1 { font-size: clamp(54px, 6.3vw, 82px); font-weight: 600; line-height: .99; letter-spacing: -.06em; }
h1 em { font-family: inherit; font-style: normal; font-weight: 700; letter-spacing: -.06em; display: inline-block; margin-top: 6px; text-decoration: none; }
.hero-description { font-size: 17px; line-height: 1.7; color: #d0d0d0; max-width: 470px; margin-top: 28px; }
.hero-description strong { font-weight: 500; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 48px; padding: 12px 25px; border-radius: 50px; border: 1px solid #ffffff85; background: #ffffff20; color: white; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #ffffff32; transform: translateY(-2px); }
.button-quiet { background: transparent; border-color: #ffffff4f; }
.experience { display: flex; gap: 31px; margin-top: 44px; }
.experience p { display: flex; flex-direction: column; }
.experience p+p { border-left: 1px solid var(--line); padding-left: 30px; }
.experience strong { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.experience p:last-child strong { font-size: 16px; margin-top: 4px; }
.experience span { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-photo { width: 100%; max-width: 392px; justify-self: end; border-radius: 26px; overflow: hidden; border: 1px solid #ffffff28; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 35%; }

/* 4. GALERÍAS: scroll nativo + controles JS para mouse y teclado. */
.work-section { padding-block: 55px 60px; border-top: 1px solid var(--line); }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-top .eyebrow { color: var(--muted); margin-bottom: 13px; }
.section-description { color: var(--muted); font-size: 15px; margin-top: 12px; }
.carousel-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.drag-hint { font-size: 11px; color: var(--muted); margin-right: 10px; }
.carousel-controls button { width: 42px; height: 42px; padding: 0; border: 1px solid #ffffff60; border-radius: 50%; background: transparent; color: white; font-size: 20px; }
.carousel-controls button:hover:not(:disabled) { background: #ffffff18; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #ffffff40 transparent; padding: 5px 3px 20px; cursor: grab; }
.carousel.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.project-card { flex: 0 0 calc((100% - 56px) / 3.25); min-width: 0; display: flex; flex-direction: column; text-align: left; border: 0; padding: 9px; border-radius: 14px; color: var(--ink); background: var(--white); scroll-snap-align: start; transition: transform .2s; }
.project-card:hover { transform: translateY(-3px); }
.project-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; pointer-events: none; }
.card-info { padding: 14px 6px 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-info strong { display: block; font-size: 16px; letter-spacing: -.025em; }
.card-info small { display: block; margin-top: 2px; color: #626262; font-size: 11px; }
.card-arrow { font-size: 18px; border: 1px solid #777; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.video-section { padding-bottom: 85px; }
.video-track .project-card { flex-basis: calc((100% - 60px) / 3.6); }
.video-track .project-card img { aspect-ratio: 9/16; }
.poster-wrap { display: block; position: relative; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid white; background: #16161690; color: #fff; border-radius: 50%; }

/* 5. HABILIDADES Y HERRAMIENTAS */
.light-section { background: #fff; color: var(--ink); }
.about { padding-block: 76px 50px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about .eyebrow { color: #696969; }
.about-intro { font-size: 16px; color: #5e5e5e; line-height: 1.8; margin-top: 25px; max-width: 455px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skill-tags span { border: 1px solid #d6d6d6; border-radius: 30px; padding: 5px 14px; font-size: 12px; }
.benefits { display: grid; gap: 25px; }
.benefits article { display: flex; gap: 16px; align-items: flex-start; }
.check { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #444; border-radius: 50%; flex-shrink: 0; }
.benefits h3 { font-size: 18px; margin-top: 4px; }
.benefits p { color: #656565; font-size: 14px; margin-top: 7px; max-width: 370px; }
.tools { border-top: 1px solid #ddd; margin-top: 64px; padding-top: 37px; }
.tools-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.tools h2 { font-size: 28px; }
.tools-heading p { color: #656565; font-size: 13px; }
.tool-list { padding: 0; margin: 35px 0 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.tool-list li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 600; }
.tool-list img { width: 45px; height: 45px; border-radius: 10px; object-fit: contain; }

/* 6. BRANDING Y FRONTEND */
.other-section { padding-block: 65px; }
.other-section h2 { font-size: 32px; }
.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.other-card { padding: 24px; border: 0; border-radius: 14px; background: white; color: #161616; display: flex; align-items: center; justify-content: space-between; gap: 25px; text-align: left; }
.other-card img { width: 145px; height: 100px; object-fit: cover; border-radius: 8px; }
.other-title { display: block; font-size: 19px; line-height: 1.13; letter-spacing: -.025em; }
.other-card p { font-size: 13px; color: #626262; margin-top: 10px; }
.other-card .card-arrow { margin-top: 15px; }
.frontend-symbol { font-family: inherit; font-size: 62px; color: #d0d0d0; letter-spacing: -.08em; }
.coming-soon { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-top: 16px; color: #737373; }

/* 7. CONTACTO Y PIE */
.contact { border-top: 1px solid var(--line); padding-block: 70px; text-align: center; }
.contact h2 { font-size: clamp(35px,4.5vw,58px); }
.contact>p:not(.eyebrow) { color: var(--muted); margin: 18px 0 26px; }
.contact-email { display: block; width: fit-content; margin: 19px auto 0; font-size: 13px; color: #cecece; }
.contact-email:hover { text-decoration: underline; }
.footer { border-top: 1px solid var(--line); padding-block: 27px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer p,.footer>a:last-child { color: var(--muted); font-size: 12px; }
/* 8. VENTANA DE PROYECTOS */
.project-dialog { width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 48px); background: #fff; color: #161616; padding: 28px; border: 0; border-radius: 20px; overscroll-behavior: contain; }
.project-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-top .eyebrow { margin: 0; color: #666; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #bbb; border-radius: 50%; background: white; color: #161616; }
.project-dialog h2 { margin-top: 20px; font-size: 34px; }
#dialog-description { color: #666; margin-top: 14px; }
#dialog-media { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
#dialog-media img { width: 100%; border-radius: 10px; object-fit: contain; align-self: start; background: #f4f4f4; }
#dialog-media video { display: block; max-width: 100%; max-height: 70vh; margin: auto; grid-column: 1 / -1; border-radius: 10px; background: #161616; }
#dialog-media .external-video { color: #161616; border-color: #aaa; grid-column: 1/-1; }
.media-status { font-size: 13px; color: #666; margin-top: 20px; }
.media-status:empty { display: none; }
.noscript { padding: 25px; text-align: center; }
/* 9. TABLET Y CELULAR */
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .hero { gap: 50px; min-height: 600px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 64px; }
  .nav-links { gap: 22px; }
  .drag-hint { display: none; }
  .about-grid { gap: 45px; }
  .tool-list li { flex-direction: column; gap: 10px; }
  .tools-heading { display: block; }
  .tools-heading p { margin-top: 10px; }
  .other-card { gap: 15px; }
  .other-card img { width: 110px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 40px); }
  .site-header { top: 12px; margin-top: 12px; }
  .nav { min-height: 58px; padding: 10px 18px; position: relative; }
  .brand { font-size: 18px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 38px; height: 38px; border: 0; background: none; }
  .menu-toggle span { width: 18px; height: 1.5px; background: #161616; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 20px; border-radius: 20px; background: #fff; align-items: stretch; flex-direction: column; gap: 0; box-shadow: 0 12px 30px #0005; }
  .nav-links.is-open { display: flex; }
  .nav-links>a { padding: 13px 14px; }
  .nav-links .nav-contact { margin-top: 8px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 52px 48px; }
  .hero h1 { font-size: clamp(48px,13vw,74px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .07em; margin-bottom: 22px; }
  .hero-description { font-size: 16px; margin-top: 23px; }
  .experience { gap: 20px; margin-top: 32px; }
  .experience p+p { padding-left: 19px; }
  .experience strong { font-size: 21px; }
  .experience p:last-child strong { font-size: 14px; }
  .hero-photo { width: min(100%,360px); justify-self: center; border-radius: 20px; }
  .hero-photo img { aspect-ratio: 1/1.07; object-position: center 30%; }
  .section-top { align-items: flex-start; gap: 15px; flex-wrap: wrap; }
  .section-top h2 { font-size: 29px; }
  .section-description { font-size: 14px; }
  .work-section { padding-block: 38px; }
  .carousel { gap: 14px; }
  .project-card { flex-basis: 80%; }
  .video-track .project-card { flex-basis: 68%; }
  .carousel-controls { margin-left: auto; }
  .carousel-controls button { width: 40px; height: 40px; }
  .about { padding-block: 48px 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about h2 { font-size: 34px; }
  .about-intro { font-size: 15px; }
  .tools { margin-top: 38px; padding-top: 30px; }
  .tools h2 { font-size: 27px; }
  .tool-list { grid-template-columns: repeat(3,1fr); row-gap: 25px; }
  .tool-list li { font-size: 11px; }
  .other-section { padding-block: 44px; }
  .other-grid { grid-template-columns: 1fr; }
  .other-card { min-height: 164px; }
  .other-card img { width: 125px; }
  .contact { padding-block: 48px; }
  .contact h2 { font-size: 36px; }
  .footer { flex-wrap: wrap; gap: 12px; }
  .footer .brand { flex-basis: 100%; }
  .footer>a:last-child { margin-left: auto; }
  .project-dialog { padding: 20px; }
  #dialog-media { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* TARJETAS DE DISEÑO PARA REDES
   Conserva los tamaños, proporciones y espaciados existentes. */

#design-track .project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #ffffff25;
  color: #ffffff;
  border-radius: 24px;

  /* Borde visual que no aumenta las dimensiones */
  box-shadow: inset 0 0 0 1px #ffffff14;

  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#design-track .project-card:hover {
  background: #28252b;
  box-shadow: inset 0 0 0 1px #efbad050;
}

/* Área de la imagen */
#design-track .poster-wrap {
  background: #342d38;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

#design-track .poster-wrap img {
  border-radius: 0;

  /* Muestra la imagen completa sin alterar su caja */
  object-fit: contain;
}

/* Información inferior */
#design-track .card-info {
  background: transparent;
  color: #ffffff;
}

#design-track .card-info strong {
  color: #ffffff;
}

#design-track .card-info small {
  color: #cbb7c7;
}

/* Flecha circular */
#design-track .card-arrow {
  background: #3b353e;
  border-color: transparent;
  color: #ffffff;
  transition: background-color 0.25s ease;
}

#design-track .project-card:hover .card-arrow {
  background: #574451;
}

/* Numeración superpuesta: no ocupa espacio en la tarjeta */
#design-track .project-card::after {
  content: attr(data-position);

  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;

  padding: 7px 12px;
  border: 1px solid #ffffff50;
  border-radius: 999px;

  background: #24242bbf;
  backdrop-filter: blur(10px);
  color: #ffffff;

  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* ==================================================
   HERRAMIENTAS | BARRA COMPACTA CON LOGOS
   Velocidad: --tools-duration (más segundos = más lento)
   Alto de barra: padding de .tools-banner
   Tamaño de logos: width y height de img
=================================================== */

.tools-banner {
  --tools-duration: 28s;

  padding: 18px 0;
  background: #f8f8f8;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  scroll-margin-top: 100px;
}

/* VENTANA | Desvanecido en los extremos */
.tools-banner__window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right, transparent, #000 8%, #000 92%, transparent
  );
  mask-image: linear-gradient(
    to right, transparent, #000 8%, #000 92%, transparent
  );
}

/* PISTA ANIMADA */
.tools-banner__track {
  display: flex;
  width: max-content;
  animation: tools-slide-left var(--tools-duration) linear infinite;
}

/* LISTAS DE PROGRAMAS */
.tools-banner__list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools-banner__list li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  padding-inline: clamp(20px, 3vw, 48px);
  color: #090909;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

/* LOGOS */
.tools-banner__list img {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* LOGOS DE LA BARRA | Esquinas redondeadas */
.tools-banner__list img {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

/* MOVIMIENTO CONTINUO HACIA LA IZQUIERDA */
@keyframes tools-slide-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* CELULARES */
@media (max-width: 600px) {
  .tools-banner {
    padding: 14px 0;
  }

  .tools-banner__list li {
    gap: 8px;
    padding-inline: 22px;
    font-size: 15px;
  }

  .tools-banner__list img {
    width: 24px;
    height: 24px;
  }
}

/* ACCESIBILIDAD | Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .tools-banner__track {
    width: 100%;
    animation: none;
  }

  .tools-banner__list {
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
    gap: 16px 0;
  }

  .tools-banner__list[aria-hidden="true"] {
    display: none;
  }
}

/* FIN HERRAMIENTAS | BARRA COMPACTA CON LOGOS */

/* ==========================================================
   VIDEOS | REPRODUCTOR VERTICAL DE YOUTUBE
========================================================== */

/* Ventana más angosta para Shorts */
.project-dialog.is-youtube {
  width: min(480px, calc(100% - 32px));
}

/* Un reproductor por fila */
.project-dialog.is-youtube #dialog-media {
  grid-template-columns: minmax(0, 1fr);
}

/* Reproductor vertical, centrado y adaptable */
.youtube-player {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 0;
  border-radius: 12px;
  background: #000;
}

/* Evita un espacio vacío cuando no hay descripción */
.project-dialog.is-youtube #dialog-description:empty {
  display: none;
}

/* FIN VIDEOS | REPRODUCTOR DE YOUTUBE */

/* ==========================================================
   VIDEOS | REPRODUCTORES DENTRO DEL CARRUSEL
========================================================== */

#video-track .inline-video-card {
  overflow: hidden;
  cursor: default;
}

/* Mantiene estable la tarjeta al usar los controles */
#video-track .inline-video-card:hover {
  transform: none;
}

/* Reproductor vertical adaptable al ancho de la tarjeta */
#video-track .inline-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  background: #000;
}

#video-track .card-info {
  width: 100%;
}

/* FIN VIDEOS | REPRODUCTORES DENTRO DEL CARRUSEL */

/* ==========================================================
   INSTAGRAM | TARJETAS DEL CARRUSEL
   Ancho suficiente para el reproductor oficial.
========================================================== */

#video-track {
  align-items: flex-start;
}

#video-track .instagram-video-card {
  flex-basis: 346px;
  min-width: 346px;
}

#video-track .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* FIN INSTAGRAM */

/* ==========================================================
   VIDEOS MP4 | MISMAS PROPORCIONES QUE YOUTUBE
========================================================== */

#video-track .inline-local-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

#video-track .local-video-error {
  padding: 12px 6px;
  color: #9b2525;
  font-size: 13px;
}

/* FIN VIDEOS MP4 */

/* ==========================================================
   DESARROLLO FRONTEND | DISEÑO DE TARJETAS
========================================================== */

#frontend .other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.frontend-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 18px;
  background: #fff;
  color: #161616;
  transition: transform 0.2s ease;
}

.frontend-card:hover {
  transform: translateY(-4px);
}

/* CAPTURA | Misma proporción para todos los proyectos */
.frontend-card__preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaeaea;
}

.frontend-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Mensaje temporal mientras agregás las capturas */
.frontend-card__placeholder {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #666;
  font-size: 13px;
  text-align: center;
}

.frontend-card__placeholder:not([hidden]) {
  display: flex;
}

/* NOMBRE, DESCRIPCIÓN Y ENLACE */
.frontend-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.frontend-card__content h3 {
  font-size: 20px;
}

.frontend-card__content p {
  margin: 10px 0 20px;
  color: #666;
  font-size: 14px;
}

.frontend-card__action {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border: 1px solid #d5d5d5;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

/* TABLET */
@media (max-width: 1000px) {
  #frontend .other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CELULAR */
@media (max-width: 600px) {
  #frontend .other-grid {
    grid-template-columns: 1fr;
  }
}

/* FIN DESARROLLO FRONTEND */

/* ==========================================================
   ENCABEZADO | LUZ ROSA TENUE
   Intensidad: cambiá 0.14 (menos = más suave).
   Posición: ajustá right y top.
========================================================== */

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  width: min(650px, 100%);
  height: 600px;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);

  background: radial-gradient(
    ellipse at center,
    rgba(255, 45, 125, 0.269) 0%,
    rgba(255, 70, 141, 0.094) 35%,
    rgba(255, 156, 194, 0) 70%
  );
}

/* CELULAR | Luz centrada detrás de la foto */
@media (max-width: 700px) {
  .hero::before {
    width: 100%;
    height: 480px;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
  }
}

/* FIN ENCABEZADO | LUZ ROSA TENUE */
/* ESTILO TECH | Tipografía limpia y luces ambientales rosa / azul. */
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 680px 580px at 0% 35%, rgba(66, 125, 255, .08), transparent 72%),
    radial-gradient(ellipse 760px 620px at 100% 78%, rgba(244, 104, 181, .07), transparent 72%);
}
h1 { font-weight: 700; }
.hero::before {
  width: 100%;
  height: 100%;
  inset: 0;
  transform: none;
  background:
    radial-gradient(ellipse at 82% 43%, rgba(241, 100, 180, .19), transparent 52%),
    radial-gradient(ellipse at 15% 26%, rgba(76, 137, 255, .14), transparent 53%);
}
.hero h1 em { color: #d9e5ff; }
.hero-photo {
  border-color: rgba(191, 197, 255, .27);
  box-shadow: -18px 4px 65px rgba(75, 133, 255, .09), 22px 12px 70px rgba(240, 101, 177, .12);
}
.nav {
  background: rgba(24, 25, 32, .88);
  color: var(--text);
  border: 1px solid rgba(185, 193, 255, .19);
  box-shadow: 0 8px 35px #0003, 0 0 32px rgba(103, 128, 240, .05);
}
.brand strong span { color: #efbad0; }
.nav-contact {
  background: linear-gradient(115deg, rgba(101, 150, 255, .15), rgba(239, 144, 196, .14));
  border: 1px solid rgba(196, 200, 255, .28);
}
.tiny-dot { background: #efbad0; box-shadow: 0 0 12px #f18dc080, 0 0 24px #699eff40; }
.button {
  border-color: rgba(190, 201, 255, .38);
  background: linear-gradient(115deg, rgba(107, 153, 255, .10), rgba(240, 139, 193, .08));
}
.button:hover { border-color: #b6caff; background: rgba(130, 161, 245, .17); }
.button-quiet { background: transparent; }
#design-track .project-card:hover {
  background: #262832;
  box-shadow: inset 0 0 0 1px #a5bfff60, 0 8px 24px #648eff12;
}
.contact {
  background: radial-gradient(ellipse at 25% 100%, #618fff13, transparent 60%), radial-gradient(ellipse at 80% 100%, #f188bc12, transparent 60%);
}
@media (max-width: 700px) {
  .menu-toggle span { background: #f7f7f7; }
  .nav-links {
    background: #1c1d25;
    color: var(--text);
    border: 1px solid #b9c1ff30;
  }
  .hero::before { inset: 0; width: 100%; height: 100%; transform: none; }
}

/* LUCES A TODO EL ANCHO | Fondo continuo para todas las zonas oscuras.
   Las secciones blancas conservan su propio fondo opaco. */
body {
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 75vw 85vh at 0% 20%, rgba(76, 137, 255, .21), transparent 75%),
    radial-gradient(ellipse 75vw 90vh at 100% 65%, rgba(241, 100, 180, .24), transparent 75%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}
/* El efecto vive en el fondo de la página, fuera del contenedor central. */
.hero::before { content: none; }
.contact { background: transparent; }

/* BARRA DE PROGRAMAS | Cápsulas de vidrio sobre el fondo ambiental. */
.tools-banner {
  --tools-duration: 34s;
  position: relative;
  padding: 24px 0;
  background: linear-gradient(105deg, rgba(110, 151, 255, .045), rgba(23, 24, 32, .58) 45%, rgba(243, 139, 194, .045));
  border-top: 1px solid rgba(184, 198, 255, .13);
  border-bottom: 1px solid rgba(225, 178, 215, .13);
  backdrop-filter: blur(16px);
}
.tools-banner__window {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.tools-banner__list {
  justify-content: space-around;
  gap: 16px;
  padding-inline: 8px;
}
.tools-banner__list li {
  gap: 12px;
  padding: 12px 22px;
  color: #e8eaf2;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.4;
  border: 1px solid rgba(192, 203, 255, .17);
  border-radius: 999px;
  background: linear-gradient(130deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 16px rgba(0, 0, 0, .10);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.tools-banner__list li:hover {
  border-color: rgba(171, 193, 255, .4);
  background: linear-gradient(120deg, rgba(105, 153, 255, .13), rgba(241, 143, 194, .09));
  box-shadow: 0 0 20px rgba(118, 151, 255, .07);
}
.tools-banner__list img { width: 26px; height: 26px; border-radius: 7px; }

@media (max-width: 600px) {
  .tools-banner { padding: 18px 0; }
  .tools-banner__list { gap: 12px; padding-inline: 6px; }
  .tools-banner__list li { padding: 10px 17px; gap: 10px; font-size: 13px; }
  .tools-banner__list img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tools-banner__list { gap: 12px; }
}


/* TARJETAS | Vidrio sutil, bordes luminosos y movimiento delicado. */
:root {
  --card-glass: linear-gradient(135deg, rgba(178, 201, 255, .045), rgba(255, 255, 255, .012) 48%, rgba(244, 175, 211, .035));
  --card-border: rgba(207, 218, 255, .16);
}
.project-card,
#design-track .project-card,
.other-card,
.frontend-card {
  position: relative;
  isolation: isolate;
  background: var(--card-glass);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.project-card,
#design-track .project-card { padding: 8px; }
.project-card img,
#design-track .poster-wrap,
#design-track .poster-wrap img { border-radius: 15px; }
#design-track .poster-wrap { background: transparent; }
.card-info,
#design-track .card-info { padding: 18px 10px 12px; background: transparent; color: var(--text); }
.card-info strong,
#design-track .card-info strong { color: #f2f4fc; font-weight: 600; }
.card-info small,
#design-track .card-info small,
.other-card p,
.frontend-card__content p,
.coming-soon { color: #b6bfd0; }
.card-arrow,
#design-track .card-arrow {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(196, 211, 255, .24);
  color: #dce6ff;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
#design-track .project-card::after { content: none; }
.frontend-card__preview { background: transparent; margin: 8px 8px 0; border-radius: 15px; }
.frontend-card__placeholder { color: #b6bfd0; }
.frontend-card__content { padding: 22px; }
.frontend-card__action {
  color: #e4eaff;
  border-color: rgba(196, 211, 255, .24);
  background: rgba(153, 180, 255, .035);
  transition: border-color .3s ease, background .3s ease;
}
#video-track .local-video-error { color: #ffb6ca; }
.other-card img { border-radius: 14px; }
.frontend-symbol { color: #b6caff; }
/* Las tarjetas de habilidades se adaptan a su sección clara. */
.benefits article {
  padding: 20px;
  border: 1px solid rgba(91, 112, 157, .14);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(109, 153, 255, .035), rgba(238, 154, 197, .025));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.benefits .check { border-color: #a7b6d2; color: #50648c; }
@media (hover: hover) and (pointer: fine) {
  .project-card:hover,
  #design-track .project-card:hover,
  .other-card:hover,
  .frontend-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(125deg, rgba(135, 174, 255, .075), rgba(255, 255, 255, .018) 48%, rgba(244, 158, 207, .06));
    border-color: rgba(186, 208, 255, .36);
    box-shadow: -8px 10px 32px rgba(87, 139, 255, .055), 8px 10px 32px rgba(239, 126, 190, .045), inset 0 1px 0 rgba(255, 255, 255, .07);
  }
  /* La tarjeta de video se ilumina sin mover sus controles. */
  #video-track .inline-video-card:hover { transform: none; }
  .project-card:hover .card-arrow,
  #design-track .project-card:hover .card-arrow,
  .other-card:hover .card-arrow {
    transform: translate(2px, -2px);
    background: rgba(169, 194, 255, .09);
    border-color: rgba(186, 208, 255, .42);
  }
  .frontend-card:hover .frontend-card__action { border-color: #b3c9ff70; background: #98baff0d; }
  .benefits article:hover { transform: translateX(4px); border-color: #829bdc40; box-shadow: 0 6px 22px #6f8dd309; }
}
.project-card:focus-visible,
.other-card:focus-visible,
.frontend-card:focus-within { border-color: #b6caff; }
@media (prefers-reduced-motion: reduce) {
  .project-card:hover,
  #design-track .project-card:hover,
  .other-card:hover,
  .frontend-card:hover,
  .benefits article:hover,
  .project-card:hover .card-arrow,
  #design-track .project-card:hover .card-arrow,
  .other-card:hover .card-arrow { transform: none; }
}

/* ÍCONOS DE SECCIÓN | Trazo fino y acentos ambientales. */
.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 205, 255, .22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(118, 166, 255, .09), rgba(242, 157, 204, .05));
  color: #c0d4ff;
  box-shadow: inset 0 1px 0 #ffffff08;
}
.section-icon svg { display: block; width: 23px; height: 23px; }
.light-section .section-icon { color: #536d9f; border-color: #8099cc38; }
.contact > .section-icon { margin-inline: auto; }
@media (max-width: 700px) {
  .section-icon { width: 40px; height: 40px; margin-bottom: 15px; border-radius: 12px; }
  .section-icon svg { width: 21px; height: 21px; }
}

/* ENCABEZADO | Interletrado original e interlineado más compacto. */
.hero h1,
.hero h1 em { letter-spacing: -.06em; }

/* HABILIDADES | Continuidad del fondo oscuro y las luces ambientales. */
.about.light-section {
  background: transparent;
  color: var(--text);
  border-block: 1px solid var(--line);
}
.about .eyebrow { color: #bac8e4; }
.about-intro,
.benefits p { color: #b6bfd0; }
.about .skill-tags span {
  color: #dce6fa;
  border-color: rgba(192, 208, 255, .2);
  background: rgba(165, 192, 255, .025);
}
.about .benefits article {
  border-color: var(--card-border);
  background: var(--card-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
}
.about .benefits .check {
  color: #c0d4ff;
  border-color: rgba(184, 205, 255, .3);
  background: rgba(118, 166, 255, .04);
}
.about .section-icon { color: #c0d4ff; border-color: rgba(184, 205, 255, .22); }
.about .tools { border-color: var(--line); }
.about .tools-heading p { color: #b6bfd0; }
@media (hover: hover) and (pointer: fine) {
  .about .benefits article:hover {
    border-color: rgba(186, 208, 255, .36);
    box-shadow: -8px 10px 32px rgba(87, 139, 255, .055), 8px 10px 32px rgba(239, 126, 190, .045);
  }
}

.hero h1 { line-height: .9; }
.hero h1 em { margin-top: 0; }





/* GALERÍA DE DISEÑOS | Todos los clientes visibles, sin carrusel. */
#design-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 6px 0 14px;
  overflow: visible;
}
#design-track .project-card { width: 100%; min-width: 0; }
#design-track .poster-wrap { width: 100%; }
#design-track .poster-wrap img { aspect-ratio: 4 / 5; object-fit: contain; }
#design-track .card-info { width: 100%; padding: 14px 6px 8px; }
#design-track .card-info strong { font-size: 15px; }
#design-track .card-info small { font-size: 11px; }
#design-track .card-arrow { width: 28px; height: 28px; }
@media (max-width: 1000px) { #design-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 700px) { #design-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 380px) { #design-track { grid-template-columns: 1fr; } }

/* ESPECIALIDADES | Panel editorial de cuatro disciplinas conectadas. */
.expertise-section { padding-block: 80px; border-block: 1px solid var(--line); }
.expertise-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 35px; }
.expertise-heading .eyebrow { color: #becbe3; margin-bottom: 12px; }
.expertise-heading h2 { font-size: clamp(32px, 4vw, 48px); }
.expertise-intro { max-width: 390px; color: #b6bfd0; font-size: 15px; line-height: 1.8; }
.expertise-panel {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #bdd2ff2b; border-radius: 24px; overflow: hidden;
  background: linear-gradient(120deg, #8caeff06, #ffffff02 50%, #f3acd308);
  box-shadow: inset 0 1px 0 #ffffff07, 0 16px 60px #05091612;
  backdrop-filter: blur(12px);
}
.expertise-card { position: relative; min-width: 0; padding: 30px 25px 26px; display: flex; flex-direction: column; transition: background .35s ease; }
.expertise-card + .expertise-card { border-left: 1px solid #bdd2ff21; }
.expertise-card::before { content: ''; position: absolute; top: 0; left: 25px; right: 25px; height: 1px; background: linear-gradient(90deg, #a6c6ff, #f2b3d6); opacity: 0; transition: opacity .35s ease; }
.expertise-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 30px; color: #a9c6ff; }
.expertise-card:nth-child(even) .expertise-card__top { color: #edb6d6; }
.expertise-card__top svg { width: 27px; height: 27px; flex-shrink: 0; }
.expertise-card__top span { font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.expertise-card h3 { color: #f1f4fc; font-size: clamp(21px, 2vw, 25px); letter-spacing: -.04em; line-height: 1.2; margin-bottom: 17px; }
.expertise-card > p { color: #b6bfd0; font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.expertise-card__detail { margin-top: auto; padding-top: 18px; border-top: 1px solid #bdd2ff1a; color: #c1cee5; font-size: 11px; line-height: 1.8; }
.expertise-signature { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 23px; font-size: 12px; color: #a9b5ca; }
.expertise-signature > span { width: 5px; height: 5px; border-radius: 50%; background: #eeb8d5; box-shadow: 0 0 12px #eeb8d560; }
@media (hover: hover) and (pointer: fine) {
  .expertise-card:hover { background: linear-gradient(150deg, #8db3ff0d, #f4abd309); }
  .expertise-card:hover::before { opacity: 1; }
}
@media (max-width: 1000px) {
  .expertise-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-card:nth-child(3) { border-left: 0; }
  .expertise-card:nth-child(n+3) { border-top: 1px solid #bdd2ff21; }
  .expertise-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .expertise-intro { max-width: 560px; }
}
@media (max-width: 600px) {
  .expertise-section { padding-block: 48px; }
  .expertise-card { padding: 24px 18px; }
  .expertise-card__top { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .expertise-card h3 { font-size: 22px; }
  .expertise-card > p { font-size: 13px; }
}
@media (max-width: 380px) {
  .expertise-panel { grid-template-columns: 1fr; }
  .expertise-card + .expertise-card { border-left: 0; border-top: 1px solid #bdd2ff21; }
}

/* FOTO | Pequeñas interfaces creativas flotantes. */
.hero-photo--tech { position: relative; overflow: visible; }
.hero-photo--tech > img { border-radius: inherit; }
.photo-tech {
  position: absolute; z-index: 2; pointer-events: none;
  border: 1px solid #c0d2ff38; border-radius: 16px; padding: 14px;
  background: linear-gradient(135deg, #222638ed, #211c2ce8);
  box-shadow: 0 14px 38px #080b1845, inset 0 1px 0 #ffffff0d;
  backdrop-filter: blur(18px);
  animation: photo-tech-float 7s ease-in-out infinite;
}
.photo-tech__label { display: flex; align-items: center; gap: 7px; color: #d6def1; font-size: 8px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; }
.photo-tech__status { width: 5px; height: 5px; border-radius: 50%; background: #c6b4ff; box-shadow: 0 0 9px #c6b4ff80; }
.photo-tech--rgb { width: 154px; left: -40px; top: -22px; transform: rotate(-7deg); }
.rgb-swatches { display: flex; gap: 7px; margin-top: 12px; }
.rgb-swatches span { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #ffffff30; }
.rgb-swatches span:nth-child(1) { background: #f17fb7; }
.rgb-swatches span:nth-child(2) { background: #91d4b9; }
.rgb-swatches span:nth-child(3) { background: #7f9fff; }
.rgb-spectrum { height: 4px; margin-top: 11px; border-radius: 6px; background: linear-gradient(90deg, #f17fb7, #c295f5, #7f9fff, #91d4b9); }
.photo-cursor { position: absolute; right: -22px; top: 25%; z-index: 2; pointer-events: none; transform: rotate(9deg); filter: drop-shadow(0 6px 12px #10132770); animation: photo-tech-float 8s ease-in-out infinite; animation-delay: -3s; }
.photo-cursor svg { width: 48px; height: 54px; display: block; }
.photo-cursor > span { display: block; margin: -8px 0 0 25px; padding: 5px 11px; border: 1px solid #b5ccff60; border-radius: 5px 12px 12px; color: #edf3ff; background: #526ea8; font-size: 10px; font-weight: 600; }
.photo-tech--timeline { width: 224px; left: -48px; bottom: 24px; transform: rotate(5deg); animation-delay: -2s; }
.photo-tech__label > svg { width: 12px; height: 12px; color: #b9cdff; }
.timeline-time { margin-left: auto; font-variant-numeric: tabular-nums; color: #abbad5; letter-spacing: .04em; }
.timeline-ruler { display: flex; justify-content: space-between; margin-top: 13px; padding-bottom: 5px; border-bottom: 1px solid #b5c7fa26; color: #96a4bf; font-size: 7px; }
.timeline-tracks { position: relative; padding-top: 7px; }
.timeline-video { display: flex; gap: 4px; height: 21px; }
.timeline-video > span { flex: 1; border: 1px solid #acc5ff40; border-radius: 4px; background: linear-gradient(120deg,#759af169,#aa8bd966); }
.timeline-video > span:nth-child(2) { flex: 1.5; background: linear-gradient(120deg,#cd85b56b,#a68cdc66); }
.timeline-audio { margin-top: 5px; height: 15px; border: 1px solid #9edec438; border-radius: 4px; background: repeating-linear-gradient(90deg, transparent 0 3px, #9cddc270 3px 5px, transparent 5px 7px), #76b49f17; clip-path: polygon(0 25%, 10% 15%, 20% 35%, 30% 0, 40% 20%, 50% 5%, 60% 30%, 70% 0, 80% 25%, 90% 15%, 100% 30%, 100% 75%, 90% 85%, 80% 75%, 70% 100%, 60% 70%, 50% 95%, 40% 80%, 30% 100%, 20% 65%, 10% 85%, 0 75%); }
.timeline-playhead { position: absolute; left: 57%; top: 0; bottom: -3px; width: 1px; background: #f2b4d4; box-shadow: 0 0 6px #f2b4d450; }
.timeline-playhead::before { content: ''; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; background: #f2b4d4; clip-path: polygon(0 0,100% 0,100% 50%,50% 100%,0 50%); }
@keyframes photo-tech-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (max-width: 1000px) and (min-width: 701px) {
  .photo-tech--rgb { left: -18px; width: 140px; }
  .photo-tech--timeline { left: -25px; width: 200px; bottom: 14px; }
  .photo-cursor { right: -12px; }
}
@media (max-width: 700px) {
  .hero-photo--tech { margin-block: 20px 12px; width: min(calc(100% - 20px), 340px); }
  .photo-tech--rgb { left: -12px; top: -24px; width: 132px; padding: 11px; }
  .rgb-swatches span { width: 29px; height: 29px; }
  .photo-tech--timeline { width: 190px; left: -12px; bottom: 12px; padding: 12px; }
  .photo-cursor { right: -10px; top: 29%; }
  .photo-cursor svg { width: 38px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .photo-tech, .photo-cursor { animation: none; } }

/* RGB | Formato pequeño y colores primarios luminosos. */
.photo-tech--rgb { width: 112px; padding: 10px; border-radius: 13px; }
.photo-tech--rgb .photo-tech__label { font-size: 7px; gap: 5px; letter-spacing: .08em; }
.photo-tech--rgb .rgb-swatches { gap: 6px; margin-top: 9px; }
.photo-tech--rgb .rgb-swatches span { width: 25px; height: 25px; border-radius: 7px; border-color: #ffffff50; }
.photo-tech--rgb .rgb-swatches span:nth-child(1) { background: #ff0000; box-shadow: 0 0 12px #ff000070, inset 0 1px 3px #ffffff60; }
.photo-tech--rgb .rgb-swatches span:nth-child(2) { background: #00ff00; box-shadow: 0 0 12px #00ff0060, inset 0 1px 3px #ffffff60; }
.photo-tech--rgb .rgb-swatches span:nth-child(3) { background: #0000ff; box-shadow: 0 0 12px #3333ff90, inset 0 1px 3px #ffffff60; }
.photo-tech--rgb .rgb-spectrum { height: 3px; margin-top: 9px; background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff); box-shadow: 0 0 8px #70aaff50; }

/* MINI EDITOR | Más compacto, fondo grafito y pistas de color vivo. */
.photo-tech--timeline {
  width: 190px;
  padding: 11px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(22, 23, 25, .98), rgba(12, 13, 15, .98));
  border-color: rgba(255, 255, 255, .17);
  box-shadow: 0 12px 30px #0006, inset 0 1px 0 #ffffff08;
}
.photo-tech--timeline .photo-tech__label { color: #e5e7eb; font-size: 7px; }
.photo-tech--timeline .photo-tech__label > svg { color: #f5f5f5; width: 10px; height: 10px; }
.photo-tech--timeline .timeline-time { color: #aeb4be; }
.photo-tech--timeline .timeline-ruler { margin-top: 10px; color: #999fa9; border-color: #ffffff24; }
.photo-tech--timeline .timeline-video { height: 18px; gap: 3px; }
.photo-tech--timeline .timeline-video > span { background: #287aff; border-color: #78adff; }
.photo-tech--timeline .timeline-video > span:nth-child(2) { background: #a342ee; border-color: #cf8fff; }
.photo-tech--timeline .timeline-video > span:nth-child(3) { background: #f5a623; border-color: #ffcd75; }
.photo-tech--timeline .timeline-audio {
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 3px, #28e487 3px 5px, transparent 5px 7px), #153526;
  border-color: #38e89880;
}
.photo-tech--timeline .timeline-playhead { background: #ff4848; box-shadow: 0 0 5px #ff484840; }
.photo-tech--timeline .timeline-playhead::before { background: #ff4848; }
@media (max-width: 1000px) and (min-width: 701px) { .photo-tech--timeline { width: 175px; } }
@media (max-width: 700px) { .photo-tech--timeline { width: 170px; padding: 10px; } }

/* MINI EDITOR | Negro con iluminación rosa. */
.photo-tech--timeline {
  background: radial-gradient(ellipse at 0% 0%, rgba(242, 167, 202, .16), transparent 65%), radial-gradient(ellipse at 100% 100%, rgba(244, 186, 214, .10), transparent 65%), #050505;
  border-color: rgba(255, 131, 190, .30);
  box-shadow: 0 12px 30px #0008, -8px 0 24px rgba(242, 167, 202, .10), 8px 8px 28px rgba(244, 186, 214, .08), inset 0 1px 0 rgba(255, 164, 208, .10);
}

/* AMBIENTE GLOBAL | Negro con luces rosas, continuo de borde a borde. */
:root { --background: #050505; }
body {
  background-color: #050505;
  background-image:
    radial-gradient(ellipse 80vw 90vh at 0% 15%, rgba(242, 167, 202, .25), transparent 72%),
    radial-gradient(ellipse 80vw 95vh at 100% 75%, rgba(244, 186, 214, .22), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}
.photo-tech--rgb {
  background: radial-gradient(ellipse at 0% 0%, rgba(242, 167, 202, .16), transparent 65%), radial-gradient(ellipse at 100% 100%, rgba(244, 186, 214, .10), transparent 65%), #050505;
  border-color: rgba(255, 131, 190, .30);
  box-shadow: 0 12px 30px #0008, -8px 0 24px rgba(242, 167, 202, .10), 8px 8px 28px rgba(244, 186, 214, .08), inset 0 1px 0 rgba(255, 164, 208, .10);
}

/* TARJETAS | Velo blanco luminoso, conservando transparencia. */
:root {
  --card-glass: linear-gradient(135deg, rgba(255,255,255,.125), rgba(255,255,255,.055) 55%, rgba(255,235,245,.08));
  --card-border: rgba(255,255,255,.27);
}
.project-card,
#design-track .project-card,
.other-card,
.frontend-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.expertise-panel {
  background: linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,.045) 55%, rgba(255,235,245,.07));
  border-color: rgba(255,255,255,.21);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.expertise-card + .expertise-card { border-color: rgba(255,255,255,.16); }
@media (hover: hover) and (pointer: fine) {
  .project-card:hover,
  #design-track .project-card:hover,
  .other-card:hover,
  .frontend-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.075) 55%, rgba(255,230,243,.105));
    border-color: rgba(255,255,255,.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 30px rgba(255,95,167,.055);
  }
  .expertise-card:hover { background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,222,240,.035)); }
}

/* CURSOR | Blanco con sombra negra. */
.photo-cursor { filter: drop-shadow(0 5px 8px rgba(0,0,0,.65)); }
.photo-cursor svg path { fill: #fff; stroke: #fff; }
.photo-cursor > span {
  background: #fff;
  color: #111;
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}


/* RESUELVO | Marco de selección inspirado en una caja de texto. */
.hero .selected-word {
  position: relative;
  display: inline-block;
  line-height: 1;
  padding: 0 .055em .025em;
  margin-block: .055em;
  color: #f7f7f7;
  border: 1px solid rgba(255,255,255,.57);
  background: rgba(255,255,255,.035);
}
.text-handle {
  position: absolute;
  width: 5px; height: 5px;
  border: 1px solid #e7dce3;
  background: #21171e;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.text-handle--tl { left: 0; top: 0; }
.text-handle--tc { left: 50%; top: 0; }
.text-handle--tr { left: 100%; top: 0; }
.text-handle--ml { left: 0; top: 50%; }
.text-handle--mr { left: 100%; top: 50%; }
.text-handle--bl { left: 0; top: 100%; }
.text-handle--bc { left: 50%; top: 100%; }
.text-handle--br { left: 100%; top: 100%; }

/* EXPERIENCIA | Recorrido profesional con tarjetas de vidrio. */
.experience-section { padding-block: 76px 80px; }
.experience-heading { margin-bottom: 36px; }
.experience-heading .eyebrow { color: #d7bdcc; margin-bottom: 12px; }
.career-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.career-item { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 32px; }
.career-period { padding-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; color: #c7bdc7; font-size: 13px; }
.career-current { border: 1px solid #f3b8d32e; border-radius: 30px; padding: 3px 10px; color: #f1c5d9; background: #f1b7d308; font-size: 10px; }
.career-card { position: relative; padding: 26px 30px; border: 1px solid var(--card-border); border-radius: 20px; background: var(--card-glass); box-shadow: inset 0 1px 0 #ffffff15; backdrop-filter: blur(12px); }
.career-card::before { content: ''; position: absolute; top: 32px; left: -22px; width: 7px; height: 7px; border: 1px solid #efbbd0; background: #171015; border-radius: 50%; box-shadow: 0 0 12px #efbbd026; }
.career-item:not(:last-child) .career-card::after { content: ''; position: absolute; top: 45px; bottom: -45px; left: -18px; width: 1px; background: linear-gradient(#efbbd044, #efbbd014); }
.career-company { color: #efbfd4; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.career-company > span { color: #b2a8b4; font-size: 12px; font-weight: 400; margin-left: 10px; }
.career-card h3 { font-size: clamp(20px,2.1vw,25px); line-height: 1.25; }
.career-meta { color: #afa8b4; font-size: 12px; margin-top: 12px; }
.career-description { max-width: 660px; color: #c6bdc8; font-size: 14px; line-height: 1.8; margin-top: 17px; }
.career-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.career-tags > span { color: #d9cbd5; font-size: 11px; padding: 4px 11px; border: 1px solid #ffffff21; border-radius: 30px; background: #ffffff03; }
@media (max-width: 1000px) { .career-item { grid-template-columns: 195px minmax(0,1fr); gap: 30px; } }
@media (max-width: 700px) {
  .experience-section { padding-block: 48px; }
  .career-item { grid-template-columns: 1fr; gap: 12px; padding-left: 18px; }
  .career-period { padding-top: 0; flex-direction: row; align-items: center; flex-wrap: wrap; font-size: 12px; }
  .career-card { padding: 23px 20px; }
  .career-card::before { left: -18px; }
  .career-item:not(:last-child) .career-card::after { left: -14px; bottom: -80px; }
  .career-company > span { display: block; margin: 4px 0 0; }
}


/* NAVEGACIÓN | Fija, rectangular y de extremo a extremo. */
:root { --nav-height: 74px; }
body { padding-top: var(--nav-height); }
html { scroll-padding-top: calc(var(--nav-height) + 24px); }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  margin: 0;
  z-index: 30;
}
.nav.container {
  width: 100%;
  min-height: var(--nav-height);
  margin: 0;
  padding: 12px max(40px, calc((100% - var(--page-width)) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 213, 234, .16);
  border-radius: 0;
  background: rgba(10, 8, 11, .90);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(20px);
}
@media (max-width: 1000px) { .nav.container { padding-inline: 24px; } }
@media (max-width: 700px) {
  :root { --nav-height: 64px; }
  .nav.container { padding: 10px 20px; }
  .nav-links {
    top: 100%;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 213, 234, .16);
    background: rgba(15, 11, 16, .98);
    padding: 14px 20px 20px;
  }
}


/* CELULAR | Galerías horizontales con la siguiente tarjeta a la vista. */
@media (max-width: 700px) {
  #design-track,
  #frontend .other-grid,
  .expertise-panel,
  .career-timeline {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #f1c5d94d transparent;
    padding-block: 6px 18px;
    -webkit-overflow-scrolling: touch;
  }
  #design-track > .project-card,
  #frontend .other-grid > *,
  .expertise-panel > .expertise-card,
  .career-timeline > .career-item {
    min-width: 0;
    scroll-snap-align: start;
  }
  #design-track .project-card { width: 100%; }
  .expertise-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .expertise-panel > .expertise-card {
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: var(--card-glass);
    padding: 26px 24px;
  }
  .expertise-card__top { margin-bottom: 22px; }
  .expertise-card h3 { font-size: 25px; }
  .expertise-card > p { font-size: 14px; }
  .career-timeline { grid-auto-columns: 91%; align-items: stretch; }
  .career-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
  }
  .career-period { min-height: 49px; align-content: flex-start; align-items: center; }
  .career-card { flex: 1; padding: 24px 22px; }
  .career-card::before,
  .career-item:not(:last-child) .career-card::after { content: none; }
  .career-card h3 { font-size: 22px; }
  .career-company > span { margin-left: 0; display: block; }
}

/* TÍTULOS | Ícono y título juntos en una misma fila. */
.section-title-row { display: flex; align-items: center; gap: 15px; }
.section-title-row > .section-icon { flex: 0 0 44px; margin: 0; }
.section-title-row > h2 { min-width: 0; }
.contact > .section-title-row { justify-content: center; }
.hero-description {
  text-align: left;
  text-wrap: pretty;
  max-width: 49ch;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  margin-inline: 0;
}
@media (max-width: 700px) {
  .section-title-row { gap: 12px; }
  .section-title-row > .section-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; }
  .section-title-row > h2 { font-size: clamp(24px, 6.5vw, 29px); line-height: 1.16; }
  .hero-description { width: 100%; max-width: none; font-size: 16px; line-height: 1.7; }
}

/* PRESENTACIÓN Y CONTACTO | Servicios consistentes y canales directos. */
.about-story { max-width: 800px; margin: -8px 0 32px; }
.about-story h3 { color: #efc7d9; font-size: 19px; margin-bottom: 13px; }
.about-story p { font-size: 15px; line-height: 1.85; color: #c8c1cc; }
.about-story .service-summary { margin-top: 17px; color: #f1eaf0; font-size: 14px; }
.contact > p:not(.eyebrow) { max-width: 580px; margin-inline: auto; }
.contact-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-whatsapp { background: linear-gradient(115deg, #efbdd728, #ffffff0d); border-color: #edb9d06b; }
@media (max-width: 700px) {
  .about-story { margin-top: -5px; margin-bottom: 26px; }
  .about-story p { font-size: 14px; }
  .contact-channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .contact-channels .button { padding: 12px 10px; gap: 10px; font-size: 12px; }
  .contact-channels .contact-whatsapp { grid-column: 1 / -1; font-size: 14px; }
  .contact-channels .button:last-child { grid-column: 1 / -1; }
}

/* PRESENTACIÓN | Espaciado compacto en computadora y celular. */
.hero-description { letter-spacing: 0px; line-height: 1.55; }

/* FLECHAS | Vectores del mismo color que el texto, sin emojis. */
.ui-arrow { display: inline-block; width: 16px; height: 16px; vertical-align: -.15em; flex-shrink: 0; }
.card-arrow { display: inline-grid; place-items: center; }
.card-arrow .ui-arrow { width: 15px; height: 15px; }
.carousel-controls button { display: grid; place-items: center; }
.carousel-controls .ui-arrow { width: 19px; height: 19px; }
.frontend-card__action .ui-arrow { margin-left: 5px; }

/* APARIENCIA | Sistema por defecto; elección manual opcional. */
:root { color-scheme: dark; }
.nav-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-links { margin-left: auto; }
.theme-choice {
  font: inherit; font-size: 12px; cursor: pointer;
  color: #eee6ed; background: #ffffff09;
  border: 1px solid #ffffff2e; border-radius: 9px;
  padding: 8px 10px; min-height: 38px; width: 104px;
}
.theme-choice option { background: #171217; color: #f4edf3; }
:root[data-theme="light"] {
  color-scheme: light;
  --background: #fcf8fa;
  --surface: #fff;
  --text: #2c202b;
  --muted: #695a67;
  --accent: #a13c70;
  --line: #51334824;
  --card-glass: linear-gradient(135deg, #fffffff0, #ffffff96 55%, #fff3f9bf);
  --card-border: #65435b24;
}
[data-theme="light"] body {
  background-color: var(--background);
  background-image: radial-gradient(ellipse 80vw 90vh at 0% 15%, #f2a7ca4a, transparent 72%), radial-gradient(ellipse 80vw 95vh at 100% 75%, #f4bad649, transparent 72%);
  color: var(--text);
}
[data-theme="light"] .nav.container { background: #fffafde8; color: var(--text); border-bottom-color: var(--line); box-shadow: 0 5px 25px #57334a09; }
[data-theme="light"] .nav-links { color: var(--text); }
[data-theme="light"] .brand strong span { color: #a13c70; }
[data-theme="light"] .theme-choice { color: var(--text); background: #ffffffb3; border-color: #67465c33; }
[data-theme="light"] .theme-choice option { color: var(--text); background: #fcf8fa; }
[data-theme="light"] .menu-toggle span { background: #392a36; }
[data-theme="light"] .button,
[data-theme="light"] .nav-contact { color: #392334; border-color: #82516e40; background: linear-gradient(115deg, #ffffffbb, #f4d6e780); }
[data-theme="light"] .button-quiet { background: #ffffff57; }
[data-theme="light"] .hero h1 em { color: #78536d; }
[data-theme="light"] .hero .selected-word { color: #2c202b; border-color: #78536d99; background: #ffffff42; }
[data-theme="light"] .text-handle { background: #fff9fc; border-color: #78536d; }
[data-theme="light"] .hero-description { color: #594b58; }
[data-theme="light"] .hero-description strong { color: var(--text); }
[data-theme="light"] .hero-photo { border-color: #9d6b8a30; box-shadow: -18px 4px 65px #b07e9b0c, 22px 12px 70px #dc8eb41f; }
[data-theme="light"] .tools-banner { background: linear-gradient(105deg,#ffffff59,#fceef760,#ffffff59); border-color: var(--line); }
[data-theme="light"] .tools-banner__list li { color: #493547; border-color: #78536d30; background: linear-gradient(130deg,#ffffffd9,#ffffff66); box-shadow: inset 0 1px 0 #fff, 0 4px 16px #62405a08; }
[data-theme="light"] .project-card,
[data-theme="light"] #design-track .project-card,
[data-theme="light"] .other-card,
[data-theme="light"] .frontend-card { color: var(--text); border-color: var(--card-border); background: var(--card-glass); box-shadow: inset 0 1px 0 #fff; }
[data-theme="light"] .card-info,
[data-theme="light"] #design-track .card-info,
[data-theme="light"] .card-info strong,
[data-theme="light"] #design-track .card-info strong { color: var(--text); }
[data-theme="light"] .card-info small,
[data-theme="light"] #design-track .card-info small,
[data-theme="light"] .other-card p,
[data-theme="light"] .frontend-card__content p,
[data-theme="light"] .frontend-card__placeholder,
[data-theme="light"] .coming-soon { color: var(--muted); }
[data-theme="light"] .card-arrow,
[data-theme="light"] #design-track .card-arrow,
[data-theme="light"] .frontend-card__action,
[data-theme="light"] .carousel-controls button { color: #65445c; background: #ffffff50; border-color: #78536d40; }
[data-theme="light"] .section-icon { color: #8c4c70; background: linear-gradient(135deg,#ffffffc9,#f4dce880); border-color: #9b63822e; box-shadow: inset 0 1px 0 #fff; }
[data-theme="light"] .expertise-heading .eyebrow,
[data-theme="light"] .experience-heading .eyebrow { color: #80566f; }
[data-theme="light"] .expertise-panel { background: var(--card-glass); border-color: var(--card-border); box-shadow: inset 0 1px 0 #fff; }
[data-theme="light"] .expertise-card + .expertise-card { border-color: var(--line); }
[data-theme="light"] .expertise-card h3 { color: var(--text); }
[data-theme="light"] .expertise-card > p,
[data-theme="light"] .expertise-intro,
[data-theme="light"] .expertise-signature,
[data-theme="light"] .about-story p { color: var(--muted); }
[data-theme="light"] .expertise-card__detail { border-color: var(--line); color: #76576b; }
[data-theme="light"] .expertise-card__top,
[data-theme="light"] .expertise-card:nth-child(even) .expertise-card__top,
[data-theme="light"] .about-story h3 { color: #9d4978; }
[data-theme="light"] .about-story .service-summary { color: var(--text); }
[data-theme="light"] .career-card { box-shadow: inset 0 1px 0 #fff; }
[data-theme="light"] .career-period,
[data-theme="light"] .career-company > span,
[data-theme="light"] .career-meta,
[data-theme="light"] .career-description,
[data-theme="light"] .contact-email { color: var(--muted); }
[data-theme="light"] .career-company { color: #96436f; }
[data-theme="light"] .career-current { color: #8e3c68; border-color: #a15c8233; background: #f6e2ee70; }
[data-theme="light"] .career-tags > span { color: #65445c; border-color: #78536d2e; background: #ffffff5c; }
[data-theme="light"] .career-card::before { background: #fff7fb; border-color: #a86c8b; }
[data-theme="light"] .career-item:not(:last-child) .career-card::after { background: linear-gradient(#a86c8b66,#a86c8b22); }
[data-theme="light"] .contact-whatsapp { background: linear-gradient(115deg,#f2c6de9c,#ffffffcc); border-color: #a560884d; }
[data-theme="light"] .carousel { scrollbar-color: #9d6d8970 transparent; }
@media (hover: hover) and (pointer: fine) {
  [data-theme="light"] .button:hover,
  [data-theme="light"] .tools-banner__list li:hover { background: #f9e7f1; border-color: #a86c8b70; }
  [data-theme="light"] .project-card:hover,
  [data-theme="light"] #design-track .project-card:hover,
  [data-theme="light"] .frontend-card:hover,
  [data-theme="light"] .other-card:hover { background: linear-gradient(135deg,#fff,#fff3fa); border-color: #a86c8b59; box-shadow: 0 8px 26px #85516d10; }
  [data-theme="light"] .project-card:hover .card-arrow,
  [data-theme="light"] #design-track .project-card:hover .card-arrow { color: #65445c; background: #f6e3ef; }
  [data-theme="light"] .expertise-card:hover { background: #f2d6e526; }
}
@media (max-width: 700px) {
  .nav.container { gap: 10px; }
  .nav .brand { margin-right: auto; font-size: 17px; }
  .nav-tools { gap: 8px; }
  .theme-choice { width: 88px; font-size: 11px; padding: 7px; min-height: 36px; }
  .nav-links { margin-left: 0; }
  [data-theme="light"] .nav-links { background: #fffafdfa; border-bottom-color: var(--line); }
  [data-theme="light"] .expertise-panel { background: transparent; box-shadow: none; }
  [data-theme="light"] .expertise-panel > .expertise-card { background: var(--card-glass); border-color: var(--card-border); }
  [data-theme="light"] #design-track,
  [data-theme="light"] #frontend .other-grid,
  [data-theme="light"] .expertise-panel,
  [data-theme="light"] .career-timeline { scrollbar-color: #9d6d8970 transparent; }
}

/* APARIENCIA | Botón compacto con sol y luna vectoriales. */
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  padding: 0; border: 1px solid #ffffff2e; border-radius: 10px;
  background: #ffffff09; color: #eee6ed;
  transition: background .2s, border-color .2s;
}
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-toggle__sun { display: block; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle { color: #604057; background: #ffffff99; border-color: #67465c33; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover { background: #ffffff18; border-color: #f0c3db70; }
  [data-theme="light"] .theme-toggle:hover { background: #f6e5ef; border-color: #a86c8b70; }
}

/* Tour virtual: proyecto horizontal dentro de Edición de videos. */
.video-tour {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--card-glass);
  color: var(--text);
}
.video-tour__label { margin-bottom: 14px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.video-tour h3 { font-size: clamp(26px, 3vw, 36px); }
.video-tour__description { max-width: 32ch; margin-top: 14px; color: var(--muted); font-size: 14px; }
.video-tour__link { margin-top: 24px; gap: 14px; }
.video-tour__media { min-width: 0; overflow: hidden; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }
.video-tour__media iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
  .video-tour { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 20px; }
  .video-tour__description { max-width: none; }
  .video-tour__link { margin-top: 18px; }
}

/* Logro destacado en verde dentro de la tarjeta. */
#design-track .project-result {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 9px;
  padding: 5px 10px;
  border: 1px solid #83db9a;
  border-radius: 6px;
  background: #d8f5df;
  color: #175c30;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

/* Formación: lista compacta con el mismo tratamiento de las tarjetas. */
.education-section { padding-block: 0 80px; }
.education-list {
  list-style: none;
  margin: 0;
  padding: 0 30px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--card-glass);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.education-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 24px;
  padding-block: 24px;
}
.education-item + .education-item { border-top: 1px solid var(--line); }
.education-copy { min-width: 0; }
.education-copy h3 { color: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.education-copy p { margin-top: 5px; color: var(--accent); font-size: .875rem; line-height: 1.5; }
.education-year { color: var(--text); opacity: .72; font-size: .875rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .education-section { padding-bottom: 48px; }
  .education-list { padding-inline: 20px; }
  .education-item { gap: 14px; padding-block: 20px; }
}

.education-copy p.education-knowledge { margin-top: 10px; color: var(--text); font-size: 1rem; line-height: 1.6; }

/* Programas sin cápsulas: solo logo y nombre en ambos temas. */
.tools-banner .tools-banner__list li,
.tools-banner .tools-banner__list li:hover,
[data-theme="light"] .tools-banner .tools-banner__list li,
[data-theme="light"] .tools-banner .tools-banner__list li:hover {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  cursor: default;
}
